/* ========================================================================
   Wealthbase LLC — static rebuild stylesheet
   Palette reconstructed from the project brief (deep forest green + gold +
   warm white) since the exported theme file only contained default
   placeholder tokens. See note in README.
   ======================================================================== */

:root {
  --forest: #14302a;
  --forest-dark: #0d221d;
  --gold: #c6a24b;
  --gold-light: #e3c87e;
  --warm-white: #fbf9f3;
  --cream: #f3efe4;
  --sage: #eaeee5;
  --ink: #1c231f;
  --muted: #6b7268;
  --border: #e3e0d2;
  --destructive: #b3261e;
  --radius: 2px;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, p, h1, h2, h3, h4 { margin: 0; }

.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.muted { color: var(--muted); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.container-6xl { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container-6xl { padding: 0 32px; } }
.container-4xl { max-width: 896px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container-4xl { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-light); }
.btn-forest { background: var(--forest); color: var(--warm-white); }
.btn-forest:hover { background: #1c3f37; }
.btn-outline-dark {
  background: rgba(20,48,42,.15);
  border-color: rgba(251,249,243,.35);
  color: var(--warm-white);
}
.btn-outline-dark:hover { background: rgba(251,249,243,.1); }
.btn-outline-light {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline-light:hover { background: var(--sage); }
.btn-sm { height: 44px; padding: 0 20px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20,48,42,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(198,162,75,.15);
  color: var(--warm-white);
}
.site-header .container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-link { min-width: 0; }
.logo-link img { height: 40px; width: auto; }
@media (min-width: 640px) { .logo-link img { height: 44px; } }
.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(251,249,243,.75);
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.header-right { display: none; align-items: center; gap: 20px; margin-left: 24px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.menu-btn {
  background: transparent; border: none; color: var(--warm-white);
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 4px;
}
.menu-btn:hover { background: rgba(251,249,243,.1); }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-right { display: flex; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(13,34,29,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 49;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 88%; max-width: 360px;
  background: var(--forest); color: var(--warm-white); z-index: 50;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { border-bottom: 1px solid rgba(251,249,243,.1); padding: 28px 24px; }
.drawer-head img { height: 44px; width: auto; }
.drawer-nav { display: flex; flex-direction: column; padding: 24px; }
.drawer-nav a {
  border-bottom: 1px solid rgba(251,249,243,.1); padding: 16px 0;
  font-family: "Cormorant Garamond", serif; font-size: 24px; color: var(--warm-white);
}
.drawer-foot { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer-foot .header-phone { font-size: 14px; }
.drawer-close { position: absolute; top: 28px; right: 24px; background: none; border: none; color: var(--warm-white); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--forest); color: var(--warm-white);
  min-height: 640px;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,34,29,.94) 8%, rgba(13,34,29,.75) 45%, rgba(13,34,29,.35) 80%);
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: 96px 20px; min-height: 640px; display: flex; align-items: center;
}
@media (min-width: 1024px) { .hero-inner { padding: 0 48px; min-height: calc(100vh - 76px); } }
@media (min-width: 1280px) { .hero-inner { padding: 0 80px; } }
.hero-content { max-width: 720px; }
.hero h1 { margin-top: 24px; font-size: 2.75rem; font-weight: 500; line-height: 0.95; }
.hero p.lead { margin-top: 28px; max-width: 620px; font-size: 1rem; line-height: 2rem; color: rgba(251,249,243,.75); }
@media (min-width: 640px) { .hero h1 { font-size: 3.5rem; } .hero p.lead { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.5rem; } }
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-badge {
  position: absolute; bottom: 0; right: 0; display: none;
  border-left: 1px solid rgba(251,249,243,.2); border-top: 1px solid rgba(251,249,243,.2);
  background: rgba(20,48,42,.8); padding: 20px 36px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(251,249,243,.6); backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .hero-badge { display: block; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.bg-forest { background: var(--forest); color: var(--warm-white); }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); }
.bg-white { background: var(--warm-white); }

.section-title { max-width: 640px; }
.section-title h2 { margin-top: 16px; font-size: 2.25rem; font-weight: 500; line-height: 1.15; }
@media (min-width: 640px) { .section-title h2 { font-size: 3rem; } }
.section-title .intro { margin-top: 20px; max-width: 620px; line-height: 2rem; color: var(--muted); }
.section-title.light .intro { color: rgba(251,249,243,.65); }

/* Our approach */
.approach-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: 0.8fr 1.2fr; } }
.approach-quote { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; line-height: 1.6; }
.approach-body p.muted-lead { margin-top: 24px; line-height: 2rem; color: var(--muted); }
.approach-pillars { margin-top: 36px; display: grid; gap: 20px; }
@media (min-width: 640px) { .approach-pillars { grid-template-columns: repeat(3,1fr); } }
.pillar { border-top: 1px solid var(--gold); padding-top: 16px; }
.pillar svg { width: 20px; height: 20px; color: var(--gold); }
.pillar p { margin-top: 12px; font-size: 14px; font-weight: 600; }

/* Strategy cards */
.strategy-grid { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 1024px) { .strategy-grid { grid-template-columns: repeat(3,1fr); } }
.strategy-card { border: 1px solid var(--border); background: #fff; overflow: hidden; }
.strategy-card .img-wrap { overflow: hidden; aspect-ratio: 4/3; }
.strategy-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.strategy-card:hover .img-wrap img { transform: scale(1.025); }
.strategy-card .card-body { padding: 28px; }
@media (min-width: 1024px) { .strategy-card .card-body { padding: 32px; } }
.strategy-card h3 { margin-top: 12px; font-size: 1.75rem; }
.strategy-card p.desc { margin-top: 16px; min-height: 112px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }
.explore-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--forest); }
.explore-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.explore-link svg { width: 16px; height: 16px; }

/* Split image/text */
.split { display: grid; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.split .split-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 20px; }
@media (min-width: 1024px) { .split .split-copy { padding: 112px 64px; } }
.split .split-copy .body-copy { margin-top: 32px; display: grid; gap: 20px; font-size: 14px; line-height: 1.75rem; color: rgba(251,249,243,.65); }

/* Who we help */
.profile-grid { margin-top: 48px; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); overflow: hidden; }
@media (min-width: 768px) { .profile-grid { grid-template-columns: repeat(3,1fr); } }
.profile-cell { background: var(--warm-white); padding: 32px; }
.profile-cell .value { font-family: "Cormorant Garamond", serif; font-size: 2.25rem; color: var(--forest); }
.profile-cell h3 { margin-top: 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.profile-cell p { margin-top: 12px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }

/* Numbered steps */
.steps-grid { margin-top: 48px; display: grid; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3,1fr); } }
.step-cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px; }
@media (min-width: 1024px) { .step-cell { padding: 36px; } }
.step-cell .num { font-family: "Cormorant Garamond", serif; font-size: 2.25rem; color: var(--gold); }
.step-cell h3 { margin-top: 28px; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; }
.step-cell p { margin-top: 12px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }

