/* ═══════════════════════════════════════════════════════════
   VANTAGE — ENGINEERED FOR RESULTS
   Global Stylesheet
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --obsidian:    #0D0F14;
  --obsidian-2:  #131619;
  --obsidian-3:  #1A1E25;
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dim:    rgba(201,168,76,0.15);
  --crimson:     #8B1F2F;
  --crimson-dim: rgba(139,31,47,0.2);
  --slate:       #6B7280;
  --slate-light: #9CA3AF;
  --white:       #FAFAFA;
  --off-white:   #E8E6E1;
  --border:      rgba(201,168,76,0.12);
  --border-hover:rgba(201,168,76,0.4);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius:   6px;
  --radius-lg:12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --glow: 0 0 30px rgba(201,168,76,0.12);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a  { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { cursor:pointer; font-family:var(--font-body); }

/* ── CUSTOM SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:var(--obsidian); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:2px; }

/* ── CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
  width:10px; height:10px;
  background:var(--gold);
  border-radius:50%;
  position:fixed;
  top:0; left:0;
  pointer-events:none;
  z-index:9999;
  transform:translate(-50%,-50%);
  transition:transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode:difference;
}
.cursor-ring {
  width:36px; height:36px;
  border:1px solid rgba(201,168,76,0.5);
  border-radius:50%;
  position:fixed;
  top:0; left:0;
  pointer-events:none;
  z-index:9998;
  transform:translate(-50%,-50%);
  transition:transform 0.12s, width 0.3s, height 0.3s, opacity 0.3s;
}
.cursor.expanded { width:20px; height:20px; }
.cursor-ring.expanded { width:56px; height:56px; border-color:var(--gold); }

/* ── UTILITY ────────────────────────────────────────────── */
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }
.container--wide { max-width:1400px; margin:0 auto; padding:0 2rem; }

.label {
  font-family:var(--font-mono);
  font-size:0.65rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold);
}
.label--crimson { color:var(--crimson); }

.section { padding:100px 0; }
.section--dark { background:var(--obsidian-2); }
.section--darker { background:var(--obsidian); }

.section-head { margin-bottom:64px; }
.section-head h2 {
  font-family:var(--font-display);
  font-size:clamp(2.4rem,4vw,3.6rem);
  font-weight:300;
  line-height:1.1;
  color:var(--white);
  margin-top:12px;
}
.section-head h2 em {
  font-style:italic;
  color:var(--gold);
}
.section-head p {
  margin-top:16px;
  color:var(--slate-light);
  max-width:560px;
  font-size:1.05rem;
}

.gold-rule {
  width:48px; height:2px;
  background:var(--gold);
  margin:16px 0;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  font-family:var(--font-body);
  font-size:0.82rem;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  border-radius:var(--radius);
  transition:var(--transition);
  border:none;
  outline:none;
}
.btn--gold {
  background:var(--gold);
  color:var(--obsidian);
}
.btn--gold:hover {
  background:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(201,168,76,0.3);
}
.btn--outline {
  background:transparent;
  border:1px solid var(--border-hover);
  color:var(--white);
}
.btn--outline:hover {
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
}
.btn--ghost {
  background:transparent;
  color:var(--gold);
  padding-left:0; padding-right:0;
}
.btn--ghost:hover { gap:16px; }
.btn svg { flex-shrink:0; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:0 2rem;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:background 0.4s, box-shadow 0.4s;
  background:transparent;
}
.nav.scrolled {
  background:rgba(13,15,20,0.96);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 1px 0 var(--border);
}
.nav__logo {
  display:flex;
  align-items:center;
}
.nav__logo img {
  height:40px;
  width:auto;
}
.nav__links {
  display:flex;
  align-items:center;
  gap:36px;
}
.nav__links a {
  font-size:0.8rem;
  font-weight:500;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--slate-light);
  transition:color var(--transition);
  position:relative;
}
.nav__links a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:1px;
  background:var(--gold);
  transition:width var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color:var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { width:100%; }

.nav__cta {
  display:flex;
  align-items:center;
  gap:16px;
}
.nav__hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  padding:4px;
}
.nav__hamburger span {
  display:block;
  width:24px; height:1.5px;
  background:var(--white);
  transition:var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity:0; }
