/* Mindful Waters Counseling — warm beach-pebble palette, Barlow Condensed over Barlow, a modular grid with soft stone shapes. */
:root {
  --sand-50: #fbf8f3;
  --sand-100: #f6f0e8;   /* page ground */
  --sand-200: #ece2d5;
  --stone-300: #dccbb8;
  --stone-400: #c7b19b;
  --stone-500: #a8927d;
  --taupe-700: #65584d;  /* muted text, 6.1:1 on sand-100 */
  --ink: #2e2925;        /* body text, 13:1 on sand-100 */
  --clay: #94573d;       /* accent; white text on it 5.9:1, on sand-100 5.4:1 */
  --clay-dark: #7a4530;
  --clay-100: #f3e3d8;
  --line: color-mix(in srgb, #2e2925 14%, transparent);

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* Pebble outlines: irregular radii so nothing reads as a perfect rectangle */
  --pebble-a: 46% 54% 52% 48% / 56% 44% 56% 44%;
  --pebble-b: 28px 34px 30px 26px / 30px 26px 34px 28px;
  --pebble-btn: 999px 920px 999px 940px / 999px 999px 960px 999px;

  --max: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.05; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1rem; text-wrap: pretty; }

a { color: var(--clay); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--clay-100); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--sand-50); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.logo-slot { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.logo-slot svg, .logo-slot img { width: 100%; height: 100%; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font: 600 1.55rem/1 var(--font-heading); letter-spacing: .01em; }
.wordmark b span { color: var(--clay); }
.wordmark small { font: 500 .78rem/1.3 var(--font-body); color: var(--taupe-700); letter-spacing: .04em; margin-top: 4px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: var(--pebble-btn); color: var(--ink); text-decoration: none; font: 500 1rem/1.2 var(--font-body); }
.site-nav a:hover { background: var(--sand-200); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--clay-100); color: var(--clay-dark); }

/* Eyebrow + ripple lines behind headings */
.eyebrow { font: 600 .95rem/1 var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 12px; border-radius: 50%; background: var(--stone-400); }
.ripple-head { position: relative; isolation: isolate; }
.ripple-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -6%; top: 50%; width: min(560px, 110%); aspect-ratio: 2.4; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 200' fill='none' stroke='%23c7b19b' stroke-width='1.2'%3E%3Cellipse cx='120' cy='100' rx='40' ry='14'/%3E%3Cellipse cx='120' cy='100' rx='88' ry='32' opacity='.75'/%3E%3Cellipse cx='120' cy='100' rx='150' ry='56' opacity='.5'/%3E%3Cellipse cx='120' cy='100' rx='225' ry='84' opacity='.3'/%3E%3C/svg%3E") left center / contain no-repeat;
}
.center .ripple-head::before { left: 50%; transform: translate(-50%, -50%); background-position: center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 200' fill='none' stroke='%23c7b19b' stroke-width='1.2'%3E%3Cellipse cx='240' cy='100' rx='60' ry='20'/%3E%3Cellipse cx='240' cy='100' rx='120' ry='42' opacity='.75'/%3E%3Cellipse cx='240' cy='100' rx='185' ry='66' opacity='.5'/%3E%3Cellipse cx='240' cy='100' rx='236' ry='92' opacity='.3'/%3E%3C/svg%3E"); }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero-copy p { max-width: 62ch; }
.lead { font-size: 1.2rem; line-height: 1.6; }

.hero-photo { position: relative; max-width: 440px; width: calc(100% - 28px); margin: 0 auto; }
.page-title.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.hero-photo::before { /* offset stone behind the photo */
  content: ""; position: absolute; inset: 6% -7% -5% 8%; background: var(--stone-300); border-radius: 52% 48% 44% 56% / 48% 56% 44% 52%; z-index: 0;
}
.hero-photo::after { /* ripple rings */
  content: ""; position: absolute; width: 70%; aspect-ratio: 2.6; left: -12%; bottom: -6%; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 100' fill='none' stroke='%23a8927d' stroke-width='1.2'%3E%3Cellipse cx='130' cy='50' rx='30' ry='10'/%3E%3Cellipse cx='130' cy='50' rx='70' ry='24' opacity='.7'/%3E%3Cellipse cx='130' cy='50' rx='120' ry='42' opacity='.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pebble-photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--pebble-a); }

/* Florida notice */
.note { display: flex; gap: 12px; align-items: flex-start; max-width: 62ch; margin: 24px 0 0; padding: 14px 18px; background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--pebble-b); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; stroke: var(--clay); }

/* Buttons — pebble shaped, slow ripple on hover */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 28px;
  border-radius: var(--pebble-btn); background: var(--clay); color: #fff; border: 1.5px solid var(--clay);
  font: 600 1.15rem/1 var(--font-heading); letter-spacing: .04em; text-decoration: none; transition: background-color .3s ease, color .3s ease;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--clay-dark); border-color: var(--stone-500); }
