/* ==========================================================================
   InnerWoven Therapy — shared design system
   Palette and type extracted from the original Squarespace site:
   cream #efecdf · forest #143324 · ochre #af8233 · sage #d8dad2 / #8e9b8f
   terracotta #de6a26 · Gotham Book/Medium (self-hosted) · Averia Serif Libre
   ========================================================================== */

@font-face {
  font-family: 'Gotham Book';
  src: url('fonts/Gotham-Book.woff2') format('woff2'),
       url('fonts/Gotham-Book.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham Medium';
  src: url('fonts/Gotham-Medium.woff2') format('woff2'),
       url('fonts/Gotham-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* brand */
  --cream: #efecdf;
  --cream-soft: #f5f3ea;
  --forest: #143324;
  --forest-deep: #0d2418;
  --ochre: #af8233;
  --ochre-soft: #c29a52;
  --sage: #d8dad2;
  --sage-deep: #8e9b8f;
  --terracotta: #de6a26;
  --terracotta-dark: #c75a1b;

  /* roles */
  --text: #1f2d24;
  --text-soft: #4c5a50;
  --text-faint: #79857c;
  --text-on-dark: #efecdf;
  --text-on-dark-soft: rgba(239, 236, 223, 0.78);
  --border: rgba(20, 51, 36, 0.14);
  --border-on-dark: rgba(239, 236, 223, 0.22);

  /* type */
  --font-display: 'Averia Serif Libre', Georgia, serif;
  --font-body: 'Gotham Book', 'Lato', 'Helvetica Neue', sans-serif;
  --font-label: 'Gotham Medium', 'Lato', 'Helvetica Neue', sans-serif;

  --container: 1160px;
  --radius: 6px;
  --shadow-soft: 0 12px 40px rgba(20, 51, 36, 0.10);
  --shadow-card: 0 4px 18px rgba(20, 51, 36, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; color: var(--forest); }
h4, h5 { font-family: var(--font-label); font-weight: 500; color: var(--forest); }

a { color: var(--ochre); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--terracotta); }

::selection { background: var(--ochre); color: #fff; }

/* --------------------------------------------------------------------------
   Reusable atoms
   -------------------------------------------------------------------------- */

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* keyboard-only "skip to content" link — first element on every page */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* narrower containers for prose/form pages */
.container-narrow { max-width: 880px; }
.container-prose { max-width: 800px; }
.container-form { max-width: 680px; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.theme-forest .eyebrow { color: var(--ochre-soft); }

/* thread divider — a short gold hairline under headings */
.thread {
  width: 64px;
  height: 3px;
  margin: 1.4rem 0 1.8rem;
  border-radius: 3px;
  background: var(--ochre);
}
.thread.center { margin-left: auto; margin-right: auto; }
/* brighter gold on dark backgrounds */
.theme-forest .thread, .theme-sagedeep .thread, .hero-bleed .thread, .cta-band .thread {
  background: var(--ochre-soft);
}

.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

/* primary CTA is ochre gold — matches the live site (terracotta is only the
   SimplePractice widget's own styling, kept on the contact page) */
.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:hover { background: #97702b; color: #fff; }

.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-deep); color: #fff; }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--forest); }

.btn-block { width: 100%; text-align: center; }

/* --------------------------------------------------------------------------
   Section scaffolding — alternating cream / white / sage / forest rhythm
   -------------------------------------------------------------------------- */

section { padding: 96px 0; position: relative; }

/* first section of a light page (no dark hero) — clears the fixed top chrome */
.page-top { padding-top: 170px; }

.theme-cream { background: var(--cream); }
.theme-white { background: #fbfaf5; }
.theme-sage { background: var(--sage); }
.theme-forest { background: var(--forest); }
.theme-forest h1, .theme-forest h2, .theme-forest h3 { color: var(--cream); }
.theme-forest, .theme-forest p { color: var(--text-on-dark-soft); }
.theme-forest h4, .theme-forest h5 { color: var(--cream); }
.theme-forest strong { color: var(--cream); }

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-intro { max-width: 720px; color: var(--text-soft); }
.theme-forest .section-intro { color: var(--text-on-dark-soft); }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* centered heading block at the top of a section / centered CTA row at the bottom */
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head .section-intro { margin: 0 auto; }
.section-head .section-intro + .section-intro { margin-top: 1rem; }
.section-foot { text-align: center; margin-top: 48px; }

/* page titles on light pages (no hero) */
.page-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-title-sm { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }

/* prose pages (join, askdramy, 404): soft body text with article-like rhythm */
.prose p { color: var(--text-soft); margin-bottom: 1.1rem; }
.prose h2:not(.section-title) { margin: 2.4rem 0 1rem; }
.prose .check-list { margin-bottom: 1rem; }
.prose .grid-2 { margin: 2.5rem 0; }

/* --------------------------------------------------------------------------
   Announcement bar + Navbar (fixed together in .top-chrome)
   -------------------------------------------------------------------------- */

.top-chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.announce-bar {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 8px 48px;
  position: relative;
  max-height: 90px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.announce-bar a { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce-bar a:hover { color: var(--ochre-soft); }
.announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  opacity: 0.7;
}
.announce-close:hover { opacity: 1; }
.top-chrome.scrolled .announce-bar,
.announce-bar.dismissed { max-height: 0; padding-top: 0; padding-bottom: 0; }

.navbar {
  background: rgba(239, 236, 223, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.top-chrome.scrolled .navbar { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(20, 51, 36, 0.06); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 62px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 30px; }

.nav-link {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--ochre);
  transition: right 0.25s ease;
}
.nav-link:hover { color: var(--forest); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

.nav-cta {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.25s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Full-bleed hero — background image + forest overlay + overlaid text
   (matches the live Squarespace design)
   -------------------------------------------------------------------------- */

.hero-bleed {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 190px 0 150px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bleed .container { width: 100%; }  /* flex item: keep full width so copy can left/right-align */
.hero-bleed .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-bleed::before {
  /* forest overlay, heavier where the text sits */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 51, 36, 0.72) 0%, rgba(20, 51, 36, 0.5) 55%, rgba(20, 51, 36, 0.34) 100%);
  z-index: -1;
}
.hero-bleed.text-right::before {
  background: linear-gradient(260deg, rgba(20, 51, 36, 0.72) 0%, rgba(20, 51, 36, 0.5) 55%, rgba(20, 51, 36, 0.34) 100%);
}
.hero-bleed.text-center::before {
  background: rgba(20, 51, 36, 0.5);
}
.hero-bleed h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--cream);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(13, 36, 24, 0.45);
}
.hero-bleed p { color: rgba(239, 236, 223, 0.92); margin-bottom: 1.1rem; text-shadow: 0 1px 14px rgba(13, 36, 24, 0.5); }
.hero-bleed .hero-copy { max-width: 600px; }
.hero-bleed.text-right .hero-copy { margin-left: auto; }
.hero-bleed.text-center .hero-copy { margin: 0 auto; text-align: center; }
.hero-bleed.text-center .thread { margin-left: auto; margin-right: auto; }
.hero-bleed.hero-short { min-height: 62vh; padding: 180px 0 130px; }
.hero-bleed strong { color: var(--cream); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }

/* --------------------------------------------------------------------------
   Wave divider — organic curve between sections (Squarespace section divider)
   Place as the LAST child of a section: <div class="wave"><svg ...></div>
   Fill = the NEXT section's background color.
   -------------------------------------------------------------------------- */

.has-wave { padding-bottom: 150px; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}
.wave svg { width: 100%; height: 72px; display: block; }
@media (max-width: 768px) { .wave svg { height: 44px; } .has-wave { padding-bottom: 110px; } }

/* --------------------------------------------------------------------------
   Deep sage section (live site's section-2 / vision band)
   -------------------------------------------------------------------------- */

.theme-sagedeep { background: var(--sage-deep); }
.theme-sagedeep h1, .theme-sagedeep h2, .theme-sagedeep h3, .theme-sagedeep h4 { color: #fdfcf7; }
.theme-sagedeep, .theme-sagedeep p, .theme-sagedeep .section-intro { color: rgba(253, 252, 247, 0.92); }
.theme-sagedeep .eyebrow { color: var(--cream); }
.theme-sagedeep .split p { color: rgba(253, 252, 247, 0.92); }

/* decorated photo (crisscross top-left, dots bottom-right) */
.deco-frame { position: relative; }
.deco-frame img.main { position: relative; z-index: 1; }
.deco-frame .deco-tl, .deco-frame .deco-br {
  position: absolute;
  z-index: 2;
  opacity: 0.95;
  box-shadow: none;   /* the generic .split-img img shadow boxes the transparent PNG */
  border-radius: 0;
}
.deco-frame .deco-tl { top: -80px; left: -100px; width: 350px; }
.deco-frame .deco-br { bottom: -54px; right: -82.6px; width: 110px; }
@media (max-width: 768px) {
  .deco-frame .deco-tl { top: -32px; left: -16px; width: 180px; }
  .deco-frame .deco-br { bottom: -32px; right: 12px; width: 80px; }
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

/* card grids are <ul role="list"> — the role restores list semantics that
   Safari/VoiceOver drops when list-style is none */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2, .grid-3, .grid-4, .post-list { list-style: none; }

.card {
  background: #fbfaf5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card h3, .card h4 { margin-bottom: 0.7rem; font-size: 1.15rem; }
.card p { color: var(--text-soft); font-size: 0.97rem; }
.card .check-list { font-size: 0.95rem; }

/* specialty cards on forest background */
.theme-forest .card {
  background: rgba(239, 236, 223, 0.05);
  border-color: var(--border-on-dark);
}
.theme-forest .card h3, .theme-forest .card h4 { color: var(--cream); }
.theme-forest .card p { color: var(--text-on-dark-soft); }
.theme-forest .card:hover { box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35); }

/* photo cards (team, services, blog) */
.photo-card { text-align: left; }
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}
.photo-card a:hover img { transform: scale(1.015); }
.photo-card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.photo-card .role {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.6rem;
}
/* compact button inside a photo card (about-page "Read Bio") */
.photo-card .btn { margin-top: 0.4rem; padding: 0.7rem 1.4rem; }
/* photo-card links on a forest background (bio-page team strip) */
.theme-forest .photo-card a { color: var(--ochre-soft); }

/* --------------------------------------------------------------------------
   Split (image + text) sections
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.split-uneven { grid-template-columns: 0.9fr 1.1fr; }
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  object-fit: cover;
}
.split.align-start { align-items: start; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.2rem; }
.split .heading-sm { font-size: 1.6rem; }
.split p { color: var(--text-soft); margin-bottom: 1rem; }
.theme-forest .split p { color: var(--text-on-dark-soft); }

/* standalone framed image (founder message, contact sidebar, specialties) */
.img-frame { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-bottom: 1.6rem; }
.signature { max-width: 200px; margin: 1rem 0 1.6rem; }
/* small centered logo icon above the vision statement */
.vision-mark { width: 84px; margin: 0 auto; }

/* checklist */
.check-list { list-style: none; margin-top: 0.5rem; }
.check-list li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
  color: var(--text-soft);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ochre);
  border-bottom: 2px solid var(--ochre);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Accordion (specialties / FAQ)
   -------------------------------------------------------------------------- */

.accordion details {
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0;
}
.theme-forest .accordion details { border-bottom-color: var(--border-on-dark); }
.accordion summary {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 0;
  position: relative;
}
.theme-forest .accordion summary { color: var(--cream); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ochre);
  transition: transform 0.25s ease;
}
.accordion details[open] summary::after { content: '×'; }
.accordion .acc-body { padding: 0 0 1.4rem; max-width: 860px; }
.accordion .acc-body p { margin-bottom: 0.9rem; color: var(--text-soft); }
.theme-forest .accordion .acc-body p { color: var(--text-on-dark-soft); }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.post-card { display: flex; flex-direction: column; }
.post-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.1rem;
  transition: transform 0.3s ease;
}
.post-card a:hover img { transform: scale(1.015); }
.post-card .post-date {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
/* card titles are h2 on the blog index (directly under the page h1) and
   h3 inside the home/about "Insights" sections (under that section's h2) */
.post-card :is(h2, h3) { font-size: 1.22rem; margin-bottom: 0.5rem; }
.post-card :is(h2, h3) a { color: var(--forest); }
.post-card :is(h2, h3) a:hover { color: var(--ochre); }
.post-card p { color: var(--text-soft); font-size: 0.95rem; }
.theme-forest .post-card h3 a { color: var(--cream); }

/* article page */
.article-header { padding: 170px 0 50px; background: var(--cream); }
.article-header h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 880px; margin-bottom: 1.2rem; }
.article-meta {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.article-meta a { color: var(--ochre); }
.article-header .tagline { color: var(--text-soft); max-width: 720px; }
/* listing section that follows an .article-header (blog index) */
.section-flush { padding-top: 48px; }
.article-featured { max-width: 880px; margin: 40px auto 0; padding: 0 24px; }
.article-featured img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; max-height: 480px; object-fit: cover; }

.article-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.article-body h2, .article-body h3, .article-body h4 { margin: 2.2rem 0 0.9rem; }
.article-body h2 { font-size: 1.7rem; }
.article-body h3 { font-size: 1.35rem; }
.article-body h4 { font-size: 1.1rem; }
.article-body p { margin-bottom: 1.15rem; color: var(--text-soft); }
.article-body ul, .article-body ol { margin: 0 0 1.15rem 1.4rem; color: var(--text-soft); }
.article-body li { margin-bottom: 0.45rem; }
.article-body img { border-radius: var(--radius); margin: 1.6rem 0; }
.article-body blockquote {
  border-left: 3px solid var(--ochre);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
}
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags span {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--forest);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Bio pages
   -------------------------------------------------------------------------- */

.bio-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.bio-side { position: sticky; top: 110px; }
.bio-side img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  margin-bottom: 1.6rem;
}
.bio-side .panel {
  background: #fbfaf5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}
.bio-side .panel h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.7rem;
}
.bio-side .panel p { font-size: 0.93rem; color: var(--text-soft); margin-bottom: 0.6rem; }
.bio-main h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 0.3rem; }
.bio-main .role {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.6rem;
}
.bio-main h2 { font-size: 1.45rem; margin: 2.4rem 0 0.9rem; }
.bio-main p { color: var(--text-soft); margin-bottom: 1.1rem; }
.bio-main ul { margin: 0 0 1.1rem 1.4rem; color: var(--text-soft); }
.bio-main li { margin-bottom: 0.4rem; }

/* --------------------------------------------------------------------------
   Forms (Ask Dr. Amy, join)
   -------------------------------------------------------------------------- */

.form-wrap { max-width: 680px; margin-top: 2.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #fbfaf5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(175, 130, 51, 0.15);
}
/* checkbox row — plain body type instead of the uppercase label styling
   (selector must out-rank .form-group label above) */
.form-group label.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft);
}
.form-check input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--text-faint); margin-top: 1rem; }
.form-success {
  display: none;
  background: rgba(20, 51, 36, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--forest);
}
.form-success h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
/* secondary block under the booking widget on /contact */
.divider-top { border-top: 1px solid var(--border); padding-top: 1.8rem; }
/* embedded Google map on /contact */
.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.map-embed iframe { display: block; border: 0; width: 100%; }