.nav__hamburger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display:none;
  position:fixed;
  top:72px; left:0; right:0; bottom:0;
  background:rgba(13,15,20,0.98);
  backdrop-filter:blur(20px);
  z-index:999;
  padding:48px 2rem;
  flex-direction:column;
  gap:32px;
}
.nav__mobile.open { display:flex; }
.nav__mobile a {
  font-family:var(--font-display);
  font-size:2rem;
  font-weight:300;
  color:var(--off-white);
  transition:color var(--transition);
}
.nav__mobile a:hover { color:var(--gold); }

/* ── PAGE HERO (shared) ─────────────────────────────────── */
.page-hero {
  padding:160px 0 100px;
  position:relative;
  overflow:hidden;
}
.page-hero::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(139,31,47,0.06) 0%, transparent 60%);
  pointer-events:none;
}
.page-hero .label { margin-bottom:20px; }
.page-hero h1 {
  font-family:var(--font-display);
  font-size:clamp(3rem,6vw,5.5rem);
  font-weight:300;
  line-height:1.05;
  max-width:700px;
}
.page-hero h1 em { font-style:italic; color:var(--gold); }
.page-hero p {
  margin-top:24px;
  color:var(--slate-light);
  font-size:1.1rem;
  max-width:520px;
  line-height:1.7;
}

/* ── DIVISION CARDS ─────────────────────────────────────── */
.division-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--border);
}
.division-card {
  background:var(--obsidian-2);
  padding:40px 36px;
  position:relative;
  overflow:hidden;
  transition:background var(--transition);
  cursor:pointer;
}
.division-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s var(--transition);
}
.division-card:hover { background:var(--obsidian-3); }
.division-card:hover::before { transform:scaleX(1); }
.division-card__icon {
  width:48px; height:48px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:24px;
  transition:border-color var(--transition), background var(--transition);
}
.division-card:hover .division-card__icon {
  border-color:var(--gold);
  background:var(--gold-dim);
}
.division-card__icon svg { color:var(--gold); }
.division-card h3 {
  font-family:var(--font-mono);
  font-size:0.7rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:8px;
}
.division-card h4 {
  font-family:var(--font-display);
  font-size:1.4rem;
  font-weight:400;
  color:var(--white);
  margin-bottom:12px;
}
.division-card p {
  font-size:0.9rem;
  color:var(--slate-light);
  line-height:1.7;
}
.division-card__num {
  position:absolute;
  bottom:24px; right:28px;
  font-family:var(--font-mono);
  font-size:0.65rem;
  color:var(--border-hover);
  letter-spacing:0.1em;
}

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--border);
}
.stat-item {
  background:var(--obsidian-2);
  padding:48px 36px;
  text-align:center;
}
.stat-item__num {
  font-family:var(--font-display);
  font-size:clamp(2.8rem,4vw,4rem);
  font-weight:300;
  color:var(--gold);
  line-height:1;
}
.stat-item__label {
  margin-top:8px;
  font-size:0.8rem;
  color:var(--slate);
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* ── MARQUEE TICKER ─────────────────────────────────────── */
.ticker {
  background:var(--gold);
  color:var(--obsidian);
  padding:14px 0;
  overflow:hidden;
  white-space:nowrap;
}
.ticker__inner {
  display:inline-flex;
  animation:ticker 30s linear infinite;
}
.ticker__item {
  font-family:var(--font-mono);
  font-size:0.7rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-weight:700;
  padding:0 40px;
}
.ticker__dot {
  color:var(--crimson);
  font-size:1.2rem;
  line-height:0;
  vertical-align:middle;
}
@keyframes ticker {
  0% { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}

/* ── FORM STYLES ────────────────────────────────────────── */
.form-group {
  margin-bottom:24px;
}
.form-group label {
  display:block;
  font-family:var(--font-mono);
  font-size:0.62rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width:100%;
  background:var(--obsidian-3);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px 16px;
  color:var(--white);
  font-family:var(--font-body);
  font-size:0.95rem;
  transition:border-color var(--transition), box-shadow var(--transition);
  outline:none;
  -webkit-appearance:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(201,168,76,0.08);
}
.form-group textarea { resize:vertical; min-height:140px; }
.form-group select option { background:var(--obsidian-2); }

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background:var(--obsidian);
  border-top:1px solid var(--border);
  padding:80px 0 40px;
}
.footer__grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
  margin-bottom:64px;
}
.footer__brand img { height:44px; width:auto; margin-bottom:20px; }
.footer__brand p {
  font-size:0.88rem;
  color:var(--slate);
  line-height:1.7;
  max-width:280px;
}
.footer__col h5 {
  font-family:var(--font-mono);
  font-size:0.62rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:20px;
}
.footer__col ul { display:flex; flex-direction:column; gap:12px; }
.footer__col ul li a {
  font-size:0.88rem;
  color:var(--slate);
  transition:color var(--transition);
}
.footer__col ul li a:hover { color:var(--white); }
.footer__bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:32px;
  border-top:1px solid var(--border);
  font-size:0.78rem;
  color:var(--slate);
}
.footer__bottom span { color:var(--gold); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity:0;
  transform:translateY(32px);
  transition:opacity 0.7s cubic-bezier(0.4,0,0.2,1),
             transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity:1;
  transform:translateY(0);
}
.reveal--delay-1 { transition-delay:0.1s; }
.reveal--delay-2 { transition-delay:0.2s; }
.reveal--delay-3 { transition-delay:0.3s; }
.reveal--delay-4 { transition-delay:0.4s; }
.reveal--delay-5 { transition-delay:0.5s; }

