/* =========================================================
   Greenberg Acupuncture Chiropractic
   Design system — jade, sand, ink
   ========================================================= */

:root {
  --jade-900: #0e3b36;
  --jade-800: #11463f;
  --jade-700: #166b60;
  --jade-600: #1f8577;
  --jade-500: #2f9e8d;
  --jade-300: #8cc9bd;
  --jade-100: #dcefea;
  --jade-050: #f0f8f6;

  /* rust / terracotta accent */
  --rust-700: #9b4f31;
  --rust-600: #b8613f;
  --rust-500: #cb7550;
  --rust-200: #eccbb9;
  --rust-100: #f9ece3;

  --clay-600: var(--rust-600);
  --clay-500: var(--rust-500);
  --clay-100: var(--rust-100);

  --sand-050: #fcfaf6;
  --sand-100: #f6f1e8;
  --sand-200: #ece4d6;

  --ink-900: #16211f;
  --ink-700: #33423f;
  --ink-500: #5d6d69;
  --ink-300: #93a39f;

  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(14, 59, 54, .06);
  --shadow: 0 14px 40px -18px rgba(14, 59, 54, .28);
  --shadow-lg: 0 34px 70px -30px rgba(14, 59, 54, .38);

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------------- Base ---------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--sand-050);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--jade-900);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .55em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.06rem + .6vw, 1.5rem); }
h4 { font-size: 1.07rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--jade-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jade-600); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

strong { color: var(--jade-900); font-weight: 650; }

hr {
  border: 0;
  border-top: 1px solid var(--sand-200);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 3px solid var(--jade-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--jade-900);
  color: var(--white);
  padding: .8rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------------- Layout helpers ---------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

section { position: relative; }

.section {
  padding-block: clamp(3.4rem, 2rem + 6vw, 6.5rem);
}

.section--tight { padding-block: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }

.section--sand { background: var(--sand-100); }
.section--mint { background: var(--jade-050); }
.section--dark {
  background: var(--jade-900);
  color: var(--jade-100);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark a { color: var(--jade-300); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 1.3rem + 2vw, 3.2rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jade-600);
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--jade-300); }
.eyebrow--rust { color: var(--rust-600); }

.lede {
  font-size: clamp(1.07rem, 1rem + .4vw, 1.25rem);
  color: var(--ink-500);
  line-height: 1.65;
}
.section--dark .lede { color: var(--jade-100); opacity: .9; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 650;
  line-height: 1;
  padding: 1.02rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--jade-700);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--jade-600); color: var(--white); }

.btn--clay,
.btn--rust {
  background: var(--rust-600);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--clay:hover,
.btn--rust:hover { background: var(--rust-500); color: var(--white); }

/* deep green pill — used instead of black */
.btn--deep {
  background: var(--jade-900);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn--deep:hover { background: var(--jade-800); color: var(--white); }

.btn--rust-ghost {
  background: var(--white);
  border-color: var(--rust-200);
  color: var(--rust-700);
}
.btn--rust-ghost:hover { background: var(--rust-100); border-color: var(--rust-600); color: var(--rust-700); }

.btn--sm { padding: .72rem 1.25rem; font-size: .88rem; }

.btn--ghost {
  background: transparent;
  border-color: var(--jade-300);
  color: var(--jade-800);
}
.btn--ghost:hover { background: var(--jade-050); border-color: var(--jade-600); color: var(--jade-800); }

.section--dark .btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
}
.section--dark .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

.btn--light { background: var(--white); color: var(--jade-900); }
.btn--light:hover { background: var(--jade-050); color: var(--jade-900); }

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.9rem;
}
.btn-row--center { justify-content: center; }

/* ---------------- Header / nav ---------------- */

.topbar {
  background: var(--jade-900);
  color: var(--jade-100);
  font-size: .85rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem 1.6rem;
  padding-block: .6rem;
  text-align: center;
}
.topbar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.topbar a:hover { color: var(--jade-300); text-decoration: underline; }
.topbar span { opacity: .85; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 246, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--sand-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  color: var(--jade-900);
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--jade-700);
  color: var(--white);
  display: grid;
  place-items: center;
}
.brand__mark svg { width: 24px; height: 24px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.brand__tag {
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--jade-600);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__list a {
  position: relative;
  font-size: .95rem;
  font-weight: 550;
  color: var(--ink-700);
  text-decoration: none;
  padding-block: .3rem;
}
.nav__list a:hover { color: var(--jade-700); }
.nav__list a[aria-current="page"] { color: var(--jade-800); font-weight: 650; }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--jade-500);
}

