/* CDA Wealth v3 — editorial serif, spring motion, scroll-driven hero and timeline, glass panels. Loaded after site.css. */
:root { --head: "Fraunces", "Georgia", serif; --spring: cubic-bezier(.34, 1.4, .64, 1); --ease: cubic-bezier(.2, .7, .2, 1) }
h1, h2 { font-family: var(--head); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 144 }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04 }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08 }
h3, .brand-name, .steps b, .hook, .score-ring b, .hero-stats b, .cel-card h3, .modal h3, .bk-done h3 { font-family: var(--head); font-weight: 500 }
.pull { font-family: var(--head); font-weight: 400; font-style: italic; font-size: 1.5rem }
.art-hero h1 { font-weight: 500 }
.hero-stats b { font-size: 2.3rem }
.brand-tag { white-space: nowrap }
.steps-sticky h2 { max-width: 820px }

/* glass */
.glass { background: color-mix(in srgb, var(--panel) 55%, transparent); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--txt) 16%, transparent), 0 20px 60px rgba(0,0,0,.25) }
:root[data-theme="light"] .glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 20px 60px rgba(10,12,11,.08) }
.hero-stats { gap: 14px }
.hero-stats .glass { border-left: 1px solid color-mix(in srgb, var(--txt) 14%, transparent); padding: 16px 18px; border-radius: 14px; min-width: 150px }

/* springy interactions */
.btn { transition: transform .45s var(--spring), border-color .2s, background .2s, box-shadow .3s }
.btn:hover { transform: translateY(-2px) scale(1.03) }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s }
.rv { transition: opacity .9s var(--ease), transform .9s var(--spring); transform: translateY(34px) }
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .6s var(--spring), border-color .3s, background .3s }
.tilt:hover { transition: transform .15s linear, border-color .3s, background .3s }
.pillar:hover, .card:hover { transform: none }
.ic { transition: transform .5s var(--spring), background .3s, color .3s }

/* pinned hero */
.hero.pin { min-height: 185vh; padding: 0; display: block; overflow: visible }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 110px 0 60px }
.hero-sticky::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 22% 50%, var(--bg), color-mix(in srgb, var(--bg) 35%, transparent) 70%, transparent), linear-gradient(to bottom, color-mix(in srgb, var(--bg) 60%, transparent), transparent 30%, transparent 75%, var(--bg)) }
.hero.pin::before { display: none }
.hero .l1, .hero .l2 { display: inline-block; transition: opacity .8s var(--ease), transform .9s var(--spring) }
.hero .l2 { opacity: 0; transform: translateY(26px) }
.hero.s1 .l2 { opacity: 1; transform: none }
.hero .lead, .hero .cta-row, .hero .hero-stats { transition: opacity .8s var(--ease), transform .9s var(--spring) }
.hero.pin .hero-inner { transform: translateY(calc(var(--hp, 0) * -40px)) }
.hero-stats .glass { opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .7s var(--ease), transform .8s var(--spring) }
.hero.s2 .hero-stats .glass { opacity: 1; transform: none }
.hero.s2 .hero-stats .glass:nth-child(2) { transition-delay: .08s } .hero.s2 .hero-stats .glass:nth-child(3) { transition-delay: .16s } .hero.s2 .hero-stats .glass:nth-child(4) { transition-delay: .24s }
.scroll-hint { transition: opacity .4s }
.hero.s2 .scroll-hint { opacity: 0 }


/* eight pillars as a temple: columns rise from the foundation, then the roof settles */
.tp { width: min(100%, 540px); margin: 0 auto }
.tp svg { width: 100%; height: auto; display: block; overflow: visible }
.tp .steps3 rect { fill: var(--panel2); stroke: var(--line2) }
.tp .foundation { font: 700 9px var(--sans); letter-spacing: .3em; fill: var(--dim); text-anchor: middle }
.tp .col { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: scaleY(.04) }
.tp.in .col { animation: rise .95s var(--spring) forwards; animation-delay: calc(var(--i, 0) * .08s + .15s) }
@keyframes rise { to { opacity: 1; transform: scaleY(1) } }
.tp .shaft { fill: var(--panel); stroke: var(--green); stroke-width: 1.4; transition: fill .35s }
.tp .cap, .tp .cbase { fill: var(--panel2); stroke: var(--green); stroke-width: 1.4; transition: fill .35s }
.tp .flute { stroke: var(--green); stroke-width: 1; opacity: .22 }
.tp .cnum { font: 600 12px var(--head); fill: var(--green); text-anchor: middle; transition: fill .35s }
.tp .clab { font: 700 12.5px var(--sans); fill: var(--txt); text-anchor: middle; letter-spacing: .04em; transition: fill .35s }
.tp .col.lit .shaft, .tp .col.lit .cap, .tp .col.lit .cbase { fill: var(--green) }
.tp .col.lit .cnum, .tp .col.lit .clab { fill: #06130C }
:root[data-theme="light"] .tp .col.lit .cnum, :root[data-theme="light"] .tp .col.lit .clab { fill: #fff }
.tp .col.lit .flute { opacity: 0 }
.tp .roof { opacity: 0; transform: translateY(-28px); transform-box: fill-box }
.tp.in .roof { animation: settle .9s var(--spring) forwards; animation-delay: .95s }
@keyframes settle { to { opacity: 1; transform: none } }
.tp .ent { fill: var(--panel2); stroke: var(--green); stroke-width: 1.4 }
.tp .enttext { font: 700 9.5px var(--sans); letter-spacing: .24em; fill: var(--mut); text-anchor: middle }
.tp .ped { fill: var(--deep); stroke: var(--green); stroke-width: 1.4; stroke-linejoin: round }
.tp .pedtext { font: 500 22px var(--head); fill: var(--txt); text-anchor: middle }
.pillar[data-n] { cursor: default }

/* how it works: sticky heading, every step always readable */
.hw { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start }
.hw-head { position: sticky; top: 110px }
.hw-count { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 26px; font-family: var(--head) }
.hw-count b { font-size: 4.4rem; font-weight: 500; color: var(--green); line-height: 1; transition: opacity .25s }
.hw-count span { font-size: 1.3rem; color: var(--dim) }
.hw-steps { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; display: grid; gap: 18px }
.hw-steps::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--line2); border-radius: 2px }
.hw-fill { position: absolute; left: 11px; top: 14px; width: 2px; height: var(--fill, 0%); max-height: calc(100% - 28px); background: var(--green); border-radius: 2px; transition: height .5s var(--ease) }
.hw-steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 74px 24px 26px; transition: border-color .4s, background .4s, transform .7s var(--spring), box-shadow .4s }
.hw-steps li::before { content: ""; position: absolute; left: -36px; top: 28px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); background: var(--bg); transition: background .3s, box-shadow .3s }
.hw-steps li.on { border-color: rgba(47,212,122,.5); background: var(--panel2); transform: translateX(6px); box-shadow: 0 18px 50px rgba(0,0,0,.22) }
.hw-steps li.on::before { background: var(--green); box-shadow: 0 0 0 6px var(--glow) }
.hw-steps .num { font-size: .72rem; letter-spacing: .2em; font-weight: 800; color: var(--green) }
.hw-steps .ic { position: absolute; right: 22px; top: 22px; margin: 0 }
.hw-steps b { display: block; font-family: var(--head); font-weight: 500; font-size: 1.4rem; margin: 6px 0 6px }
.hw-steps p { color: var(--mut); margin: 0 }
#process .callout { margin-top: 56px }

