/* ============================================================
   Basecamp, public visual system
   Mobile-first. Calm, premium, editorial. Warm cream + ink,
   a single sharp vermilion accent used sparingly.

   Tokens: ink + accent come from site_settings (via the inline
   :root in base.html → --color-primary / --color-accent), so a
   rebrand stays one settings edit. The warm supporting palette
   is derived here as defaults.
   ============================================================ */

:root {
  --ink:        var(--color-primary, #382C22);  /* espresso: headings, body dark */
  --ink-deep:   #2B2219;                           /* deep brown: dark sections/footer */
  --ink-2:      #5A4C3E;                          /* secondary text */
  --cream:      #F7F1E7;                           /* page background */
  --cream-2:    #FDFAF4;                           /* alt sections / cards */
  --accent:     var(--color-accent, #F15021);     /* Basecamp orange, sparing */
  --accent-deep:#D33F13;                           /* hover / small text on light */
  --muted:      #7C6F5D;                            /* captions */
  --faint:      #9C9184;                           /* fine print */
  --hairline:   rgba(56, 44, 34, 0.12);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 64rem;      /* section width */
  --measure: 60ch;    /* comfortable body measure */
  --radius: 3px;      /* squared buttons */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
a { color: var(--accent); }
strong { color: var(--ink); }
/* Single inline accent emphasis in authored copy: <span class="accent">…</span>. */
.accent { color: var(--accent); }

/* --- Utilities --------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 1rem;
}
/* The recurring "un-" signature: "un" in accent, the rest in ink (cream on dark). */
.eyebrow.un-signature { color: var(--ink); }
.eyebrow .eb-un { color: var(--accent); }
.image-text-block.dark .eyebrow.un-signature { color: var(--cream); }

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  margin: 0.35rem 0.6rem 0.35rem 0;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-accent { background: var(--accent); color: var(--cream); }
/* Neutral lift on hover — no vermilion glow (it read as a stray red smudge). */
.btn-primary:hover, .btn-accent:hover { background: var(--accent-deep); box-shadow: 0 6px 18px rgba(56, 44, 34, 0.12); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { box-shadow: 0 8px 22px rgba(56, 44, 34, .22); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--ink); }

/* --- Header (sticky site-wide) ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--hairline);
  background: var(--cream);
  box-shadow: 0 2px 12px rgba(56, 44, 34, .05);
}
.site-header-inner {
  max-width: var(--maxw); margin: 0 auto;
  /* Extra vertical padding gives the two-line lockup balanced breathing room. */
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 1.25rem;
}
/* Logo lockup: wordmark + descriptor, kept together. The wordmark is the site's
   anchor — clearly larger than the nav links; the descriptor spans ~its width. */
.wordmark-lockup { display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 0.42rem; text-decoration: none; line-height: 1; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 2.1rem;
  letter-spacing: -0.02em; text-transform: lowercase; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.wordmark .wm-accent { color: inherit; }
.wordmark-descriptor {
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; line-height: 1;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
/* --- Basecamp logo lockup (Fraunces serif + orange swash) --- */
/* One scale knob per context via font-size on .bc-logo; the swash and tagline
   are sized in em so they track the wordmark and the swash stays a clean taper
   at any size (it is a thin crescent, not a filled blob). */
.bc-logo { display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 0.5em; text-decoration: none; line-height: 1; font-size: 1.7rem; }
.bc-mark { position: relative; display: inline-block; line-height: 1; }
.bc-word { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); line-height: 1; }
.bc-flourish { position: absolute; left: -0.62em; bottom: -0.12em; width: 1.3em; height: 0.86em;
  pointer-events: none; overflow: visible; }
.bc-flourish path { fill: var(--accent); }
.bc-tag { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); font-size: 0.42em; padding-left: 0.3em; white-space: nowrap; }
/* Reversed on dark backgrounds (footer, PPC footer): cream wordmark; swash and
   tagline stay orange. */
.bc-logo--rev .bc-word, .ppc-footer .bc-logo .bc-word { color: var(--cream); }
.sf-brand .bc-logo, .ppc-footer .bc-logo { font-size: 1.5rem; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 600;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-header .btn { margin: 0; }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }

/* --- Sections / blocks -------------------------------------- */
.block { padding: 3.25rem 1.25rem; }
.block-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.block h2 { max-width: 18ch; }

/* alternating warmth + dark sections */
.hero-block { background: var(--cream-2); }
.richtext-block { background: var(--cream); }
.faq-block { background: var(--cream-2); }
.steps-block { background: var(--cream); }
.lead-form-block { background: var(--cream-2); }
.clinician-grid-block { background: var(--cream); }

/* --- Hero --------------------------------------------------- */
/* Tall, vertically centred, with a large headline that commands the fold. */
.hero-block {
  display: grid; align-content: center;
  min-height: min(76vh, 660px);
  padding-top: clamp(3.5rem, 8vh, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
}
.hero-block h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02; max-width: 18ch; margin-bottom: 0.45em;
}
/* One-two hero second beat: a deliberate "moment", not a subhead. Rust rule
   left of warm-ink display text; the border spans the block so it stays
   aligned when the line wraps on mobile. */
.hero-second {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 2.3vw, 23px); line-height: 1.35;
  color: var(--ink); border-left: 3px solid var(--accent);
  padding-left: 0.9rem; margin: 1.1rem 0 1.4rem; max-width: 34ch;
}
/* Two-column hero with an editorial portrait on the right. */
.hero-block.has-photo { min-height: 0; padding-top: clamp(2.5rem, 6vh, 4.5rem); padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-block.has-photo h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.hero-figure { margin: 0; }
.hero-photo { position: relative; max-width: 340px; }
.hero-photo::before {
  content: ""; position: absolute; right: -14px; bottom: -14px;
  width: 62%; height: 68%; background: var(--accent); border-radius: 3px; z-index: 0;
}
.hero-photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 3px; display: block; box-shadow: 0 18px 42px rgba(56, 44, 34, .18);
}
.hero-figure figcaption { margin: 1.1rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.hero-block .subhead {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink-2); max-width: var(--measure); margin: 0 0 1rem;
}
/* Darker than --muted so the sub-text stays readable on bright mobile screens. */
.hero-block .intro { font-size: 1.15rem; color: #5A4C3E; max-width: 56ch; margin: 0 0 1.9rem; }
.cta-row { margin: 0.5rem 0 0; }
.trust-line {
  margin: 1.75rem 0 0; font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.cta-note { margin: 1rem 0 0; font-size: 0.95rem; }
.cta-note a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cta-note a:hover { text-decoration: underline; }

/* --- Richtext / prose -------------------------------------- */
.prose { max-width: var(--measure); font-size: 1.12rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.5rem; }
.prose a { text-underline-offset: 2px; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; }

/* --- Steps -------------------------------------------------- */
.steps-block .eyebrow + h2 { margin-bottom: 2rem; }
ol.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 2.25rem;
}
ol.steps li { counter-increment: step; }
ol.steps li::before {
  content: counter(step);
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 3.25rem; line-height: 1; color: var(--accent); margin-bottom: 0.6rem;
}
ol.steps h3 { margin: 0 0 0.35rem; }
ol.steps p { color: var(--muted); margin: 0; }

/* --- CTA band (dark) --------------------------------------- */
/* A little more air toward the foot of the page — the guard easing down. */
.cta-band { background: var(--ink-deep); color: var(--cream); text-align: center; padding: 5rem 1.25rem; }
.cta-band h2 { color: var(--cream); margin: 0 auto 0.6rem; max-width: 20ch; }
.cta-band p { color: rgba(247, 241, 231, .82); max-width: 46ch; margin: 0 auto 1.75rem; }
/* Secondary CTA reads on the dark band (the default btn-secondary is dark-on-light). */
.cta-band .btn-secondary { color: var(--cream); border-color: rgba(247, 241, 231, .4); background: transparent; }
.cta-band .btn-secondary:hover { border-color: var(--cream); }
/* Compact inline variant for a mid-article CTA inside a narrow post column. */
.cta-band--inline { padding: 2rem 1.5rem; border-radius: 12px; margin: 2.75rem 0; }
.cta-band--inline h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.cta-band--inline p { margin-bottom: 1.2rem; }

/* --- Pull quote -------------------------------------------- */
.pull-quote-block { background: var(--cream); padding-top: 5rem; padding-bottom: 5rem; }
.pull-quote-block blockquote {
  margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--accent); max-width: 24ch;
}
.pull-quote-block cite { display: block; margin-top: 1rem; padding-left: 1.5rem; font-style: normal; color: var(--ink-2); font-weight: 600; }

/* --- Image + text ------------------------------------------ */
.image-text { display: flex; flex-direction: column; gap: 1.5rem; }
.it-image { max-width: 360px; }
.it-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 14px 34px rgba(56, 44, 34, .1); }
.image-text-block.dark { background: var(--ink-deep); color: var(--cream); }
.image-text-block.dark h2 { color: var(--cream); }
.image-text-block.dark .prose { color: rgba(247, 241, 231, .85); }
/* Opening lead quote (e.g. Jordan's words on About) — set slightly apart. */
.lead-quote { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--ink);
  font-weight: 500; border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 0 0 1.75rem; }

