
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy-950: #06091a;
  --navy-900: #0a0f2e;
  --navy-800: #111842;
  --navy-700: #1a2359;
  --navy-600: #283278;
  --gold-400: #d4a853;
  --gold-300: #e2c17d;
  --gold-200: #f0dbb0;
  --gold-100: #faf3e3;
  --slate-300: #b8c0d4;
  --slate-400: #8a94b2;
  --slate-500: #64708d;
  --white: #f8f7f4;
  --white-pure: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--slate-300);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════ UTILITY ═══════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ═══════════ GRAIN OVERLAY ═══════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ═══════════ SCROLL ANIMATIONS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 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; }

/* ═══════════ NAVIGATION ═══════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(6, 9, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.08);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.nav-logo span {
  color: var(--gold-400);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--slate-400);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-950) !important;
  background: var(--gold-400);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.3s, transform 0.3s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-300) !important;
  color: var(--navy-950) !important;
  transform: translateY(-1px);
}

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

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-badge::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-400);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 520px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-950);
  background: var(--gold-400);
  padding: 1rem 2.25rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.2);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--slate-300);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 0.5rem;
  transition: color 0.3s;
  border: none;
  background: none;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--gold-300); }

/* Hero right: decorative element */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-emblem {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  position: relative;
}
.hero-emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 50%;
  animation: slowSpin 60s linear infinite;
}
.hero-emblem::after {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 50%;
  animation: slowSpin 45s linear infinite reverse;
}
.emblem-core {
  position: absolute;
  inset: 25%;
  background: radial-gradient(circle at 30% 30%, var(--navy-700), var(--navy-900));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 168, 83, 0.12);
  box-shadow: 0 0 80px rgba(212, 168, 83, 0.05), inset 0 0 40px rgba(0,0,0,0.3);
}
.emblem-core span {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.05em;
}
.emblem-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
}
.emblem-dot:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.emblem-dot:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.emblem-dot:nth-child(4) { left: 0; top: 50%; transform: translateY(-50%); }
.emblem-dot:nth-child(5) { right: 0; top: 50%; transform: translateY(-50%); }

@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ═══════════ STATS BAR ═══════════ */
.stats {
  padding: 5rem 0;
  position: relative;
  background: var(--navy-900);
  border-top: 1px solid rgba(212, 168, 83, 0.06);
  border-bottom: 1px solid rgba(212, 168, 83, 0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  position: relative;
  padding: 1rem 2rem;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 168, 83, 0.15), transparent);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate-400);
}

/* Counter animation */
.stat-number[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ═══════════ SECTION HEADERS ═══════════ */
.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-400);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  max-width: 600px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}

/* ═══════════ SERVICES ═══════════ */
.services {
  padding: 8rem 0;
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: linear-gradient(135deg, rgba(17, 24, 66, 0.6), rgba(10, 15, 46, 0.8));
  border: 1px solid rgba(212, 168, 83, 0.07);
  padding: 2.75rem 2.25rem;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(212, 168, 83, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.75rem;
  color: var(--gold-400);
  opacity: 0.85;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--slate-400);
}

/* ═══════════ COLLABORATION ═══════════ */
.collab {
  padding: 8rem 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.collab::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}
.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.collab-content .section-header { margin-bottom: 2.5rem; }
.collab-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--slate-400);
  margin-bottom: 2rem;
}

.collab-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.collab-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(17, 24, 66, 0.5), rgba(10, 15, 46, 0.6));
  border: 1px solid rgba(212, 168, 83, 0.07);
  transition: border-color 0.4s;
}
.collab-card:hover { border-color: rgba(212, 168, 83, 0.18); }
.collab-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--gold-400);
  opacity: 0.8;
}
.collab-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.collab-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--slate-400);
}

/* ═══════════ SECTORS ═══════════ */
.sectors {
  padding: 8rem 0;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sector-card {
  position: relative;
  padding: 3rem 2.25rem;
  background: linear-gradient(180deg, rgba(17, 24, 66, 0.4), rgba(10, 15, 46, 0.6));
  border: 1px solid rgba(212, 168, 83, 0.06);
  text-align: center;
  transition: border-color 0.4s, transform 0.4s;
  overflow: hidden;
}
.sector-card:hover {
  border-color: rgba(212, 168, 83, 0.18);
  transform: translateY(-3px);
}
.sector-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  color: var(--gold-400);
  opacity: 0.75;
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.sector-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate-400);
}
.sector-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sector-list li {
  font-size: 0.82rem;
  color: var(--slate-300);
  letter-spacing: 0.03em;
}
.sector-list li::before {
  content: '—';
  color: var(--gold-400);
  margin-right: 0.5rem;
  opacity: 0.6;
}

/* ═══════════ CONTACT / CTA ═══════════ */
.contact {
  padding: 8rem 0;
  background: var(--navy-900);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.contact-inner .section-tag { justify-content: center; }
.contact-inner .section-tag::before { display: none; }
.contact-inner .section-title {
  margin: 0 auto 1.5rem;
  max-width: none;
}
.contact-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-400);
  margin-bottom: 3.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s;
}
.contact-method:hover { transform: translateY(-2px); }
.contact-method-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 168, 83, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}
.contact-method-icon svg { width: 18px; height: 18px; }
.contact-method-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}
.contact-method-text strong {
  font-weight: 500;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.contact-cta {
  margin-top: 1rem;
}

/* ═══════════ FOOTER ═══════════ */
footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(212, 168, 83, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.06em;
}
.footer-brand span { color: var(--gold-400); opacity: 0.6; }
.footer-copy {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .collab-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 9, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    gap: 1.25rem;
    border-bottom: 1px solid rgba(212, 168, 83, 0.08);
  }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-item:not(:last-child)::after {
    width: 60%;
    height: 1px;
    right: auto;
    left: 20%;
    top: auto;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.15), transparent);
  }
  .stat-item { padding: 1.5rem 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .contact-methods { flex-direction: column; align-items: center; gap: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}