/* ============================================================
   WETHERILL GTM ADVISORS — Global Styles
   wetherillgtm.com
   ============================================================ */

:root {
  --navy: #112240;
  --midnight: #0a1628;
  --gold: #C9A94E;
  --gold-hover: #d4b85e;
  --warm-gray: #F5F5F0;
  --text-dark: #333333;
  --text-light: #A0B0C4;
  --text-muted: #6a7f99;
  --nav-text: #8899AA;
  --footer-text: #4A5E75;
  --card-bg: rgba(17,34,64,0.6);
  --card-border: rgba(201,169,78,0.08);
  --card-border-hover: rgba(201,169,78,0.3);
  --section-border: rgba(201,169,78,0.08);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--midnight); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 60px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,22,40,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--section-border);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav.scrolled { padding: 12px 60px; background: rgba(10,22,40,0.95); }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: 3.5px; color: #fff; }
.nav-logo-sub { font-family: var(--font-heading); font-weight: 400; font-size: 7px; letter-spacing: 5px; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-heading); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nav-text); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .cta-link { color: var(--gold); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block; font-family: var(--font-heading); font-size: 12px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 16px 36px; border-radius: 4px;
  transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,78,0.25); }
.btn-secondary {
  display: inline-block; font-family: var(--font-heading); font-size: 12px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); background: transparent; padding: 14px 34px; border-radius: 4px;
  border: 1px solid var(--gold); transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(201,169,78,0.1); transform: translateY(-2px); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero { position: relative; width: 100%; min-height: 100vh; background: var(--midnight); overflow: hidden; display: flex; align-items: center; }
