/* ============================================================
   Thomas A. Jones, LCSW — "Alma Continuity" theme layer
   Loaded after styles.css. Overrides Robyn's tokens and adds the
   brief's additions: radius-32 frame, Handoff Card, Recognition strip,
   draft ribbon, grain on dark blocks, fill-expansion buttons.
   Palette: cream var(--color-bg-cream) / warm white #FFFCFA / espresso #1E0D05 /
   forest #2F5237 (hover #0C4A34) / sage tint #C2D6D6.
   ============================================================ */

:root {
  --color-primary: #2F5237;
  --color-primary-dark: #0C4A34;
  --color-primary-light: #99B3AA;
  --color-primary-bg: #EEF2EC;

  --color-accent: #2F5237;
  --color-accent-dark: #0C4A34;
  --color-accent-light: #C2D6D6;

  --color-text: #1E0D05;
  --color-text-light: #5F564F;
  --color-text-muted: #8A7F76;
  --color-white: #FFFCFA;
  --color-off-white: #FBF8F3;
  --color-border: #E3D9CC;
  --color-bg-warm: #F6EFE6;
  --color-bg-cream: #F6EFE6;
  --color-ink: #1E0D05;
  --color-sage: #C2D6D6;
  --color-sage-deep: #99B3AA;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-padding: 96px 0 80px;
  --container-width: 1200px;
  --container-padding: 0 24px;

  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(30, 13, 5, 0.06);
  --shadow-md: 0 6px 20px rgba(30, 13, 5, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 13, 5, 0.12);
  --shadow-xl: 0 24px 64px rgba(30, 13, 5, 0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-frame: 32px;
  --radius-full: 9999px;
  --color-draft: #B4462F;
}

/* ---------- Base ---------- */
body {
  background: var(--color-bg-cream);
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--color-text);
}
h1 { font-variation-settings: "opsz" 144; font-weight: 300; }
h2 { font-variation-settings: "opsz" 96; }
h3 { font-variation-settings: "opsz" 48; font-weight: 500; }
p { text-wrap: pretty; }

::selection { background: var(--color-sage); color: var(--color-ink); }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

/* Eyebrow labels: letterspaced sans, not the old teal */
.section-header .label,
.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ---------- Header ---------- */
.header {
  background: rgba(255, 252, 250, 0.86);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 252, 250, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px rgba(30, 13, 5, 0.05);
}
.header-inner { height: 80px; }
.logo { color: var(--color-ink); }
.logo-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.logo-cred { font-weight: 300; color: var(--color-text-light); }
.nav-links a { color: var(--color-text-light); font-weight: 500; }
.nav-links a:hover { color: var(--color-ink); background: rgba(47, 82, 55, 0.06); }
.nav-links a.active { color: var(--color-ink); }
.nav-links a.active::after { background: var(--color-primary); }
.nav-divider { background: var(--color-border); }
.nav-cta,
.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg-cream);
  border-radius: var(--radius-full);
  box-shadow: none;
}
.nav-cta:hover,
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-bg-cream); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Mobile nav overlay: no blur on a fixed overlay (failures.md 08-11) */
@media (max-width: 1024px) {
  .nav { background: var(--color-bg-cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Buttons: fill expansion, not color swap ---------- */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  border-radius: inherit;
}
.btn > * { position: relative; z-index: 1; }
.btn-primary::before { background: var(--color-primary-dark); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-outline::before { background: var(--color-primary); }
.btn-outline:hover { color: var(--color-bg-cream); border-color: var(--color-primary); background: transparent; }
.btn-outline:hover::before { transform: scaleX(1); }
.btn-secondary { background: var(--color-sage); color: var(--color-ink); border: 0; }
.btn-secondary::before { background: var(--color-sage-deep); }
.btn-secondary:hover { color: var(--color-ink); background: var(--color-sage); box-shadow: var(--shadow-sm); }
.btn-secondary:hover::before { transform: scaleX(1); }
.btn-white { background: var(--color-bg-cream); color: var(--color-ink); }
.btn-white:hover { background: var(--color-bg-cream); color: var(--color-ink); }
.btn:focus-visible { outline: 3px solid var(--color-sage-deep); outline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-padding); }
.section-warm { background: var(--color-white); }
.section-green {
  background: var(--color-primary-bg);
}
.section-green .section-header .label { color: var(--color-primary-dark); }

/* Dark spreads: espresso with a 2% grain */
.section-dark {
  position: relative;
  background: var(--color-ink);
  color: var(--color-bg-cream);
  isolation: isolate;
}
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: -1;
}
.section-dark h2, .section-dark h3, .section-dark p { color: var(--color-bg-cream); }
.section-dark .section-header .label { color: var(--color-sage) !important; }
.section-dark em { color: var(--color-sage); font-style: italic; }
.section-dark .feature-item { background: rgba(255, 252, 250, 0.05); border: 1px solid rgba(255, 252, 250, 0.10); border-radius: var(--radius-lg); }
.section-dark .feature-item p { color: rgba(246, 239, 230, 0.78); }
.section-dark .feature-icon { background: rgba(194, 214, 214, 0.16); color: var(--color-sage); }

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg-cream);
  padding-top: 148px;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  color: var(--color-ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero-text { color: var(--color-text-light); font-size: 1.1rem; max-width: 34rem; }
.hero-badge {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-badge::before { background: var(--color-primary); }
.hero-trust-item { color: var(--color-text-light); }
.hero-trust-item svg { color: var(--color-primary); }

/* The signature: radius-32 espresso frame on every photo and dark block */
.hero-image-wrapper,
.about-image-wrapper,
.frame {
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--color-ink);
  padding: 0;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrapper img,
.about-image-wrapper img,
.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-frame) - 6px);
  border: 6px solid var(--color-ink);
}
.hero-image-wrapper::before,
.about-image-wrapper::before { display: none; }
.about-image-accent { background: var(--color-sage); border-radius: var(--radius-frame); opacity: 0.55; }