.nav__cta { white-space: nowrap; padding: .78rem 1.3rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--sand-200);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--jade-900);
  border-radius: 2px;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--jade-900);
  border-radius: 2px;
  transition: transform .22s ease, top .22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand-050);
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow);
    padding: .6rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list a {
    display: block;
    padding: .95rem .2rem;
    border-bottom: 1px solid var(--sand-200);
    font-size: 1.02rem;
  }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav__cta { margin-top: 1.1rem; }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 480px at 92% -12%, rgba(184, 97, 63, .09), transparent 64%),
    radial-gradient(640px 460px at 2% 104%, rgba(47, 158, 141, .09), transparent 62%),
    var(--white);
  padding-block: clamp(2.6rem, 1.6rem + 5vw, 5rem) clamp(3rem, 1.8rem + 5vw, 5.4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.hero__title { margin-bottom: .4em; }
.hero__title .accent {
  display: block;
  color: var(--rust-600);
}

/* phone shown beside / under the hero call button */
.hero__phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  font-weight: 650;
  color: var(--rust-700);
  text-decoration: none;
  letter-spacing: -.01em;
}
.hero__phone:hover { color: var(--rust-600); text-decoration: underline; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
  margin-top: 1.8rem;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 1.5rem 0 0;
  font-size: .86rem;
  font-weight: 650;
  color: var(--rust-700);
  background: var(--rust-100);
  border: 1px solid var(--rust-200);
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 1px solid var(--jade-100);
  color: var(--jade-800);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero__pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade-500);
}

.hero__lede {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem);
  color: var(--ink-500);
  max-width: 44ch;
}

.hero__methods {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.1rem;
  padding: 0;
  list-style: none;
}
.hero__methods li {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--jade-800);
  background: var(--jade-050);
  border: 1px solid var(--jade-100);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
}

.hero__media {
  position: relative;
  margin: 0;
  max-width: 400px;
  margin-inline-start: auto;
}
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--sand-200);
}
.hero__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
}

.hero__caption {
  margin-top: .85rem;
  font-size: .88rem;
  color: var(--ink-500);
  text-align: center;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 360px; margin-inline: auto; width: 100%; }
}

/* ---------------- Marquee / trust strip ---------------- */

.strip {
  background: var(--jade-900);
  color: var(--jade-100);
  padding-block: 1.4rem;
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.strip__list li {
  margin: 0;
  font-size: .9rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.strip__list strong { color: var(--white); }
.strip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade-500);
  flex: none;
}

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

.grid {
  display: grid;
  gap: clamp(1.1rem, .7rem + 1.4vw, 1.85rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + .8vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--jade-100);
}

.card__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--jade-050);
  color: var(--jade-700);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 1.1rem;
  border: 1px solid var(--jade-100);
}

.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-500); font-size: .98rem; }

.card__top {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.1rem;
}
.card__top .card__num { margin-bottom: 0; }
.card__thumb {
  flex: none;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--sand-200);
  background: var(--sand-200);
  display: block;
}

.card--flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--flush .card__body { padding: clamp(1.35rem, 1.1rem + .6vw, 1.8rem); flex: 1; }
.card__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--sand-200);
}

.season-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust-600);
  margin-bottom: .6rem;
}

/* ---------------- Short-form card: picture, one line, one sentence, Read more ---------------- */

.card__lead {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--jade-900);
  margin-bottom: .45rem;
}
.card__lead em,
.card__lead .accent { color: var(--rust-600); font-style: normal; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  font-size: .9rem;
  font-weight: 650;
  color: var(--rust-700);
  text-decoration: none;
}
.read-more::after { content: "\2192"; transition: transform .18s ease; }
.read-more:hover { color: var(--rust-600); text-decoration: underline; }
.read-more:hover::after { transform: translateX(3px); }

/* Horizontal short block — picture to one side, trimmed copy beside it */
.media-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(1.2rem, .9rem + 1.6vw, 2.2rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-left: 4px solid var(--rust-600);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 1rem + 1vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.media-row__img {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--sand-200);
}
.media-row p { color: var(--ink-500); font-size: .98rem; margin-bottom: 0; }
@media (max-width: 720px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row__img { margin-inline: auto; }
}

/* ---------------- Seasonal cards: 4 across / 2x2 tablet / 1 on phone ---------------- */

.grid--seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .grid--seasons { grid-template-columns: 1fr; } }

.season-card { display: flex; flex-direction: column; }
.season-card .card__body { display: flex; flex-direction: column; flex: 1; }
.season-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.season-card p { flex: 1; }
.season-card .btn { margin-top: 1.1rem; width: 100%; }

