/* ────────────────────────────────────────────────────────────────
   Beth McCrerie Counselling — shared design tokens
   Palette 3: cool sage / blue-grey / warm beige on cream
   ──────────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg-cream:   #f5f1ea;     /* page bg */
  --bg-shell:   #eef0ee;     /* alt section bg */
  --bg-card:    #faf7f1;     /* cards */
  --bg-deep:    #e3e6e1;     /* deeper accent */
  --bg-ink:     #2b2f2c;     /* almost-black sage ink */

  /* Sage greens */
  --sage-100:   #e3ebe2;
  --sage-200:   #c8d4cf;
  --sage-300:   #a8b8c0;
  --sage-400:   #7a8d8c;
  --sage-500:   #5a6e6b;
  --sage-600:   #3f524f;

  /* Warm beige / clay */
  --clay-100:   #efe7d8;
  --clay-200:   #d8d0c4;
  --clay-300:   #c4b9a6;
  --clay-400:   #a59781;

  /* Soft blush accent (used sparingly) */
  --blush-100:  #f0e1d9;
  --blush-200:  #e2c9bc;

  /* Text */
  --ink:        #2b2f2c;
  --ink-soft:   #4a504c;
  --ink-mute:   #6b716c;
  --ink-faint:  #95998f;

  /* Lines */
  --hairline:   rgba(43,47,44,0.12);
  --hairline-strong: rgba(43,47,44,0.22);

  /* Type scale (for 1280-wide artboards) */
  --t-display:  72px;
  --t-h1:       54px;
  --t-h2:       38px;
  --t-h3:       26px;
  --t-h4:       20px;
  --t-body:     17px;
  --t-small:    14px;
  --t-tiny:     12px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows — gentle */
  --shadow-soft: 0 1px 2px rgba(43,47,44,0.04), 0 8px 28px rgba(43,47,44,0.06);
  --shadow-card: 0 1px 2px rgba(43,47,44,0.05), 0 14px 40px rgba(43,47,44,0.08);

  /* Typography */
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout — overall page width cap. The page is centered and its background
     continues into the gutters on wider screens. Change in one place. */
  --site-max: 1440px;
}

/* Reset within the artboard — these classes are scoped via `.beth-page` */
.beth-page,
.beth-page * {
  box-sizing: border-box;
}
.beth-page {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  max-width: var(--site-max);
  margin-inline: auto;
}
.beth-page p { margin: 0 0 1em 0; }
.beth-page p:last-child { margin-bottom: 0; }
.beth-page h1, .beth-page h2, .beth-page h3, .beth-page h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.beth-page a { color: inherit; text-decoration: none; }
.beth-page button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.beth-page ul { list-style: none; padding: 0; margin: 0; }
.beth-page img { max-width: 100%; display: block; }

/* ── Reusable mini-primitives ─────────────────────────────────── */

.beth-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-500);
  font-weight: 500;
}

.beth-rule {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

/* Soft botanical placeholder — used where real client photos belong.
   Striped texture on tinted sage; monospace caption like the system prompt
   default-aesthetic guidance recommends. */
.beth-photo-slot {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(168,184,192,0.10) 0 6px,
      rgba(168,184,192,0.04) 6px 12px
    ),
    linear-gradient(180deg, var(--sage-100), var(--clay-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.beth-photo-slot::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(95,110,107,0.35);
  border-radius: inherit;
  pointer-events: none;
}

/* Buttons */
.beth-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
/* The .beth-btn.beth-btn--* double-class selectors (specificity 0,2,0) are
   intentional: they must out-specify the `.beth-page button { color: inherit }`
   reset (0,1,1), otherwise button text colours fall back to inherit — which
   makes e.g. the cream hero CTA render cream-on-cream. */
.beth-btn.beth-btn--primary {
  background: var(--sage-600);
  color: var(--bg-cream);
}
.beth-btn--primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}
.beth-btn.beth-btn--ghost {
  background: transparent;
  color: var(--sage-600);
  box-shadow: inset 0 0 0 1px var(--sage-300);
}
.beth-btn--ghost:hover {
  background: var(--sage-100);
}
.beth-btn.beth-btn--cream {
  background: var(--bg-cream);
  color: var(--sage-600);
}
.beth-btn--cream:hover {
  background: #fff;
}
.beth-btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.beth-btn:hover .arrow { transform: translateX(3px); }

/* BACP badge */
.beth-bacp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.beth-bacp__seal {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sage-500);
  color: var(--bg-cream);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.beth-bacp__text {
  display: flex; flex-direction: column; line-height: 1.15;
}
.beth-bacp__text strong { font-size: 12px; font-weight: 600; }
.beth-bacp__text span { font-size: 11px; color: var(--ink-mute); }

/* Soft tag */
.beth-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--sage-100);
  color: var(--sage-600);
  font-size: 13px;
  font-weight: 500;
}
.beth-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage-500);
}

/* Subtle reveal on scroll — applied via IntersectionObserver in the focus
   page only (canvas view doesn't scroll, so reveals stay quiet there). */
.beth-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
}
@media (prefers-reduced-motion: no-preference) {
  .beth-reveal--armed {
    opacity: 0;
    transform: translateY(20px);
  }
}