.hero-float-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-float-card .card-icon { background: var(--color-sage); color: var(--color-ink); border-radius: var(--radius-md); }
.hero-float-card strong { color: var(--color-ink); }
.hero-float-card span { color: var(--color-text-light); }
.hero-pt-badge { border-radius: var(--radius-full); box-shadow: var(--shadow-sm); }

/* ---------- Cards ---------- */
.approach-card,
.service-card,
.testimonial-card,
.resource-card,
.pricing-card,
.credential-card,
.contact-info-card,
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.approach-card:hover,
.service-card:hover,
.resource-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-sage-deep); transform: translateY(-2px); }
.approach-card-icon,
.service-card-icon,
.feature-icon,
.credential-card-icon { background: var(--color-sage); color: var(--color-primary-dark); border-radius: var(--radius-md); }
.credential-tag { background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-ink); border-radius: var(--radius-full); }
.testimonial-stars { color: var(--color-primary); }
.testimonial-avatar { background: var(--color-primary); color: var(--color-bg-cream); }
.about-stat .number { color: var(--color-primary); font-family: var(--font-heading); font-weight: 500; }
.faq-question { color: var(--color-ink); font-family: var(--font-heading); font-weight: 500; font-size: 1.15rem; }
.faq-item.active { border-color: var(--color-sage-deep); }
.insurance-logos img { filter: grayscale(1) opacity(0.7); transition: filter var(--transition-fast); }
.insurance-logos img:hover { filter: none; }
.cta-banner,
.faq-contact-bar {
  background: var(--color-ink);
  color: var(--color-bg-cream);
  border-radius: var(--radius-frame);
  position: relative;
  isolation: isolate;
}
.faq-contact-bar h3, .faq-contact-bar p, .cta-banner h2, .cta-banner p { color: var(--color-bg-cream); }
.faq-contact-bar p { color: rgba(246, 239, 230, 0.8); }
.page-hero { background: var(--color-bg-cream); }
.page-hero h1 { color: var(--color-ink); }
.crisis-banner { background: var(--color-white); border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--radius-md); }

/* ---------- Handoff Card (signature component) ---------- */
.handoff-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.handoff-card--dark { background: var(--color-ink); border-color: rgba(246, 239, 230, 0.12); }
.handoff-card--dark .handoff-title, .handoff-card--dark .handoff-body { color: var(--color-bg-cream); }
.handoff-card--dark .handoff-body { color: rgba(246, 239, 230, 0.8); }
.handoff-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  margin-bottom: 10px;
  background: var(--color-sage);
  color: var(--color-ink);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.handoff-title { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 500; margin-bottom: 6px; color: var(--color-ink); }