/* ---------------- Health library ---------------- */

.lib-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.6rem;
  margin-bottom: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
}

.lib-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lib-filters li { margin: 0; }
.lib-filter {
  font-family: inherit;
  font-size: .86rem;
  font-weight: 650;
  color: var(--jade-800);
  background: var(--white);
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-pill);
  padding: .55rem 1.05rem;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.lib-filter:hover { border-color: var(--rust-600); color: var(--rust-700); }
.lib-filter[aria-pressed="true"] {
  background: var(--rust-600);
  border-color: var(--rust-600);
  color: var(--white);
}

.lib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 920px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lib-grid { grid-template-columns: 1fr; } }

.lib-card { display: flex; flex-direction: column; }
.lib-card[hidden] { display: none; }
.lib-card .card__body { display: flex; flex-direction: column; flex: 1; }
.lib-card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.lib-card > img { height: 140px; }

.lib-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rust-700);
  background: var(--rust-100);
  border: 1px solid var(--rust-200);
  border-radius: var(--radius-pill);
  padding: .22rem .7rem;
  margin-bottom: .7rem;
}

.lib-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .9rem;
  margin-top: auto;
  padding-top: 1rem;
}

.lib-more { margin: 0; }
.lib-more > summary {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 650;
  color: var(--rust-700);
  cursor: pointer;
  list-style: none;
}
.lib-more > summary::-webkit-details-marker { display: none; }
.lib-more > summary::after { content: "\2192"; }
.lib-more[open] > summary::after { content: "\2191"; }
.lib-more > summary:hover { color: var(--rust-600); text-decoration: underline; }
.lib-more > p {
  margin: .85rem 0 0;
  font-size: .94rem;
  color: var(--ink-500);
  border-top: 1px solid var(--sand-200);
  padding-top: .85rem;
}

.lib-empty {
  display: none;
  margin-top: 1.6rem;
  color: var(--ink-500);
}
.lib-empty.is-visible { display: block; }

/* ---------------- Small review cards ---------------- */

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.review-card__stars {
  color: var(--rust-500);
  font-size: .95rem;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.review-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--jade-900);
  margin: 0 0 .5rem;
  line-height: 1.3;
}
.review-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: .95rem;
  color: var(--ink-500);
  line-height: 1.65;
}
.review-card blockquote p { margin: 0; }
.review-card__cite {
  display: block;
  margin-top: .9rem;
  font-style: normal;
  font-size: .86rem;
  font-weight: 650;
  color: var(--jade-700);
}

/* ---------------- Yin-yang emblem (AcuCalm) ---------------- */

.yinyang {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--jade-050), var(--jade-100));
  border: 1px solid var(--jade-100);
  box-shadow: var(--shadow);
  color: var(--jade-700);
}
.yinyang svg { width: 62%; height: auto; display: block; }

/* Card-sized emblem that sits in a .card__top row next to the badge and thumbnail. */
.yinyang--chip {
  flex: none;
  width: 48px;
  height: 48px;
  max-width: none;
  margin-inline: 0;
}
/* Terracotta variant (AcuCalm card on the home page). */
.yinyang--rust {
  color: var(--rust-600);
  background: radial-gradient(circle at 50% 50%, var(--rust-100), var(--rust-200));
  border-color: var(--rust-200);
}

/* ---------------- Background music toggle ---------------- */

.music-toggle {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 150;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--rust-600);
  color: var(--white);
  box-shadow: 0 8px 22px -8px rgba(155, 79, 49, .7);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.music-toggle:hover { background: var(--rust-500); transform: translateY(-2px); }
.music-toggle svg { width: 19px; height: 19px; display: block; }
.music-toggle .music-toggle__pause { display: none; }
.music-toggle[aria-pressed="true"] .music-toggle__pause { display: block; }
.music-toggle[aria-pressed="true"] .music-toggle__play { display: none; }

@media (min-width: 600px) {
  .music-toggle { left: 1.4rem; bottom: 1.4rem; width: 52px; height: 52px; }
  .music-toggle svg { width: 21px; height: 21px; }
}

/* Condition chips */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem;
  font-size: .97rem;
  font-weight: 550;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.chips li::before {
  content: "";
  flex: none;
  margin-top: .42rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jade-500);
  box-shadow: 0 0 0 3px var(--jade-100);
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.2rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  /* keep photography modest — no big full-width photos */
  max-width: 420px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--sand-200);
  object-fit: cover;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .8rem;
  font-size: 1rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--jade-500);
  border-bottom: 2.5px solid var(--jade-500);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* ---------------- Quote / testimonial ---------------- */

