/* The Authenticity Center: site styles. Colors live in the tokens below. */
:root {
  /* White and black, with the dark blue from the logo (#2A45AE) as the main accent and a muted tone of the logo's yellow (#E8B038) as the second. Both sampled from the logo on the old site. */
  --ground: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #FCF6E8;
  --ink: #111111;
  --ink-soft: #4A4D55;
  --line: #E2E4EA;
  --brand: #2A45AE;
  --brand-strong: #1D3080;
  --brand-soft: #FBEFD2;
  --warm: #E8B038;
  --warm-soft: #F8E6B8;
  --accent: #2A45AE;
  --accent-ink: #FFFFFF;
  --band: #E4F4FB;
  --band-ink: #111111;
  --tint-blue: #EEF1FB;
  --rose: #CF2F56;
  --confirm-bg: #FDE8EF;
  --confirm-line: #C2255C;
  --confirm-ink: #5A1030;
  --focus: #1C6FD1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 6px 20px rgba(17, 17, 17, .06);
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0D0E11; --surface: #16181D; --tint: #121419; --ink: #F3F4F6; --ink-soft: #B3B7C0;
    --line: #2A2E37; --brand: #9FB1FF; --brand-strong: #C6D1FF; --brand-soft: #3A3018; --warm: #E8B038; --warm-soft: #4A3C1C;
    --accent: #9FB1FF; --accent-ink: #0B1030; --band: #16263A; --band-ink: #F3F4F6; --tint-blue: #141A2C; --rose: #E77594;
    --confirm-bg: #3A1424; --confirm-line: #E0628E; --confirm-ink: #FAD3E0;
    --focus: #7DB4FF; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0D0E11; --surface: #16181D; --tint: #121419; --ink: #F3F4F6; --ink-soft: #B3B7C0;
  --line: #2A2E37; --brand: #9FB1FF; --brand-strong: #C6D1FF; --brand-soft: #3A3018; --warm: #E8B038; --warm-soft: #4A3C1C;
  --accent: #9FB1FF; --accent-ink: #0B1030; --band: #16263A; --band-ink: #F3F4F6; --tint-blue: #141A2C; --rose: #E77594;
  --confirm-bg: #3A1424; --confirm-line: #E0628E; --confirm-ink: #FAD3E0;
  --focus: #7DB4FF; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 800px; }
.small { font-size: .925rem; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--brand); margin-bottom: .75em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; }

.preview-banner { background: var(--confirm-bg); color: var(--confirm-ink); border-bottom: 2px solid var(--confirm-line); text-align: center; padding: .5em var(--gutter-r) .5em var(--gutter-l); font-size: .95rem; }
.preview-banner a { color: inherit; font-weight: 700; }
.confirm { background: var(--confirm-bg); color: var(--confirm-ink); border: 1px dashed var(--confirm-line); border-left-width: 6px; border-radius: 10px; padding: .85em 1.1em; margin: 0 0 1.5em; font-size: .95rem; }
.confirm ul { margin: .35em 0 0; padding-left: 1.2em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .6em 1.15em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.05); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-lg { font-size: 1.1rem; padding: .8em 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75em; align-items: center; margin: 1.25em 0 1em; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2em .65em; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); vertical-align: middle; font-family: var(--font-body); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; margin-right: auto; }
.brand-the { font-weight: 500; color: var(--ink-soft); }
.wordmark { letter-spacing: -0.01em; }
.brand .logo { display: block; height: 48px; width: auto; }
.desktop-nav ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.desktop-nav ul { display: flex; gap: 1.1rem; }
.desktop-nav a { white-space: nowrap; }
.desktop-nav a, .menu a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; }
.desktop-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .5em; font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: .5em var(--gutter-r) 1em var(--gutter-l); box-shadow: var(--shadow); }
.menu li a { display: block; padding: .75em 0; border-bottom: 1px solid var(--line); }
@media (max-width: 1140px) {
  .desktop-nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand { font-size: 1rem; }
}

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 1rem 0 0; margin: 0; font-size: .9rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: var(--line); }

/* sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.tint { background: var(--tint); }
.page-head { padding-bottom: 1.5rem; }
.page-head + .section { padding-top: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 2rem; background:
  radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 60%), var(--ground); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px 28px 28px 6px; box-shadow: var(--shadow); background: var(--tint); }
.hero-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: var(--band); color: var(--band-ink); font-family: var(--font-head); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.25; padding: .9rem 1.1rem; border-radius: 14px; border-left: 6px solid var(--brand); }
.hero-art { aspect-ratio: 4 / 5; border-radius: 28px 28px 28px 6px; box-shadow: var(--shadow); background: radial-gradient(circle at 70% 22%, #FFFFFF 0 9%, transparent 30%), radial-gradient(ellipse at 25% 40%, rgba(255,255,255,.75), transparent 45%), linear-gradient(170deg, #F2CF7E 0%, #F8E6B8 40%, #FCF6E8 70%, #2A45AE 100%); }
@media (max-width: 860px) { .hero-photo { max-width: 460px; } }
.ins-list { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: .5em; }
.ins-list li { border: 1px solid var(--line); background: var(--brand-soft); color: var(--brand-strong); border-radius: 999px; padding: .3em .9em; font-weight: 700; font-size: .95rem; margin: 0; }
.trust ul { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9em 1em; font-size: .95rem; }
.trust strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--brand); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } .trust ul { grid-template-columns: 1fr 1fr; } }

/* cards */
.grid { display: grid; gap: 1.1rem; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.cards-1 { grid-template-columns: 1fr; }
@media (max-width: 420px) { .cards-2, .cards-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; box-shadow: var(--shadow); min-width: 0; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border-top: 4px solid var(--brand); transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-top-color: var(--accent); color: var(--ink); }
a.card p { color: var(--ink-soft); flex: 1; }
.more { color: var(--brand); font-weight: 700; margin-top: .75em; }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start; }
.person h3 a { text-decoration: none; color: var(--ink); }
.person h3 a:hover { color: var(--brand); }
.cred { font-weight: 400; color: var(--ink-soft); font-size: .9em; }
.role { color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: .5em; }
.card-actions { display: flex; flex-wrap: wrap; gap: .25em 1.25em; font-weight: 700; }
.card-actions .quiet { font-weight: 400; }
.avatar { width: 72px; height: 72px; border-radius: 50% 50% 50% 10px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; object-fit: cover; flex: none; }
.avatar.lg { width: 120px; height: 120px; font-size: 2.4rem; }
.av0 { background: var(--brand-soft); color: var(--brand-strong); }
.av1 { background: #EDEEF1; color: #2B2D33; }
.av2 { background: #F8E6B8; color: #1D3080; }
.av3 { background: #E4E5EA; color: #111111; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av1 { background: #2A2E37; color: #F3F4F6; } :root:not([data-theme="light"]) .av2 { background: #1E2650; color: #C6D1FF; } :root:not([data-theme="light"]) .av3 { background: #23262E; color: #F3F4F6; } }
:root[data-theme="dark"] .av1 { background: #2A2E37; color: #F3F4F6; } :root[data-theme="dark"] .av2 { background: #1E2650; color: #C6D1FF; } :root[data-theme="dark"] .av3 { background: #23262E; color: #F3F4F6; }
.event .when { font-weight: 700; color: var(--brand); font-size: .95rem; margin-bottom: .35em; }
.event .meta { font-size: .9rem; color: var(--ink-soft); }
.event h3 a { color: var(--ink); text-decoration: none; }

/* service + prose */
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 10px; padding: 1rem 1.25rem; font-size: 1.15rem; margin: 1rem 0; }
.answer p { margin: 0; }
.byline { font-size: .9rem; color: var(--ink-soft); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose-section { padding-top: 0; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .75em; }
.values { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5em; }
.values li { background: var(--brand-soft); color: var(--brand-strong); border-radius: 999px; padding: .3em .9em; font-weight: 700; font-size: .92rem; }
.mission { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45em; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: .2em .8em; font-size: .92rem; background: var(--surface); margin: 0; }
.cta-band { background: var(--band); color: var(--band-ink); }
.cta-band h2, .cta-band a:not(.btn) { color: var(--band-ink); }
.cta-band { text-align: center; }
.cta-band .hero-actions { justify-content: center; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: 1.1rem; margin: 0; }
.faq details > div { padding: 0 0 1rem; color: var(--ink-soft); }

/* profile */
.profile-head { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; align-items: start; }
.profile-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.side h2 { font-size: 1.1rem; margin-top: 1.2em; }
.side h2:first-child { margin-top: 0; }
.side ul { padding-left: 1.1em; }
.fees { margin: 0 0 .75em; }
.fees div { display: flex; justify-content: space-between; gap: 1em; border-bottom: 1px dashed var(--line); padding: .3em 0; }
.fees dt { color: var(--ink-soft); } .fees dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) { .profile-body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .profile-head { grid-template-columns: 1fr; } }

/* team filters */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.filters legend { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .3rem; width: 100%; }
.filters label { display: inline-flex; align-items: center; gap: .35em; min-height: 36px; cursor: pointer; }
.filters input { width: 18px; height: 18px; accent-color: var(--brand); }
.filter-count { margin: 0 0 0 auto; font-size: .92rem; color: var(--ink-soft); }

/* events */
.event-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.event-facts dl { margin: 0 0 1rem; }
.event-facts dl > div { padding: .6em 0; border-bottom: 1px solid var(--line); }
.event-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.event-facts dd { margin: 0; }
.event-facts .btn { width: 100%; }
@media (max-width: 860px) { .event-page { grid-template-columns: 1fr; } }

/* fees table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fee-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.fee-table th, .fee-table td { text-align: left; padding: .8em 1em; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.fee-table thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.fee-table tbody th { font-weight: 700; }
.price { font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); margin-bottom: .2em; }
@media (max-width: 640px) {
  .fee-table { min-width: 0; }
  .fee-table thead { display: none; }
  .fee-table tr { display: block; padding: .75em 1em; border-bottom: 1px solid var(--line); }
  .fee-table th, .fee-table td { display: block; border: 0; padding: .15em 0; }
  .fee-table td:nth-of-type(2)::before { content: "Insurance: "; color: var(--ink-soft); }
  .fee-table td:nth-of-type(3)::before { content: "Sliding scale: "; color: var(--ink-soft); }
}

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 3rem 0 6rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.footer-head { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--ink-soft); }
.crisis { margin-top: 2rem; }
.crisis { background: var(--tint); border-radius: 10px; padding: .8em 1em; max-width: calc(1160px - 32px); }
.legal { margin-top: 1rem; color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: .6rem var(--gutter-r) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .mobile-bar, .preview-banner, .site-footer { display: none; } }
.filters select { min-height: 40px; padding: 0 .6em; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; max-width: 100%; }
.btn.is-placeholder { opacity: .55; cursor: not-allowed; }
.event-cta { margin: 2rem 0 1rem; }
.featured-list { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; list-style: none; }
.featured-list li { border: 1px solid var(--line, #ddd); border-radius: 999px; padding: .35rem .9rem; }
.hero h1 .hl, .hl { background: linear-gradient(transparent 62%, var(--warm-soft) 62%); }
.trust strong { box-shadow: inset 0 -.45em 0 var(--warm-soft); }

/* Referral form */
.tac-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0 2rem; }
.tac-form h2 { margin-top: 0; }
.tac-form fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
.tac-form legend { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; padding: 0; margin-bottom: .5rem; }
.tac-form fieldset fieldset legend { font-family: inherit; font-size: 1rem; }
.tac-form .field { display: grid; gap: .3rem; margin: 0 0 1rem; }
.tac-form label { font-weight: 600; }
.tac-form input:not([type=checkbox]):not([type=radio]), .tac-form select, .tac-form textarea { width: 100%; min-height: 44px; padding: .5em .7em; border: 1px solid var(--line); border-radius: 10px; background: var(--ground); color: var(--ink); font: inherit; box-sizing: border-box; }
.tac-form textarea { min-height: 7rem; }
.tac-form .inline { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .75rem; }
.tac-form .inline legend { grid-column: 1 / -1; }
.tac-form .choice { display: flex; align-items: center; gap: .55rem; font-weight: 400; min-height: 40px; }
.tac-form .choice input { width: 20px; height: 20px; accent-color: var(--brand); }
.tac-form .req { color: #B42318; }
.tac-form .form-status { margin: .75rem 0 0; font-weight: 600; }
.tac-form .form-status:empty { display: none; }
@media (max-width: 520px) { .tac-form { padding: 1rem; } .tac-form .inline { grid-template-columns: 1fr 1fr; } .tac-form .inline .field:first-of-type { grid-column: 1 / -1; } }

/* Page photos */
.page-photo { margin: 1.5rem 0 0; }
.page-photo img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); background: var(--tint); }
/* How we can help: every service as a drop-down */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.25rem; align-items: start; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }
.svc-drop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-left: 4px solid var(--brand); min-width: 0; }
.svc-drop summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; min-height: 44px; }
.svc-drop summary::-webkit-details-marker { display: none; }
.svc-drop summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); flex: none; transition: transform .15s ease; }
.svc-drop[open] summary::after { transform: rotate(45deg); }
.svc-drop summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--radius); }
.svc-drop-body { padding: 0 1.1rem 1rem; }
.svc-drop-body p { margin: 0 0 .6rem; }
.svc-drop-body a { font-weight: 700; }

