/* ============================================
   AEGIS WEALTH PARTNERS — MAIN STYLESHEET
   Brand: Navy #001868 / Orange #FF6400
   ============================================ */

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

/* ── Tokens ── */
:root {
  --navy:        #001868;
  --navy-light:  #0a2280;
  --navy-mid:    #1a3290;
  --orange:      #FF6400;
  --orange-light:#FF8033;
  --orange-pale: #FFF0E8;
  --offwhite:    #F7F6F4;
  --white:       #FFFFFF;
  --gray-light:  #F0EEE9;
  --gray-cool:   #8A95A8;
  --gray-mid:    #556270;
  --gray-dark:   #3A4A57;
  --text-body:   #2C3A44;

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

  --max-w:  1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-gap: clamp(4rem, 8vw, 7rem);
}

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { max-width: 68ch; }
.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-dark);
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 2px 12px rgba(0,24,104,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ── Hero — LIGHT ── */
.hero {
  background: var(--white);
  border-bottom: 1px solid #E8E4DC;
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero-body {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
  color: var(--gray-dark);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-aside {
  background: var(--offwhite);
  border: 1px solid #E0DDD6;
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 2.25rem;
}
.hero-aside-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.hero-aside p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.hero-aside-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.hero-aside-items li {
  font-size: 0.88rem;
  color: var(--gray-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}
.hero-aside-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-light); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--offwhite); }

/* ── Sections ── */
.section { padding-block: var(--section-gap); }
.section-alt { background: var(--offwhite); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-navy .section-eyebrow { color: var(--orange-light); }
.section h2 { color: var(--navy); margin-bottom: 1.25rem; }
.section-navy h2 { color: var(--white); }
.section-navy p { color: #9AAAC4; }

/* ── Orange annotation rule (signature element) ── */
.annotated {
  border-left: 3px solid var(--orange);
  padding-left: 1.5rem;
  margin-block: 2rem;
}
.annotated p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}
.section-navy .annotated p { color: #C8D4E8; }
.annotated cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ── Problem cards ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid #E0DDD6;
  border-top: 3px solid var(--orange);
  border-radius: 4px;
  padding: 1.75rem;
}
.problem-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}
.problem-card p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ── Tier cards ── */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.tier-card {
  background: var(--white);
  border: 1px solid #E0DDD6;
  border-radius: 4px;
  padding: 2.25rem;
}
.section-navy .tier-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.tier-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.tier-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.75rem; }
.section-navy .tier-card h3 { color: var(--white); }
.tier-card p { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.65; }
.section-navy .tier-card p { color: #8A9DBB; }

/* ── Two-col ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ── Profile list ── */
.profile-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-dark);
}
.profile-list li::before {
  content: '';
  display: block;
  width: 20px;
  min-width: 20px;
  height: 2px;
  background: var(--orange);
  margin-top: 0.72em;
}

/* ── Process steps ── */
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.process-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
.process-step:last-child { padding-bottom: 0; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-dot {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  color: var(--white);
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-line { width: 1px; flex: 1; background: #DDD8D0; margin-top: 0.5rem; }
.process-step:last-child .step-line { display: none; }
.step-content { padding-top: 0.4rem; }
.step-content h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.92rem; color: var(--gray-mid); line-height: 1.65; }

/* ── Credential list ── */
.credential-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.credential-list li { font-size: 0.92rem; color: var(--gray-mid); padding-left: 1.25rem; position: relative; line-height: 1.6; }
.credential-list li::before { content: '—'; position: absolute; left: 0; color: var(--orange); }

/* ── Page hero (interior) ── */
.page-hero {
  background: var(--navy);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 4px solid var(--orange);
}
.page-hero .section-eyebrow { color: var(--orange-light); margin-bottom: 0.75rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero p { color: #9AAAC4; margin-top: 1rem; max-width: 54ch; font-size: clamp(1rem, 1.5vw, 1.1rem); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.form-placeholder {
  background: var(--white);
  border: 1px solid #E0DDD6;
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,24,104,0.06);
}
.form-placeholder h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.form-placeholder p { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 1.5rem; }
.form-note {
  margin-top: 1.5rem; padding: 1.25rem;
  background: var(--offwhite); border-radius: 3px;
  font-size: 0.85rem; color: var(--gray-mid); line-height: 1.6;
}
.form-note strong { color: var(--navy); font-weight: 600; }

/* ── CTA band ── */
.cta-band {
  background: var(--navy);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  text-align: center;
  border-top: 4px solid var(--orange);
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #9AAAC4; max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: #7A8BA8;
  padding-block: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); mix-blend-mode: screen; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 36ch; }
.footer-col h5 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; transition: color 0.2s; color: #7A8BA8; }
.footer-col a:hover { color: var(--orange); }
.footer-col a.active { color: #7A8BA8; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem; font-size: 0.78rem;
}

/* ── Divider ── */
.divider { height: 1px; background: #E8E4DC; margin-block: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 1rem var(--gutter) 1.5rem;
    border-top: 2px solid var(--navy); box-shadow: 0 8px 24px rgba(0,24,104,0.12);
  }
  .nav-links.open li { padding-block: 0.6rem; }
  .nav-toggle { display: block; }
  .tiers { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Utilities ── */
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-mid); }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