/* --- FAQ (accordion) --------------------------------------- */
/* Native <details>/<summary>: answers ship in the HTML, collapsed by CSS,
   revealed on click. Keyboard-operable and crawlable without JS. */
.faq { margin: 0; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; padding: 1.25rem 0; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--ink); margin: 0; }
.faq-q::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 400;
  font-size: 1.7rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq-a { margin: 0; padding: 0 0 1.4rem; color: var(--muted); max-width: var(--measure); }
@media (prefers-reduced-motion: reduce) { .faq-q::after { transition: none; } }

/* --- Clinician grid ---------------------------------------- */
.clinician-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2rem; }
.clinician-card { background: var(--cream-2); border: 1px solid var(--hairline); border-radius: 8px; padding: 1.25rem; }
.clinician-card img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 0.9rem; }
.clinician-card h3 { margin: 0 0 0.2rem; }
.clinician-card h3 a { color: var(--ink); text-decoration: none; }
.clinician-card .clinician-title { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.9rem; }

/* --- Lead form (two-column: intro + prominent form) -------- */
.lead-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.lead-intro .lead-sub { font-size: 1.12rem; color: var(--ink-2); max-width: 42ch; }
.lead-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.lead-points li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.lead-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.lead-form-wrap { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 1.6rem; box-shadow: 0 10px 30px rgba(56, 44, 34, .07); }