.btn.secondary:hover { background: var(--sand-200); color: var(--clay-dark); }
.btn::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 40%, transparent); }
.btn:hover::after, .btn:focus-visible::after { animation: ripple 1.8s cubic-bezier(.2,.6,.3,1) 1; }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 38%, transparent); } 100% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--clay) 0%, transparent); } }

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
section.alt { background: var(--sand-50); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 640px; }
.section-head p { color: var(--taupe-700); margin: 0; }
.center { text-align: center; }
.center .section-head, .center.prose { margin-left: auto; margin-right: auto; }

/* Modular grid of stone cards (equal cells) */
.cells { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; padding: 28px 26px 30px; background: var(--sand-100); border: 1px solid var(--line); border-radius: var(--pebble-b); display: flex; flex-direction: column; gap: 10px; transition: border-color .4s ease; }
.alt .card { background: var(--sand-100); }
.card .stone { width: 46px; height: 30px; margin-bottom: 6px; }
.card .stone ellipse.ring { opacity: 0; transform-origin: center; transform-box: fill-box; }
.card:hover { border-color: var(--stone-400); }
.card:hover .stone ellipse.ring { animation: ring 2s ease-out 1; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.card p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }

/* Stacked-stone divider */
.cairn { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 var(--gutter); margin: 0 auto; max-width: var(--max); }
.cairn::before, .cairn::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cairn svg { width: 64px; height: 72px; flex: none; }

/* Text pages */
.prose { max-width: 680px; }
.prose p { margin: 0 0 1.2rem; }
.closing p { font-size: 1.2rem; line-height: 1.6; }
.page-title { padding: clamp(40px, 6vw, 72px) var(--gutter) 8px; }

/* Shared bits other pages use */
.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 62ch; }
.split { display: grid; gap: clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sub { font-size: 1.3rem; margin: 44px 0 16px; }
.figure img { width: 100%; border-radius: var(--pebble-b); border: 1px solid var(--line); background: #fff; }
.endorse-wrap { display: grid; justify-items: center; text-align: center; }
blockquote.endorse { position: relative; margin: 0; max-width: 760px; padding: 0; background: none; }
blockquote.endorse p { font: 500 clamp(1.35rem, 2.6vw, 1.8rem)/1.4 var(--font-heading); font-style: normal; letter-spacing: .005em; margin: 0 0 20px; }
blockquote.endorse footer { font-size: 1rem; color: var(--taupe-700); }
.quote-mark { width: 56px; height: 36px; margin: 0 auto 18px; }
.crisis-box { margin-top: 32px; padding: 18px 22px; border-radius: var(--pebble-b); background: var(--clay-100); color: var(--ink); max-width: 62ch; }
.crisis-box p { margin: 0; }
.contact-photo { position: relative; max-width: 420px; width: calc(100% - 28px); margin: 0 auto; }
.contact-photo::before { content: ""; position: absolute; inset: 7% 8% -5% -7%; background: var(--stone-300); border-radius: 48% 52% 56% 44% / 52% 44% 56% 48%; }
.fee { font: 600 1.6rem/1 var(--font-heading); color: var(--clay-dark); }
.about { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 5vw, 72px); } }
.photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--pebble-a); }
.photo.emma { object-position: 40% 22%; }
.photo-stack { display: flex; flex-direction: column; gap: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; }
.pills li { padding: 6px 16px; border: 1px solid var(--line); border-radius: var(--pebble-btn); background: var(--sand-50); }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 8px 0; border-bottom: 1px solid var(--line); }
dl.facts { margin: 0; max-width: 680px; border-top: 1px solid var(--line); }
dl.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; text-align: right; }
.figure { margin: 0; }
.figure figcaption { font-size: .95rem; color: var(--taupe-700); margin-top: 8px; }

/* Footer */
.site-footer { text-align: center; background: var(--sand-200); padding: 40px 0 44px; font-size: .95rem; line-height: 1.6; color: var(--ink); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.site-footer p { margin: 0; max-width: 62ch; }
.site-footer .crisis { font-weight: 600; }
.site-footer .legal { color: var(--taupe-700); }
.site-footer svg { width: 40px; height: 24px; margin-bottom: 6px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .lead { font-size: 1.1rem; }
  .btn { width: 100%; }
  .site-header .wrap { justify-content: center; }
  .site-nav ul { justify-content: center; }
}

/* Watercolor wash background — soft pools of sea-glass and sand, drifting very slowly */
body { isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: -15%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 10% 15%, rgba(150,190,184,.75), transparent 72%),
    radial-gradient(40% 35% at 92% 35%, rgba(199,170,140,.6), transparent 72%),
    radial-gradient(50% 40% at 25% 90%, rgba(150,190,184,.6), transparent 72%),
    radial-gradient(35% 30% at 72% 78%, rgba(180,210,205,.7), transparent 72%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1) rotate(0deg); } 33% { transform: translate3d(6%,-4%,0) scale(1.08) rotate(2deg); } 66% { transform: translate3d(-4%,5%,0) scale(1.04) rotate(-2deg); } 100% { transform: translate3d(3%,6%,0) scale(1.1) rotate(1deg); } }
.site-header { background: color-mix(in srgb, var(--sand-50) 75%, transparent); backdrop-filter: blur(6px); }
section.alt { background: color-mix(in srgb, var(--sand-50) 35%, transparent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
