/* Wealth by Magesa — corporate: white/ivory, navy, restrained gold, clean grid */
:root {
  --bg: #FAF9F6;
  --bg-2: #F1EFEA;
  --white: #FFFFFF;
  --ink: #0F1E36;
  --ink-2: #33415A;
  --muted: #5F6B7C;
  --line: #E2DED6;
  --gold: #B8913F;
  --gold-lt: #D9BC7A;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --nav: 76px;
  --r: 6px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 20px 40px -24px rgba(15,30,54,.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
p { margin: 0; }
.wrap { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.small { font-size: .88rem; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-lt); }
.lede { font-size: clamp(1.03rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 56ch; }
.hl { color: var(--gold); }
.hl--gold { color: var(--gold-lt); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r); font: 600 .93rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn--navy { background: var(--ink); color: #fff; }
.btn--navy:hover { background: #1d3357; box-shadow: 0 10px 22px -12px rgba(15,30,54,.6); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a37f33; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .87rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: .98rem; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; border-radius: var(--r); background: var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 9px; flex: none; }
.logo__mark i { width: 5px; background: var(--gold-lt); }
.logo__mark i:nth-child(1) { height: 8px; } .logo__mark i:nth-child(2) { height: 13px; } .logo__mark i:nth-child(3) { height: 19px; }
.logo b { display: block; font: 600 1.18rem/1.1 var(--serif); }
.logo small { display: block; font-size: .63rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(250,249,246,.0); transition: background .3s, box-shadow .3s; }
.nav.is-stuck, .nav.is-open { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: var(--nav); display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; padding: 6px 0; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { padding: 8px clamp(16px,4vw,40px) 24px; display: flex; flex-direction: column; gap: 4px; }
.menu[hidden] { display: none; }
@media (min-width: 981px) { .menu { display: none; } }
.menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 1.25rem/1.2 var(--serif); }
.menu .btn { margin-top: 16px; }

/* Hero */
.hero { position: relative; padding: calc(var(--nav) + clamp(32px, 5vw, 64px)) 0 clamp(64px, 8vw, 104px); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--ink-2); margin-bottom: 24px; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); margin-bottom: 22px; }
.h1-line { display: block; }
.h1-line--accent { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.promises li { display: flex; align-items: center; gap: 8px; }
.promises li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2L3.4 10l1.4-1.4 2.8 2.8 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2L3.4 10l1.4-1.4 2.8 2.8 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.promises--light { color: #D7DEE9; }
.promises--light li::before { background: var(--gold-lt); }

.hero__stage { position: relative; justify-self: end; width: min(100%, 440px); padding: 0 0 28px 28px; }
.hero__stage::before { content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 82%; border: 1px solid var(--gold-lt); border-radius: var(--r); }
.portrait { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: #E6E9EE; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.float { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.float--chart { right: -26px; top: 36px; width: 196px; padding: 14px 16px 10px; }
.float--chart small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.float--chart svg { width: 100%; height: auto; overflow: visible; }
.chart-line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2s .6s var(--ease) forwards; }
.chart-fill { opacity: 0; animation: fadein 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.float--text { left: 0; bottom: 64px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; text-decoration: none; font-size: .84rem; line-height: 1.3; color: var(--ink-2); }
.float__icon { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--ink); color: var(--gold-lt); font-size: 1rem; }
.float--text strong { font-size: 1.02rem; color: var(--ink); }
.js .hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.js .hero__copy > *:nth-child(2) { animation-delay: .08s; } .js .hero__copy > *:nth-child(3) { animation-delay: .16s; } .js .hero__copy > *:nth-child(4) { animation-delay: .24s; } .js .hero__copy > *:nth-child(5) { animation-delay: .32s; }
.js .hero__stage { opacity: 0; animation: fadein .9s .2s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Services ticker */
.marquee { background: var(--ink); color: #DDE3EC; overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 70s linear infinite; font-size: .9rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.marquee__track i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-lt); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section--tint { background: var(--bg-2); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 5vw, 64px); }
.head .eyebrow { justify-content: center; }
.head__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.head--left { text-align: left; margin: 0; }
.head--left .btn { margin-top: 26px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.step { padding: 36px 32px; transition: background .25s; }
.step + .step { border-left: 1px solid var(--line); }
.step:hover { background: #FCFBF8; }
.step__n { display: block; font: 600 .85rem/1 var(--sans); letter-spacing: .12em; color: var(--gold); margin-bottom: 18px; }
.step__n::before { content: "0"; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.assure { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 20px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); color: var(--ink-2); }
.assure strong { color: var(--ink); }

/* Straight talk band */
.talk-band { background: var(--ink); color: #fff; }
.talk { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.talk__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.talk__list { display: grid; counter-reset: t; border-top: 1px solid rgba(255,255,255,.14); }
.talk__item { position: relative; padding: 24px 0 24px 64px; border-bottom: 1px solid rgba(255,255,255,.14); }
.talk__item::before { counter-increment: t; content: "0" counter(t); position: absolute; left: 0; top: 26px; font: 600 .85rem/1 var(--sans); letter-spacing: .12em; color: var(--gold-lt); }
.talk__item h3 { font: 600 1.1rem/1.35 var(--sans); margin-bottom: 6px; }
.talk__item p { color: #BFC9D8; }
.creds { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.creds li { padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); font-size: .92rem; }
.creds b { display: block; }
.creds a, .creds span { color: var(--gold-lt); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person__img { aspect-ratio: 4/5; margin-bottom: 18px; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .person__img img { transform: scale(1.04); }
.person h3 { font-size: 1.25rem; margin-bottom: 6px; padding-top: 14px; border-top: 2px solid var(--gold); display: inline-block; }
.person p { color: var(--muted); font-size: .96rem; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 32px 26px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: border-color .25s, box-shadow .25s; }
.pillar:hover { border-top-color: var(--gold); box-shadow: var(--shadow); }
.pillar__n { font: 600 .82rem/1 var(--sans); color: var(--gold); letter-spacing: .12em; }
.pillar h3 { font-size: 1.3rem; margin: 14px 0 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pillar li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--gold); }

/* Hometown */
.home { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.home__img { margin: 0; }
.home__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.home__img figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.home__copy h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.pin { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.pin__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Story */
.story { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.story__media { position: relative; padding: 0 18% 14% 0; }
.story__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; border-radius: var(--r); box-shadow: var(--shadow); }
.story__img2 { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; border-radius: var(--r); border: 6px solid var(--bg-2); box-shadow: var(--shadow); }
.story__copy h2 { margin-bottom: 22px; }
.story__copy > div > p { color: var(--ink-2); margin-bottom: 16px; font-size: 1.05rem; }
.quote { margin: 28px 0 30px; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font: italic 500 1.25rem/1.5 var(--serif); }
.quote cite { display: block; margin-top: 8px; font: 500 .84rem/1 var(--sans); font-style: normal; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.review blockquote { margin: 0 0 16px; font: italic 1.08rem/1.6 var(--serif); }
.review figcaption { font-weight: 600; }
.review small { display: block; color: var(--muted); font-weight: 400; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__img { margin: 36px 0 0; max-width: 340px; }
.faq__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 1.03rem; transition: color .2s; }
.qa summary:hover { color: var(--gold); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { padding: 0 48px 22px 0; color: var(--muted); }

/* Book */
.book { background: var(--ink); color: #fff; }
.book .lede { color: #BFC9D8; }
.book__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.book__copy h2 { margin-bottom: 16px; }
.book__copy .promises { margin: 26px 0 30px; flex-direction: column; }
.textcard { padding: 24px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); }
.textcard p:first-child { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.textcard__big { display: block; margin: 8px 0 10px; font: 600 1.35rem/1.3 var(--serif); text-decoration: none; }
.textcard__big:hover { color: var(--gold-lt); }
.textcard .small { color: #BFC9D8; }
.textcard .small a { color: #fff; }
.book__cal { border-radius: var(--r); overflow: hidden; background: #fff; min-height: 700px; }
.calendly-inline-widget { min-width: 300px; height: 700px; }

/* Footer */
.footer { background: #0A1628; color: #D3DAE5; padding: 0 0 100px; }
.footer .logo small { color: #93A2B8; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tag { margin: 14px 0 4px; font-style: italic; font-family: var(--serif); }
.footer .small { color: #93A2B8; }
.footer__contact { display: grid; gap: 8px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--gold-lt); }
.footer__legal { padding-top: 22px; display: grid; gap: 8px; font-size: .79rem; color: #8494AB; }
.footer__legal a { color: #C2CCDA; }

/* Mobile action bar */
.mbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .people .person:nth-child(2), .js .pillars .pillar:nth-child(2), .js .steps .step:nth-child(2) { transition-delay: .08s; }
.js .people .person:nth-child(3), .js .pillars .pillar:nth-child(3), .js .steps .step:nth-child(3) { transition-delay: .16s; }
.js .people .person:nth-child(4), .js .pillars .pillar:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__grid, .talk, .story, .faq, .book__grid, .home { grid-template-columns: 1fr; }
  .hero__stage { justify-self: start; width: min(100%, 420px); }
  .float--chart { right: -10px; }
  .people, .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .story__media { max-width: 480px; }
  .faq__img { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .show-mbar .mbar { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .chip { font-size: .74rem; }
  .hero__stage { padding: 0 0 20px 20px; }
  .float--chart { width: 150px; top: 16px; right: -6px; }
  .float--text { bottom: 40px; }
  .people, .pillars { grid-template-columns: 1fr; }
  .person__img { aspect-ratio: 4/3; }
  .calendly-inline-widget, .book__cal { height: 1000px; min-height: 1000px; }
  .marquee__track { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