.lead-form { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; }
.lead-form label { display: flex; flex-direction: column; font-weight: 600; gap: 0.3rem; color: var(--ink); }
.lead-form input, .lead-form textarea {
  padding: 0.7rem 0.8rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--ink);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(241, 80, 33, .15); }
.lead-form .privacy { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.lead-form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Blog --------------------------------------------------- */
.blog-index .blog-intro { color: var(--muted); max-width: var(--measure); margin: 0 0 1.5rem; }
/* Theme filter chips: pill toggles, wrap cleanly on mobile. Filtering only
   hides cards (.is-hidden); every post stays in the DOM for crawlers. */
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 2.75rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; line-height: 1;
  color: var(--ink-2); background: var(--cream-2); border: 1.5px solid var(--hairline);
  border-radius: 999px; padding: 0.55rem 1rem;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip-count { font-size: 0.78rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-card.is-hidden { display: none; }
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.post-card a { text-decoration: none; color: inherit; display: block; }
.post-img { overflow: hidden; border-radius: 10px; margin-bottom: 1rem; background: var(--cream-2); }
.post-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.5s ease; }
.post-card a:hover .post-img img { transform: scale(1.04); }
.post-card h2 { font-size: 1.35rem; margin: 0.4rem 0 0.5rem; max-width: none; }
.post-card .post-date { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }
.post-card .post-excerpt { color: var(--ink-2); margin: 0 0 0.6rem; }
.post-readmore { font-weight: 700; color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card a:hover h2 { color: var(--accent); }

/* About page polish */
.page-about .it-image img { box-shadow: 0 20px 44px rgba(56, 44, 34, 0.12); }
.page-about .richtext-block { padding-top: 0; }
.page-about .richtext-block .prose { max-width: none; font-size: 0.95rem; color: var(--muted);
  border-left: 3px solid var(--accent); padding-left: 1rem; }

.post-narrow { max-width: 44rem; }
.blog-post h1 { max-width: 20ch; }
.blog-post .post-date { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 1.5rem; }
.post-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 0 0 2rem; display: block; }
/* Clickable hero (e.g. depression article → self-check): whole image is the link. */
.post-hero-link { position: relative; display: block; margin: 0 0 2rem; }
.post-hero-link .post-hero-img { margin: 0; transition: filter .2s ease; }
.post-hero-link:hover .post-hero-img { filter: brightness(0.93); }
.post-hero-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.post-hero-cue { position: absolute; left: 14px; bottom: 14px; background: var(--accent); color: var(--cream);
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; padding: 0.5rem 0.9rem; border-radius: 4px;
  box-shadow: 0 4px 14px rgba(56, 44, 34, .25); transition: transform .16s ease; }
.post-hero-link:hover .post-hero-cue { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .post-hero-link .post-hero-img, .post-hero-cue { transition: none; } }
.post-prose { max-width: none; }
.eyebrow a { color: var(--accent); text-decoration: none; }

/* --- Fees & insurance note (bounded, on /book) ------------- */
.page-book .richtext-block { padding-top: 0; }
.page-book .richtext-block .prose { max-width: 46rem; background: var(--cream-2);
  border: 1px solid var(--hairline); border-radius: 12px; padding: 1.5rem 1.75rem; font-size: 1rem; }
.page-book .richtext-block .prose h2 { font-size: 1.35rem; margin: 0 0 0.75rem; }
.page-book .richtext-block .prose ul { margin: 0; padding-left: 1.1rem; }
.page-book .richtext-block .prose li { margin-bottom: 0.55rem; color: var(--ink-2); }

/* --- Topics ("what men come to me for") -------------------- */
.topics-block { background: var(--cream-2); }
.topics-block .topics-intro { color: var(--ink-2); max-width: var(--measure); margin: 0 0 2.5rem; font-size: 1.1rem; }
.topic-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
/* Cards sit as a warm tint raised off the cream-2 section with a soft, premium
   shadow. Rust is reserved for the interactive cue/link, never a decorative
   border, so on the page rust consistently signals "clickable". */
.topic-card { background: var(--cream); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 1.4rem; box-shadow: 0 2px 10px rgba(56, 44, 34, .05); }
.topic-card h3 { margin: 0 0 0.4rem; color: var(--ink); }
.topic-card p { margin: 0; color: var(--muted); }
/* Tappable card (e.g. the anger card → anger section): whole card is the link. */
.topic-card--link { display: flex; flex-direction: column; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease; }
.topic-card--link:hover { transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(56, 44, 34, .12); }
.topic-card--link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topic-card--link h3 { transition: color .16s ease; }
.topic-card--link:hover h3 { color: var(--accent-deep); }
.topic-card-cue { margin-top: auto; padding-top: 0.9rem; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .topic-card--link { transition: none; }
  .topic-card--link:hover { transform: none; }
}

/* --- Service area (online, across Ontario) ----------------- */
.service-area { background: var(--cream-2); }
.service-area .service-intro { color: var(--ink-2); max-width: var(--measure); margin: 0 0 2rem; font-size: 1.1rem; }
.city-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.5rem; }
.city-grid a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.city-grid a:hover { color: var(--accent); }
.service-area .service-note { color: var(--muted); margin: 1.75rem 0 0; font-size: 0.92rem; }

