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

:root {
  --navy: #0d1b2a; --gold: #b8963e; --gold-light: #d4af6a;
  --cream: #f5f0e8; --cream-dark: #ede5d5; --white: #ffffff;
  --text-dark: #1a1a2e; --text-mid: #4a4a5a; --border: rgba(184,150,62,0.25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Jost', sans-serif; font-weight: 300; color: var(--text-dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; height: 80px; background: rgba(13,27,42,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.nav-brand .firm-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: var(--gold-light); letter-spacing: 0.04em; }
.nav-brand .firm-tag { font-size: 0.72rem; color: var(--white); letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* HAMBURGER - hidden on desktop */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; z-index: 101; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU - hidden by default */
.mobile-menu { display: none; position: fixed; top: 80px; left: 0; right: 0; z-index: 99; background: rgba(13,27,42,0.99); flex-direction: column; padding: 0 28px 28px; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.65); text-decoration: none; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.2s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active, .mobile-menu a:hover { color: var(--gold); }

/* HERO */
.hero { min-height: 100vh; background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(184,150,62,0.08) 0%, transparent 70%); }
.hero-content { padding: 80px 60px 80px 80px; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 420px; margin-bottom: 48px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-right { padding: 80px 80px 80px 40px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 40px 32px; transition: background 0.25s; }
.stat-card:hover { background: rgba(184,150,62,0.05); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* BUTTONS */
.btn-primary { padding: 14px 36px; background: var(--gold); color: var(--navy); font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: background 0.25s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { padding: 13px 36px; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; transition: border-color 0.25s, color 0.25s; display: inline-block; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* PRINCIPLES STRIP */
.principles-strip { background: var(--gold); padding: 20px 80px; display: flex; gap: 48px; align-items: center; overflow-x: auto; }
.principle-item { white-space: nowrap; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.principle-dot { width: 4px; height: 4px; background: var(--navy); border-radius: 50%; opacity: 0.5; flex-shrink: 0; }

/* SECTIONS */
section { padding: 100px 80px; }
.section-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.2; color: var(--text-dark); margin-bottom: 20px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 1rem; color: var(--text-mid); max-width: 580px; line-height: 1.8; }

/* SERVICES */
.services-section { background: var(--navy); }
.services-section .section-title { color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.service-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 48px 36px; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover { background: rgba(184,150,62,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 24px; display: block; }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: var(--white); margin-bottom: 16px; }
.service-text { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.8; }
.service-list { margin-top: 20px; list-style: none; }
.service-list li { font-size: 0.78rem; color: var(--gold-light); letter-spacing: 0.06em; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 8px; }
.service-list li::before { content: '→'; opacity: 0.6; }

/* ABOUT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { background: var(--cream); padding: 60px 48px; position: relative; }
.year-badge { font-family: 'Cormorant Garamond', serif; font-size: 6rem; font-weight: 300; color: var(--gold); opacity: 0.25; line-height: 1; }
.about-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; line-height: 1.3; color: var(--text-dark); margin-top: -20px; }
.principles-list { margin-top: 40px; list-style: none; }
.principles-list li { padding: 10px 0; border-bottom: 1px solid var(--cream-dark); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); display: flex; align-items: center; gap: 12px; }
.principles-list li::before { content: ''; width: 20px; height: 1px; background: var(--gold); }

/* PARTNERS */
.partners-grid { display: flex; flex-direction: column; gap: 2px; margin-top: 60px; }
.partner-card { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 40px; border: 1px solid var(--cream-dark); transition: border-color 0.25s, box-shadow 0.25s; align-items: start; }
.partner-card:hover { border-color: var(--gold); box-shadow: 0 8px 40px rgba(184,150,62,0.08); }
.partner-avatar { width: 140px; height: 140px; border-radius: 50%; background: var(--cream); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); border: 2px solid var(--gold); overflow: hidden; }
.partner-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; color: var(--text-dark); margin-bottom: 4px; }
.partner-quals { font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.partner-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* CONTACT */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-top: 60px; }
.contact-info-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500; color: var(--text-dark); margin-bottom: 12px; margin-top: 32px; }
.contact-info-block h3:first-child { margin-top: 0; }
.contact-info-block p, .contact-info-block a { font-size: 0.9rem; color: var(--text-mid); text-decoration: none; display: block; line-height: 1.7; }
.contact-info-block a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); }
.form-group input, .form-group textarea { padding: 14px 16px; border: 1px solid rgba(0,0,0,0.12); background: var(--white); font-family: 'Jost', sans-serif; font-size: 0.9rem; color: var(--text-dark); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
footer { background: var(--navy); padding: 60px 80px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand .firm-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 4px; }
.footer-brand .firm-tag { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 110px 80px 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -300px; right: -200px; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(184,150,62,0.06) 0%, transparent 65%); }
.page-hero-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.page-hero-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3.5vw, 3rem); font-weight: 300; color: var(--white); line-height: 1.15; white-space: normal; word-wrap: break-word; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.15s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.3s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.45s; opacity: 0; }

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  /* Global overflow fix */
  *, *::before, *::after { max-width: 100%; }
  body, html { overflow-x: hidden !important; width: 100%; }
  section { padding: 48px 20px !important; }
  footer { padding: 40px 20px 20px !important; }

  /* Nav */
  nav { padding: 0 20px; height: 70px; }
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-brand .firm-name { font-size: 1.3rem; white-space: nowrap; letter-spacing: 0.02em; }
  .nav-brand .firm-tag { display: block; font-size: 0.6rem; letter-spacing: 0.1em; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-content { padding: 48px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 0.92rem; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; text-align: center; padding: 16px; }
  .hero-right { display: none; }

  /* Stats grid (index) */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .stat-num { font-size: 2rem; }

  /* Principles strip */
  .principles-strip { padding: 14px 20px; gap: 14px; flex-wrap: wrap; }
  .principle-item { font-size: 0.6rem; }

  /* General sections */
  section { padding: 48px 20px; }
  .section-label { font-size: 0.58rem; }
  .section-title { font-size: 1.7rem; }
  .section-body { font-size: 0.9rem; }

  /* Page hero */
  .page-hero { padding: 90px 20px 32px !important; }
  .page-hero h1 { font-size: 1.5rem !important; white-space: normal !important; }

  /* Who We Are grid (about) */
  .who-we-are-grid { grid-template-columns: 1fr; }
  .wwa-card { padding: 32px 20px; }
  .wwa-year { font-size: 4.5rem; }

  /* Vision/Mission */
  section > div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 36px !important; }

  /* Partners */
  .partners-grid { gap: 16px; }
  .partner-card { grid-template-columns: 1fr; padding: 24px; }
  .partner-avatar { width: 80px; height: 80px; }

  /* Managers */
  .managers-grid { grid-template-columns: 1fr 1fr; }
  .mgr-card { padding: 20px 16px; }

  /* Services panels */
  .services-vertical { grid-template-columns: 1fr !important; }
  .service-panel-left { padding: 24px 20px; min-height: auto !important; }
  .service-panel-right { padding: 24px 20px; }
  .service-panel-title { font-size: 1.4rem; }

  /* Clientele grid */
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .client-logos { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Buttons */
  .btn-primary, .btn-ghost { box-sizing: border-box; width: 100%; text-align: center; }
}