/* CTA section */
.cta-banner { background: var(--sage); }
.cta-banner .container-6xl {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px;
  padding-top: 64px; padding-bottom: 64px;
}
@media (min-width: 640px) { .cta-banner .container-6xl { flex-direction: row; align-items: center; } }
.cta-banner h2 { margin-top: 12px; font-size: 2rem; font-weight: 500; }
.cta-banner .eyebrow { color: var(--forest); }

/* Feature list / checks */
.feature-list { display: grid; gap: 16px; list-style: none; padding: 0; }
.feature-list li { display: flex; gap: 12px; line-height: 1.75rem; color: var(--muted); }
.feature-list .check {
  margin-top: 6px; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: var(--sage); color: var(--forest); display: grid; place-items: center;
}
.feature-list .check svg { width: 12px; height: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--gold); transition: transform .2s ease; font-size: 1.25rem; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin-top: 16px; max-width: 640px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }

/* Page hero (interior pages) */
.page-hero { background: var(--forest); color: var(--warm-white); }
.page-hero .grid { display: grid; }
@media (min-width: 1024px) { .page-hero .grid { grid-template-columns: 0.9fr 1.1fr; min-height: 590px; } }
.page-hero .copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 20px; }
@media (min-width: 1024px) { .page-hero .copy { padding: 0 48px; } }
@media (min-width: 1280px) { .page-hero .copy { padding: 0 80px; } }
.page-hero h1 { margin-top: 20px; max-width: 620px; font-size: 2.5rem; font-weight: 500; line-height: 1; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p.lead { margin-top: 28px; max-width: 520px; line-height: 2rem; color: rgba(251,249,243,.7); }
.page-hero .cta { margin-top: 36px; }
.page-hero img { min-height: 360px; width: 100%; height: 100%; object-fit: cover; }

/* Two column body */
.two-col { display: grid; gap: 56px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col.narrow-wide { }
@media (min-width: 1024px) { .two-col.narrow-wide { grid-template-columns: 0.8fr 1.2fr; } }
.two-col h3 { font-family: "Cormorant Garamond", serif; font-size: 1.75rem; }
.two-col .lead-body { margin-top: 24px; line-height: 2rem; color: var(--muted); }
.blockquote-note { margin-top: 28px; border-left: 2px solid var(--gold); padding-left: 20px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }

/* Quote block (about page) */
.quote-block { border-left: 1px solid var(--gold); padding-left: 28px; }
.quote-block p.quote { font-family: "Cormorant Garamond", serif; font-size: 1.75rem; line-height: 1.4; }
.quote-block p.note { margin-top: 24px; font-size: 14px; line-height: 1.75rem; color: var(--muted); }

/* Contact */
.contact-info { margin-top: 36px; display: grid; gap: 16px; font-size: 14px; }
.contact-info a, .contact-info p { display: flex; align-items: center; gap: 12px; }
.contact-info svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact-info a:hover { color: var(--forest); }
.contact-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .contact-actions { flex-direction: row; } }

form.card-form {
  display: grid; gap: 20px; border: 1px solid var(--border); background: var(--warm-white);
  padding: 24px;
}
@media (min-width: 640px) { form.card-form { grid-template-columns: 1fr 1fr; padding: 36px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.field input, .field select, .field textarea {
  height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 0 14px; font-size: 14px; font-family: inherit; color: var(--ink);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7268' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field textarea { height: auto; padding: 12px 14px; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field .error { font-size: 12px; color: var(--destructive); }
.form-note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest); color: var(--warm-white); }
.footer-top { display: grid; gap: 48px; border-bottom: 1px solid rgba(251,249,243,.15); padding-bottom: 48px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr 0.7fr 1fr; } }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 420px; font-size: 14px; line-height: 1.75rem; color: rgba(251,249,243,.65); }
.footer-col .links { margin-top: 20px; display: grid; gap: 12px; }
.footer-col .links a { font-size: 14px; color: rgba(251,249,243,.7); }
.footer-col .links a:hover { color: var(--gold-light); }
.footer-legal { padding-top: 32px; font-size: 12px; line-height: 1.5rem; color: rgba(251,249,243,.5); }
.footer-legal .row { margin-top: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
@media (min-width: 640px) { .footer-legal .row { flex-direction: row; } }
.footer-legal .row .links { display: flex; gap: 20px; }
.footer-legal .row .links a:hover { color: var(--warm-white); }
.site-footer { padding: 56px 0 80px; }
@media (min-width: 1024px) { .site-footer { padding: 80px 0; } }

/* Appointment dialog */
.dialog-overlay {
  position: fixed; inset: 0; background: rgba(13,34,29,.65); z-index: 60;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.dialog-overlay.open { display: flex; }
.dialog-panel {
  background: #fff; width: 100%; max-width: 580px; max-height: 92vh; overflow-y: auto;
  border: 1px solid rgba(198,162,75,.3); position: relative;
}
.dialog-head { border-bottom: 1px solid var(--border); background: var(--forest); color: var(--warm-white); padding: 28px 24px; }
@media (min-width: 640px) { .dialog-head { padding: 28px 32px; } }
.dialog-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-light); }
.dialog-kicker svg { width: 16px; height: 16px; }
.dialog-head h2 { margin-top: 8px; font-family: "Cormorant Garamond", serif; font-size: 1.75rem; font-weight: 500; }
.dialog-head p { margin-top: 8px; font-size: 14px; color: rgba(251,249,243,.7); }
.dialog-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--warm-white);
  cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px;
}
.dialog-close:hover { background: rgba(251,249,243,.12); }
.dialog-panel form.card-form { border: none; padding: 24px; }
@media (min-width: 640px) { .dialog-panel form.card-form { padding: 32px; } }

/* Legal pages */
.legal-hero { background: var(--forest); color: var(--warm-white); padding: 80px 0; }
.legal-hero h1 { margin-top: 16px; font-size: 2.5rem; font-weight: 500; }
.legal-copy { padding: 64px 0; display: grid; gap: 20px; }
.legal-copy h2 { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; margin-top: 12px; }
.legal-copy p { line-height: 1.85rem; color: var(--muted); font-size: 15px; }
.legal-copy a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

/* 404-style not used but keep utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
