/* HQ Wealth Wise — redesign concept */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0e1b2c;
  --navy-2: #16283f;
  --cream: #faf7f0;
  --cream-2: #f1ece0;
  --gold: #c6a15b;
  --gold-dark: #a5813f;
  --emerald: #2f5d50;
  --ink: #1b2430;
  --muted: #5c6672;
  --border: #e4ddcc;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy);
}

p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Demo ribbon */
.demo-ribbon {
  background: var(--navy);
  color: var(--cream-2);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .03em;
  padding: 8px 16px;
}
.demo-ribbon strong { color: var(--gold); }

/* Header */
header.site {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: .93rem;
  font-weight: 500;
}
.nav-links a { color: var(--navy); opacity: .8; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold-dark); }
.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.nav-cta:hover { background: var(--emerald); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 0%, #1c3350 0%, var(--navy) 55%);
  color: var(--cream);
  padding: 100px 24px 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="100" cy="100" r="1" fill="%23c6a15b" opacity="0.35"/></svg>');
  background-size: 40px 40px;
  opacity: .5;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: .4em;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lead {
  color: #cfd7e2;
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d6b46f; }
.btn-outline { border-color: rgba(250,247,240,.35); color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--emerald); }

.hero-card {
  background: rgba(250,247,240,.06);
  border: 1px solid rgba(250,247,240,.15);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 420px;
}
.hero-card .stat { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(250,247,240,.12); }
.hero-card .stat:last-child { border-bottom: none; }
.hero-card .stat b { color: var(--gold); font-family: 'Fraunces', serif; font-size: 1.3rem; display: block; }
.hero-card .stat span { color: #cfd7e2; font-size: .82rem; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { color: var(--gold-dark); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { font-size: 1.02rem; }

.alt { background: var(--cream-2); }
.navy-section { background: var(--navy); color: var(--cream); }
.navy-section h2, .navy-section h3 { color: var(--cream); }
.navy-section p { color: #c7d0dc; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(14,27,44,.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  box-shadow: 0 14px 32px rgba(14,27,44,.09);
  transform: translateY(-3px);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; }
.card p { margin-bottom: 0; font-size: .95rem; }

/* Topic tiles (setquotes-style category browsing) */
.topic-card { text-align: center; }
.topic-card .icon { margin: 0 auto 18px; }
.topic-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.topic-card p { font-size: .9rem; margin-bottom: 18px; }
.topic-card .btn { font-size: .82rem; padding: 10px 20px; }

/* Responsive video embed (16:9) */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.video-embed.is-placeholder .icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(250,247,240,.1);
  border: 1px solid rgba(250,247,240,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
}

/* Podcast highlight */
.podcast-panel {
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.podcast-art {
  width: 96px; height: 96px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--navy);
  flex-shrink: 0;
}
.podcast-panel h3 { color: var(--cream); margin-bottom: 6px; }
.podcast-panel p { color: #c7d0dc; margin-bottom: 0; }
.podcast-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--emerald), var(--navy));
  color: var(--cream);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: #d7e0da; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* Placeholder callouts — used where the real site owner needs to supply content */
.placeholder-slot {
  border: 1.5px dashed var(--gold-dark);
  background: #fbf5e6;
  border-radius: 12px;
  padding: 20px 22px;
  font-size: .88rem;
  color: var(--gold-dark);
}
.placeholder-slot b { color: var(--navy); }

/* Team / people */
.person {
  text-align: center;
}
.person .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--cream-2);
  border: 1.5px dashed var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  font-size: .75rem;
  text-align: center;
  padding: 6px;
}

/* Forms */
.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .95rem;
}

/* Footer */
footer.site {
  background: var(--navy);
  color: #c7d0dc;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,247,240,.12);
}
footer.site h4 { color: var(--cream); font-size: .95rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 16px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 10px; font-size: .9rem; }
footer.site a:hover { color: var(--gold); }
.footer-brand { font-family: 'Fraunces', serif; color: var(--cream); font-size: 1.15rem; margin-bottom: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .8rem; color: #93a0ae; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .podcast-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
