/* Hallmark · shape: Marsh at dawn, one horizon · genre: editorial · theme: custom · job: book · idea: "A solo psychologist's page is the calm of the Lowcountry marsh at first light, with one gold tidal line that drifts, then settles flat as you read" · vibe: "calm, unhurried, trustworthy, local, quiet"
 * paper: oklch(99.6% 0.005 225) · accent: oklch(78% 0.135 85) · display: Lora · body: Source Sans 3 · hero: full-bleed marsh photograph with the headline set on it, the tidal line along its foot · nav: wordmark, four links, one Call pill · footer: deep marsh green, wordmark, address, small menu, concept line · imagery: photographs (AI-generated stand-ins) · signature: a thin gold tidal line under the hero that drifts like water and settles flat on scroll
 * axes: light/serif/gold · posture: composed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, no practitioner portrait or specialties exist, so the about section leans on the room photograph and plain facts */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: 1.0625rem; }
.skip { position: absolute; left: var(--space-md); top: -80px; z-index: var(--z-modal); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus { top: var(--space-sm); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; text-decoration: none; border: 1px solid var(--color-accent); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:hover { background: color-mix(in oklab, var(--color-accent) 86%, white); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 var(--space-lg); }
.btn--ghost { background: transparent; color: var(--color-paper); border-color: color-mix(in oklab, var(--color-paper) 55%, transparent); }
.btn--ghost:hover { background: color-mix(in oklab, var(--color-paper) 14%, transparent); }
.btn--line { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--line:hover { background: var(--color-paper-2); }
.acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.link { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--color-accent); display: inline-block; padding-block: var(--space-sm); }

/* header */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); height: var(--nav-h); background: color-mix(in oklab, var(--color-ink) 94%, transparent); color: var(--color-paper); backdrop-filter: blur(8px); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.hdr nav { display: none; }
.hdr ul, .ftr ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-lg); }
.hdr nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1rem; }
.hdr nav a:hover, .ftr nav a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.mark { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.1; text-decoration: none; display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; }
.mark span { font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; color: var(--color-accent); margin-top: var(--space-3xs); }
.mark--lg { font-size: 1.5rem; }
@media (min-width: 52rem) { .hdr nav { display: block; } }

/* hero: photo leads on phones, the headline sits on it from tablet up */
.hero { position: relative; padding-top: var(--nav-h); background: var(--color-ink); color: var(--color-paper); }
.hero__media { height: 40svh; min-height: 240px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero__body { padding-block: var(--space-lg) 56px; display: flex; flex-direction: column; gap: var(--space-md); }
h1 { font-size: var(--text-display); font-weight: 500; line-height: 1.04; letter-spacing: var(--tracking-display); }
h1 span { display: inline-block; }
.h-gold { color: var(--color-paper-3); font-weight: 400; display: block; }
h1 span:first-child { display: block; }
.hero__lede { font-size: var(--text-lead); max-width: 40ch; }
.hero .acts { margin-top: var(--space-xs); }
@media (min-width: 40rem) { .hero .acts .btn { min-width: 0; } }
@media (min-width: 48rem) {
  .hero { min-height: 100svh; display: flex; align-items: flex-end; padding-top: 0; }
  .hero__media { position: absolute; inset: 0; height: auto; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--color-ink) 88%, transparent) 0%, color-mix(in oklab, var(--color-ink) 60%, transparent) 38%, transparent 70%); }
  .hero__body { position: relative; z-index: var(--z-base); padding-bottom: 112px; padding-top: 200px; }
}

/* signature: the tidal line */
.tide { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; overflow: hidden; z-index: var(--z-raised); transform-origin: 50% 50%; pointer-events: none; }
.tide svg { width: 200%; height: 100%; fill: none; stroke: var(--color-accent); stroke-width: 1.5; animation: drift 28s linear infinite; will-change: transform; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tide { transform: scaleY(0); } .tide svg { animation: none; } }

/* sections */
.sec { padding-block: var(--section-gap-s); }
.sec--tint { background: var(--color-paper-2); }
.sec--deep { background: var(--color-ink); color: var(--color-paper); }
h2 { font-size: var(--text-section); font-weight: 500; line-height: 1.1; letter-spacing: var(--tracking-display); max-width: 18ch; margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-title); font-weight: 500; line-height: 1.2; margin-bottom: var(--space-xs); }
.sec p:not([class]) { color: var(--color-ink-2); }
.sec--deep p:not([class]) { color: color-mix(in oklab, var(--color-paper) 86%, var(--color-ink)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
  .split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split .photo { aspect-ratio: 5 / 4; }
  .sec { padding-block: var(--section-gap); }
}
.facts { margin: var(--space-xl) 0 0; border-top: 1px solid var(--color-rule); }
.facts div { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.facts dt { color: var(--color-muted); }
.facts dd { margin: 0; font-weight: 600; }

.trio, .steps { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.trio li { border-top: 2px solid var(--color-accent); padding-top: var(--space-md); }
.steps li { border-top: 1px solid color-mix(in oklab, var(--color-paper) 30%, transparent); padding-top: var(--space-md); }
.n { display: block; font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-accent); line-height: 1; margin-bottom: var(--space-sm); }
@media (min-width: 52rem) { .trio, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); } }

address { font-style: normal; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.25; margin-bottom: var(--space-xs); }
#contact .acts { margin-block: var(--space-md) var(--space-lg); }
.crisis { font-size: 1rem; color: var(--color-muted); max-width: 40ch; }

/* footer */
.ftr { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-2xl) var(--space-lg); }
.ftr__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.ftr address { font-family: var(--font-body); font-size: 1rem; margin-top: var(--space-md); line-height: 1.8; }
.ftr address a, .ftr nav a { display: inline-block; padding-block: var(--space-xs); text-decoration: none; }
.ftr address a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.ftr ul { flex-direction: column; gap: 0; }
.note { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid color-mix(in oklab, var(--color-paper) 25%, transparent); font-size: 0.9375rem; color: color-mix(in oklab, var(--color-paper) 75%, var(--color-ink)); max-width: none; }
@media (min-width: 52rem) { .ftr__in { grid-template-columns: minmax(0, 1fr) auto; } }
