/* ============================================================
   RETIREMENT & FINANCIAL STRATEGIES — Global Stylesheet
   Design: Navy / White / Gold — Premium Wealth Management
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:       #0A1F44;
  --navy-mid:   #112654;
  --navy-light: #1a3567;
  --gold:       #C9A84C;
  --gold-light: #e2c97e;
  --white:      #FFFFFF;
  --off-white:  #F8F7F4;
  --text:       #1A1A2E;
  --text-mid:   #4A4A6A;
  --text-light: #7A7A9A;
  --border:     #E8E6F0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:     4px;
  --radius-lg:  8px;
  --shadow:     0 4px 24px rgba(10,31,68,0.08);
  --shadow-lg:  0 12px 48px rgba(10,31,68,0.14);
  --transition: 0.25s ease;

  --max-w: 1160px;
  --section-pad: 96px 24px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.8; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-pad); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(10,31,68,0.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 80px;
  width: auto;
  
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  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 var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 24px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 72px;
  width: auto;
  
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.footer-contact a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Gold divider ───────────────────────────────────────── */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.gold-rule.center { margin: 20px auto 28px; }

/* ── Section headers ─────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.05rem;
  max-width: 600px;
}
.section-header.center p { margin: 0 auto; }

/* ── Credential badge ────────────────────────────────────── */
.cfp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Page hero (interior pages) ──────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 24px 72px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 16px auto 0;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ── Team cards ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.team-card-body {
  padding: 24px;
}
.team-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.team-card-body .role {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.team-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.team-card-body a.view-bio {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition);
}
.team-card-body a.view-bio:hover { color: var(--gold); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px; left: 0; right: 0; z-index: 999;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  :root { --section-pad: 56px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav-logo img { height: 60px; }
}
@media (max-width: 500px) {
  .nav-logo img { height: 52px; }
}
