/* Wealthstream Investment — shared styles (light theme, forest green + gold) */
:root {
  --white: #ffffff;
  --mist: #f4f7f4;
  --ink: #1c2420;
  --ink-soft: #55605a;
  --green: #1e4d3b;
  --green-deep: #14382a;
  --green-tint: #e6efe9;
  --gold: #c9a227;
  --gold-soft: #f5edd2;
  --line: #dfe5df;
  --radius: 12px;
  --shadow: 0 18px 44px -20px rgba(20, 56, 42, 0.35);
  --shadow-sm: 0 2px 8px rgba(20, 56, 42, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font-body); background: var(--white); color: var(--ink); line-height: 1.65; font-size: 1.05rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.center { text-align: center; }
.center .kicker { justify-content: center; }

.btn { display: inline-block; text-decoration: none; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; padding: 14px 30px; border-radius: 8px; border: 2px solid transparent; transition: all 0.22s ease; }
.btn-solid { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-gold { border-color: var(--gold); color: var(--green-deep); background: transparent; }
.btn-gold:hover { background: var(--gold-soft); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.wordmark { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.wordmark img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.wordmark div { line-height: 1.1; }
.wordmark strong { display: block; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); }
.wordmark span { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; transition: color 0.2s; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-links a.active { color: var(--green); border-bottom-color: var(--gold); }
.nav .btn { padding: 10px 20px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* page header */
.page-head { background: linear-gradient(180deg, var(--green-tint), var(--white)); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.page-head p { color: var(--ink-soft); max-width: 560px; margin-top: 12px; }
.crumbs { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* hero (home) */
.hero { background: linear-gradient(180deg, var(--mist), var(--white)); padding: clamp(48px, 7vw, 90px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.hero-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 4.5vw, 56px); box-shadow: var(--shadow); position: relative; z-index: 2; margin-right: -70px; }
.hero-card h1 .goldword { color: var(--green); font-style: italic; }
.hero-card p.lede { margin: 18px 0 28px; color: var(--ink-soft); font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(360px, 44vw, 560px); object-fit: cover; border-radius: var(--radius); }
.hero-media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.rating-inline { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.stars .off { color: #d8d3c2; }

/* pillars */
.pillars { background: var(--green); color: #fff; padding: 26px 0; }
.pillars-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0; }
.pillar { flex: 1 1 160px; text-align: center; padding: 6px 18px; }
.pillar + .pillar { border-left: 1px solid rgba(255,255,255,0.18); }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.pillar span { font-size: 0.85rem; color: rgba(255,255,255,0.82); letter-spacing: 0.06em; text-transform: uppercase; }

/* services */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 52px); flex-wrap: wrap; }
.services-head p { max-width: 520px; color: var(--ink-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.svc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc:hover::before { transform: scaleX(1); }
.svc-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc h3 { font-size: 1.28rem; margin-bottom: 8px; }
.svc p { font-size: 0.95rem; color: var(--ink-soft); }

/* why split */
.why { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: clamp(340px, 40vw, 470px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .chip { position: absolute; bottom: 20px; right: 20px; background: var(--white); border-radius: 10px; padding: 12px 18px; box-shadow: var(--shadow-sm); font-size: 0.88rem; font-weight: 700; color: var(--green-deep); }
.why-item { display: flex; gap: 16px; margin-top: 24px; }
.why-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display); }
.why-item strong { display: block; font-size: 1.05rem; }
.why-item p { font-size: 0.95rem; color: var(--ink-soft); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.about p { color: var(--ink-soft); margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { font-size: 0.85rem; font-weight: 600; background: var(--green-tint); color: var(--green-deep); padding: 8px 15px; border-radius: 999px; border: 1px solid #cfdfd4; }
.contact-card { background: var(--green); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 42px); box-shadow: var(--shadow); }
.contact-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 20px; }
.cc-line { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; font-size: 0.98rem; }
.cc-line span:first-child { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); min-width: 64px; font-weight: 700; }
.cc-line a { color: #fff; text-decoration: none; font-weight: 600; }
.cc-line a:hover { text-decoration: underline; }
.contact-card .btn { background: var(--gold); color: var(--green-deep); margin-top: 10px; }
.contact-card .btn:hover { background: #dbb741; }

/* reviews */
.reviews { text-align: center; }
.review-big { font-family: var(--font-display); font-size: clamp(3.6rem, 8vw, 5.5rem); font-weight: 700; color: var(--green); line-height: 1; }
.reviews .stars { font-size: 1.6rem; margin: 10px 0 6px; }
.reviews p.sub { color: var(--ink-soft); margin-bottom: 24px; }
.reviews a.glink { color: var(--green); font-weight: 700; }

/* CTA band */
.cta-band { background: var(--gold-soft); border-top: 1px solid var(--line); text-align: center; padding: clamp(56px, 8vw, 88px) 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 26px; }

/* contact page */
.contact { background: var(--mist); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.c-list { list-style: none; display: grid; gap: 18px; margin: 26px 0; }
.c-list small { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 2px; }
.c-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.c-list a:hover { color: var(--green); text-decoration: underline; }
.contact-img img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--radius); margin-top: 24px; box-shadow: var(--shadow-sm); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-family: var(--font-body); font-size: 0.98rem; background: var(--white); color: var(--ink); transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }

/* footer */
footer { background: var(--green-deep); color: #c4d4ca; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .wordmark strong { color: #fff; }
footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
footer p, footer a { font-size: 0.94rem; color: #c4d4ca; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #8fa598; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { margin-right: 0; margin-bottom: -60px; }
  .hero-media { margin-top: 80px; }
  .hero-media::after { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillar + .pillar { border-left: none; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px; display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
}

/* SYNTH-NOJS-FALLBACK: show scroll-reveal content when JS is blocked/unavailable */
html:not(.js) .reveal,html:not(.js) .svc-card,html:not(.js) .svc{opacity:1!important;transform:none!important}
