:root {
  --oat: #EDE6D8;
  --oat-deep: #E3DAC8;
  --card: #F6F1E7;
  --ink: #2E2A24;
  --ink-soft: #5C554A;
  --moss: #5B6B4E;
  --moss-deep: #46543A;
  --gold: #B98A3F;
  --line: rgba(46, 42, 36, 0.16);
  --focus: #46543A;
  --wanda-body: #7CAF5C;
  --wanda-outline: #4F7A3B;
  --wanda-white: #FFFFFF;
  --wanda-pink: #F1A6A0;
  --wanda-ink: #2E2A24;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--oat);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.4rem 6vw;
  background: rgba(237, 230, 216, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex-shrink: 1;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--moss);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta {
  flex-shrink: 0;
  background: var(--moss);
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--moss);
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .nav-name { font-size: 1rem; }
  .nav { padding: 1.1rem 0 1.1rem 6vw; }
  .nav-links {
    gap: 1.1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-right: 6vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.86rem; white-space: nowrap; }
  .nav-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    margin-right: 0.6rem;
  }
}

section {
  padding: 5.5rem 6vw;
  position: relative;
}

@media (max-width: 720px) {
  section { padding: 3.6rem 7vw; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.9s ease-out forwards;
  }
  .reveal.d1 { animation-delay: 0.05s; }
  .reveal.d2 { animation-delay: 0.2s; }
  .reveal.d3 { animation-delay: 0.35s; }
  .reveal.d4 { animation-delay: 0.5s; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

.branch {
  position: absolute;
  pointer-events: none;
  color: var(--moss);
  z-index: 0;
}
.branch--top {
  top: -4vw;
  right: -3vw;
  width: min(46vw, 520px);
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4vw;
  align-items: center;
  text-align: left;
}

.portrait-col {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 4 / 5;
  border-radius: 46% 54% 58% 42% / 50% 45% 55% 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--oat), inset 0 0 0 3px var(--moss);
  opacity: 0.5;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-frame.small {
  width: min(220px, 60vw);
}

@media (max-width: 720px) {
  .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .portrait-col { order: -1; margin-bottom: 0.5rem; }
  .status { justify-content: center; }
  .hero { min-height: unset; padding-top: 3rem; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

h1 {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2rem;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .btn-row { justify-content: center; }
}

.trust-line {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .trust-line { text-align: center; }
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--moss-deep);
  color: var(--oat);
}
.btn-primary:hover { background: var(--moss); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--moss); color: var(--moss-deep); }

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ---------- Section headings ---------- */
h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0 0 1.6rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moss);
  font-weight: 500;
  margin: 0 0 0.7rem;
}

/* ---------- Cards / about blocks ---------- */
.card-block {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-block p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 1.2rem;
}

.card-block p:last-child { margin-bottom: 0; }

.credential-line {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.credential-line strong { color: var(--ink); font-weight: 500; }

.about-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4vw;
  align-items: center;
}

@media (max-width: 720px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-hero .portrait-col { order: -1; }
}

/* ---------- Specialties ---------- */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.specialty-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
}

.specialty-card .leaf {
  width: 22px;
  height: 22px;
  color: var(--moss);
  margin-bottom: 0.9rem;
}

.specialty-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.specialty-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Fun fact / dark block ---------- */
.funfact {
  background: var(--moss-deep);
  color: var(--oat);
}

.funfact .section-inner { max-width: 700px; }
.funfact .eyebrow { color: var(--gold); }
.funfact h2 { color: var(--oat); }

.funfact p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(237, 230, 216, 0.88);
  margin: 0;
  max-width: 58ch;
}

/* ---------- Contact ---------- */
.contact-section .section-inner { max-width: 620px; }

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 1.05rem;
}

.contact-row span.label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  min-width: 4.2rem;
}

a.contact-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--moss);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.contact-link:hover {
  color: var(--moss-deep);
  border-color: var(--moss-deep);
}

a.contact-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

footer {
  padding: 2rem 6vw 3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.75;
  text-align: center;
}

@media (max-width: 480px) {
  .contact-row { flex-direction: column; gap: 0.2rem; }
  .contact-row span.label { min-width: unset; }
}

/* ---------- Psychology Today / external link ---------- */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Insurance list ---------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
  max-width: 820px;
  margin-top: 1.6rem;
}

.insurance-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.insurance-item svg {
  width: 16px;
  height: 16px;
  color: var(--moss);
  flex-shrink: 0;
}

.insurance-note {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 62ch;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 760px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: 'Work Sans', sans-serif;
  font-size: 1.4rem;
  color: var(--moss);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- Breathing widget ---------- */
.breathe-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0 1rem;
}

.breathe-circle-outer {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  position: relative;
}

.breathe-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oat);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
  transition: transform 4s ease-in-out;
}

.breathe-circle.grow { transform: scale(1.9); }
.breathe-circle.shrink { transform: scale(1); }

.breathe-btn {
  background: var(--moss-deep);
  color: var(--oat);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-size: 0.95rem;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.breathe-btn:hover { background: var(--moss); }
.breathe-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  max-width: 480px;
  margin-top: 1.4rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--oat);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.newsletter-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
  opacity: 0.85;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Resources / blog ---------- */
