/* Wealth Coordination Partners — "The Architecture of Financial Clarity" */
:root {
  --navy: #1b2a47;
  --navy-deep: #131f37;
  --gold: #b09a6b;
  --gold-text: #7a6636;
  --ivory: #faf6ee;
  --stone: #efeae0;
  --stone-line: #dcd4c4;
  --charcoal: #2b2e33;
  --muted: #5d6068;
  --white: #fff;
  --serif: "Libre Baskerville", "Baskerville", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
.eyebrow { font: 600 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1.1rem; }
.lede { font-size: 1.2rem; line-height: 1.65; color: var(--charcoal); max-width: 60ch; }
.small { font-size: .9rem; color: var(--muted); }

/* Connecting-line motif */
.node-rule { position: relative; height: 1px; background: var(--stone-line); margin: 0; border: 0; }
.node-rule::before, .node-rule::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory); }
.node-rule::before { left: var(--gutter); }
.node-rule::after { right: var(--gutter); }
.node-rule.on-stone::before, .node-rule.on-stone::after { background: var(--stone); }

/* Buttons */
.btn { display: inline-block; font: 600 .92rem/1 var(--sans); letter-spacing: .02em; padding: 16px 28px; background: var(--navy); color: var(--ivory); text-decoration: none; border: 1px solid var(--navy); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn.light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn.light:hover { background: var(--gold); border-color: var(--gold); }
.link-arrow { font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; color: var(--navy); }
.link-arrow:hover { color: var(--gold-text); }
.actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; margin-top: 2rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--stone-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { white-space: nowrap; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--charcoal); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--navy); }
.nav a.btn { padding: 12px 20px; font-size: .85rem; color: var(--ivory); border-bottom: 1px solid var(--navy); }
.nav a.btn:hover { color: var(--navy-deep); border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--stone-line); padding: 10px 14px; font: 600 .8rem var(--sans); color: var(--navy); cursor: pointer; letter-spacing: .08em; text-transform: uppercase; }