.handoff-body { color: var(--color-text-light); font-size: 0.98rem; margin: 0; max-width: 46rem; }
.handoff-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.handoff-note { font-size: 0.78rem; color: var(--color-text-muted); }
.handoff-card--dark .handoff-note { color: rgba(246, 239, 230, 0.6); }
@media (max-width: 720px) {
  .handoff-card { grid-template-columns: 1fr; padding: 22px; }
  .handoff-actions { align-items: stretch; }
  .handoff-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Recognition strip (marquee of credentials) ---------- */
.recognition { padding: 28px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-white); overflow: hidden; }
.recognition-label { text-align: center; margin-bottom: 14px; }
.recognition-track { display: flex; gap: 40px; width: max-content; animation: recognition-scroll 46s linear infinite; }
.recognition:hover .recognition-track { animation-play-state: paused; }
.recognition-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-ink); }
.recognition-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
@keyframes recognition-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .recognition-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
  .recognition-track .recognition-item.dup { display: none; }
}

/* ---------- Credential gallery (About) ---------- */
.credential-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.credential-gallery figure { margin: 0; }
.credential-gallery img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-white); }
.credential-gallery figcaption { font-size: 0.85rem; color: var(--color-text-light); margin-top: 8px; line-height: 1.4; }

/* ---------- Draft ribbon (removed before launch) ---------- */
.draft-ribbon {
  position: fixed;
  right: -46px;
  top: 118px;
  z-index: 900;
  transform: rotate(45deg);
  width: 220px;
  padding: 6px 0;
  background: var(--color-draft);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
@media (max-width: 720px) { .draft-ribbon { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--color-ink); color: rgba(246, 239, 230, 0.78); position: relative; isolation: isolate; }
.footer .logo-text, .footer h4 { color: var(--color-bg-cream); }
.footer .logo-cred { color: rgba(246, 239, 230, 0.6); }
.footer a { color: rgba(246, 239, 230, 0.78); }
.footer a:hover { color: var(--color-sage); }
.footer-notice { font-size: 0.85rem; margin-top: 12px; color: rgba(246, 239, 230, 0.62); }
.footer-notice a { color: var(--color-sage); font-weight: 600; }
.footer-legal-row { border-color: rgba(246, 239, 230, 0.12); }
.footer-bottom { border-color: rgba(246, 239, 230, 0.12); color: rgba(246, 239, 230, 0.55); }
.footer-credit a { color: var(--color-sage); }

/* ---------- Mobile CTA bar + scroll-to-top ---------- */
.mobile-phone-bar { background: var(--color-primary); }
.mobile-phone-bar a { color: var(--color-bg-cream); font-weight: 600; }
.scroll-to-top { background: var(--color-primary); color: var(--color-bg-cream); border-radius: var(--radius-full); }
.scroll-to-top:hover { background: var(--color-primary-dark); }

/* ---------- Forms ---------- */
input, select, textarea { border-color: var(--color-border); border-radius: var(--radius-md); font-family: var(--font-body); background: var(--color-white); }
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(47, 82, 55, 0.15); outline: none; }
.form-acknowledge { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.contact-notice--warn { border-left-color: var(--color-primary); }

/* ---------- Motion ---------- */
.animate-in { transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-in:nth-child(2) { transition-delay: 0.06s; }
.animate-in:nth-child(3) { transition-delay: 0.12s; }
.animate-in:nth-child(4) { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .animate-in { transition: none; opacity: 1; transform: none; }
  .btn::before { transition: none; }
}

/* ---------- Word-mask H1 reveal (home only) ---------- */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: word-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes word-up { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero h1 .w > span { transform: none; animation: none; } }

/* ---------- Density on phones ---------- */
@media (max-width: 768px) {
  :root { --section-padding: 64px 0 56px; }
  .hero { padding-top: 112px; }
  body { font-size: 1rem; }
}

/* ---------- Post-review fixes (2026-09-17) ---------- */
/* The bottom CTA bar is for phones; the desktop nav already carries the pill. */
@media (min-width: 1025px) { .mobile-phone-bar { display: none; } }
/* Keep faces in frame when a portrait is cropped by the wrapper. */
.about-image-wrapper img, .hero-image-wrapper img, .frame img { object-position: center top; }

/* ---------- Polish loop round 1 (home) ---------- */
/* Draft ribbon: bottom-left so it never sits on hero content. */
.draft-ribbon { top: auto; bottom: 34px; left: -52px; right: auto; transform: rotate(45deg); }
/* Marquee: soft edges so the scroll reads as intentional. */
.recognition { position: relative; }
.recognition::before, .recognition::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.recognition::before { left: 0; background: linear-gradient(90deg, var(--color-white), transparent); }
.recognition::after { right: 0; background: linear-gradient(270deg, var(--color-white), transparent); }
/* Links on dark spreads use sage, not forest. */
.section-dark a:not(.btn) { color: var(--color-sage); text-decoration: underline; text-underline-offset: 3px; }
.section-dark a:not(.btn):hover { color: var(--color-bg-cream); }
/* Insurer logos: larger, in color, on a quiet tile. */
.insurance-logos { gap: 14px; }
.insurance-logos img {
  height: 56px; width: auto; max-width: 160px; padding: 10px 18px;
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  filter: none; opacity: 1;
}
.insurance-logos img:hover { box-shadow: var(--shadow-sm); }
.insurance-note { max-width: 720px; margin: 0 auto 36px; }

/* ---------- Polish loop round 2 (home, mobile) ---------- */
@media (max-width: 768px) {
  /* Robyn's build hid the hero photo on phones; the portrait is the point here, so stack it under the text. */
  .hero .container { display: flex; flex-direction: column; gap: 32px; }
  .hero-image { display: block !important; width: 100%; max-width: 420px; margin: 0 auto; position: relative; }
  .hero-image-wrapper { width: 100%; aspect-ratio: 4 / 5; }
  .hero-image-wrapper img { width: 100%; height: 100%; }
  .hero-float-card { display: none; }
  .hero-pt-badge { position: absolute; top: 14px; left: 14px; }
  /* The approach block used a fixed 402px image column; on phones everything is one fluid column. */
  .about-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 28px; }
  .about-image, .about-image-wrapper, .about-content, .about-stats { width: 100% !important; max-width: 100% !important; min-width: 0; margin-left: 0 !important; }
  .about-image-wrapper { aspect-ratio: 4 / 5; }
  .about-image-wrapper img { width: 100%; height: 100%; }
  .about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-stat .number { font-size: 1.6rem; }
  .about-stat .label { font-size: 0.72rem; }
  .credentials-list { display: flex; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 768px) {
  .hero .hero-image .hero-float-card { display: none !important; }
  .about-approach-section .about-content { padding-top: 28px; }
}

/* ---------- Polish loop round 3 (about) ---------- */
/* Keep the About portrait frame whole: no off-canvas bleed. */
.about-image { margin-left: 0 !important; width: 100% !important; }
.about-image-wrapper img { object-position: center top !important; }
/* Recognition gallery: uniform tiles regardless of scan aspect. */
.credential-gallery figure { display: flex; flex-direction: column; }
.credential-gallery img { aspect-ratio: 4 / 3; object-fit: contain; padding: 10px; }
.credential-gallery figcaption { margin-top: 10px; }
/* Feature rows size to their count and stay centred (3 items on About, 4 on Home). */
.features-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1080px; margin-left: auto; margin-right: auto; }
/* Credential card line breaks must survive every breakpoint. */
.credential-card p br { display: inline !important; }
/* Labeled Psychology Today badges. */
.pt-verification--labeled { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.pt-verification--labeled a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.pt-verification-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light); }
/* Inline SVG icons inside icon tiles. */
.approach-card-icon svg, .service-card-icon svg, .feature-icon svg, .credential-card-icon svg, .card-icon svg, .contact-info-card svg, .resource-card svg { width: 24px; height: 24px; display: block; }
.approach-card-icon, .service-card-icon, .feature-icon, .credential-card-icon { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Polish loop round 4 (about grids) ---------- */
.approach-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .approach-grid--3 { grid-template-columns: 1fr; } }
.credentials-grid { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  .credentials-grid { grid-template-columns: 1fr; }
  /* Phones read one card at a time; two cramped columns with clamped text do not. */
  .approach-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Polish loop round 5 (services) ---------- */
/* Robyn stacked service cards inside warm sections; here every focus area uses the same three-up grid. */
.section-warm .services-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .services-grid, .section-warm .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-grid, .section-warm .services-grid { grid-template-columns: 1fr; } }

