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

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink:     #0A0E14;
  --ink-2:   #111820;
  --ink-3:   #1A2535;
  --gold:    #C9A84C;
  --gold-lt: #E8C97A;
  --gold-xlt:#F5E8C0;
  --cream:   #F8F5EF;
  --cream-2: #F0EAD8;
  --mist:    rgba(248,245,239,0.07);
  --mist-2:  rgba(248,245,239,0.12);
  --mist-3:  rgba(248,245,239,0.55);
  --gb:      rgba(201,168,76,0.18);
  --gb-2:    rgba(201,168,76,0.08);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Outfit', sans-serif;
  --ease:    cubic-bezier(.22,.68,0,1.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── CURSOR ─────────────────────────────────────────────────── */
.cursor {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); transform: translate(-50%,-50%);
  transition: transform .15s var(--ease), opacity .2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.5);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease), width .3s, height .3s, opacity .3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 56px; height: 56px; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  transition: background .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(10,14,20,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; }
.nav-wordmark { display: flex; flex-direction: column; justify-content: center; }
.nav-wordmark-a { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--gold-lt); letter-spacing: .06em; line-height: 1; }
.nav-wordmark-b { font-size: 9px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--mist-3); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link { font-size: 13px; font-weight: 400; letter-spacing: .06em; color: var(--mist-3); transition: color .2s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav-link:hover, .nav-link.active { color: var(--cream); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 24px; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 2px;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 80px;
  overflow: hidden;
}

/* SVG geometric background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--ink-2);
}
.hero-bg svg { width: 100%; height: 100%; position: absolute; inset: 0; }

.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,.08) 0%, transparent 70%),
    linear-gradient(170deg, transparent 40%, rgba(10,14,20,.95) 80%);
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-rule { width: 48px; height: 1px; background: var(--gold); margin-bottom: 28px; }
.hero-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 20px; }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(52px, 7.5vw, 108px); font-weight: 300;
  line-height: .96; color: var(--cream); margin-bottom: 32px;
  letter-spacing: -.01em;
}
.hero-h1 em { font-style: italic; color: var(--gold-lt); }
.hero-desc { font-size: 16px; font-weight: 300; color: var(--mist-3); max-width: 480px; line-height: 1.8; margin-bottom: 44px; }

.hero-actions { display: flex; align-items: center; gap: 32px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 36px; background: var(--gold); color: var(--ink); border-radius: 2px;
  transition: background .2s, gap .25s;
}
.btn-hero:hover { background: var(--gold-lt); gap: 18px; }
.btn-ghost {
  font-size: 13px; font-weight: 400; color: var(--mist-3); letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(248,245,239,.2); padding-bottom: 2px;
  transition: color .2s, border-color .2s, gap .25s;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); gap: 12px; }

.hero-scroll {
  position: absolute; right: 56px; bottom: 80px; z-index: 2;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mist-3);
  display: flex; align-items: center; gap: 16px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(.6)} }

.hero-stats {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  z-index: 2; display: flex; flex-direction: column; gap: 32px;
}
.hero-stat { text-align: right; }
.hero-stat-n { font-family: var(--serif); font-size: 42px; font-weight: 300; color: var(--gold-lt); line-height: 1; }
.hero-stat-l { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-3); margin-top: 4px; }

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-band {
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 18px 0; overflow: hidden; background: var(--ink);
}
.marquee-track { display: flex; gap: 0; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 0 40px; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mist-3);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTION SCAFFOLDING ─────────────────────────────────────── */
.section { padding: 120px 0; }
.section--dark { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }
.section--ink3 { background: var(--ink-3); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.section-kicker { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.section-kicker::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.08; color: var(--cream); letter-spacing: -.01em; }
.section-h2 em { font-style: italic; color: var(--gold-lt); }
.section-body { font-size: 15px; font-weight: 300; color: var(--mist-3); line-height: 1.85; max-width: 540px; margin-top: 20px; }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.services-intro { position: sticky; top: 120px; }
.services-intro .section-h2 { margin-bottom: 20px; }
.services-list { display: flex; flex-direction: column; gap: 0; }
.service-item {
  padding: 36px 0; border-bottom: 1px solid rgba(248,245,239,.08);
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: start; gap: 24px; cursor: pointer;
  transition: padding-left .3s var(--ease);
}
.service-item:hover { padding-left: 12px; }
.service-item:first-child { border-top: 1px solid rgba(248,245,239,.08); }
.service-num { font-family: var(--serif); font-size: 13px; color: var(--gold); padding-top: 4px; }
.service-body { }
.service-name { font-size: 18px; font-weight: 500; color: var(--cream); margin-bottom: 10px; transition: color .2s; }
.service-item:hover .service-name { color: var(--gold-lt); }
.service-desc { font-size: 13px; font-weight: 300; color: var(--mist-3); line-height: 1.75; max-width: 460px; }
.service-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.stag { font-size: 10px; padding: 4px 10px; border-radius: 2px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.stag-s { background: rgba(100,180,255,.1); color: #88C8FF; border: 1px solid rgba(100,180,255,.2); }
.stag-p { background: var(--gb-2); color: var(--gold-lt); border: 1px solid var(--gb); }
.stag-m { background: rgba(110,220,160,.08); color: #7DDFA8; border: 1px solid rgba(110,220,160,.18); }
.service-arrow { font-size: 20px; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .25s; margin-top: 2px; }
.service-item:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ── INTELLIGENCE FEATURE ────────────────────────────────────── */
.intel-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intel-card {
  background: var(--ink-3); border: 1px solid rgba(201,168,76,.2);
  border-radius: 4px; overflow: hidden;
}
.intel-card-header {
  background: var(--ink-2); padding: 28px 32px;
  border-bottom: 1px solid rgba(201,168,76,.15);
  display: flex; justify-content: space-between; align-items: center;
}
.intel-card-ref { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.intel-card-badge { font-size: 10px; padding: 4px 10px; border: 1px solid rgba(232,168,76,.4); color: #e8a84c; border-radius: 2px; letter-spacing: .08em; text-transform: uppercase; }
.intel-card-body { padding: 28px 32px; }
.intel-card-subject { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 4px; }
.intel-card-loc { font-size: 12px; color: var(--mist-3); margin-bottom: 24px; }
.risk-rows { display: flex; flex-direction: column; gap: 12px; }
.rr { display: flex; align-items: center; gap: 14px; }
.rr-label { font-size: 12px; color: var(--mist-3); width: 140px; flex-shrink: 0; }
.rr-bar { flex: 1; height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.rr-fill { height: 100%; border-radius: 2px; }
.rr-green { background: #4caf88; width: 28%; }
.rr-amber { background: #e8a84c; width: 58%; }
.rr-red   { background: #e8604c; width: 82%; }
.rr-badge { font-size: 10px; font-weight: 600; width: 46px; text-align: right; letter-spacing: .04em; }
.rr .rr-green-t { color: #4caf88; }
.rr .rr-amber-t { color: #e8a84c; }
.rr .rr-red-t   { color: #e8604c; }

.intel-products { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.intel-product-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border: 1px solid rgba(248,245,239,.08);
  border-left: 3px solid var(--gold); border-radius: 0 3px 3px 0;
  transition: background .2s, border-left-color .2s;
}
.intel-product-row:hover { background: var(--mist); }
.ipr-name { font-size: 14px; font-weight: 400; color: var(--cream); }
.ipr-type { font-size: 11px; color: var(--mist-3); margin-top: 3px; }

/* ── NUMBERS BAND ────────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); }
.number-cell {
  padding: 56px 40px; border-right: 1px solid rgba(248,245,239,.08);
  text-align: center;
}
.number-cell:last-child { border-right: none; }
.number-n { font-family: var(--serif); font-size: 72px; font-weight: 300; color: var(--gold-lt); line-height: 1; }
.number-l { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-3); margin-top: 10px; }

/* ── WHY ASCEND ──────────────────────────────────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 64px; }
.pillar-cell {
  padding: 48px; background: var(--ink-2);
  transition: background .3s;
}
.pillar-cell:hover { background: var(--ink-3); }
.pillar-n { font-family: var(--serif); font-size: 11px; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.pillar-t { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 12px; line-height: 1.3; }
.pillar-d { font-size: 13px; font-weight: 300; color: var(--mist-3); line-height: 1.8; }

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
.about-hero { padding: 180px 56px 100px; background: var(--ink-2); border-bottom: 1px solid rgba(201,168,76,.12); }
.about-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: start; }
.about-text { font-size: 16px; font-weight: 300; color: var(--mist-3); line-height: 1.9; }
.about-text p { margin-bottom: 22px; }
.about-text p:last-child { margin-bottom: 0; }
.fact-stack { display: flex; flex-direction: column; gap: 0; }
.fact-row { padding: 18px 0; border-bottom: 1px solid rgba(248,245,239,.07); }
.fact-row:first-child { border-top: 1px solid rgba(248,245,239,.07); }
.fact-k { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.fact-v { font-size: 14px; font-weight: 300; color: var(--cream); line-height: 1.5; }

/* ── SERVICES PAGE ───────────────────────────────────────────── */
.services-page-hero { padding: 180px 56px 80px; background: var(--ink-2); }
.products-section { margin-bottom: 80px; }
.ps-header { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid rgba(201,168,76,.2); }
.ps-num { width: 40px; height: 40px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink); border-radius: 2px; flex-shrink: 0; }
.ps-title { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--cream); }
.ps-desc { font-size: 13px; font-weight: 300; color: var(--mist-3); margin-top: 3px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px; }
.product-tile { background: var(--ink-2); padding: 24px 26px; transition: background .25s; border: 1px solid transparent; }
.product-tile:hover { background: var(--ink-3); border-color: rgba(201,168,76,.15); }
.product-tile-name { font-size: 14px; font-weight: 400; color: var(--cream); margin-bottom: 10px; line-height: 1.4; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-hero { padding: 180px 56px 80px; background: var(--ink-2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-info-group { margin-bottom: 40px; }
.ci-label { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ci-value { font-size: 15px; font-weight: 300; color: var(--cream); line-height: 1.6; }
.ci-value a:hover { color: var(--gold-lt); }
.form-label { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist-3); display: block; margin-bottom: 10px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--mist);
  border: none; border-bottom: 1px solid rgba(248,245,239,.15);
  padding: 14px 0; font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--cream); outline: none; transition: border-color .2s;
  border-radius: 0;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(248,245,239,.25); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--gold); }
.form-select { background: transparent; cursor: pointer; }
.form-select option { background: var(--ink-2); color: var(--cream); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { margin-bottom: 36px; }
.form-submit {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 36px; background: var(--gold); color: var(--ink);
  border: none; border-radius: 2px; cursor: none; transition: background .2s, gap .25s;
}
.form-submit:hover { background: var(--gold-lt); gap: 20px; }
.form-note { font-size: 11px; font-weight: 300; color: var(--mist-3); margin-top: 16px; line-height: 1.6; }

/* ── INTEL PAGE ──────────────────────────────────────────────── */
.intel-page-hero { padding: 180px 56px 80px; background: var(--ink-2); }
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; margin-top: 64px; }
.process-step { padding: 40px 28px; background: var(--ink-2); text-align: center; }
.process-step.active { background: var(--gold); }
.ps-step-n { font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--gold); margin-bottom: 16px; }
.process-step.active .ps-step-n { color: var(--ink); }
.ps-step-t { font-size: 13px; font-weight: 500; color: var(--cream); margin-bottom: 6px; }
.process-step.active .ps-step-t { color: var(--ink); }
.ps-step-d { font-size: 12px; font-weight: 300; color: var(--mist-3); line-height: 1.6; }
.process-step.active .ps-step-d { color: rgba(10,14,20,.65); }

/* ── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  padding: 120px 56px; text-align: center;
  background: var(--ink-2); border-top: 1px solid rgba(201,168,76,.15);
  position: relative; overflow: hidden;
}
.cta-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,.06) 0%, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band-h { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; color: var(--cream); margin-bottom: 20px; line-height: 1.1; }
.cta-band-h em { font-style: italic; color: var(--gold-lt); }
.cta-band-p { font-size: 15px; font-weight: 300; color: var(--mist-3); max-width: 480px; margin: 0 auto 44px; line-height: 1.8; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: #060A10; border-top: 1px solid rgba(201,168,76,.12);
  padding: 80px 56px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-wrap img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; }
.footer-firm { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--gold-lt); }
.footer-tagline { font-size: 13px; font-weight: 300; color: var(--mist-3); font-style: italic; margin-bottom: 14px; }
.footer-reg { font-size: 12px; font-weight: 300; color: rgba(248,245,239,.3); line-height: 1.7; }
.footer-col-h { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; font-weight: 300; color: var(--mist-3); transition: color .2s; }
.footer-links a:hover { color: var(--gold-lt); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(248,245,239,.06); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(248,245,239,.3); }
.footer-inc { font-size: 11px; font-weight: 300; color: rgba(201,168,76,.4); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.reveal { opacity: 1; transform: translateY(0); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── MOBILE ──────────────────────────────────────────────────── */
@media(max-width:900px){
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 64px; }
  .hero-stats { display: none; }
  .hero-scroll { display: none; }
  .wrap { padding: 0 24px; }
  .section { padding: 80px 0; }
  .services-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-intro { position: static; }
  .intel-layout { grid-template-columns: 1fr; gap: 48px; }
  .numbers { grid-template-columns: repeat(2,1fr); }
  .number-cell:nth-child(2) { border-right: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-hero, .services-page-hero, .intel-page-hero, .contact-hero { padding: 120px 24px 60px; }
  .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-band { padding: 80px 24px; }
  footer { padding: 60px 24px 32px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