/* Hero */
.hero { display: grid; grid-template-columns: 62fr 38fr; min-height: min(60vh, 560px); border-bottom: 1px solid var(--stone-line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-copy h1 { margin-bottom: .55em; max-width: 14ch; }
.hero-copy .lede { max-width: 50ch; }
.hero-image { position: relative; overflow: hidden; background: var(--navy); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.stone { background: var(--stone); }
.section.dark { background: var(--navy); color: #d8dce6; }
.section.dark h2, .section.dark h3 { color: var(--ivory); }
.section.dark .eyebrow { color: var(--gold); }
.section.dark a { color: var(--ivory); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }

/* Page hero (interior) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--stone-line); background:
  linear-gradient(var(--stone-line) 1px, transparent 1px) 0 0 / 100% 64px, var(--ivory); background-blend-mode: normal; position: relative; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ivory) 35%, rgba(250,246,238,.55)); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-bottom: 0; }

/* Coordination diagram */
.diagram-card { background: var(--white); border: 1px solid var(--stone-line); padding: clamp(20px, 3vw, 40px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 8px; border-bottom: 1px solid var(--stone-line); }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 0; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.diagram { display: none; }
.diagram.active { display: block; }
.diagram svg { width: 100%; height: auto; }
.dg-line { stroke: var(--navy); stroke-width: 1; opacity: .35; }
.dg-ring { fill: none; stroke: var(--stone-line); stroke-width: 1; stroke-dasharray: 2 5; }
.dg-center { fill: var(--navy); }
.dg-center-text { fill: var(--ivory); font: 600 11px var(--sans); letter-spacing: .16em; text-anchor: middle; }
.dg-node { fill: var(--ivory); stroke: var(--gold); stroke-width: 1.5; }
.dg-label { fill: var(--charcoal); font: 500 13px var(--sans); }
.dg-caption { margin: 8px 0 0; text-align: center; }

/* Audience rows */
.audience { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 24px clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--stone-line); align-items: start; }
.audience:last-child { border-bottom: 1px solid var(--stone-line); }
.audience .num { font: 400 .85rem var(--serif); color: var(--gold-text); padding-top: .6em; }
.audience h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0; max-width: 22ch; }
.audience .body p { margin-bottom: 1em; }
.audience .tag { display: block; font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6rem; }
.subgroup { padding: 40px 0 8px; }
.subgroup h2 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* Philosophy */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; }
.steps3 > div { padding: 28px 28px 8px 0; border-top: 1px solid rgba(255,255,255,.22); position: relative; }
.steps3 > div::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.steps3 h3 { font-size: 1.25rem; }
.big-quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; color: var(--ivory); margin: 0 0 .4em; max-width: 18ch; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.person img.portrait { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .3s; background: var(--stone); border-bottom: 2px solid var(--gold); }
.person:hover img.portrait { filter: none; }
.person h3 { font-size: 1.05rem; margin: 16px 0 2px; }
.person .role { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.person .contact { font-size: .85rem; line-height: 1.55; margin: 0; word-break: break-word; }
.person .contact a { text-decoration-color: var(--stone-line); }

/* Journal */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--stone-line); }
.journal article { padding: 32px 32px 32px 0; border-right: 1px solid var(--stone-line); }
.journal article + article { padding-left: 32px; }
.journal article:last-child { border-right: 0; }
.journal .topic { font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.journal h3 { font-size: 1.4rem; margin: .7rem 0 .8rem; }

/* Cards / lists */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--stone-line); padding: 32px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.ruled { list-style: none; padding: 0; margin: 0; }
.ruled li { padding: 12px 0; border-top: 1px solid var(--stone-line); }
.ruled li:last-child { border-bottom: 1px solid var(--stone-line); }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tri .card ul { margin: 0; padding-left: 1.1em; }
.tri .card li { padding: 3px 0; }
.process { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.process li { display: grid; grid-template-columns: 110px 1fr; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--stone-line); }
.process li:last-child { border-bottom: 1px solid var(--stone-line); }
.process .n { font: 400 .95rem var(--serif); color: var(--gold-text); padding-top: .35em; }
.process h3 { margin: 0 0 .3em; }
.process p { margin: 0; }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--navy); border-left: 2px solid var(--gold); padding-left: 28px; margin: 2rem 0; max-width: 32ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.facts h3 { font-size: 1.15rem; border-top: 1px solid var(--stone-line); padding-top: 18px; }


/* CTA */
.cta { background: var(--navy-deep); color: #d8dce6; position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .22; background:
  linear-gradient(rgba(176,154,107,.5) 1px, transparent 1px) 0 0 / 72px 72px,
  linear-gradient(90deg, rgba(176,154,107,.5) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); }