/* --- "Lift the guard" reveal (home, below the hero) -------- */
/* Section-scoped dark/rust palette (mirrors the footer's premium tokens). */
.guard-reveal{
  --gr-ink:#2B2219; --gr-panel:#382C22; --gr-rust:#F15021; --gr-rust-bright:#F15021;
  --gr-cream:#F7F1E7; --gr-faint:#9C9184;
  background:var(--gr-ink); color:var(--gr-cream); padding:4rem 1.25rem;
}
.gr-stage{ position:relative; max-width:46rem; margin:0 auto;
  min-height:clamp(340px, 44vh, 460px); border-radius:12px; background:var(--gr-panel);
  perspective:1200px; }

/* Underneath: the revealed, crawlable content (real link + button). */
.gr-under{ position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; gap:0.45rem; padding:2rem 1.5rem; }
/* The reveal shows the full logo lockup (reversed). Center it and size it so it
   reads clearly without overpowering the line beneath. */
.gr-logo{ margin-bottom:0.35rem; }
.gr-logo .bc-logo{ font-size:clamp(1.7rem, 4vw, 2.3rem); align-items:center; }
.gr-reveal-line{ font-family:var(--font-display); font-size:clamp(1.05rem, 2.2vw, 1.35rem);
  color:var(--gr-cream); margin:0.4rem 0 0; max-width:24ch; }
