/* Integrity Wealth Management: the component layer (CONTRACT.md "Components").
   Loaded on every page after site.css and the page's own legacy sheet (main.css / about.css). Same language as the two
   finished pages: Lora display with italic emphasis, Inter body, navy bands, #a9cdee accent, the blue button, tracked
   eyebrows, the short rule, hairline-ruled grids, generous space, reveal motion. Nothing here restyles a legacy class
   except where noted (header current page, footer base row, form states). */

:root {
  --navy: #0d2236;
  --navy-2: #102f49;
  --navy-3: #122f45;
  --accent: #a9cdee;
  --accent-soft: #afc7d9;
  --paper-soft: #f4f6f7;
  --paper-warm: #f4f3f0;
  --muted: #5d7488;
  --em: #45677e;
  --hair: #cdd6dd;
  --risk-green: #4f9a6a;
  --risk-yellow: #dcae3c;
  --risk-red: #c75a43;
  --wide: 1600px;
  --inline: max(var(--gutter), calc((100vw - var(--wide)) / 2));
}

/* ---------- global additions ---------- */
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--em); }
.main-nav a[aria-current="page"], .footer-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu a[aria-current="page"] { color: var(--blue); }
.mobile-menu > a.mobile-menu-phone { color: var(--blue-dark); font-weight: 500; }
.button[aria-busy="true"] { cursor: progress; }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.button-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.text-link--light { color: var(--accent); }
button.text-link { background: none; border: 0; padding: 0; font: inherit; font-size: 16px; }
.lede { font-size: 20px; line-height: 1.65; }
.small-print { font-size: 13px; line-height: 1.65; color: var(--muted); }
.serif-lead { font-family: var(--serif); font-size: clamp(21px, 1.7vw, 25px); line-height: 1.5; letter-spacing: -.025em; color: var(--ink); }
@media (hover: hover) {
  .button-light:hover { background: #e6eff5; border-color: #e6eff5; box-shadow: none; }
  .button-outline:hover { color: #fff; }
  .button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
}

/* ---------- footer: the address / record / registration row ---------- */
.footer-base { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; padding-top: 22px; border-top: 1px solid #e6ebef; font-size: 13px; line-height: 1.6; color: #5f7286; }
.footer-base address { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-base a { transition: color .25s; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; }
.footer-registration { flex-basis: 100%; margin: 0; font-size: 12px; color: #6c7d8e; }
@media (hover: hover) { .footer-base a:hover { color: var(--blue); } }
@media (max-width: 1050px) { .footer-base { grid-row: 4; } }
@media (max-width: 740px) { .footer-base { grid-row: 5; flex-direction: column; gap: 10px; } .footer-base address, .footer-links { flex-direction: column; gap: 6px; } }

/* ---------- sections and headings ---------- */
.section { position: relative; padding: clamp(72px, 8.5vw, 128px) var(--inline); }
.section--tight { padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--paper-soft); }
.section--warm { background: var(--paper-warm); }
.section--rule { border-top: 1px solid var(--line); }
.section--navy { background: var(--navy-3); color: #d7e1e7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy h2 em, .section--navy h3 em { color: var(--accent-soft); }
.section--navy .eyebrow { color: #c4d6e3; }
.section--navy .short-rule { color: #8fadc3; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; margin-bottom: clamp(38px, 4.4vw, 64px); }
.section-head h2 { font-size: clamp(42px, 4.3vw, 67px); margin-bottom: 0; }
.section-head > p, .section-head > div > p:not(.eyebrow) { max-width: 420px; margin: 0 0 6px; font-size: 18px; line-height: 1.7; }
.section-head--stack { display: block; max-width: 860px; }
.section-head--stack > p { max-width: 660px; margin-top: 26px; }
.section-head--center { display: block; text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.section-head--center > p { max-width: 640px; margin: 26px auto 0; }
.section-head--center .short-rule { margin: 30px auto 0; }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.split-aside { position: sticky; top: 40px; }
.split-aside h2 { font-size: clamp(42px, 4.1vw, 64px); }
.split-aside > p:not(.eyebrow) { font-size: 18px; line-height: 1.7; max-width: 440px; }
.split-aside .short-rule { margin: 30px 0; }
.split-aside .button { margin-top: 8px; }

/* ---------- breadcrumbs (also used by the Our Team hero) ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-bottom: 43px; font-size: 13px; color: #66798a; }
.breadcrumbs a { transition: color .25s; }
.breadcrumbs > span[aria-hidden] { color: #bbc5ce; }
@media (hover: hover) { .breadcrumbs a:hover { color: var(--blue); } }

/* ---------- page hero: text + image or film still, with breadcrumbs ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-left: var(--gutter); min-height: min(780px, calc(100svh - 106px)); }
.page-hero-copy { padding: 26px 48px 76px 0; align-self: center; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(52px, 4.9vw, 80px); line-height: 1.04; letter-spacing: -.063em; margin-bottom: 31px; }
.page-hero--long h1 { font-size: clamp(44px, 4.2vw, 70px); line-height: 1.07; letter-spacing: -.052em; }
.page-hero .short-rule { margin-bottom: 29px; }
.page-hero-lede { font-size: 20px; line-height: 1.65; max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.page-hero-media { position: relative; margin: 0; min-height: 640px; overflow: hidden; background: #5f7480; isolation: isolate; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); animation: hero-settle 1.8s var(--ease) both; }
.page-hero-media::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgb(9 28 43 / .78)); pointer-events: none; }
.page-hero-media .image-caption { left: 40px; bottom: 42px; z-index: 1; font-size: 14px; line-height: 1.9; }
.page-hero-media .image-caption .short-rule { color: #dbe3e7; margin-top: 22px; }
@keyframes hero-settle { from { transform: scale(1.045); } to { transform: none; } }

/* ---------- fact strip ---------- */
.fact-strip { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.fact { margin: 0; padding: 34px 30px 32px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { display: block; font-family: var(--serif); font-size: clamp(34px, 3.1vw, 50px); line-height: 1.06; letter-spacing: -.045em; color: var(--ink); margin-bottom: 12px; }
.fact-value small { font-size: .42em; letter-spacing: -.01em; color: var(--em); font-style: italic; }
.fact-label { display: block; margin: 0; font-size: 15px; line-height: 1.55; max-width: 270px; }
.section--navy .fact-strip, .section--navy .fact { border-color: rgb(255 255 255 / .16); }
.section--navy .fact-value { color: #fff; }

/* ---------- question grid (problem cards with the films' watercolor icons) ---------- */
.question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.question { position: relative; padding: 34px 34px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .45s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); transition-delay: 0s, calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms); }
.question-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.question-icon { width: 78px; height: 78px; object-fit: contain; transition: transform .6s var(--ease); }
.question-num { font-family: var(--serif); font-size: 15px; color: #9aa9b8; letter-spacing: .02em; }
.question h3 { font-size: clamp(22px, 1.75vw, 27px); line-height: 1.25; letter-spacing: -.032em; margin-bottom: 14px; }
.question p { font-size: 16px; line-height: 1.72; margin: 0; }
@media (hover: hover) { .question:hover { background: #fafbfc; } .question:hover .question-icon { transform: translateY(-3px) rotate(-2deg); } }

/* ---------- numbered process timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-step { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 32px; padding-bottom: 60px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before, .timeline-step::after { content: ""; position: absolute; left: 35.5px; top: 84px; bottom: 12px; width: 1px; background: var(--line); }
.timeline-step::after { background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .35s; }
.timeline-step.is-in::after { transform: scaleY(1); }
.timeline-step:last-child::before, .timeline-step:last-child::after { display: none; }
.timeline-marker { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #c9d4dc; background: #fff; font-family: var(--serif); font-size: 28px; letter-spacing: -.04em; color: var(--ink); transition: border-color .6s, background .6s, color .6s; }
.timeline-step.is-in .timeline-marker { border-color: var(--blue); }
.timeline-step--key .timeline-marker { background: var(--blue); border-color: var(--blue); color: #fff; }
.timeline-body { padding-top: 12px; }
.timeline-kicker { font-size: 11px; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.timeline-body h3 { font-size: clamp(27px, 2.3vw, 36px); line-height: 1.15; letter-spacing: -.042em; margin-bottom: 16px; }
.timeline-body p { font-size: 17px; line-height: 1.75; max-width: 660px; }
.timeline-body > :last-child { margin-bottom: 0; }
.timeline-note { margin: 4px 0 22px; padding: 16px 22px; border-left: 2px solid var(--blue); background: var(--paper-soft); font-size: 16px; line-height: 1.65; max-width: 660px; }
.timeline-note strong { color: var(--ink); font-weight: 600; }
.timeline-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 700px; }
.outcome { border: 1px solid var(--line); padding: 22px 24px 24px; background: #fff; }
.outcome-label { display: block; font-size: 11px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.outcome p { font-size: 16px; line-height: 1.65; margin: 0; }
.outcome--yes { border-color: #9cbfe0; background: #f6faff; }

/* ---------- problem / solution pairs ---------- */
.pairs { display: grid; gap: clamp(22px, 2.6vw, 36px); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.pair-side { padding: clamp(28px, 3.2vw, 48px); border: 1px solid var(--line); }
.pair-problem { background: var(--paper-soft); }
.pair-solution { background: #fff; box-shadow: inset 0 3px 0 var(--blue); }
.pair-label { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.pair-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.pair-solution .pair-label { color: var(--blue); }
.pair-solution .pair-label::before { background: currentColor; }
.pair h3 { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.15; letter-spacing: -.042em; margin-bottom: 20px; }
.pair p, .pair li { font-size: 17px; line-height: 1.75; }
.pair-side > :last-child { margin-bottom: 0; }
.pair-link { display: grid; place-items: center; color: var(--blue); }
.pair-link svg { width: 38px; height: 14px; }
.pair p a:not(.button):not(.text-link) { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- comparison chart (SVG bars, drawn on scroll) ---------- */
.compare-chart { margin: 0; padding: clamp(28px, 3.6vw, 56px); background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 80px -50px rgb(16 47 73 / .45); }
.compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 38px; }
.compare-head .eyebrow { margin-bottom: 12px; }
.compare-head h3 { font-size: clamp(28px, 2.5vw, 40px); line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.compare-head p:not(.eyebrow) { font-size: 15px; line-height: 1.6; max-width: 330px; margin: 0; color: var(--muted); }
.compare-plot { --label: 290px; --gap: 44px; position: relative; padding-bottom: 36px; }
.compare-grid { position: absolute; top: 0; bottom: 36px; left: calc(var(--label) + var(--gap)); right: 0; pointer-events: none; }
.compare-grid span { position: absolute; top: 0; bottom: 0; width: 1px; background: #e3e9ee; }
.compare-grid span b { position: absolute; bottom: -30px; left: 0; transform: translateX(-50%); font-size: 12px; font-weight: 500; color: #7a8c9c; white-space: nowrap; }
.compare-grid span:first-child b { transform: none; }
.compare-grid span:last-child b { transform: translateX(-100%); }
.compare-row { position: relative; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); gap: 0 var(--gap); align-items: center; padding: 26px 0; }
.compare-row + .compare-row { border-top: 1px dashed transparent; }
.compare-name { display: block; font-family: var(--serif); font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.compare-name small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.compare-track { position: relative; }
.compare-bar { display: block; width: 100%; height: 50px; overflow: visible; }
.compare-bar rect { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1.3s var(--ease); }
.compare-bar rect:nth-of-type(2) { transition-delay: .55s; }
.compare-chart.is-drawn .compare-bar rect { transform: scaleX(1); }
.compare-row:nth-child(3) .compare-bar rect { transition-delay: .9s; }
.compare-row:nth-child(3) .compare-bar rect:nth-of-type(2) { transition-delay: 1.35s; }
.compare-total { position: absolute; top: 50%; left: calc(var(--at) + 10px); transform: translateY(-50%); padding: 2px 8px; background: #fff; font-family: var(--serif); font-size: clamp(26px, 2.3vw, 36px); line-height: 1; letter-spacing: -.045em; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .7s var(--ease) 1.4s; }
.compare-row:nth-child(3) .compare-total { transition-delay: 2s; }
.compare-chart.is-drawn .compare-total { opacity: 1; }
.compare-total small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.compare-keys { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
.compare-keys li { display: flex; align-items: center; gap: 10px; }
.compare-keys i { flex: none; width: 12px; height: 12px; }
.compare-keys strong { color: var(--ink); font-weight: 600; }
.key-aum { background: var(--navy-2); }
.key-er { background: #6f93b4; }
.key-flat { background: var(--blue); }
.key-range { background: var(--accent); }
.compare-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--muted); }
.compare-foot p { margin: 0 0 8px; }
.compare-foot p:last-child { margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding: 28px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.032em; color: var(--ink); transition: color .25s; }
.faq-toggle { position: relative; flex: none; width: 20px; height: 20px; margin-top: 8px; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .35s var(--ease); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-item[open] .faq-q { color: var(--blue); }
.faq-a { padding: 0 64px 32px 0; font-size: 17px; line-height: 1.75; animation: detail-in .35s var(--ease); }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.section--navy .faq, .section--navy .faq-item { border-color: #516776; }
.section--navy .faq-q { color: #fff; }
.section--navy .faq-toggle::before, .section--navy .faq-toggle::after { background: #bacfdf; }
@media (hover: hover) { .faq-item summary:hover .faq-q { color: var(--blue); } .section--navy .faq-item summary:hover .faq-q { color: var(--accent); } }

/* ---------- quote / pull-quote ---------- */
.pull-quote { margin: 0; padding-left: clamp(26px, 3vw, 44px); border-left: 2px solid var(--blue); }
.pull-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(25px, 2.3vw, 36px); line-height: 1.38; letter-spacing: -.025em; color: var(--ink); }
.pull-quote blockquote p { margin: 0; }
.pull-quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 14px; line-height: 1.45; }
.pull-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.pull-quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.pull-quote--center { border: 0; padding: 0; text-align: center; max-width: 920px; margin: 0 auto; }
.pull-quote--center::before { content: "“"; display: block; font-family: var(--serif); font-size: 96px; line-height: .6; color: var(--accent); margin-bottom: 18px; }
.pull-quote--center figcaption { justify-content: center; }
.section--navy .pull-quote { border-color: var(--accent); }
.section--navy .pull-quote blockquote, .section--navy .pull-quote figcaption strong { color: #fff; }

/* ---------- tiles: partner / logo / referral tiles in a hairline grid ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.tile { position: relative; display: block; padding: 29px 31px 34px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transition: background .3s; }
.tile-top { display: flex; justify-content: space-between; align-items: center; height: 72px; margin-bottom: 20px; }
.tile-top img { width: 110px; height: 70px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.tile-monogram { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid #c9d4dc; font-family: var(--serif); font-size: 23px; letter-spacing: -.04em; color: var(--ink); }
.tile-arrow { color: #6c8598; font-size: 27px; transition: transform .3s, color .3s; }
.tile h3 { font-size: clamp(24px, 2vw, 29px); letter-spacing: -.035em; margin-bottom: 9px; }
.tile-host { font-size: 14px; color: #356184; margin: 0; overflow-wrap: anywhere; }
.tile-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #356184; margin-bottom: 16px; }
.tile > p:last-child { font-size: 16px; line-height: 1.7; margin: 0; max-width: 340px; }
@media (hover: hover) { a.tile:hover { background: #fff; } a.tile:hover .tile-arrow { transform: translate(3px, -3px); color: var(--blue); } a.tile:hover h3 { color: var(--blue); } }

/* ---------- record cards (public adviser records) ---------- */
.record-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.record-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.record-card .record-kicker { font-size: 11px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.record-card strong { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -.03em; color: var(--ink); }
.record-card .record-crd { font-size: 14px; color: var(--muted); }
.record-card .record-go { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--blue-dark); }
.record-search { display: inline-flex; margin-top: 18px; }
@media (hover: hover) { .record-card:hover { border-color: var(--blue); box-shadow: 0 10px 30px -18px rgb(7 89 173 / .45); } }

/* ---------- person card (circle portrait, as Our Team) and bio layout ---------- */
.person-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); --portrait: clamp(130px, 11vw, 180px); }
.person-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .45s var(--ease); }
.person-card-portrait { position: relative; width: var(--portrait); aspect-ratio: 1; border-radius: 50%; margin-bottom: 26px; background: #e9eef1; }
.person-card-portrait::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid #c9d4dc; transition: inset .5s var(--ease), border-color .5s var(--ease); }
.person-card-portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person-card h3 { font-size: clamp(22px, 1.8vw, 27px); letter-spacing: -.04em; margin: 0 0 8px; }
.person-card h3 a::after { content: ""; position: absolute; inset: 0; }
.person-card-role { font-size: 15px; line-height: 1.5; color: #41576b; margin: 0 0 8px; }
.person-card-credentials { font-size: 11px; font-weight: 550; line-height: 1.75; letter-spacing: .12em; color: #5d7488; margin: 0; }
@media (hover: hover) { .person-card:hover { background: #f6f8f9; } .person-card:hover .person-card-portrait::after { inset: -12px; border-color: var(--blue); } .person-card:hover h3 { color: var(--blue); } }
.bio-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.bio-card { position: sticky; top: 40px; text-align: center; padding: 50px 34px 40px; background: var(--paper-soft); border: 1px solid var(--line); }
.bio-card img { width: min(100%, 250px); aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; margin: 0 auto 30px; box-shadow: 0 0 0 9px var(--paper-soft), 0 0 0 10px #c9d4dc; }
.bio-card-name { font-family: var(--serif); font-size: 36px; line-height: 1.1; letter-spacing: -.045em; color: var(--ink); margin-bottom: 8px; }
.bio-card-role { font-size: 15px; margin-bottom: 8px; }
.bio-card-credentials { font-size: 11px; font-weight: 550; letter-spacing: .12em; color: #5d7488; margin-bottom: 26px; }
.bio-card .button { width: 100%; gap: 16px; padding-left: 18px; padding-right: 18px; }
.bio-card-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-size: 14px; }
.bio-card-links a { color: var(--blue-dark); }

/* ---------- prose and legal long-form text ---------- */
.prose { max-width: 720px; font-size: 18px; line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.042em; margin: 56px 0 18px; }
.prose h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.03em; margin: 38px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.5; letter-spacing: -.025em; color: var(--ink); }
.prose > blockquote { margin: 30px 0; padding-left: 26px; border-left: 2px solid var(--blue); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 40px; font-size: 14px; line-height: 1.5; }
.legal-toc .eyebrow { margin-bottom: 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; color: #5b6f82; transition: color .25s, border-color .25s; }
.prose--legal { font-size: 16px; line-height: 1.8; max-width: 780px; }
.prose--legal h2 { font-size: clamp(24px, 2vw, 30px); margin-top: 52px; scroll-margin-top: 30px; }
.prose--legal h3 { font-size: 20px; }
@media (hover: hover) { .legal-toc a:hover { color: var(--blue); border-color: var(--blue); } }

/* ---------- link list ---------- */
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 28px; padding: 24px 6px 24px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background .35s; }
.link-list-title { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 27px); line-height: 1.25; letter-spacing: -.032em; color: var(--ink); transition: color .25s; }
.link-list-text { grid-column: 1; font-size: 15px; line-height: 1.55; color: var(--muted); }
.link-list-arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; color: #6c8598; transition: transform .3s var(--ease), color .3s; }
@media (hover: hover) { .link-list a:hover { padding-left: 10px; } .link-list a:hover .link-list-title, .link-list a:hover .link-list-arrow { color: var(--blue); } .link-list a:hover .link-list-arrow { transform: translateX(5px); } }

/* ---------- check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 19px 0 19px 46px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.62; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7.5 12.3 3 3 6-6.3' fill='none' stroke='%230759ad' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.check-list strong { color: var(--ink); font-weight: 600; }
.section--navy .check-list, .section--navy .check-list li { border-color: #516776; }

/* ---------- CTA bands ---------- */
.cta-band { position: relative; background: var(--navy-2); overflow: hidden; color: #f1f4f7; min-height: 530px; display: flex; align-items: center; justify-content: center; text-align: center; isolation: isolate; }
.cta-band-landscape { position: absolute; inset: 0; background: linear-gradient(90deg, #122f4555, #122f4533), url('media/mountains.webp') center / cover no-repeat; z-index: -1; }
.cta-band-copy { padding: 73px var(--gutter) 78px; }
.cta-band-copy .eyebrow { color: #c4d6e3; }
.cta-band-copy h2 { color: #fff; font-size: clamp(48px, 5vw, 77px); line-height: 1.1; margin-bottom: 24px; }
.cta-band-copy > p:not(.eyebrow) { font-size: 19px; line-height: 1.65; color: #d8e3eb; margin-bottom: 29px; }
.cta-band-link { display: block; width: max-content; max-width: 100%; margin: 23px auto 0; font-size: 14px; color: #d1e1ec; border-bottom: 1px solid #7995a8; padding-bottom: 7px; }
.cta-band-link span { display: inline-block; margin-left: 18px; transition: transform .3s; }
@media (hover: hover) { .cta-band-link:hover span { transform: translateX(5px); } }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(36px, 4vw, 58px) clamp(30px, 4.2vw, 68px); background: var(--navy-2); color: #d8e3eb; position: relative; overflow: hidden; isolation: isolate; }
.cta-inline::before { content: ""; position: absolute; inset: 0; background: url('media/mountains.webp') center 72% / cover no-repeat; opacity: .35; z-index: -1; }
.cta-inline h2 { color: #fff; font-size: clamp(32px, 3vw, 46px); line-height: 1.12; margin: 0 0 10px; }
.cta-inline p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 560px; }
.cta-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; flex: none; }

/* ---------- related pages rail ---------- */
.related-rail { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.related-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .35s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.related-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6ea; }
.related-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 1s var(--ease); }
.related-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 30px; }
.related-card .eyebrow { font-size: 11px; margin-bottom: 12px; }
.related-card h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -.038em; margin-bottom: 10px; }
.related-card h3 a::after { content: ""; position: absolute; inset: 0; }
.related-card p { font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; }
.related-card .text-link { margin-top: auto; font-size: 14px; }
@media (hover: hover) { .related-card:hover { border-color: #b9c9d6; box-shadow: 0 24px 50px -32px rgb(16 47 73 / .5); transform: translateY(-3px); } .related-card:hover img { transform: scale(1.04); } .related-card:hover h3 { color: var(--blue); } .related-card:hover .text-link > span { transform: translateX(5px); } }
.section--soft .related-card { border-color: #dde4e9; }

/* ---------- risk board (the 15 retirement risks, ungraded) ---------- */
.risk-legend { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: #c9d6e0; }
.risk-legend li { display: flex; align-items: center; gap: 10px; }
.risk-legend i, .risk-lights i { flex: none; display: block; border-radius: 50%; }
.risk-legend i { width: 12px; height: 12px; }
.risk-legend strong { color: #fff; font-weight: 600; letter-spacing: .06em; }
.dot-green { background: var(--risk-green); } .dot-yellow { background: var(--risk-yellow); } .dot-red { background: var(--risk-red); }
.risk-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgb(255 255 255 / .13); border: 1px solid rgb(255 255 255 / .13); }
.risk { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 32px; background: var(--navy-3); transition: background .45s var(--ease); }
.risk-top { display: flex; justify-content: space-between; align-items: center; }
.risk-num { font-family: var(--serif); font-size: 15px; color: #92adc1; }
.risk-lights { display: flex; gap: 7px; }
.risk-lights i { width: 11px; height: 11px; border: 1.5px solid; background: transparent; opacity: .9; transition: background .4s, opacity .4s, box-shadow .4s; }
.risk-lights i:nth-child(1) { border-color: var(--risk-red); }
.risk-lights i:nth-child(2) { border-color: var(--risk-yellow); transition-delay: .08s; }
.risk-lights i:nth-child(3) { border-color: var(--risk-green); transition-delay: .16s; }
.risk h3 { font-size: clamp(22px, 1.75vw, 26px); line-height: 1.2; letter-spacing: -.03em; color: #fff; margin: 0; }
.risk p { font-size: 15px; line-height: 1.66; color: #c3d1dc; margin: 0; }
.risk-credit { margin: 26px 0 0; font-size: 13px; line-height: 1.6; color: #9fb4c5; }
@media (hover: hover) {
  .risk:hover { background: #163853; }
  .risk:hover .risk-lights i { opacity: 1; }
  .risk:hover .risk-lights i:nth-child(1) { background: var(--risk-red); }
  .risk:hover .risk-lights i:nth-child(2) { background: var(--risk-yellow); }
  .risk:hover .risk-lights i:nth-child(3) { background: var(--risk-green); }
}

/* ---------- the RRA report sheet (home) ---------- */
.rra-sheets { position: relative; padding: 0 22px 22px 0; }
.rra-sheet { position: relative; z-index: 1; background: #fdfcf8; color: var(--body); padding: clamp(26px, 2.8vw, 40px) clamp(24px, 2.8vw, 42px) 26px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55), 0 2px 0 rgb(0 0 0 / .04); transform: rotate(-1.1deg); transition: transform 1.2s var(--ease); }
.rra-sheets::before { content: ""; position: absolute; inset: 22px 0 0 22px; background: #e9edf0; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); transform: rotate(1.6deg); }
.rra-sheets.is-drawn .rra-sheet { transform: rotate(-.6deg); }
.rra-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid #dfe5ea; margin-bottom: 14px; }
.rra-sheet-title { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.04em; color: var(--ink); margin: 0 0 6px; }
.rra-sheet-sub { font-size: 12.5px; line-height: 1.5; margin: 0; max-width: 360px; color: var(--muted); }
.rra-sheet-page { font-size: 10px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: #8c9caa; white-space: nowrap; }
.rra-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.rra-list li { break-inside: avoid; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #edf0f2; font-size: 13.5px; line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .2s); }
.rra-sheets.is-drawn .rra-list li { opacity: 1; transform: none; }
.rra-list b { font-weight: 500; font-family: var(--serif); color: #8c9caa; }
.rra-list .risk-lights i { width: 9px; height: 9px; opacity: .75; }
.rra-sheet-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 10.5px; line-height: 1.5; color: #8c9caa; }

/* ---------- forms: the contact contract's states (site.js), honeypot, message box ---------- */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.appointment-form textarea { width: 100%; min-width: 0; min-height: 92px; padding: 13px 12px; border: 1px solid #bfcbd5; background: #fff; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; border-radius: 0; transition: border-color .25s, background .25s; }
.appointment-form textarea::placeholder { color: #556678; opacity: 1; }
.appointment-form textarea:focus { border-color: var(--blue); background: #fbfdff; }
.appointment-form textarea:focus-visible { outline: 2px solid #3780c6; outline-offset: 2px; }
.appointment-form .button[disabled] { opacity: .65; cursor: progress; }
.form-alt { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #596a7b; }
.form-alt a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-result:empty { display: none; }
.form-result { outline: none; }
form.is-sent > :not(.form-result) { display: none !important; }
form.is-sent .form-result { animation: detail-in .5s var(--ease); }
.form-result-mark { display: block; color: var(--blue); margin-bottom: 18px; }
.form-result-mark circle { stroke-dasharray: 142; stroke-dashoffset: 142; animation: draw-stroke .9s var(--ease) forwards; }
.form-result-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw-stroke .5s var(--ease) .6s forwards; }
.form-result-title { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); margin: 0 0 10px; }
.form-result p { font-size: 16px; line-height: 1.6; margin: 0; }
.form-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 24px; }
.form-result-actions .text-link { font-size: 15px; gap: 12px; }
form.is-failed .form-result { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--risk-red); background: #fbf3f1; }
form.is-failed .form-result-title { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
form.is-failed .form-result p { font-size: 15px; }
form.is-failed .form-result a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }

/* ---------- reveal stagger helper ---------- */
[data-reveal][style*="--i"] { transition-delay: calc(var(--i) * 70ms); }

/* ---------- responsive ---------- */
@media (min-width: 1800px) {
  .page-hero { margin-left: max(var(--gutter), calc((100vw - var(--wide)) / 2)); }
}
@media (max-width: 1250px) {
  .question { padding: 30px 26px 34px; }
  .risk { padding: 26px 24px 28px; }
}
@media (max-width: 1100px) {
  .page-hero { margin-left: 40px; min-height: 0; }
  .page-hero-copy { padding-right: 32px; }
  .page-hero h1 { font-size: clamp(50px, 6.6vw, 72px); }
  .page-hero--long h1 { font-size: clamp(40px, 5.2vw, 56px); }
  .page-hero-media { min-height: 600px; }
  .page-hero-lede { font-size: 18px; }
  .section-head { gap: 38px; }
  .section-head h2 { font-size: 48px; }
  .section-head > p { max-width: 320px; font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-aside { position: static; }
  .fact-strip { --cols: 2 !important; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair { grid-template-columns: 1fr; }
  .pair-link { height: 46px; }
  .pair-link svg { transform: rotate(90deg); }
  .risk-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid { --cols: 2 !important; }
  .person-grid { --cols: 2 !important; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-card { position: static; max-width: 520px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .related-rail { --cols: 2 !important; }
  .related-rail > :nth-child(3):last-child { grid-column: 1 / -1; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .compare-head { display: block; }
  .compare-head p:not(.eyebrow) { margin-top: 14px; max-width: none; }
}
@media (max-width: 740px) {
  .section { padding-top: 60px; padding-bottom: 64px; }
  .section--tight { padding-top: 40px; padding-bottom: 40px; }
  .section-head { display: block; margin-bottom: 34px; }
  .section-head h2, .split-aside h2 { font-size: clamp(36px, 9.6vw, 46px); }
  .section-head > p, .section-head--stack > p { max-width: none; font-size: 17px; margin-top: 22px; }
  .lede, .page-hero-lede { font-size: 17.5px; }
  .page-hero { grid-template-columns: 1fr; margin: 0; }
  .page-hero-copy { padding: 22px var(--gutter) 44px; }
  .breadcrumbs { margin-bottom: 30px; font-size: 12px; }
  .page-hero .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .page-hero h1 { font-size: clamp(44px, 12vw, 58px); margin-bottom: 26px; }
  .page-hero--long h1 { font-size: clamp(35px, 9.4vw, 44px); letter-spacing: -.045em; }
  .page-hero h1 br { display: none; }
  .page-hero-media { min-height: 0; aspect-ratio: 4 / 3.4; order: 2; }
  .page-hero-media .image-caption { left: var(--gutter); bottom: 28px; font-size: 12px; }
  .hero-actions { gap: 18px 26px; }
  .fact { padding: 24px 14px 22px; }
  .fact:nth-child(even) { padding-right: 0; }
  .fact-value { font-size: 32px; }
  .fact-label { font-size: 14px; }
  .question-grid { grid-template-columns: 1fr; }
  .question { padding: 28px 2px 30px; border-right: 0; }
  .question-grid { border-left: 0; }
  .question-icon { width: 64px; height: 64px; }
  .timeline-step { grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; padding-bottom: 46px; }
  .timeline-step::before, .timeline-step::after { left: 23.5px; top: 60px; }
  .timeline-marker { width: 48px; height: 48px; font-size: 21px; }
  .timeline-body { padding-top: 6px; }
  .timeline-body p { font-size: 16px; }
  .timeline-outcomes { grid-template-columns: 1fr; }
  .pair-side { padding: 26px 22px 28px; }
  .pair p, .pair li { font-size: 16px; }
  .compare-chart { padding: 26px 18px 24px; margin-left: calc(var(--gutter) * -1 + 10px); margin-right: calc(var(--gutter) * -1 + 10px); }
  .compare-plot { padding-bottom: 0; }
  .compare-grid { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .compare-row + .compare-row { border-top: 1px solid var(--line); }
  .compare-track { display: flex; flex-direction: column-reverse; gap: 10px; }
  .compare-total { position: static; transform: none; padding: 0; opacity: 1; font-size: 30px; }
  .compare-bar { height: 38px; }
  .compare-keys { font-size: 13.5px; }
  .faq-item summary { padding: 23px 0; gap: 18px; }
  .faq-a { padding-right: 0; font-size: 16px; }
  .pull-quote blockquote { font-size: 24px; }
  .tile-grid { --cols: 2 !important; }
  .tile { padding: 18px 16px 22px; }
  .tile-top { height: 46px; margin-bottom: 14px; }
  .tile-monogram { width: 44px; height: 44px; font-size: 17px; }
  .tile-arrow { font-size: 21px; }
  .tile h3 { font-size: 20px; }
  .tile-host { font-size: 12.5px; }
  .tile-grid--wide { --cols: 1 !important; }
  .record-cards { grid-template-columns: 1fr; }
  .person-grid { --portrait: min(112px, 30vw); }
  .person-card { padding: 28px 10px 24px; }
  .person-card h3 { font-size: 20px; }
  .person-card-role { font-size: 13px; }
  .bio-card { padding: 38px 24px 32px; }
  .prose { font-size: 17px; }
  .prose--legal { font-size: 15.5px; }
  .link-list a { padding: 20px 0; }
  .check-list li { font-size: 16px; padding-left: 40px; }
  .check-list li::before { width: 22px; height: 22px; }
  .cta-band { min-height: 475px; }
  .cta-band-copy { padding: 57px var(--gutter); }
  .cta-band-copy h2 { font-size: 49px; }
  .cta-band-copy > p:not(.eyebrow) { font-size: 17px; }
  .cta-band-copy .button { padding: 16px 20px; font-size: 14px; gap: 15px; }
  .cta-band-link { font-size: 13px; }
  .related-rail { --cols: 1 !important; }
  .risk-board { grid-template-columns: 1fr; }
  .risk { padding: 22px 20px 24px; gap: 9px; }
  .risk p { font-size: 14.5px; }
  .risk-legend { flex-direction: column; gap: 10px; }
  .rra-sheets { padding: 0 10px 12px 0; }
  .rra-sheets::before { inset: 12px 0 0 12px; }
  .rra-list { columns: 1; }
  .rra-list li { font-size: 13px; padding: 6px 0; }
  .rra-sheet-head { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-media img { animation: none; }
  .timeline-step::after { transform: scaleY(1); }
  .compare-bar rect { transform: none; }
  .rra-list li { opacity: 1; transform: none; }
  .form-result-mark circle, .form-result-mark path { stroke-dashoffset: 0; animation: none; }
}