.resource-controls {
  margin-bottom: 2rem;
}

.resource-search {
  position: relative;
  max-width: 420px;
  margin-bottom: 1.2rem;
}

.resource-search input {
  width: 100%;
  padding: 0.85rem 1.1rem 0.85rem 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
}
.resource-search input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.resource-search svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ink-soft);
  pointer-events: none;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.category-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.category-chip:hover { border-color: var(--moss); color: var(--ink); }
.category-chip.active {
  background: var(--moss-deep);
  color: var(--oat);
  border-color: var(--moss-deep);
}

.resource-empty {
  color: var(--ink-soft);
  padding: 2rem 0;
  text-align: center;
}

/* ---------- Podcast / video ---------- */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}

.episode-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.episode-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(46,42,36,0.1); }

.episode-thumb {
  aspect-ratio: 16 / 9;
  background: var(--moss-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.episode-thumb svg { width: 44px; height: 44px; color: var(--oat); opacity: 0.9; }

.episode-body { padding: 1.1rem 1.2rem 1.3rem; }
.episode-meta {
  font-size: 0.8rem;
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}
.episode-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.episode-desc { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.coming-soon-panel {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}
.coming-soon-panel svg { width: 40px; height: 40px; color: var(--moss); margin-bottom: 1rem; }
.coming-soon-panel h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
}
.coming-soon-panel p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto; }


.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem;
  margin-bottom: 1.4rem;
}

.post-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--moss);
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-card p { color: var(--ink-soft); margin: 0 0 0.8rem; }
.post-card p:last-child { margin-bottom: 0; }

.post-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.5rem 0 0.6rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 620px;
  margin: 0 auto;
  background: var(--moss-deep);
  color: var(--oat);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
  color: rgba(237, 230, 216, 0.92);
}

.cookie-banner button {
  background: var(--oat);
  color: var(--moss-deep);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-banner button:hover { background: var(--gold); color: var(--ink); }

.cookie-banner.hidden { display: none; }

@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mindfulness tool cards ---------- */
.tool-nav-hint {
  text-align: center;
  margin: 0 0 3rem;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.2rem;
  margin-bottom: 2.2rem;
}

.tool-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.tool-card .tool-intro {
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
  max-width: 60ch;
}

.tool-btn {
  background: var(--moss-deep);
  color: var(--oat);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  font-size: 0.94rem;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tool-btn:hover { background: var(--moss); }
.tool-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.tool-btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  font-size: 0.94rem;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
}
.tool-btn-secondary:hover { border-color: var(--moss); color: var(--moss-deep); }

.tool-btn:disabled, .tool-btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tool-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

.tool-prompt {
  background: var(--oat);
  border-radius: 16px;
  padding: 1.6rem;
  text-align: center;
  margin-bottom: 1.4rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-prompt .count {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--moss-deep);
  margin-right: 0.6rem;
}

.tool-prompt .sense-text {
  font-size: 1.1rem;
  color: var(--ink);
}

.tool-progress-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.tool-progress-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.tool-progress-dots span.active { background: var(--moss); }
.tool-progress-dots span.done { background: var(--gold); }

/* Gratitude jar */
.jar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jar-shape {
  width: 220px;
  min-height: 240px;
  background: rgba(91,107,78,0.08);
  border: 2px solid var(--moss);
  border-top: none;
  border-radius: 0 0 26px 26px;
  position: relative;
  margin-top: 18px;
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.4rem;
  overflow-y: auto;
  max-height: 320px;
}

.jar-shape::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -6px;
  right: -6px;
  height: 18px;
  background: var(--moss);
  border-radius: 8px 8px 0 0;
}

.jar-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.jar-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
}

.tool-input-row {
  display: flex;
  gap: 0.7rem;
  max-width: 420px;
  margin: 0 auto 1.4rem;
  flex-wrap: wrap;
}

.tool-input-row input[type="text"],
.tool-input-row textarea {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--oat);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
}
.tool-input-row input:focus-visible,
.tool-input-row textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Body scan */
.scan-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto 1.4rem;
}

.scan-item {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.scan-item.current {
  background: var(--oat);
  border-color: var(--moss);
  color: var(--ink);
  font-weight: 500;
}

.scan-item.done { opacity: 0.5; text-decoration: line-through; }

.scan-instruction {
  text-align: center;
  font-size: 1.05rem;
  color: var(--moss-deep);
  margin-bottom: 1rem;
  min-height: 1.4em;
}

/* Reframe tool */
.reframe-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}
.reframe-summary > div {
  background: var(--oat);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.reframe-summary h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--moss);
  margin: 0 0 0.5rem;
}
.reframe-summary p { margin: 0; color: var(--ink); font-size: 0.95rem; }

@media (max-width: 560px) {
  .reframe-summary { grid-template-columns: 1fr; }
}