.hero canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(17,34,64,0) 0%, rgba(10,22,40,0.7) 70%); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 3; max-width: 720px; padding: 120px 60px 80px 100px; }
.hero-label { font-family: var(--font-heading); font-size: 12px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.hero-headline { font-family: var(--font-heading); font-weight: 700; font-size: 46px; line-height: 1.18; color: #fff; margin-bottom: 28px; }
.hero-headline .gold { color: var(--gold); }
.hero-body { font-size: 17px; line-height: 1.75; color: var(--text-light); margin-bottom: 40px; max-width: 560px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { background: var(--midnight); padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at 80% 30%, rgba(201,169,78,0.03) 0%, transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label { font-family: var(--font-heading); font-size: 12px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.page-hero-title { font-family: var(--font-heading); font-weight: 700; font-size: 42px; line-height: 1.2; color: #fff; max-width: 700px; }
.page-hero-title .gold { color: var(--gold); }
.page-hero-body { font-size: 17px; line-height: 1.75; color: var(--text-light); margin-top: 24px; max-width: 600px; }

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.cred-strip { background: var(--navy); border-top: 1px solid rgba(201,169,78,0.12); padding: 52px 100px; display: flex; justify-content: space-between; gap: 40px; }
.cred-item { text-align: center; flex: 1; }
.cred-number { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.cred-label { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }
.section-label { font-family: var(--font-heading); font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 48px; }

/* ============================================================
   PRACTICE AREA CARDS
   ============================================================ */
.practices { background: #0e1d35; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.practice-card { display: block; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; transition: all 0.3s ease; }
.practice-card:hover { border-color: var(--card-border-hover); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.practice-num { font-family: var(--font-heading); font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.practice-name { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.practice-desc { font-size: 14px; line-height: 1.65; color: #7a8ea6; }
.practice-card.featured { grid-column: 1 / -1; background: rgba(201,169,78,0.05); border-color: rgba(201,169,78,0.18); }
.practice-card:last-child { grid-column: 1 / -1; }

/* ============================================================
   SERVICE DETAIL BLOCKS (Services page)
   ============================================================ */
.service-block { padding: 60px 0; border-bottom: 1px solid rgba(201,169,78,0.06); }
.service-block:last-child { border-bottom: none; }
.service-num { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.service-name { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.service-body { font-size: 16px; line-height: 1.75; color: var(--text-light); margin-bottom: 20px; }
.service-detail-label { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.service-detail-text { font-size: 15px; line-height: 1.7; color: #7a8ea6; margin-bottom: 20px; }
.service-proof { font-size: 14px; font-style: italic; color: var(--text-muted); line-height: 1.6; padding-left: 16px; border-left: 2px solid var(--gold); }

/* ============================================================
   ENGAGEMENT MODELS (Services page)
   ============================================================ */
.engage-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; margin-bottom: 20px; transition: all 0.3s ease; }
.engage-card:hover { border-color: var(--card-border-hover); }
.engage-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.engage-desc { font-size: 15px; line-height: 1.65; color: #7a8ea6; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.about-photo { width: 100%; border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; background: var(--navy); border: 1px solid rgba(201,169,78,0.1); }
.about-photo-placeholder { width: 100%; aspect-ratio: 3/4; border-radius: 12px; background: var(--navy); border: 1px solid rgba(201,169,78,0.15); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px; font-family: var(--font-heading); letter-spacing: 1px; }
.about-bio p { font-size: 16px; line-height: 1.8; color: var(--text-light); margin-bottom: 20px; }
.credentials-strip { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(201,169,78,0.08); }
.credentials-strip p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.timeline { margin-top: 60px; }
.timeline-item { padding: 16px 0; border-bottom: 1px solid rgba(201,169,78,0.05); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.timeline-role { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #fff; }
.timeline-dates { font-family: var(--font-heading); font-size: 12px; color: var(--text-muted); letter-spacing: 1px; white-space: nowrap; }

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.featured-insight { background: var(--card-bg); border: 1px solid rgba(201,169,78,0.15); border-radius: 16px; padding: 48px; margin-bottom: 48px; }
.featured-badge { font-family: var(--font-heading); font-size: 10px; font-weight: 600; color: var(--navy); background: var(--gold); padding: 4px 12px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; display: inline-block; margin-bottom: 16px; }
.featured-title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.featured-desc { font-size: 16px; line-height: 1.75; color: var(--text-light); margin-bottom: 24px; }
.insight-teaser { padding: 24px 0; border-bottom: 1px solid rgba(201,169,78,0.05); }
.insight-teaser-title { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.insight-teaser-tag { font-size: 13px; color: var(--gold); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-details h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.contact-line { font-size: 16px; color: var(--text-light); margin-bottom: 12px; }
.contact-line a { color: var(--gold); transition: color 0.2s; }
.contact-line a:hover { color: var(--gold-hover); }
.contact-form { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 40px; }
.contact-form h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; background: rgba(10,22,40,0.6); border: 1px solid rgba(201,169,78,0.12); border-radius: 6px;
  padding: 12px 16px; color: #fff; font-family: var(--font-body); font-size: 15px; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { height: 120px; resize: vertical; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { background: var(--midnight); padding: 80px 0; text-align: center; border-top: 1px solid var(--section-border); }
.quote-text { font-family: var(--font-heading); font-size: 26px; font-weight: 500; font-style: italic; color: #fff; max-width: 700px; margin: 0 auto 20px; line-height: 1.5; }
.quote-attr { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.bottom-cta { background: var(--navy); padding: 60px 0; text-align: center; border-top: 1px solid var(--section-border); }
.bottom-cta-text { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #071222; padding: 40px 60px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(201,169,78,0.04); }
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-copy { font-size: 12px; color: var(--footer-text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--footer-text); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.anim-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-fade.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .mobile-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,22,40,0.97); backdrop-filter: blur(14px);
    flex-direction: column; padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--section-border);
  }
  .nav-links.open { display: flex; }
  .hero-content { padding: 120px 24px 60px; }
  .hero-headline { font-size: 32px; }
  .hero-body { font-size: 15px; }
  .cred-strip { flex-wrap: wrap; padding: 40px 24px; gap: 24px; }
  .cred-item { flex: 0 0 45%; }
  .cred-number { font-size: 28px; }
  .container { padding: 0 24px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card.featured, .practice-card:last-child { grid-column: auto; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero-title { font-size: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo, .about-photo-placeholder { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-text { font-size: 20px; padding: 0 24px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .timeline-item { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 26px; }
  .cred-item { flex: 0 0 100%; }
  .page-hero-title { font-size: 24px; }
}