/* ---- polish round 6 (services): readable mobile cards, aligned pricing, roomy footer ---- */
.pricing-card.featured { transform: none; }
@media (max-width: 768px) {
  .service-card { padding: 20px; }
  .service-card-icon, .section-warm .service-card .service-card-icon[style*="margin:0 auto"] { width: 44px; height: 44px; min-width: 44px; margin-bottom: 12px; }
  .service-card h3 { font-size: 1rem; margin-bottom: 8px; }
  .service-card p { font-size: 0.92rem; line-height: 1.55; display: block; -webkit-line-clamp: unset; overflow: visible; margin-bottom: 0; }
  .service-read-more { display: none !important; }
  .pricing-card { display: flex; flex-direction: column; text-align: left; }
  .pricing-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
  .pricing-card .price { font-size: 2.4rem; margin: 12px 0 8px; align-self: flex-start; }
  .pricing-card ul { margin: 8px 0 16px; }
}
@media (max-width: 480px) {
  .footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer .footer-grid > div:not(.footer-brand) { grid-column: 1 / -1; }
}

/* ---- polish round 7 (contact): full-width message box, sentence-case labels on phones ---- */
@media (max-width: 768px) {
  .contact-form .form-group,
  .contact-form .form-group:nth-of-type(3),
  .contact-form .form-group:nth-of-type(4) { display: block; width: 100%; margin-right: 0; }
  .form-group label { text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--color-text); }
  .form-group textarea { min-height: 130px; }
}

