/* =========================================================================
   Shae Ellington, LCSW — practice site
   Clean, contemporary, confident. Black / white / one clay accent.
   Geometric sans, asymmetric grid, strong negative space.
   ========================================================================= */

:root {
  --ink:    #121211;
  --paper:  #ffffff;
  --off:    #f3f2ee;
  --muted:  #6c6b66;
  --line:   #e4e2db;
  --accent: #bd5533;   /* clay — used sparingly */

  --maxw: 1160px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 1.02rem; -webkit-font-smoothing: antialiased; }

h1,h2,h3,h4 { font-family: var(--head); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.1rem; max-width: 58ch; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--accent); }

.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 500; color: var(--muted); margin: 0 0 1.2rem; display: flex; align-items: center; gap: 0.7rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
section[id], [id]#top { scroll-margin-top: 74px; }

/* spare specialty list — no boxes, no numbers, no grid */
.spec-list { columns: 2; column-gap: 3rem; list-style: none; padding: 0; margin: 0.5rem 0 0; }
.spec-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; break-inside: avoid; }
/* plain detail list for contact */
.plain-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.plain-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; color: var(--muted); }
.plain-list b { color: var(--ink); font-weight: 600; font-family: var(--head); margin-right: 0.4rem; }
body { scroll-padding-top: 74px; }
.accent { color: var(--accent); }

/* Buttons — squared, stark */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--head); font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; padding: 0.95rem 1.7rem; border-radius: 0; text-decoration: none; transition: background .2s ease, color .2s ease, transform .15s ease; cursor: pointer; border: 1px solid var(--ink); }
.btn::after { content: "→"; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: 1.1rem var(--pad); }
.brand { text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .cred { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-family: var(--head); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links .btn { padding: 0.5rem 1rem; font-size: 0.82rem; color: var(--paper); }
.nav-links .btn::after { content: ""; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero — asymmetric */
.hero { padding-block: clamp(2.5rem,6vw,4.5rem) clamp(2.5rem,5vw,4rem); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: end; }
.hero h1 { margin-bottom: 0.3em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero .idx { font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--muted); }
.mono-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--off); max-width: 340px; width: 100%; justify-self: end; }
.mono-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(100%) contrast(1.05); }
.mono-img .tag { position: absolute; bottom: 0; left: 0; background: var(--accent); color: var(--paper); font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.5rem 0.9rem; }

/* Meta row */
.meta { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.meta .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding-block: 1.6rem; }
.meta .k { font-family: var(--head); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.35rem; }
.meta .v { font-family: var(--head); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.split-even .mono-img { aspect-ratio: 4/5; max-width: 340px; justify-self: start; }
.narrow { max-width: 720px; }
.off { background: var(--off); }
.ink { background: var(--ink); color: var(--paper); }
.ink h1, .ink h2, .ink h3 { color: var(--paper); }
.ink p { color: rgba(255,255,255,0.7); }
.ink .eyebrow { color: rgba(255,255,255,0.6); }
.ink .btn-ghost { color: var(--paper); border-color: var(--paper); }
.ink .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* Numbered list */
.num-list { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--head); font-size: 0.8rem; color: var(--accent); padding-top: 0.3rem; }
.num-list h3 { margin-bottom: 0.3rem; }
.num-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Index grid (specialties) */
.index-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: 2.25rem; }
.index-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.index-grid div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.95rem 1.1rem 1.05rem; display: flex; align-items: baseline; gap: 0.7rem; }
.index-grid .n { font-family: var(--head); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.14em; }
.index-grid .t { font-family: var(--head); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; margin-top: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tags span { font-family: var(--head); font-size: 0.85rem; border: 1px solid var(--line); padding: 0.4rem 0.9rem; color: var(--muted); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--head); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 1rem 0 0; color: var(--muted); }

