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

:root {
  --gold: #C9A84C;
  --gold-light: #e0c06e;
  --navy: #1B2A4A;
  --navy-dark: #111d33;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* PAGE HERO (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 9rem 6% 5rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.page-hero .section-label { margin-bottom: 0.8rem; }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 580px;
}

/* SECTIONS */
section { padding: 6rem 6%; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* BUTTONS */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,42,74,0.1); }

.pillar-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
}

.pillar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.pillar-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* TEAM */
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 2.5rem;
}

.team-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #243658 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.team-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-credentials {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.team-bio { font-size: 0.92rem; color: var(--gray); line-height: 1.85; }

.team-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }

.team-tag {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--navy);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 2px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
}

.service-card:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }

.service-num { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; font-weight: 600; margin-bottom: 1rem; }

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-card p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* EXPERTISE */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.expertise-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
}

.expertise-card:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }
.expertise-card.wide { grid-column: span 2; }

.expertise-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.expertise-col-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.expertise-col-label:first-of-type { margin-top: 0; }

.expertise-list { list-style: none; }

.expertise-list li {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0 0.25rem 0.8rem;
  position: relative;
  line-height: 1.5;
}

.expertise-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; }

.expertise-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* INDUSTRIES */
.industries-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.industry-tag {
  background: var(--white);
  border: 1px solid var(--light-gray);
  color: var(--navy);
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.industry-tag:hover { border-color: var(--gold); color: var(--gold); }

/* FOOTER */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span { color: var(--gold); }
footer p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-tagline { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }

/* MOBILE */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card.wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .team-card { grid-template-columns: 1fr; }
  .team-avatar { margin: 0 auto; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card.wide { grid-column: span 1; }
  .expertise-two-col { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* 1. Fade up on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* 2. Word cycling */
#cycling-words {
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: inline-block;
}

/* 3. Particle canvas */
#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 4. Gold shimmer on logo */
@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.nav-logo.shimmer-active {
  background: linear-gradient(90deg, #fff 30%, #C9A84C 45%, #fff2c2 50%, #C9A84C 55%, #fff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSweep 0.8s linear;
}

/* 5. Divider shimmer animation */
@keyframes dividerShimmer {
  0%   { background-position: -100% center; }
  100% { background-position: 200% center; }
}
.divider {
  background: linear-gradient(90deg, var(--gold), #fff0a0, var(--gold), var(--gold));
  background-size: 200% auto;
  animation: dividerShimmer 2.5s linear infinite;
}

/* 6. SVG map path draw */
.map-continent {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  transition: stroke-dashoffset 2s ease forwards;
}
.map-continent.draw { stroke-dashoffset: 0; }

/* 7. Pillar card stagger */
.pillar-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.pillar-card:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 16px 40px rgba(201,168,76,0.15); }

/* 8. Service card glow */
.service-card { transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.service-card:hover { box-shadow: 0 0 20px rgba(201,168,76,0.15); transform: translateY(-3px); }

/* 9. Gold pulse on section labels */
@keyframes labelPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.section-label { animation: labelPulse 3s ease-in-out infinite; }

/* 10. Hero content entrance */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: heroFadeIn 0.8s ease 0.2s both; }
.hero h1     { animation: heroFadeIn 0.8s ease 0.4s both; }
.hero-tagline{ animation: heroFadeIn 0.8s ease 0.6s both; }
.hero p      { animation: heroFadeIn 0.8s ease 0.8s both; }
.hero-buttons{ animation: heroFadeIn 0.8s ease 1.0s both; }
.cycling-wrap{ animation: heroFadeIn 0.8s ease 1.1s both; }