/* Home: scrolling row of every counselor */
.team-strip-wrap { position: relative; }
.team-strip { list-style: none; margin: 0; padding: .5rem .25rem 1.25rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: .25rem; overscroll-behavior-x: contain; }
.team-strip:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: var(--radius); }
.team-strip li { flex: 0 0 auto; width: 168px; scroll-snap-align: start; }
.team-strip a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; text-decoration: none; color: var(--ink); padding: .5rem; border-radius: var(--radius); }
.team-strip a:hover .strip-name, .team-strip a:focus-visible .strip-name { text-decoration: underline; }
.avatar.xl { width: 148px; height: 148px; font-size: 2.8rem; box-shadow: var(--shadow); margin-bottom: .35rem; }
.strip-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.strip-cred { color: var(--ink-soft); font-size: .9rem; }
.strip-btn { position: absolute; top: 64px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--brand-strong); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.strip-btn.prev { left: -8px; } .strip-btn.next { right: -8px; }
.strip-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 760px) { .strip-btn { display: none; } .team-strip li { width: 140px; } .avatar.xl { width: 124px; height: 124px; } }

.page-photo.photo-missing div { aspect-ratio: 16 / 9; max-width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; border: 2px dashed var(--confirm-line); background: var(--confirm-bg); color: var(--confirm-ink); border-radius: 22px 22px 22px 6px; font-weight: 600; }
.photo-note { border: 2px dashed var(--confirm-line); background: var(--confirm-bg); color: var(--confirm-ink); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
/* Logo: dark-lettered version in light mode, light-lettered version in dark mode */
.brand .logo { height: 52px; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light:has(+ .logo-dark) { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light:has(+ .logo-dark) { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (max-width: 520px) { .brand .logo { height: 42px; } }
/* Headshots: keep faces in frame when cropped to a circle */
img.avatar { object-position: 50% 22%; }
/* Bio pages: a larger portrait when there is a headshot */
.avatar.portrait { width: 240px; height: 300px; border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); object-position: 50% 30%; }
.profile-head.has-photo { grid-template-columns: 240px 1fr; }
@media (max-width: 640px) { .profile-head.has-photo { grid-template-columns: 1fr; } .avatar.portrait { width: min(240px, 100%); height: auto; aspect-ratio: 4 / 5; } }
/* Page photos keep their own shape */
.page-photo img { aspect-ratio: auto; height: auto; }
.page-photo.is-portrait, .page-photo.is-small { max-width: min(100%, var(--w)); }
.page-photo.is-portrait { max-width: min(100%, 340px); }
/* Clarté-inspired touches (Nov 16) */
.trust ul { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.easy-line { margin: .25em 0 0; font-weight: 700; color: var(--brand-strong); }
.founder { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding: .5rem 1rem .5rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; }
.founder:hover { border-color: var(--brand); color: var(--ink); }
.founder .avatar { width: 52px; height: 52px; border-radius: 50%; font-size: 1.1rem; }
.founder > span { display: flex; flex-direction: column; line-height: 1.3; }
.founder > span > span { font-size: .9rem; color: var(--brand); }
.fee-line { margin: -.25em 0 .75em; font-weight: 700; color: var(--ink-soft); }
.promise h2 { text-align: center; }
.promise .lede { text-align: center; }
.promise-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.promise-list li { background: var(--tint); border-left: 5px solid var(--warm); border-radius: 0 var(--radius) var(--radius) 0; padding: .9em 1.1em; }
.promise-list strong { display: block; font-family: var(--font-head); color: var(--brand-strong); }
.promise > .wrap > p:last-child { text-align: center; font-family: var(--font-head); font-size: 1.15rem; }
.page-photo figcaption { margin-top: .6rem; font-size: .95rem; color: var(--ink-soft); text-align: center; }

/* Brand colors used gently (Nov 16): soft tints for bands, yellow and raspberry as small accents */
.section.tint-blue { background: var(--tint-blue); }
.closing { background: var(--band); color: var(--band-ink); text-align: center; }
.closing .hero-actions { justify-content: center; }
.promise-list li { border-left-color: var(--rose); }

/* Hand-drawn brush stroke under main headings */
.page-head h1::after, .section-head h2::after, .section > .wrap > h2::after, .section > .wrap.two-col > div:not(.card) > h2::after, .promise h2::after, .closing h2::after, .cta-band h2::after {
  content: ""; display: block; width: clamp(110px, 32%, 230px); height: 12px; margin-top: .35em; background: var(--warm);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 11.5C40 6.5 85 9 130 7.5s95-3 167 1.2c1.6.3 1.4 3-.2 3.1-38 .5-70 2.6-112 4.3-45 1.8-104 2.4-181 2.4-2.7 0-3-6.6-.8-7z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 11.5C40 6.5 85 9 130 7.5s95-3 167 1.2c1.6.3 1.4 3-.2 3.1-38 .5-70 2.6-112 4.3-45 1.8-104 2.4-181 2.4-2.7 0-3-6.6-.8-7z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.promise h2::after, .closing h2::after, .cta-band h2::after { margin-left: auto; margin-right: auto; }
.section-head { align-items: flex-end; }

/* Varied photo shapes: bowl-bottom for wide photos, an arch for tall ones, circles in the counselor row */
.page-photo:not(.is-portrait):not(.is-small) img { border-radius: 28px 28px 50% 50% / 28px 28px 16% 16%; }
.page-photo.is-portrait img { border-radius: 999px 999px 22px 22px; }
.page-photo.is-small img { border-radius: 22px; }
.team-strip .avatar.xl { border-radius: 50%; }
.hero-photo img, .hero-photo .hero-art { border-radius: 999px 999px 28px 28px; }

/* Two button styles: solid dark blue for the main action, a soft sky fill with a thin dark border for the rest */
.btn-ghost { background: var(--band); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--tint-blue); color: var(--ink); }

/* Simple line icons */
.icon { flex: none; width: 1.25em; height: 1.25em; vertical-align: -0.2em; color: var(--brand); }
.icon-line { display: flex; gap: .6rem; align-items: flex-start; }
.icon-line .icon { margin-top: .2em; }
.icon-link { display: inline-flex; align-items: center; gap: .5rem; }
.trust li .icon { display: block; width: 26px; height: 26px; margin-bottom: .45rem; color: var(--brand); }

/* More white space */
.section { padding: clamp(3.25rem, 8vw, 6rem) 0; }
.page-head + .section { padding-top: 1.25rem; }
.section-head { margin-bottom: 2rem; }
.grid { gap: 1.5rem; }
h2 { margin-bottom: .75em; }
.lede { max-width: 62ch; }
.promise .lede, .closing .lede, .cta-band p { margin-left: auto; margin-right: auto; }
.svc-list { gap: .9rem 1.5rem; }

/* Event registration and thank-you pages */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--warm-soft); box-shadow: inset 0 0 0 2px var(--warm); }
.check-list li::after { content: ""; position: absolute; left: .42rem; top: .42em; width: .35rem; height: .65rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.order-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--font-head); font-size: 1.15rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.order-line span { min-width: 0; }
.cal-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
/* Blog post photos (brought over from the old blog) */
.post-photo { margin: 1.75rem 0; }
.post-photo img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow); background: var(--tint); }
.post-photo.tall { max-width: min(100%, 420px); margin-left: auto; margin-right: auto; }
.post-photo figcaption { margin-top: .6rem; font-size: .92rem; color: var(--ink-soft); font-style: italic; text-align: center; }
.post-card { display: flex; flex-direction: column; padding-top: 0; overflow: hidden; }
.post-card-photo { display: block; margin: 0 -1.35rem 1rem; }
.post-card-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.values-center { justify-content: center; margin: 1.25rem 0; }

.filter-meta { margin-left: auto; text-align: right; display: grid; gap: .15rem; }
.filter-meta .filter-count { margin: 0; }
.filter-meta .small { margin: 0; }
.media-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.media-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1.1rem; }
.media-list a { font-weight: 700; }
.media-list .small { display: block; color: var(--ink-soft); }

/* About: Our story beside the door photo */
.story-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.story-split > .prose { min-width: 0; }
.story-split > .prose > h2:first-child { margin-top: 0; }
.story-split .story-photo { margin: 0; max-width: 100%; justify-self: center; }
@media (max-width: 760px) { .story-split { grid-template-columns: minmax(0, 1fr); } .story-split .story-photo { order: -1; } }