.gr-tag{ font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--gr-faint); margin:0.3rem 0 0.3rem; }
.gr-cta{ display:inline-block; background:var(--gr-rust); color:#fff; text-decoration:none;
  font-weight:600; font-size:14px; padding:11px 22px; border-radius:8px; margin-top:0.5rem; }
.gr-cta:hover{ background:#D33F13; }
.gr-replay{ position:absolute; bottom:12px; right:14px; display:inline-flex; align-items:center; gap:0.4rem;
  background:transparent; border:1px solid rgba(247,241,231,.22); color:var(--gr-faint);
  font:inherit; font-size:11.5px; letter-spacing:.04em; padding:5px 10px; border-radius:999px; cursor:pointer;
  transition:color .16s ease, border-color .16s ease; }
.gr-replay:hover{ color:var(--gr-cream); border-color:rgba(247,241,231,.5); }
.gr-replay:focus-visible{ outline:2px solid var(--gr-rust-bright); outline-offset:2px; }
.gr-replay-glyph{ font-size:13px; line-height:1; }

/* Guard cover. DEFAULT = lifted/open, so no-JS and reduced-motion reveal the
   content. JS only adds .gr-armed (cover) when motion is welcome. */
.gr-guard{ position:absolute; inset:0; border-radius:12px; border-top:3px solid var(--gr-rust);
  background:linear-gradient(160deg, rgba(247,241,231,.97), rgba(253,250,244,.97));
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:2rem 1.5rem;
  transform-origin:top center; pointer-events:none;
  opacity:0; transform:rotateX(86deg) translateY(-22px);
  box-shadow:0 18px 40px rgba(56,44,34,.28); }
.gr-composed{ font-family:var(--font-display); font-weight:700; color:var(--gr-ink); margin:0;
  font-size:clamp(1.5rem, 3.6vw, 2.3rem); line-height:1.18; letter-spacing:-.01em; max-width:18ch; }
.gr-composed-sub{ color:var(--muted); font-size:clamp(.9rem, 1.6vw, 1.05rem); margin:0.7rem 0 0; }

.guard-reveal.gr-armed .gr-guard{ opacity:1; transform:rotateX(0) translateY(0); }
.guard-reveal.gr-animate .gr-guard{
  transition:transform 2.25s cubic-bezier(.45,.05,.2,1), opacity 2.25s cubic-bezier(.45,.05,.2,1); }

@media (prefers-reduced-motion: reduce){
  .guard-reveal.gr-armed .gr-guard{ opacity:0; transform:rotateX(86deg) translateY(-22px); }
  .guard-reveal.gr-animate .gr-guard{ transition:none; }
}

/* --- PPC landing pages ------------------------------------- */
.ppc-page { background: var(--cream); }
.ppc-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* 1. Sticky bar (logo + one booking CTA) */
.ppc-bar { position: sticky; top: 0; z-index: 50; background: var(--cream-2); border-bottom: 1px solid var(--hairline); }
.ppc-bar-inner { max-width: var(--maxw); margin: 0 auto; padding: 0.7rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.ppc-bar-cta { margin: 0; white-space: nowrap; }

/* 2. Hero */
.ppc-hero { background: var(--cream-2); padding: clamp(2.5rem, 6vh, 4.5rem) 0; }
.ppc-eyebrow { color: var(--accent); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; margin: 0 0 0.9rem; }
.ppc-h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 1rem; max-width: 20ch; }
.ppc-sub { font-size: 1.18rem; color: var(--ink-2); max-width: 50ch; margin: 0 0 1.6rem; line-height: 1.5; }
.ppc-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 1.8rem; }
.ppc-cta-row .btn { margin: 0; }
.ppc-cta-micro { color: var(--muted); font-size: 0.92rem; }
.ppc-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ppc-trust li { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: var(--cream);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 0.4rem 0.85rem; }

