/* Klear Minds Counseling Services — site styles
   Plain CSS, no build step. Tokens first; change colors here only. */

/* Palette from Antoinette's logo concept board (2026-09-11):
   powder blue · sage · pale sage · cream · dusty blue, deep slate-blue type.
   Pale tones are for backgrounds/decoration only — text uses --ink / --brand. */
:root {
  --ink: #26374a;
  --muted: #556575;
  --line: #dfe5ea;
  --bg: #fcfbf8;
  --soft: #f1f5f8;
  --sand: #f6efe6;
  --brand: #3b5876;
  --brand-dark: #2d465f;
  --brand-soft: #e4edf5;
  --sky: #bcd3e6;
  --sky-soft: #e8f0f7;
  --dusty: #8ea5c2;
  --sage: #8fa38d;
  --sage-dark: #5b7059;
  --sage-soft: #e7ece4;
  --accent: #8fa38d;
  --radius: 14px;
  --wrap: 1120px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.more-link { margin: 24px 0 0; font-weight: 600; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: .2em 0 .35em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Crisis bar + header */
.crisis-bar { background: var(--ink); color: #fff; text-align: center; font-size: .9rem; padding: 6px 16px; }
.crisis-bar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand-sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-size: .98rem; }
.site-nav a:hover { background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: #fff; font-size: 1rem; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.site-nav a.btn { color: #fff; padding: 10px 18px; margin-left: 6px; box-shadow: none; }
.site-nav a.btn:hover { background: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--sky-soft) 0%, var(--bg) 50%, var(--sage-soft) 100%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.eyebrow { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.fine { font-size: .9rem; color: var(--muted); }
.hero-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(29, 43, 54, .08); }
.hero-card h2 { font-size: 1.3rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.hero-card li:last-child { border-bottom: 0; }
.check { color: var(--sage-dark); font-weight: 700; }

/* Sections */
section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-sand { background: var(--sand); }
.section-intro { max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand-soft), var(--sand)); display: grid; place-items: center; color: var(--brand-dark); font-family: var(--serif); font-size: 3.5rem; width: 100%; max-width: 420px; }
.page-hero { background: linear-gradient(160deg, var(--sky-soft), var(--bg) 60%, var(--sage-soft)); padding: 56px 0 40px; }
.page-hero .lead { max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--brand-soft); color: var(--brand-dark); padding: 6px 12px; border-radius: 999px; font-size: .92rem; }
.list-clean { padding-left: 1.1em; margin: 0 0 1em; }
.list-clean li { margin: .35em 0; }
.prose { max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--brand-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3f0f4; max-width: 56ch; margin-inline: auto; }
.cta-band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--sand); border-color: var(--sand); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* Fees + notices */
.table-scroll { overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; white-space: nowrap; }
.fee-table th { background: var(--soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.notice { border-left: 4px solid var(--accent); background: var(--sand); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.notice p:last-child { margin-bottom: 0; }
.notice-crisis { border-left-color: #b4412f; background: #fbf0ee; }

/* Footer */
.site-footer { background: var(--ink); color: #d7e0e6; padding: 48px 0 20px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-brand, .footer-head { color: #fff; font-weight: 600; margin-bottom: .5em; }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #aebbc4; }
.footer-legal p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 320px; }
}

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
  .js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .js .site-nav.open { display: flex; }
  .site-nav a.btn { margin: 8px 0 0; }
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.3rem; }
  .header-inner { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mt-20 { margin-top: 20px; }