.cta .wrap { position: relative; }
.cta h2 { color: var(--ivory); max-width: 20ch; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta .eyebrow { color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy); color: #cdd3e0; font-size: .94rem; line-height: 1.65; padding: 64px 0 36px; }
.site-footer a { color: #e8ebf2; text-decoration-color: rgba(176,154,107,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-h { font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 3px 0; }
.wordmark { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); margin-bottom: 8px; }
.disclosures { padding-top: 28px; font-size: .86rem; line-height: 1.7; color: #b3bacb; max-width: 980px; }
.disclosures p { margin-bottom: .9em; }
.legal-links { display: flex; gap: 24px; margin-top: 8px; }

/* Contact */
.contact-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-blocks .card p { margin-bottom: .4em; }
.contact-blocks .big { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 2em; }

/* Responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px var(--gutter); }
  .hero-image { height: 56vw; max-height: 300px; min-height: 220px; order: 2; }
  .split, .cards, .tri, .facts, .contact-blocks { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .journal { grid-template-columns: 1fr; }
  .journal article, .journal article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--stone-line); }
  .audience { grid-template-columns: 1fr; gap: 14px; }
  .steps3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 96px; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--stone-line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1rem; }
  .process li { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } body { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.section.dark a.btn.light, .section.dark a.btn.light:hover { color: var(--navy); }
.legal-links { align-items: center; }
.nav { gap: 24px; }

@media (max-width: 520px) { .site-header .wrap { height: 80px; } .brand img { height: 54px; } .nav { top: 80px; } }

/* Ripple effect graphic */
.ripple-card { padding: clamp(12px, 3vw, 40px); }
.ripple { width: 100%; max-width: 760px; margin: 0 auto; height: auto; overflow: visible; }
.rp-ring { fill: none; stroke: var(--navy); stroke-opacity: .28; stroke-width: 1; }
.rp-grid { stroke: var(--stone-line); stroke-width: 1; }
.rp-spoke { stroke: var(--gold); stroke-opacity: .65; stroke-width: 1; }
.rp-core { fill: var(--navy); }
.rp-core-t { fill: var(--ivory); font: 400 16px var(--serif); }
.rp-node { fill: var(--white); stroke: var(--gold); stroke-width: 2; }
.rp-label { font: 500 16px var(--sans); fill: var(--charcoal); paint-order: stroke; stroke: var(--white); stroke-width: 7px; stroke-linejoin: round; }
.rp-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .rp-pulse { animation: rp-out 5s ease-out infinite; }
  .rp-pulse.d2 { animation-delay: 2.5s; }
}
@keyframes rp-out { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(3.35); } }
@media (max-width: 600px) { .rp-label { font-size: 18.5px; stroke-width: 8px; } .rp-core-t { font-size: 18px; } }
.ripple-card { background: transparent; border: 0; padding: 0; }
.rp-node { fill: var(--stone); }
.rp-label { stroke: var(--stone); }
.rp-grid { stroke: var(--stone-line); }

.audience { grid-template-columns: 120px 1fr 1fr; }
.audience .num { font: 400 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--gold); padding-top: 0; letter-spacing: -.02em; }
@media (max-width: 1020px) { .audience { grid-template-columns: 1fr; } .audience .num { font-size: 2.6rem; } }

/* Cash flow > protection > portfolio build-up */
.stack-wrap { max-width: 720px; margin: clamp(40px, 6vw, 72px) auto 0; }
.stack { width: 100%; height: auto; overflow: visible; }
.st-ground { stroke: var(--stone-line); stroke-width: 1; }
.st-base { fill: var(--navy); }
.st-mid { fill: #e9dfc6; stroke: var(--gold); stroke-width: 1; }
.st-top { fill: var(--white); stroke: var(--navy); stroke-width: 1; }
.st-t-light { fill: var(--ivory); font: 400 21px var(--serif); }
.st-t-dark { fill: var(--navy); font: 400 21px var(--serif); }
.st-tie { stroke: var(--gold); stroke-width: 1; }
.st-dot { fill: var(--ivory); stroke: var(--gold); stroke-width: 1.5; }
.st-flow { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 492; stroke-dashoffset: 0; }
.layer { transform-box: fill-box; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .stack:not(.in) .layer { opacity: 0; transform: translateY(26px); }
.js .stack:not(.in) .st-flow { stroke-dashoffset: 492; }
.stack.in .l2 { transition-delay: 1.2s; }
.stack.in .l3 { transition-delay: 2.3s; }
.st-flow { transition: stroke-dashoffset 1.4s ease .4s; }
@media (prefers-reduced-motion: reduce) {
  .js .stack:not(.in) .layer { opacity: 1; transform: none; }
  .js .stack:not(.in) .st-flow { stroke-dashoffset: 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stack-col .stack-wrap { margin: 0; max-width: none; }
.stack-col { align-self: center; }

/* John Norman special needs section */
.john .john-emph { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--navy); margin-top: 1.4rem; }
.john .john-card { max-width: 190px; margin-top: 2rem; }
.john-list li { padding: 18px 0; }
.john-list li strong { display: block; font: 400 1.08rem/1.35 var(--serif); color: var(--navy); margin-bottom: 4px; }

.card h2 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .5em; }
.card.wide .lede-sm { max-width: 68ch; }
.card.wide .cols { columns: 2; column-gap: 48px; margin: 1rem 0 0; padding-left: 1.1em; }
.card.wide .cols li { padding: 3px 0; break-inside: avoid; }
.card ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 1020px) { .card.wide .cols { columns: 1; } }

/* Catholic page */
.cquote { margin: 2rem 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--gold); font: 400 1.25rem/1.45 var(--serif); color: var(--navy); }
.cquote cite { display: block; margin-top: .8rem; font: 500 .85rem var(--sans); font-style: normal; letter-spacing: .04em; color: var(--muted); }
.fw { border-top: 1px solid var(--stone-line); }
.fw-row { display: grid; grid-template-columns: 150px 1fr 1.5fr; gap: 20px clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--stone-line); align-items: start; }
.fw-head { display: flex; flex-direction: column; gap: 8px; }
.fw-num { font: 400 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--gold); letter-spacing: -.02em; }
.fw-name { font: 600 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.fw-q h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; }
.fw-body p { margin-bottom: 1em; }
.fw-note { background: var(--white); border-left: 2px solid var(--gold); padding: 16px 20px 6px; margin-top: 1.4rem; font-size: .95rem; line-height: 1.6; }
.fw-note strong { font-weight: 600; color: var(--navy); }
.stone .fw-note { background: var(--ivory); }
@media (max-width: 1020px) { .fw-row { grid-template-columns: 1fr; } .fw-head { flex-direction: row; align-items: baseline; gap: 16px; } }