.quote {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 1.3rem + 2vw, 3.2rem);
  box-shadow: var(--shadow);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: clamp(.2rem, -.2rem + 1.4vw, .8rem);
  left: clamp(1.1rem, .8rem + 1vw, 2rem);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--jade-100);
  pointer-events: none;
}
.quote__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  color: var(--jade-900);
  margin: 0 0 .8rem;
}
.quote__body {
  position: relative;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.14rem);
  color: var(--ink-700);
  line-height: 1.75;
}
.quote__cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-weight: 650;
  color: var(--jade-700);
  font-size: .95rem;
  letter-spacing: .02em;
}
.quote__stars {
  display: flex;
  gap: .25rem;
  margin-bottom: 1rem;
  color: var(--clay-500);
  font-size: 1.05rem;
  letter-spacing: .12em;
}

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.6rem, 1rem + 3vw, 3.4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--sand-200);
  margin: 0;
}
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--jade-050);
  border: 1px solid var(--jade-100);
  display: grid;
  place-items: center;
  color: var(--jade-700);
}
.info-list__icon svg { width: 20px; height: 20px; }
.info-list dt,
.info-list__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: .18rem;
}
.info-list__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--jade-900);
}
.info-list__value a { color: var(--jade-900); text-decoration: none; }
.info-list__value a:hover { color: var(--jade-600); text-decoration: underline; }
.info-list__note { font-size: .9rem; color: var(--ink-500); margin-top: .2rem; }

/* ---------------- Forms ---------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .85rem;
  font-weight: 650;
  color: var(--jade-900);
  margin-bottom: .42rem;
  letter-spacing: .01em;
}
.field .req { color: var(--clay-600); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--sand-050);
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--jade-700) 50%), linear-gradient(135deg, var(--jade-700) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--jade-500);
  box-shadow: 0 0 0 4px var(--jade-100);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }

.form-note {
  font-size: .86rem;
  color: var(--ink-500);
  margin-top: 1rem;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: .85rem;
  background: var(--jade-050);
  border: 1.5px solid var(--jade-300);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.6rem;
  color: var(--jade-900);
}
.form-status.is-visible { display: flex; }
.form-status.is-error {
  background: var(--clay-100);
  border-color: var(--clay-500);
  color: #7a3a1d;
}
.form-status__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--jade-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 700;
  margin-top: .1rem;
}
.form-status.is-error .form-status__icon { background: var(--clay-600); }
.form-status strong { display: block; margin-bottom: .1rem; }
.form-status p { margin: 0; font-size: .94rem; }

/* ---------------- CTA band ---------------- */

.cta-band {
  background:
    radial-gradient(700px 400px at 12% 0%, rgba(47, 158, 141, .3), transparent 65%),
    var(--jade-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.1rem, 1.4rem + 3vw, 3.8rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band p {
  color: var(--jade-100);
  max-width: 56ch;
  margin-inline: auto;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem);
}
/* Inline (non-button) phone links sit on the dark green band, where the global
   jade link colour is unreadable. Keep them white and underlined in every state. */
.cta-band a[href^="tel:"]:not(.btn) {
  color: var(--white);
  text-decoration: underline;
}
.cta-band a[href^="tel:"]:not(.btn):hover,
.cta-band a[href^="tel:"]:not(.btn):focus,
.cta-band a[href^="tel:"]:not(.btn):focus-visible {
  color: var(--white);
  text-decoration: underline;
}
/* Ghost buttons default to dark jade text/border — invisible on the dark band. */
.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
}
.cta-band .btn--ghost:hover,
.cta-band .btn--ghost:focus,
.cta-band .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
  color: var(--white);
}

/* ---------------- Page header (interior) ---------------- */

.page-head {
  background:
    radial-gradient(700px 420px at 85% -20%, rgba(47, 158, 141, .18), transparent 60%),
    var(--sand-100);
  padding-block: clamp(2.6rem, 1.8rem + 4vw, 5rem);
  border-bottom: 1px solid var(--sand-200);
}
.page-head p.lede { max-width: 62ch; }

.breadcrumb {
  font-size: .82rem;
  color: var(--ink-500);
  margin-bottom: 1.1rem;
  letter-spacing: .04em;
}
.breadcrumb a { color: var(--jade-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--ink-300); margin-inline: .45rem; }

/* ---------------- Prose blocks ---------------- */

.prose h3 { margin-top: 2.2rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; }
.prose li { color: var(--ink-700); }