/* ---- polish round 8 (blog, resources): three-up notes, readable phone lists ---- */
.blog-grid { grid-template-columns: repeat(3, 1fr); max-width: 1152px; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-body { padding: 22px 22px 20px; }
  .blog-card-title { font-size: 1.2rem; -webkit-line-clamp: unset; }
  .blog-card-excerpt { font-size: 0.95rem; line-height: 1.55; -webkit-line-clamp: unset; display: block; overflow: visible; }
  .blog-card-meta { flex-direction: row; justify-content: space-between; align-items: center; font-size: 0.85rem; }
  .blog-card-read { font-size: 0.85rem; }
  .resource-column .resource-card { padding: 16px 0; }
  .resource-column .resource-card h3 { font-size: 1rem; margin-bottom: 4px; }
  .resource-column .resource-card p,
  .resource-column .resource-card p:first-of-type { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 0.92rem; line-height: 1.5; }
  .resource-column .resource-card p a { font-size: 0.95rem; }
}

/* ---- polish round 9 (home, about): full approach text on phones, level session-card titles ---- */
@media (max-width: 768px) {
  .approach-card { padding: 20px; }
  .approach-card-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .approach-card h3, .approach-card h4 { font-size: 1rem; margin-bottom: 8px; }
  .approach-card p { font-size: 0.92rem; line-height: 1.55; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .approach-read-more { display: none !important; }
}
@media (min-width: 769px) {
  .features-row .feature-item h3 { min-height: 2.8em; display: flex; align-items: flex-end; justify-content: center; }
}

/* ---- polish round 10 (services): level focus-area card titles on desktop ---- */
@media (min-width: 769px) {
  .services-grid .service-card h3 { min-height: 2.7em; display: flex; align-items: flex-end; }
}

/* ---- polish round 11 (faq): breathing room inside the question pills ---- */
.faq-item { margin-bottom: 12px; }
.faq-question { padding: 22px 28px; gap: 16px; }
.faq-answer-inner { padding: 0 28px 24px; }
@media (max-width: 768px) {
  .faq-question { padding: 18px 20px; }
  .faq-answer-inner { padding: 0 20px 18px; }
}

/* ---- polish round 12 (mobile nav): the header blur trapped the fixed menu at header height; drop it on phones/tablets and reveal all seven links ---- */
@media (max-width: 1024px) {
  .header, .header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--color-bg-cream); }
  .nav { height: 100vh; height: 100dvh; }
  .nav.open .nav-links a:nth-child(7) { transform: translateY(0); opacity: 1; transition-delay: 0.28s; }
}
@media (max-width: 1024px) { .nav::after { content: none; } .nav { overflow-x: hidden; } }