/* ── GRID LINES BACKGROUND ──────────────────────────────── */
.grid-bg {
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
}

/* ── NAV DROPDOWN ────────────────────────────────────────── */
.nav__dropdown {
  position: relative;
}

.nav__dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__dropdown > a svg {
  transition: transform 0.25s ease;
}

.nav__dropdown:hover > a svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  padding-top: 16px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(19,22,25,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav__dropdown-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}

.nav__dropdown-menu li a::after { display: none; }

.nav__dropdown-menu li a:hover {
  color: var(--gold);
  background: var(--gold-dim);
  padding-left: 28px;
}

.nav__dropdown-menu li + li {
  border-top: 1px solid var(--border);
}

/* mobile nav sub-links */
.nav__mobile-sub {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
  border-left: 1px solid var(--border);
}

.nav__mobile-sub a {
  font-size: 1.2rem !important;
  color: var(--slate-light) !important;
}

.nav__mobile-sub a:hover { color: var(--gold) !important; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width:900px) {
  .division-grid { grid-template-columns:repeat(2,1fr); }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer__grid { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .nav__links, .nav__cta .btn--outline { display:none; }
  .nav__hamburger { display:flex; }
  .division-grid { grid-template-columns:1fr; }
  .stats-bar { grid-template-columns:1fr 1fr; }
  .footer__grid { grid-template-columns:1fr; }
  .section { padding:72px 0; }
  .cursor, .cursor-ring { display:none; }
}

/* ── SERVICES DROPDOWN ─────────────────────────────────────────────────
   All classes prefixed .vantage-services-dropdown / .vsd- to avoid
   collision with existing Vantage styles.
──────────────────────────────────────────────────────────────────────── */
.vantage-services-dropdown .nav__dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vantage-services-dropdown .nav__dropdown-menu li a.vsd-item--soon {
  opacity: 0.45;
  cursor: not-allowed;
}
.vantage-services-dropdown .nav__dropdown-menu li a.vsd-item--soon:hover {
  color: var(--slate-light);
  background: transparent;
  padding-left: 22px;
}
.vsd-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.vsd-badge--live { background: rgba(45,138,78,0.18); color: #5cba7d; }
.vsd-badge--soon {
  background: rgba(255,255,255,0.04);
  color: var(--slate);
  border: 1px solid rgba(255,255,255,0.08);
}
.vsd-mob-toggle {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}
.vsd-mob-toggle:hover { color: var(--gold); }
.vsd-mob-toggle svg { transition: transform 0.2s ease; }
.vsd-mob-toggle.open svg { transform: rotate(180deg); }
.vsd-mob-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: max-height 0.25s ease, padding-top 0.25s ease;
}
.vsd-mob-items.open { max-height: 280px; padding-top: 4px; }
.vsd-mob-items a {
  font-size: 1.2rem !important;
  color: var(--slate-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.vsd-mob-items a:hover { color: var(--gold) !important; }
.vsd-mob-items a.vsd-mob-soon { opacity: 0.45; cursor: not-allowed; }
.vsd-mob-items a.vsd-mob-soon:hover { color: var(--slate-light) !important; }
.vsd-mob-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  color: var(--slate);
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