/* Team: keep email addresses on one line */
.team-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.team-grid .person .contact a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 1020px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid .person { display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto auto; gap: 0 16px; align-items: start; }
  .team-grid .person img.portrait { grid-column: 1; grid-row: 1 / span 2; width: 88px; height: 88px; aspect-ratio: 1; }
  .team-grid .person h3 { grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
  .team-grid .person .role { grid-column: 2; grid-row: 2; margin: 4px 0 0; align-self: start; }
  .team-grid .person .contact { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; }
}

/* LinkedIn badge */
.person img.portrait { width: 100%; }
.li-badge { display: inline-block; margin-top: 12px; line-height: 0; }
.li-badge img { height: 22px; width: auto; display: block; }
a.li-badge { transition: opacity .2s, transform .2s; }
a.li-badge:hover { opacity: .85; transform: translateY(-1px); }
.li-badge.pending { opacity: .4; filter: grayscale(.5); cursor: default; }
@media (max-width: 720px) { .team-grid .person .li-badge { grid-column: 1 / -1; grid-row: 4; justify-self: start; } }

/* Team bios */
.bio-list { border-top: 1px solid var(--stone-line); }
.bio-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px clamp(28px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--stone-line); align-items: start; scroll-margin-top: 110px; }
.bio-photo img.portrait { width: 200px; height: 200px; }
.bio-main h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0 0 4px; }
.bio-main .role { font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.bio-main p { max-width: 70ch; }
.bio-main .bio-note { font-size: .8rem; line-height: 1.6; color: var(--muted); margin-bottom: .7em; }
.bio-main .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 1.1rem 0 0; font-size: .92rem; }
.bio-main .contact .sep { color: var(--gold-text); }
.bio-main .contact a[href^="mailto"] { white-space: nowrap; }
.bio-main .li-badge { margin: 0 0 0 4px; }
@media (max-width: 720px) {
  .bio-row { grid-template-columns: 1fr; }
  .bio-photo img.portrait { width: 120px; height: 120px; }
  .bio-main .contact .sep { display: none; }
  .bio-main .contact { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bio-main .li-badge { margin: 6px 0 0; }
}
.bio-photo img.portrait { object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .3s; background: var(--stone); border-bottom: 2px solid var(--gold); }
.bio-row:hover .bio-photo img.portrait { filter: none; }

/* Expandable bios */
.bio-main .role { margin-bottom: .8rem; }
.bio-teaser { margin-bottom: .6rem; }
.bio-more { margin: .2rem 0 0; }
.bio-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: 600 .9rem var(--sans); color: var(--navy); padding: 6px 0; border-bottom: 1px solid var(--gold); }
.bio-more summary::-webkit-details-marker { display: none; }
.bio-more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.bio-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.bio-more summary:hover { color: var(--gold-text); }
.bio-more .when-open { display: none; }
.bio-more[open] .when-open { display: inline; }
.bio-more[open] .when-closed { display: none; }
.bio-more-body { padding-top: 1rem; }
.bio-more-body p:first-child { margin-top: 0; }