/* Intention setter */
.intention-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.intention-chip {
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.intention-chip:hover { border-color: var(--moss); }
.intention-chip.selected { background: var(--moss-deep); color: var(--oat); border-color: var(--moss-deep); }

.intention-banner {
  text-align: center;
  background: var(--moss-deep);
  color: var(--oat);
  border-radius: 16px;
  padding: 1.6rem;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
}

.intention-banner span { color: var(--gold); }

/* ---------- Chat widget ---------- */
.wanda-bubble {
  position: fixed;
  bottom: 9.9rem;
  right: 1.3rem;
  z-index: 59;
  max-width: 232px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1.9rem 0.9rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wanda-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wanda-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 30px;
  width: 16px;
  height: 16px;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.wanda-bubble-text { cursor: pointer; }
.wanda-bubble-text strong { color: var(--wanda-outline); }
.wanda-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.05rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 3px 5px;
}
.wanda-bubble-close:hover { color: var(--ink); }

@media (max-width: 480px) {
  .wanda-bubble { right: 1rem; bottom: 6.5rem; max-width: 200px; font-size: 0.84rem; }
}

.chat-launcher {
  position: fixed;
  bottom: 4.5rem;
  right: 1.5rem;
  z-index: 60;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--oat);
  color: var(--oat);
  border: 3px solid var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  transition: background 0.2s ease, transform 0.15s ease;
}
.chat-launcher:hover { background: var(--card); border-color: var(--gold); transform: scale(1.05); }

.chat-launcher.attention {
  animation: wandaAttention 0.7s ease-in-out 3;
}
@keyframes wandaAttention {
  0%, 100% { transform: translateX(0) rotate(0deg) scale(1); }
  10% { transform: translateX(-5px) rotate(-7deg) scale(1.04); }
  20% { transform: translateX(5px) rotate(7deg) scale(1.04); }
  30% { transform: translateX(-5px) rotate(-7deg) scale(1.04); }
  40% { transform: translateX(5px) rotate(6deg) scale(1.03); }
  50% { transform: translateX(-3px) rotate(-4deg) scale(1.02); }
  60% { transform: translateX(3px) rotate(4deg) scale(1.02); }
  75%, 100% { transform: translateX(0) rotate(0deg) scale(1); }
}
.chat-launcher svg { width: 42px; height: 42px; }

.chat-panel {
  position: fixed;
  bottom: 9.5rem;
  right: 1.5rem;
  z-index: 60;
  width: min(420px, calc(100vw - 2rem));
  height: min(640px, calc(100vh - 10rem));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }

.chat-header {
  background: var(--moss-deep);
  color: var(--oat);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header .title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.02rem;
}
.chat-header .sub { font-size: 0.75rem; opacity: 0.8; display: block; margin-top: 0.1rem; }
.chat-close {
  background: none;
  border: none;
  color: var(--oat);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--oat-deep);
}

.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(46,42,36,0.08);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--moss-deep);
  color: var(--oat);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.bot a { color: var(--moss-deep); font-weight: 600; text-decoration: underline; }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.8rem;
  background: var(--oat-deep);
  flex-shrink: 0;
}
.chat-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.chat-chip:hover { border-color: var(--moss); color: var(--ink); }

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  background: var(--card);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--oat);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
}
.chat-input-row input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.chat-send {
  background: var(--moss-deep);
  color: var(--oat);
  border: none;
  border-radius: 999px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.chat-send:hover { background: var(--moss); }

.chat-disclaimer {
  font-size: 0.68rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.4rem 0.8rem 0.7rem;
  background: var(--card);
  opacity: 0.8;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .chat-panel {
    right: 0.6rem;
    left: 0.6rem;
    bottom: 8.6rem;
    width: auto;
    height: min(72vh, calc(100vh - 9.5rem));
  }
  .chat-launcher { right: 1.2rem; bottom: 4.2rem; }
}

/* ---------- Sprout mascot ---------- */
.sprout-bob {
  animation: sproutBob 3.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sproutBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-3deg); }
}

.sprout-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: sproutBlink 4.5s ease-in-out infinite;
}
.sprout-eye.eye-r { animation-delay: 0.05s; }
@keyframes sproutBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.15); }
}

.sprout-arm {
  transform-box: view-box;
  transform-origin: 70px 52px;
  animation: sproutWave 5s ease-in-out infinite;
}
@keyframes sproutWave {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-22deg); }
  86% { transform: rotate(6deg); }
  90% { transform: rotate(-18deg); }
  94% { transform: rotate(4deg); }
  97% { transform: rotate(0deg); }
}

.chat-launcher .sprout-bob { animation-duration: 2.6s; }
.chat-launcher:hover .sprout-bob { animation-duration: 0.9s; }
.chat-launcher .sprout-arm { animation-duration: 2.4s; }
.chat-launcher:hover .sprout-arm { animation-duration: 0.7s; }

.chat-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat-avatar svg { width: 30px; height: 30px; }

.chat-header .chat-avatar {
  background: var(--oat);
  border: 2px solid var(--gold);
}

.chat-header-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chat-msg-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  max-width: 92%;
}
.chat-msg-row.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-row.bot { align-self: flex-start; }

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(46,42,36,0.08);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  animation: typingDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}