/* 3. Recognition */
.ppc-reco { padding: clamp(2.5rem, 6vh, 4rem) 0; }
.ppc-reco h2, .ppc-steps h2, .ppc-why h2, .ppc-faq h2 { font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin: 0 0 1.4rem; letter-spacing: -0.01em; max-width: 24ch; }
.ppc-bullets { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.85rem; max-width: 62ch; }
.ppc-bullets li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }
.ppc-arrow { color: var(--accent); font-weight: 700; flex: none; }
.ppc-reassure { color: var(--muted); font-size: 1.05rem; max-width: 56ch; border-left: 3px solid var(--accent); padding-left: 1rem; margin: 0; }

/* 4. Reframe callout (dark) */
.ppc-reframe { padding: 0 0 clamp(2.5rem, 6vh, 4rem); }
.ppc-reframe-box { background: var(--ink-deep); color: var(--cream); border-radius: 14px; padding: clamp(1.8rem, 4vw, 3rem); }
.ppc-reframe-box h2 { font-family: var(--font-display); font-weight: 800; color: var(--cream);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; margin: 0 0 1.1rem; max-width: 26ch; }
.ppc-reframe-box p { color: rgba(247, 241, 231, .84); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1rem; max-width: 60ch; }
.ppc-reframe-box p:last-child { margin-bottom: 0; }
.ppc-em { color: var(--accent); font-weight: 600; }

/* 5. What to expect (3 cards) */
.ppc-steps { background: var(--cream-2); padding: clamp(2.5rem, 6vh, 4rem) 0; }
.ppc-step-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.ppc-step { background: var(--cream); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 1.5rem; box-shadow: 0 2px 10px rgba(56, 44, 34, .05); }
.ppc-step-n { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 1.4rem; }
.ppc-step h3 { margin: 0.5rem 0 0.4rem; color: var(--ink); font-size: 1.15rem; }
.ppc-step p { margin: 0; color: var(--muted); }

/* 6. Why a men's therapist */
.ppc-why { padding: clamp(2.5rem, 6vh, 4rem) 0; }
.ppc-why p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.6; max-width: 62ch; margin: 0; }

/* 7. Meet Jordan */
.ppc-meet { background: var(--cream-2); padding: clamp(2.5rem, 6vh, 4rem) 0; }
.ppc-meet-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }
.ppc-meet-photo { max-width: 240px; }
.ppc-meet-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(56, 44, 34, .14); display: block; }
.ppc-kicker { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.3rem; }
.ppc-meet-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin: 0; }
.ppc-meet-cred { color: var(--muted); font-size: 0.95rem; margin: 0.2rem 0 1rem; }
.ppc-meet-body p:last-child { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; max-width: 52ch; margin: 0; }

/* 8. FAQ wrapper (accordion reuses the native .faq styles) */
.ppc-faq { padding: clamp(2.5rem, 6vh, 4rem) 0; }
.ppc-faq .faq { max-width: 56rem; }