/* reduced motion / small screens */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hero.pin { min-height: 100svh }
  .hero-sticky { position: relative; height: auto; min-height: 100svh; padding-top: 136px }
  .hero .l2, .hero-stats .glass { opacity: 1; transform: none }
  .hero.pin .hero-inner { transform: none }
  .tilt { transform: none !important }
  .tp .col, .tp .roof { opacity: 1; transform: none; animation: none }
  .hw { grid-template-columns: 1fr; gap: 30px }
  .hw-head { position: static }
  .hw-count { display: none }
  .hw-steps li.on { transform: none }
}
@media (max-width: 600px) {
  .tp .clab { font-size: 15px }
  .tp .enttext { font-size: 8px; letter-spacing: .14em }
}
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none; transform: none; opacity: 1 }
  .btn, .ic, .tilt { transition: none }
}

/* ---- review fixes (2026-10-08) ---- */
/* text is never hidden behind a reveal animation; motion is decoration only (temple, icons, hover) */
.rv, .rv.in { opacity: 1 !important; transform: none !important; transition: none }
.hero .l2, .hero-stats .glass { opacity: 1 !important; transform: none !important }
.hero.pin .hero-inner { transform: none !important }
.tilt.rv { transition: transform .6s var(--spring), border-color .3s, background .3s !important }
/* header turns solid as soon as the page moves */
.top.solid { background: color-mix(in srgb, var(--bg) 94%, transparent) }
/* contrast: small labels at 14px; darker green for text on the light background (WCAG AA) */
:root[data-theme="light"] { --green: #127A47; --green2: #0E6239 }
.eyebrow, .hero-stats span, .role, .bk-label, .q-cat, .band-grid b, .foot-grid b, .details dt { font-size: .875rem; letter-spacing: .14em }
.brand-tag { font-size: .66rem }
/* CDA explained */
.cda-def { max-width: 600px; margin: -14px 0 30px; padding: 12px 16px; border-left: 2px solid var(--green); background: color-mix(in srgb, var(--panel) 60%, transparent); border-radius: 0 10px 10px 0; color: var(--mut); font-size: .98rem }
.cda-def b { color: var(--txt) }
/* partner labels on specialist cards */
.via { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--mut); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 10px }
/* consent ticks and quiz email */
.tick { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: .88rem !important; color: var(--mut) }
.tick input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none }
.qmail { margin: 6px 0 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r2); background: color-mix(in srgb, var(--panel2) 70%, transparent) }
.qmail .bk-label { margin-top: 0 }
.qmail-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px }
.qmail-row input { flex: 1 1 240px; font: inherit; color: var(--txt); padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; background: rgba(127,127,127,.05) }
.qmail-row input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--glow) }
.qmail .fine { margin: 8px 0 0 }
/* matching advisor photos */
.photo { width: 150px; height: 150px; border-radius: 50% }
.photo img { object-position: center; filter: none }
@media (max-width: 760px) { .photo { width: 120px; height: 120px } }

/* owners we work with */
.served { padding: 30px 0 34px; border-top: 1px solid var(--line) }
.served .eyebrow { margin-bottom: 16px }
.served-row { display: flex; flex-wrap: wrap; gap: 10px }
.sv { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 1px solid var(--line2); border-radius: 999px; background: color-mix(in srgb, var(--panel) 70%, transparent); font-weight: 700; font-size: .95rem; transition: transform .45s var(--spring), border-color .25s }
.sv:hover { transform: translateY(-2px); border-color: var(--green) }
.sv svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.sv.more { color: var(--green); border-style: dashed }

/* hero no longer pinned: never clip content on short screens */
.hero.pin { min-height: auto }
.hero-sticky { position: relative; height: auto; min-height: 100vh; min-height: 100svh; overflow: hidden }