/* ===== Accessibility and readability pass (WCAG 2.2 AA) ===== */
:root { --gold-deep: #8c7642; }
/* large gold numerals: 3:1 minimum on ivory and stone */
.audience .num, .fw-num { color: var(--gold-deep); }
.eyebrow, .fw-name, .journal .topic { color: var(--gold-text); }
.section.dark .eyebrow, .cta .eyebrow { color: #d4bf8c; }
.footer-h { color: #d4bf8c; }

/* readable text wrapping */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.lede, .bio-main p, .fw-body p { max-width: 68ch; }

/* skip target should not draw a ring when focused by the skip link */
main:focus { outline: none; }

/* focus rings that stay visible on dark backgrounds */
.section.dark :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: #f3e6c4; }
.audience:focus-visible { outline-offset: -3px; background: rgba(176,154,107,.12); }
a:focus-visible, button:focus-visible, summary:focus-visible { border-radius: 2px; }

/* larger hit areas without changing the look */
.link-arrow, .bio-more summary, a.li-badge, .legal-links a { position: relative; }
.link-arrow::before, .bio-more summary::before, a.li-badge::before { content: ""; position: absolute; inset: -12px -8px; }
.footer-grid li { padding: 0; }
.footer-grid li a, .legal-links a { display: inline-block; padding: 8px 0; }
.footer-grid .contact-links a { display: inline-block; padding: 6px 0; }
.nav-toggle { min-height: 44px; min-width: 44px; padding: 10px 16px; }
@media (max-width: 1020px) {
  .nav a { display: block; width: 100%; padding: 12px 0; min-height: 44px; }
  .nav a.btn { width: auto; margin-top: 8px; }
  .bio-main .contact a { display: inline-block; padding: 8px 0; }
}

/* long addresses never force sideways scrolling */
.card a, .contact-blocks a, .bio-main .contact a[href^="mailto"] { overflow-wrap: anywhere; }
@media (max-width: 520px) { .card { padding: 24px 20px; } }
.bio-main .contact a[href^="mailto"] { white-space: normal; }
@media (min-width: 721px) { .bio-main .contact a[href^="mailto"] { white-space: nowrap; } }

/* motion: never auto-play longer than 5 seconds (WCAG 2.2.2) */
@media (prefers-reduced-motion: no-preference) {
  .rp-pulse { animation: rp-out 2.5s ease-out 1 both; }
  .rp-pulse.d2 { animation-delay: 1.4s; }
}
.bio-row:focus-within .bio-photo img.portrait { filter: none; }

/* high-contrast / forced-colors modes */
@media (forced-colors: active) {
  .btn, .bio-more summary, .link-arrow { border: 1px solid ButtonText; }
  .rp-node, .st-dot { forced-color-adjust: none; }
}

/* headings promoted to h2 where they follow the page title: keep the h3 look */
.facts h2 { font-size: 1.15rem; border-top: 1px solid var(--stone-line); padding-top: 18px; }
.journal h2 { font-size: 1.4rem; margin: .7rem 0 .8rem; }
.audience h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0; max-width: 22ch; }
/* 44px minimum on touch screens */
.legal-links a { padding: 11px 0; }
/* long links and addresses wrap instead of overflowing at 320px / 400% zoom */
main a, .site-footer a { overflow-wrap: anywhere; }
.btn, .nav a, .li-badge { overflow-wrap: normal; }

/* ===== Schedule a conversation ===== */
.sched-step { margin-bottom: clamp(36px, 5vw, 64px); }
.sched-step > h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.area-picker { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(188px, 1fr)); gap: 14px; }
.area-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--stone-line); padding: 18px 18px 18px 52px; cursor: pointer; transition: border-color .2s, background .2s; min-height: 44px; }
.area-card:hover { border-color: var(--gold); }
.area-card input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.area-card::before { content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--navy); background: var(--white); }
.area-card:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
.area-card:has(input:checked)::before { background: radial-gradient(var(--navy) 0 42%, var(--white) 46%); }
.area-card:focus-within { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.area-name { font: 400 1.1rem/1.3 var(--serif); color: var(--navy); }
.area-desc { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.sched-status { font-size: .95rem; color: var(--muted); margin-bottom: 1.2rem; min-height: 1.5em; }
.advisors { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.advisor { display: grid; grid-template-columns: 96px 1fr; gap: 18px; background: var(--white); border: 1px solid var(--stone-line); padding: 20px; align-items: start; }
.advisor[hidden] { display: none; }
.advisor img.portrait { width: 96px; height: 96px; object-fit: cover; filter: grayscale(1) contrast(1.05); border-bottom: 2px solid var(--gold); background: var(--stone); }
.advisor h3 { font-size: 1.2rem; margin: 0 0 2px; }
.advisor .role { font-size: .9rem; color: var(--muted); margin: 0 0 .6rem; }
.lead-badge { display: inline-block; font: 600 .78rem/1.3 var(--sans); letter-spacing: .04em; color: var(--navy); background: #e9dfc6; border: 1px solid var(--gold); padding: 3px 10px; margin: 0 0 .6rem; }
.lead-badge[hidden] { display: none; }
.area-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 .9rem; }
.area-tags li { font-size: .8rem; line-height: 1.3; padding: 3px 9px; border: 1px solid var(--stone-line); color: var(--charcoal); background: var(--ivory); }
.advisor-actions { margin: 0 0 .7rem; }
.advisor-actions .btn { padding: 13px 22px; }
.advisor-contact { font-size: .88rem; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.advisor-contact .sep { color: var(--gold-text); }
.advisor-contact a[href^="mailto"] { overflow-wrap: anywhere; }
.link-btn { background: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 2px; font: 600 .95rem var(--sans); color: var(--navy); cursor: pointer; }
.sched-panel { background: var(--white); border: 1px solid var(--navy); padding: clamp(20px, 3vw, 36px); margin-bottom: clamp(36px, 5vw, 56px); scroll-margin-top: 110px; }
.sched-panel[hidden] { display: none; }
.sched-panel:focus { outline: none; }
.sched-panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.panel-notice { background: var(--stone); border-left: 3px solid var(--gold); padding: 14px 18px 2px; margin: 1rem 0 1.4rem; font-size: .95rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-bottom: 1.2rem; }
.cal-frame { margin: 1rem 0; border: 1px solid var(--stone-line); }
.cal-frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.cal-frame[hidden] { display: none; }
.panel-fallback { font-size: .95rem; }
.sched-fallback { max-width: 70ch; }
@media (max-width: 720px) {
  .advisors { grid-template-columns: 1fr; }
  .advisor { grid-template-columns: 72px 1fr; padding: 16px; gap: 14px; }
  .advisor img.portrait { width: 72px; height: 72px; }
  .cal-frame iframe { height: 640px; }
}
@media (prefers-reduced-motion: no-preference) { .advisor { transition: opacity .25s; } }
.advisor-actions .btn { line-height: 1.3; }
@media (max-width: 720px) { .advisor-contact { flex-direction: column; gap: 2px; } .advisor-contact .sep { display: none; } .advisor-contact a { padding: 6px 0; display: inline-block; } .advisor-actions .btn { display: block; text-align: center; } }

/* Schedule page: two cards per row, contact on separate lines, emails on one line */
.advisors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.advisor-contact { flex-direction: column; gap: 0; }
.advisor-contact .sep { display: none; }
.advisor-contact a { display: inline-block; padding: 5px 0; }
@media (min-width: 721px) { .advisor-contact a[href^="mailto"] { white-space: nowrap; overflow-wrap: normal; } }