/* 9. Final CTA band (dark) */
.ppc-final { background: var(--ink-deep); color: var(--cream); text-align: center; padding: clamp(3rem, 7vh, 5rem) 1.25rem; }
.ppc-final h2 { font-family: var(--font-display); font-weight: 800; color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 auto 0.7rem; max-width: 22ch; }
.ppc-final > .ppc-inner > p { color: rgba(247, 241, 231, .82); max-width: 46ch; margin: 0 auto 1.6rem; }
.ppc-final .btn { margin: 0; }
.ppc-final p.ppc-final-micro { font-size: 0.85rem; color: rgba(247, 241, 231, .6); margin: 1.1rem auto 0; }

/* 10. Crisis line (calm, muted, rust left-border) */
.ppc-crisis-wrap { background: var(--cream); padding: 1.5rem 0; }
.ppc-crisis { background: var(--cream-2); border-left: 3px solid var(--accent); padding: 0.9rem 1.1rem;
  font-size: 0.85rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 64ch; }
.ppc-crisis a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ppc-crisis a:hover { text-decoration: underline; }

/* 11. Minimal footer */
.ppc-footer { background: var(--ink-deep); padding: 2.25rem 0; }
.ppc-footer .ppc-inner { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.ppc-footer .wordmark { color: var(--cream); }
.ppc-footer .wordmark-descriptor { color: var(--accent); }
.ppc-footer p { margin: 0; font-size: 0.9rem; color: rgba(247, 241, 231, .6); }

/* Visible focus states across the PPC page */
.ppc-page a:focus-visible, .ppc-page button:focus-visible, .ppc-page summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; }

/* Keep the sticky bar's single CTA from crowding the logo on narrow phones. */
@media (max-width: 560px) {
  .ppc-bar-inner { padding: 0.6rem 1rem; gap: 0.5rem; }
  .ppc-bar-cta { padding: 0.55rem 0.85rem; font-size: 0.82rem; }
  .ppc-bar .wordmark { font-size: 1.05rem; }
}

@media (min-width: 720px) {
  .ppc-step-grid { grid-template-columns: repeat(3, 1fr); }
  .ppc-meet-grid { grid-template-columns: 240px 1fr; gap: 2.5rem; }
}

/* --- Footer (structured columns, Option A) ----------------- */
/* Footer-scoped brand tokens (deliberately distinct from the site accent). */
.site-footer{
  --sf-ink:#2B2219; --sf-panel:#382C22; --sf-rust:#F15021; --sf-rust-bright:#F15021;
  --sf-cream:#F7F1E7; --sf-link:#CFC6B8; --sf-muted:#A99E8C; --sf-faint:#9C9184;
  --sf-crisis:#C4BAA9; --sf-border:#3E3226; --sf-bottom:#8B7F6E;
  background:var(--sf-ink); color:var(--sf-cream); font-family:inherit; line-height:1.5;
}
.sf-inner{ max-width:1100px; margin:0 auto; padding:40px 24px 20px; }

/* Zone 1 — top grid */
.sf-top{ display:grid; grid-template-columns:1.5fr 1fr 1.2fr; gap:28px; }
.sf-logo{ display:inline-block; font-size:22px; font-weight:600; letter-spacing:-.5px; line-height:1; color:var(--sf-cream); text-decoration:none; }
.sf-logo .sf-un{ color:inherit; }
.sf-tagline{ font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--sf-rust); margin-top:6px; }
.sf-blurb{ color:var(--sf-muted); font-size:13px; line-height:1.65; margin:16px 0 14px; max-width:34ch; }
.sf-cred{ font-size:13px; color:var(--sf-link); margin:0; }
.sf-cred span{ display:block; color:var(--sf-muted); margin-top:2px; }
.sf-col h3{ font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color:var(--sf-faint); font-weight:600; margin:0 0 10px; }
.sf-col h3.sf-gap{ margin-top:18px; }
.site-footer address{ font-style:normal; }
.sf-col a, .site-footer address a{ display:block; color:var(--sf-link); text-decoration:none; font-size:14px; padding:5px 0; }
.sf-col a:hover, .site-footer address a:hover{ color:var(--sf-cream); }