.safety { border-left: 2px solid var(--accent); padding: 0.9rem 1.1rem; font-size: 0.88rem; color: var(--muted); margin-top: 1.5rem; background: var(--off); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 4rem 2rem; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer .mark { font-family: var(--head); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
.site-footer h4 { color: rgba(255,255,255,0.5); font-family: var(--head); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; font-weight: 500; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer p, .site-footer li { color: rgba(255,255,255,0.7); font-size: 0.93rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-legal .container.legal-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2rem; }
.footer-legal p { margin-bottom: 0.5rem; }
.footer-legal p:last-child { margin-bottom: 0; }
/* The crisis line is a safety element, not boilerplate — it does not get
   the same visual weight as a copyright notice. */
.crisis { color: rgba(255,255,255,0.92) !important; }
.crisis a { color: var(--accent); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(189,85,51,0.5); }
.crisis a:hover { border-bottom-color: var(--accent); }
/* Colophon. The build credit sits quieter than the legal lines above it — its
   links are not brightened, so it never competes with the crisis notice.
   Same treatment as the museum site's .built. */
.built, .built a { color: rgba(255,255,255,0.45); }
.built a { text-decoration: underline; text-underline-offset: 2px; }
.built a:hover { color: rgba(255,255,255,0.8); }
@media (max-width: 860px) { .footer-legal .container.legal-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .hero-grid, .split, .split-even { grid-template-columns: 1fr; }
  .mono-img { max-width: 360px; }
  .meta .container { grid-template-columns: 1fr 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  /* max-height + overflow so the open menu can never exceed the screen: the header is
     sticky, so a menu taller than the viewport would have unreachable items. dvh is the
     accurate unit on mobile (it accounts for the browser chrome); the vh line above it is
     the fallback for older browsers. */
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--pad) 1.2rem; max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 0; }
  .nav-links .btn { margin-top: 0.6rem; }
}
@media (max-width: 520px) { .meta .container, .site-footer .container { grid-template-columns: 1fr; } }

/* =========================================================================
   MERGE ADDITIONS — Shae Ellington live build (2026-07-31)
   Base is the Modern Minimalist direction. Everything below supports copy
   brought over from Warm Listener / Wise Clinician, plus the two new lines.
   ========================================================================= */

.eyebrow-stack { align-items: flex-start; }
.eyebrow-stack::before { margin-top: 0.62em; flex: 0 0 26px; }
.eyebrow-stack span { display: block; }

/* Running prose is ONE size everywhere (1.02rem, set on body). Do not add
   per-paragraph font sizes — mixed sizes inside a block read as a mistake,
   not as emphasis. Emphasis comes from position and space, not scale. */

/* Availability — stated once per section, not repeated everywhere */
.availability { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.97rem; color: var(--muted); }
.availability b { color: var(--ink); font-family: var(--head); font-weight: 600; }

/* Warm Listener's four cards, in Minimalist's grid language */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }
.card-grid > div { border-right: 1px solid var(--line); padding: 1.5rem 1.4rem 1.6rem; }
.card-grid > div:first-child { border-left: 1px solid var(--line); }
.card-grid h3 { margin-bottom: 0.5rem; }
.card-grid p { margin: 0; color: var(--muted); font-size: 0.97rem; max-width: none; }

/* Specialty pills — Warm Listener's small buttons, Minimalist's type */
.tags-lg { gap: 0.6rem; margin-top: 0.5rem; }
.tags-lg span { font-family: var(--head); font-weight: 500; font-size: 0.97rem; letter-spacing: -0.01em;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 0.6rem 1.1rem; }

/* Pull quote band */
.quote-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.pullquote { font-family: var(--head); font-weight: 400; font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--paper) !important; max-width: 24ch; margin: 0; }

/* Contact card — replaces the old demo form panel */
.contact-card { border: 1px solid var(--ink); padding: clamp(1.5rem, 4vw, 2.6rem); background: var(--paper); }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.contact-card .btn-row { margin-top: 1.6rem; }

/* SimplePractice widget button — their stylesheet is deliberately NOT included.
   These rules keep the widget's anchor looking native to this site. The data-*
   attributes on the anchor are what their script binds to, not the styling. */
a.spwidget-button, a.spwidget-button:hover, a.spwidget-button:active {
  border-radius: 0; font-family: var(--head); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; box-shadow: none;
}
a.spwidget-button { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 0.95rem 1.7rem; }
a.spwidget-button:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.nav-links a.spwidget-button { padding: 0.5rem 1rem; font-size: 0.82rem; }
.spwidget-button-wrapper { text-align: left; }

@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .card-grid { grid-template-columns: 1fr; } }

.plain-list a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.plain-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.channel-note { margin-top: 1.1rem; font-size: 0.9rem; color: var(--muted); font-style: italic; max-width: 46ch; }

/* ---- Legal page ------------------------------------------------------- */
.legal-page { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.6rem; }
.legal-page h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 2.75rem 0 0.9rem; }
.legal-page .updated { font-family: var(--head); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted); margin-bottom: 2rem; }
.legal-page p, .legal-list li { max-width: 68ch; }

.legal-list { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.legal-list li { padding: 0.7rem 0 0.7rem 1.25rem; border-left: 1px solid var(--line); margin-bottom: 0.5rem; }
.legal-list strong { font-family: var(--head); }

.crisis-callout { border-left: 3px solid var(--accent); background: var(--off);
  padding: 1.1rem 1.3rem; margin: 0 0 1rem; font-size: 0.97rem; max-width: 68ch; }
.crisis-callout a { color: var(--accent); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(189,85,51,0.4); }

.legal-page .callout { border: 1px solid var(--ink); padding: 1.2rem 1.4rem; background: var(--paper); }