/* --------------------------------------------------------------------------
   CTA band & footer
   -------------------------------------------------------------------------- */

.cta-band { background: var(--forest); text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(239, 236, 223, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; position: relative; }
.cta-band p { color: var(--text-on-dark-soft); max-width: 620px; margin: 0 auto 2rem; position: relative; }
.cta-band .btn { position: relative; }

footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 70px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-about img { height: 74px; width: auto; margin-bottom: 1.2rem; }
.footer-about p { font-size: 0.93rem; color: var(--text-soft); margin-bottom: 0.9rem; }
/* footer column headings are h2 (keeps the outline gap-free); styled as labels */
footer h2 {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.1rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.55rem; }
.footer-nav a { color: var(--text-soft); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--ochre); }
.footer-contact p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 0.5rem; }
.footer-contact p:last-child { margin-top: 1rem; }
.footer-social { display: flex; gap: 14px; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--forest);
  transition: background 0.25s ease, color 0.25s ease;
}
.footer-social a:hover { background: var(--forest); color: var(--cream); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--ochre); }
/* minimal footer variant (404 page) */
.footer-bottom.bare { border-top: none; padding-top: 0; }

/* --------------------------------------------------------------------------
   Page one-offs
   -------------------------------------------------------------------------- */

.not-found { min-height: 70vh; }
p.note { font-size: 0.9rem; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   Small layout/text utilities — use these instead of style="" attributes.
   Kept near the end so they win specificity ties against component rules.
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-sm { font-size: 0.95rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.pt-0 { padding-top: 0; }

/* --------------------------------------------------------------------------
   Scroll reveal — elements are only hidden when scripting is available,
   so content stays visible if JS is disabled or fails to load.
   -------------------------------------------------------------------------- */

@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
}
.reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .post-list { grid-template-columns: repeat(2, 1fr); }
  .split, .split.split-uneven { grid-template-columns: 1fr; gap: 40px; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-side { position: static; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 68px 0; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 20px;
    /* Collapse in place (same max-height pattern as the announce bar) instead
       of sliding the panel up behind the chrome: the navbar's backdrop-filter
       makes it a stacking context, so no z-index can put this menu (its
       descendant) behind the navbar's background — a translateY slide always
       crosses the chrome visibly. Expanding downward never overlaps it.
       visibility goes hidden after the collapse so the closed menu is neither
       visible nor keyboard-focusable. */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s 0.3s;
  }
  .nav-menu.open {
    max-height: 480px;
    padding: 22px 24px 28px;
    visibility: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .post-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn { width: 100%; text-align: center; }
  .hero-actions .btn { width: auto; flex: 1; }
}

/* --------------------------------------------------------------------------
   Squarespace-style shape masks (match the live site)
   Kept last + element-qualified so they beat the generic img radius rules.
   -------------------------------------------------------------------------- */

img.mask-arch {
  /* arched-window: elliptical top (~34% height), square bottom */
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}
img.mask-circle {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