/* Zone 2 — CTA band */
.sf-cta{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  background:var(--sf-panel); border-radius:12px; padding:16px 20px; margin:22px 0 16px; }
.sf-cta p{ margin:0; font-size:15px; color:var(--sf-cream); }
.sf-btn{ display:inline-block; background:var(--sf-rust); color:#fff; text-decoration:none;
  font-weight:600; font-size:14px; padding:11px 22px; border-radius:8px; white-space:nowrap; }
.sf-btn:hover{ background:#D33F13; }

/* Zone 3 — geo line */
.sf-geo{ color:var(--sf-muted); font-size:13px; line-height:1.6; margin:0 0 14px; }

/* Zone 4 — crisis notice (intentionally calm) */
.sf-crisis{ background:var(--sf-panel); border-left:3px solid var(--sf-rust); border-radius:0;
  padding:12px 16px; font-size:12.5px; line-height:1.65; color:var(--sf-crisis); }
.sf-crisis a{ color:var(--sf-rust-bright); font-weight:600; text-decoration:none; white-space:nowrap; }
.sf-crisis a:hover{ text-decoration:underline; }

/* Bottom bar */
.sf-bottom{ display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between;
  border-top:1px solid var(--sf-border); margin-top:18px; padding-top:14px;
  font-size:12px; color:var(--sf-bottom); }
.sf-bottom a{ color:var(--sf-bottom); text-decoration:none; }
.sf-bottom a:hover{ color:var(--sf-muted); }

@media (max-width:700px){
  .sf-top{ grid-template-columns:1fr; gap:24px; }
  .sf-cta{ flex-direction:column; align-items:flex-start; }
  .sf-btn{ width:100%; text-align:center; box-sizing:border-box; }
}

/* --- Scroll reveal (motion-safe; JS adds .reveal) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* --- Larger screens ---------------------------------------- */
@media (min-width: 700px) {
  .block { padding: 4.5rem 1.5rem; }
  .image-text { flex-direction: row; align-items: flex-start; gap: 3rem; }
  .image-text > * { flex: 1; }
  .image-text-block.reverse .image-text { flex-direction: row-reverse; }
  ol.steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  ol.steps li + li { border-left: 1px solid var(--hairline); padding-left: 2.5rem; }
  .clinician-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero-split { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; }
  .hero-figure { justify-self: end; }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
  /* Featured first post spans the row as an image + text pair. */
  .post-grid .post-card.featured { grid-column: 1 / -1; }
  .post-card.featured a { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center; }
  .post-card.featured .post-img { margin-bottom: 0; }
  .post-card.featured h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
  .lead-split { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}
@media (min-width: 1000px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Phones: a larger, more legible wordmark; phone + booking CTA move to the footer. */
@media (max-width: 699px) {
  /* Scale the lockup down proportionally — still the anchor — and keep the
     descriptor on ONE line beside the condensed nav. */
  .wordmark { font-size: 1.7rem; }
  .wordmark-descriptor { font-size: 0.68rem; letter-spacing: 0.24em; }
  .wordmark-lockup { gap: 0.3rem; }
  .site-header .bc-logo { font-size: 1.45rem; }
  .header-actions { display: none; }
  /* Tighten the nav so all links fit a 375px row once the Book button is hidden. */
  .site-header-inner { gap: 0.6rem; padding: 1.2rem 1rem; }
  .site-nav { gap: 0.8rem; }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.03em; }
  /* Drop forced hero line breaks below tablet so the headline wraps naturally. */
  .hero-break { display: none; }
}

/* Branded 404. Reuses the block/btn tokens; centered, generous whitespace. */
.error-block { padding: 5rem 0; }
.error-inner { max-width: 620px; text-align: center; }
.error-lead { color: var(--muted); font-size: 1.05rem; margin: 0.75rem auto 1.75rem; }
.error-links { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.75rem; }
.error-nav { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; }
.error-nav a { color: var(--ink-2, var(--color-primary)); text-decoration: none; }
.error-nav a:hover { text-decoration: underline; }