.note-box {
  background: var(--jade-050);
  border-left: 4px solid var(--jade-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.6rem;
  margin: 1.8rem 0;
}
.note-box p { margin-bottom: .7rem; }
.note-box p:last-child { margin-bottom: 0; }

/* Research callout with image */
.research {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-left: 4px solid var(--rust-600);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.research__img {
  width: 100%;
  max-width: 190px;
  border-radius: var(--radius-sm);
  background: var(--jade-900);
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.research h3 { margin-bottom: .6rem; }
.research p { color: var(--ink-500); font-size: .98rem; }
@media (max-width: 720px) {
  .research { grid-template-columns: 1fr; }
  .research__img { margin-inline: auto; }
}

.meridian-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.meridian-list li {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.meridian-list b { color: var(--jade-800); }

/* ---------------- Review callout ---------------- */

.review-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  background: var(--white);
  border: 2px dashed var(--rust-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem);
  margin-top: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
}
.review-callout h3 { margin-bottom: .3rem; }
.review-callout p { margin: 0; color: var(--ink-500); font-size: .98rem; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--jade-900);
  color: var(--jade-100);
  padding-block: clamp(2.8rem, 2rem + 3vw, 4.2rem) 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(1.8rem, 1.2rem + 2vw, 3rem);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  color: var(--jade-300);
}
.site-footer p { font-size: .94rem; opacity: .86; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .68rem; }
.site-footer a {
  color: var(--jade-100);
  text-decoration: none;
  font-size: .95rem;
}
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  color: var(--white);
  text-decoration: none;
}
.footer-brand .brand__mark { background: var(--jade-600); }
.footer-brand .brand__name { color: var(--white); font-size: 1.1rem; }
.footer-brand .brand__tag { color: var(--jade-300); }

.footer-review {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--clay-600);
  color: var(--white) !important;
  font-weight: 650;
  font-size: .92rem !important;
  padding: .78rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  margin-top: .3rem;
  transition: background-color .18s ease, transform .18s ease;
}
.footer-review:hover { background: var(--clay-500); transform: translateY(-2px); }

.footer-social {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: var(--white) !important;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--jade-600); transform: translateY(-2px); }
.footer-social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

.footer-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  color: var(--white) !important;
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}

.footer-bottom {
  margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 1.5rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  opacity: .78;
}
.footer-bottom p { margin: 0; font-size: .84rem; }
.footer-credit { max-width: 62ch; line-height: 1.6; }

/* ---------------- Utilities ---------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------------- Office door watercolor crop ---------------- */
/* The lower strip of /images/source/02-image3.jpg (640 x 876) carries the old street
   numbers painted on the doormat. These wrappers clip that strip with overflow:hidden,
   keeping the door, the sign and the artwork above the numbers visible. */
.door-crop {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.door-crop > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Standalone: show the top 80% of the watercolor (640 x 876 -> 640 x 700). */
.door-crop--full { aspect-ratio: 640 / 700; }

.split__media .door-crop {
  max-width: 420px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Inside a flush card the watercolor keeps the same fixed band as its neighbours; the
   band is taken from the upper part of the artwork so no doormat number can show. */
.card__img.door-crop > img { transform: translateY(-20%); }

/* ---------------- Framed client photo (screenshot source) ---------------- */
/* The supplied scalp file is a screenshot: this frame shows only the rounded photo
   inside it (source window x 34..926, y 91..681 of 1091 x 895) and clips the white
   margins and the page fragments below it. */
.shot-frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--sand-200);
}
.shot-frame > img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  top: 50%;
}
.shot-frame--scalp > img {
  width: 122.31%;      /* 1091 / 892 */
  left: -3.81%;        /* -34 / 892 */
  margin-top: -43.27%; /* centres the photo window (source y 91..681) in the band */
}
.lib-card > .shot-frame { height: 140px; }

/* The supplied AcuCalm resting photo is also a screenshot: the rounded photo sits at
   source x 40..243, y 23..226 of 288 x 261. This frame shows only that square window
   and clips the white margins around it. */
.shot-frame--resting {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.shot-frame--resting > img {
  width: 141.18%;      /* 288 / 204 */
  left: -19.61%;       /* -40 / 204 */
  margin-top: -61.03%; /* centres the photo window (source y 23..226) in the frame */
}

/* Same screenshot as a 72px square card thumbnail: the photo window is scaled to
   cover the square, so only the hands-on-head photograph shows. */
.shot-frame--thumb {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--sand-200);
}
.shot-frame--scalp.shot-frame--thumb > img {
  width: 195.2%;
  left: -35.9%;
  margin-top: -69%;
}

/* ---------------- Small supporting photo inside a card ---------------- */
.card__photo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 0 0 1.1rem;
}
