/* The Psychology Lab — Prototype Redesign */
@font-face {
  font-family: "Keyes";
  src: url("https://irp.cdn-website.com/65a27f13/fonts/keyes-faf0_400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #005F80;
  --teal-dark: #004a66;
  --teal-light: #e8f4f8;
  --utility: #222;
  --text: #222;
  --muted: #555;
  --white: #fff;
  --offwhite: #f7f9fa;
  --border: #dde5ea;
  --magenta: #c2185b;
  --magenta-dark: #9c1249;
  --max: 1140px;
  --radius: 4px;
  --shadow: 0 8px 28px rgba(0, 40, 60, 0.12);
  --font-serif: "Keyes", Georgia, "Times New Roman", serif;
  --font-sans: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target, [id] { scroll-margin-top: 6.5rem; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); color: var(--teal); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); color: var(--teal); }
h3 { font-size: 1.2rem; color: var(--utility); font-family: var(--font-sans); font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--teal); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Utility bar */
.utility-bar {
  background: var(--utility);
  color: #fff;
  font-size: 0.8rem;
}
.utility-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; flex-wrap: wrap;
}
.utility-social { display: flex; gap: 0.75rem; align-items: center; }
.utility-social a { color: #fff; display: inline-flex; opacity: 0.95; }
.utility-social a:hover { opacity: 1; text-decoration: none; }
.utility-nap {
  text-align: center; flex: 1; line-height: 1.4;
}
.utility-nap a { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.65rem 1.25rem; border: 2px solid transparent;
  background: var(--teal); color: #fff; font-family: var(--font-sans);
  font-weight: 500; font-size: 0.95rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none; border-radius: var(--radius);
}
.btn:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent; border-color: #fff; color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--teal); }
.btn-outline-teal {
  background: transparent; border-color: var(--teal); color: var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-book { white-space: nowrap; }

/* Patterned surfaces */
.pattern-bg {
  background-color: var(--teal);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
}

/* Site header / primary nav */
.site-header { position: sticky; top: 0; z-index: 900; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 0; min-height: 78px;
}
.logo-link { display: inline-flex; flex-shrink: 0; }
.logo-link img { height: 58px; width: auto; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto; /* keep on the right when nav collapses */
  z-index: 5;
  align-items: center;
  justify-content: center;
}
.primary-nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; justify-content: flex-end; }
.primary-nav > li { list-style: none; position: relative; }
.primary-nav, .primary-nav ul { margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: #fff; padding: 0.55rem 0.7rem; font-size: 0.92rem;
  font-weight: 500; border-radius: var(--radius); text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.open > .nav-link {
  background: #fff; color: var(--teal); text-decoration: none;
}
.nav-link .chev { font-size: 0.65rem; opacity: 0.9; }
/* Dropdowns: no hover gap, never clipped by header/container */
.site-header,
.site-header .container,
.nav-bar,
.primary-nav,
.primary-nav > .nav-item {
  overflow: visible;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 6px); /* overlap trigger — kills the dead hover gap */
  left: 0;
  min-width: 250px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.55rem 0 0.4rem; /* top padding sits in the overlap zone */
  z-index: 10050;
  pointer-events: auto;
}
/* Invisible bridge above panel (extra insurance while moving cursor down) */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.55rem 1rem; color: var(--utility);
  font-size: 0.9rem; text-decoration: none;
  position: relative;
  z-index: 1;
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal); }
.dropdown .subhead {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); padding: 0.55rem 1rem 0.2rem; font-weight: 600;
}
.nav-audit .nav-link { font-weight: 600; }

/* Page heroes */
.page-hero {
  position: relative; min-height: 280px;
  display: flex; align-items: center;
  background: #cfd6db center/cover no-repeat;
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,40,60,0.55), rgba(0,40,60,0.15));
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding: 3.5rem 0; }
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.page-hero .hero-sub { color: #fff; font-size: 1.15rem; max-width: 40rem; }

/* Bright/cheery photo heroes — keep photo untinted; legibility via text color/shadow (not full-bleed dark wash) */
.page-hero.hero-bright::after {
  display: none;
}
.page-hero.hero-bright {
  color: #fff;
}
.page-hero.hero-bright h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.page-hero.hero-bright .hero-sub {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.page-hero.hero-bright .hero-brand-lockup {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.hero-brand-lockup--color {
  background: transparent !important;
  background-color: transparent !important;
  width: min(28rem, 88vw);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.page-hero.hero-bright .hero-brand-lockup--color {
  background: transparent !important;
  background-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

/* Live equine hills heroes use teal titles on the bright photo */
.hero-live-equine.hero-bright h1,
.hero-live-mobile-equine.hero-bright h1 {
  color: #005F80;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
}
.page-hero.hero-bright .hero-with-graphic__media .header-graphic {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

/* Hero background video (Meet The Herd, Recovery Lab, Doners, Thanks) */
.page-hero--video {
  overflow: hidden;
}
.page-hero--video .hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-hero--video .hero-video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.page-hero--video::after {
  z-index: 1;
}
.page-hero--video .container {
  position: relative;
  z-index: 2;
}


/* Brand lockup: company name + slogan — proportional, no wrap; page H1 stays dominant */
/* Brand lockup — matches Kelly’s logotag.jpg proportion (logo + angled tagline) */
.hero-brand {
  margin: 0 0 0.85rem;
  max-width: min(100%, 34rem);
}

/* Page title rises beside lockup (e.g. BlogLab) */
.hero-brand--with-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1.15rem;
  max-width: min(100%, 48rem);
}
.hero-brand--with-title .hero-brand-lockup {
  width: min(28rem, 72vw);
  flex: 0 1 auto;
}
.hero-brand--with-title .hero-page-title {
  margin: 0 0 0.15rem;
  flex: 0 1 auto;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-live-blog-lab .hero-brand--with-title .hero-page-title {
  /* white for readability on our dark blue / tinted photo hero */
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}
@media (max-width: 720px) {
  .hero-brand--with-title {
    align-items: center;
  }
  .hero-brand--with-title .hero-brand-lockup {
    width: min(100%, 92vw);
  }
  .hero-brand--with-title .hero-page-title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
}

.hero-brand-lockup {
  display: block;
  width: min(34rem, 92vw);
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
}

/* Full-color lockup on bright sky / light heroes (readable vs white mark) */



/* Fallback stacked text+svg if lockup img missing */
.hero-brand-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}
.hero-brand-slogan {
  display: block;
  width: 55%; /* ~logotag slogan/name width ratio */
  margin: 0.2rem 0 0 47%; /* starts mid-logo like reference */
  height: auto;
  transform: rotate(-7deg);
  transform-origin: left center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.hero-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #fff;
  white-space: nowrap;
}
.home-hero .hero-brand {
  margin-bottom: 1.15rem;
  max-width: min(100%, 38rem);
}
.home-hero .hero-brand-lockup {
  width: min(38rem, 94vw);
}
.ylt {
  width: min(34rem, 92vw);
  margin: 0.35rem 0 0.75rem;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
}
@media (max-width: 720px) {
  .hero-brand-lockup,
  .home-hero .hero-brand-lockup,
  .ylt {
    width: min(100%, 92vw);
  }
  .hero-brand-name {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }
  .hero-brand-slogan {
    width: 58%;
    margin-left: 42%;
  }
  .page-hero h1 {
    white-space: normal;
  }
}


.home-hero {
  min-height: min(72vh, 620px);
  background-image: url("../assets/photos/live/AdobeStock_168006944.jpg");
  background-position: 62% 35%;
  background-size: cover;
}
/* Shared photo hero backgrounds (desktop defaults; mobile swaps below) */
.hero-photo-home {
  background-image: url("../assets/photos/live/AdobeStock_168006944.jpg");
  background-position: 62% 30%;
  background-size: cover;
}
.hero-photo-whisp {
  background-image: url("../assets/photos/hero-whisp.jpg");
  background-position: center 30%;
  background-size: cover;
}
.hero-photo-whisp.page-hero--tinted {
  background-image:
    linear-gradient(rgba(0,50,70,0.65), rgba(0,50,70,0.45)),
    url("../assets/photos/hero-whisp.jpg");
}
.hero-photo-herd {
  background-image: url("../assets/photos/hero-herd.jpg");
  background-position: center 40%;
  background-size: cover;
}
.cta-photo-whisp {
  background-image: url("../assets/photos/hero-whisp.jpg");
  background-position: center 30%;
  background-size: cover;
}
.home-hero::after {
  background: linear-gradient(90deg, rgba(20,30,40,0.45) 0%, rgba(20,30,40,0.15) 55%, transparent 80%);
}
.home-hero-content { max-width: 520px; padding: 4rem 0; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--offwhite); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2, .section-teal a { color: #fff; }
.lead { font-size: 1.08rem; color: var(--muted); }
.two-col {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start;
}
/* When a checklist sits beside prose, shrink the text column so checks have room */
.two-col:has(.checklist) {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  gap: 1.75rem 2rem;
}
/* Both columns have their own checklists — keep equal width */
.two-col:has(> :first-child .checklist):has(> :last-child .checklist) {
  grid-template-columns: 1fr 1fr;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  /* Flow down each column — keep checks tight but readable */
  column-count: 2;
  column-gap: 1.75rem;
  column-fill: balance;
  min-width: 0;
}
.checklist li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.35;
  min-height: 1.45rem;
  height: auto;
  margin: 0 0 0.45rem !important; /* space so circle checks never touch */
  padding: 0.2rem 0 !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.checklist li:last-child {
  margin-bottom: 0 !important;
}
.checklist li + li {
  margin-top: 0 !important;
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  margin: 0;
  line-height: 1;
}
/* Long check labels beside a text column: one column so circles never collide */
.two-col > * > .checklist.checklist--long,
.checklist.checklist--long {
  column-count: 1;
  max-width: 36rem;
}
.divider { height: 3px; width: 64px; background: var(--teal); margin: 0.75rem 0 1rem; }
.tagline-block h2 { color: var(--utility); margin-bottom: 0.35rem; }
.tagline-block .accent { color: var(--teal); }

/* Pathway / cards */
.pathway-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,40,60,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--teal); font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; }
.card p { flex: 1; color: var(--muted); font-size: 0.95rem; }
.card .card-link { margin-top: 0.75rem; font-weight: 600; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem;
}
.blog-card img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 4px 4px 0 0;
  background: #c5d4dc;
}
.blog-card .card-body { padding: 1.15rem 1.25rem 1.35rem; }
.blog-card { padding: 0; overflow: hidden; }

/* Quote carousel */
.quote-carousel {
  position: relative; max-width: 780px; margin: 0 auto; text-align: center;
  min-height: 160px;
}
.quote-slide { display: none; padding: 0 2.5rem; }
.quote-slide.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.quote-text {
  font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--teal); line-height: 1.4; margin-bottom: 0.85rem;
}
.quote-attr { color: var(--muted); font-style: italic; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--teal);
  font-size: 1.75rem; cursor: pointer; padding: 0.35rem 0.5rem;
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots { display: flex; gap: 0.45rem; justify-content: center; margin-top: 1.25rem; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: #b7c9d2; cursor: pointer; padding: 0;
}
.carousel-dots button.active { background: var(--teal); }

/* Anchor subnav */
/* In-page anchor strip under hero — same pattern as header; even top/bottom spacing */
.anchor-nav {
  background-color: var(--teal);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
  position: sticky;
  top: 78px;
  z-index: 800;
  padding: 0.85rem 0; /* equal top & bottom outer spacing */
}
.anchor-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0.45rem 1.15rem; /* even row + column gaps when links wrap */
  padding: 0; /* outer padding lives on .anchor-nav so top == bottom */
}
.anchor-nav a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem; /* equal vertical padding on each link */
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
}
.anchor-nav a:hover { text-decoration: underline; }

/* Modality / content blocks */
.modality { padding: 2.75rem 0; border-bottom: 1px solid var(--border); scroll-margin-top: 140px; }
.modality:last-of-type { border-bottom: none; }
.modality .subhead { font-family: var(--font-sans); font-weight: 700; color: var(--utility); font-size: 1.05rem; margin-bottom: 1rem; }
.columns-2 { columns: 2; column-gap: 2rem; }
.columns-2 > * { break-inside: avoid; }

/* Staff */
.staff-grid { display: grid; gap: 2rem; }
.staff-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem;
  padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: 6px;
}
.staff-avatar {
  width: 160px; height: 160px; border-radius: 6px;
  background: linear-gradient(145deg, #9eb9c7, #5f8799);
  overflow: hidden;
  flex-shrink: 0;
}
.staff-avatar img,
.staff-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.staff-card h3 { margin-bottom: 0.2rem; color: var(--teal); font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; }
.staff-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
/* Section difference band — full-width rounded pattern container (live-site style) */
.section-bar,
.pattern-band {
  background-color: var(--teal);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
  color: #fff;
  border-radius: 20px;
  padding: 1.05rem 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.section-bar a,
.pattern-band a {
  color: #fff;
  text-decoration: none;
}
.section-bar a:hover,
.pattern-band a:hover {
  text-decoration: underline;
  color: #fff;
}
@media (max-width: 720px) {
  .section-bar,
  .pattern-band {
    border-radius: 16px;
    padding: 0.95rem 1.1rem;
    margin: 2rem 0 1.25rem;
  }
}


/* In-body content photos (live-site style) */
.content-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 30%;
}
.content-photo-wrap {
  margin: 0;
  min-width: 0;
}
.content-photo-wrap figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}



/* Content photo rows / rounded helpers */
.content-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 1.25rem 0;
}
.content-photo-row--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}
.content-photo.img-rounded,
.img-rounded {
  border-radius: 10px;
}
.content-illustration {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.content-icon-inline {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
}
/* audit hero photo size set under .audit-page below */
.provider-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  margin: 0 auto 1rem;
}
@media (max-width: 720px) {
  .content-photo-row {
    grid-template-columns: 1fr;
  }
  .content-photo {
    max-width: 100%;
    object-position: center 28%;
  }
}

/* IOP / service icon cards */
.icon-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.85rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0,40,60,0.04);
}
.icon-card img,
.icon-card .icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.icon-card h3 {
  margin: 0 0 0.35rem;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
}
.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.icon-card-stack {
  display: grid;
  gap: 0.85rem;
}
@media (max-width: 720px) {
  .icon-card {
    grid-template-columns: 48px 1fr;
    padding: 1rem;
  }
  .icon-card img,
  .icon-card .icon-img {
    width: 48px;
    height: 48px;
  }
}

/* FAQ accordion */
.faq-layout { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 2rem; align-items: start; }
.accordion details {
  background: var(--teal); color: #fff; margin-bottom: 0.55rem;
  border-radius: var(--radius); overflow: hidden;
}
.accordion summary {
  list-style: none; cursor: pointer; padding: 0.95rem 1.15rem;
  font-weight: 500; display: flex; justify-content: space-between; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "▾"; }
.accordion details[open] summary::after { content: "▴"; }
.accordion .answer {
  background: #fff; color: var(--text); padding: 1rem 1.15rem 1.15rem;
  border: 1px solid var(--border); border-top: none;
}
.sidebar-box {
  background: var(--offwhite); padding: 1.5rem; border-radius: 6px;
  border: 1px solid var(--border); position: sticky; top: 160px;
}
.sidebar-box h2 { font-size: 1.4rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.3rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="url"], input[type="file"], input[type="number"], input[type="search"],
select, textarea {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--border);
  background: #f3f5f6; border-radius: var(--radius);
  font-family: inherit; font-size: 16px; line-height: 1.4;
  min-height: 44px;
}
select { min-height: 44px; }
textarea { min-height: 110px; }
textarea { resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 34rem; /* shorter than full form so wraps don’t orphan a few words */
  text-wrap: pretty;
}

/* Balanced text measure — shorter lines so wraps don’t leave a tiny leftover last line */
.section .container > p,
.section .container > .lead,
.modality > p,
.modality .subhead,
.answer > p,
.sidebar-box > p,
.callout > p,
.content-copy > p,
.tagline-block,
.hero-sub {
  max-width: 40rem;
  text-wrap: pretty;
}
.section .container > p.center,
.section .container > .center {
  max-width: none; /* centered CTAs stay full-width for layout */
}
/* Headings: avoid a lone last word when titles wrap */
h1, h2, h3, .sidebar-box h2 {
  text-wrap: pretty;
}
/* Pretty wrapping for remaining prose without forcing a narrow column in grids */
p, li, dd, blockquote, .lead, .form-note, .card p, .icon-card p, .staff-card p {
  text-wrap: pretty;
}
/* Keep checklist / insurance / nav items as previously constrained */
.checklist li,
.insurance-list li,
.anchor-nav a,
.nav-link,
.hero-brand-name,
.hero-eyebrow {
  text-wrap: unset;
}


fieldset {
  border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
}
legend { font-weight: 600; color: var(--teal); padding: 0 0.35rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }

/* Audit Bitch magenta theme (page only) */
body.audit-page { --accent: var(--magenta); }
.audit-page h1, .audit-page h2, .audit-page .section-bar { color: var(--magenta); }
.audit-page .btn-magenta {
  background: var(--magenta); color: #fff !important; border-color: var(--magenta);
}
.audit-page .btn-magenta:hover { background: var(--magenta-dark); }
.audit-hero {
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center;
  padding: 2.5rem 0;
}
.audit-badge {
  width: 200px; height: 200px; border: 6px solid var(--magenta); border-radius: 8px;
  background: #fce4ec; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; font-weight: 700; color: var(--magenta);
}
.audit-title .script {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--magenta); line-height: 1;
}
.audit-section { padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.audit-section h2 {
  color: var(--magenta); text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 1.35rem; border-bottom: 1px solid #ccc; padding-bottom: 0.45rem;
}

/* Stats / equine */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 1.5rem; text-align: center;
}
.stat-card .num {
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--teal); display: block;
}
.callout {
  background: var(--teal); color: #fff; padding: 1.25rem 1.5rem; border-radius: 6px;
  margin: 1.25rem 0;
}
.callout a { color: #fff; text-decoration: underline; }
.cta-banner {
  background: #5a6a74 center/cover no-repeat; color: #fff;
  text-align: center; padding: 4rem 1rem;
  position: relative;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; background: rgba(0,50,70,0.55);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .btn { border-color: #fff; }

/* Footer */
.site-footer {
  color: #fff; padding: 2.75rem 0 1.5rem; margin-top: 0;
  background-color: #0b3a4d;
  background-image: linear-gradient(rgba(8,40,55,0.72), rgba(8,40,55,0.72)), url("../assets/pattern.jpg");
  /* repeat-x only — vertical repeat creates a visible seam above the social icons */
  background-repeat: no-repeat, repeat-x;
  background-position: center top, center top;
  background-size: auto, auto 100%;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  /* Wider logo column + tighter link columns so Explore isn’t cramped against the lockup */
  grid-template-columns: minmax(0, 1.85fr) repeat(4, minmax(0, 0.92fr));
  column-gap: 1.35rem;
  row-gap: 1.75rem;
  align-items: start;
}
.footer-grid > div:first-child {
  padding-right: 2.5rem;
  box-sizing: border-box;
}
.footer-logo {
  display: inline-block;
  background: transparent;
  padding: 0;
  margin-bottom: 0.85rem;
}
.footer-logo img { height: 56px; width: auto; }
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.95;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}
.footer-hours { font-size: 0.85rem; opacity: 0.9; max-width: 28rem; }
.footer-col h3 {
  color: #fff; font-family: var(--font-sans); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.92rem; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  border-top: none;
  padding-top: 0;
}
/* Full-width separator above Sun City / AD HAUS (edge to edge of footer) */
.footer-bottom-wrap {
  width: 100%;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-sizing: border-box;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.88rem;
}
.adhaus { font-weight: 500; }
.adhaus:hover { text-decoration: underline; }

/* Misc */
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.stack-gap > * + * { margin-top: 1rem; }
.icon-svg { width: 18px; height: 18px; fill: currentColor; }
/* Yelp FA mark (taller viewBox) reads larger than 24x24 brand icons — nudge down to match the row */
a[aria-label="Yelp"] .icon-svg {
  width: 14px;
  height: 14px;
}

.whisp-band {
  background: url("https://irp.cdn-website.com/65a27f13/dms3rep/multi/opt/whisp-1920w.jpg") center/cover;
  min-height: 120px;
}
.intro-premiere { font-family: var(--font-sans); font-weight: 700; color: var(--utility); font-size: 1.35rem; }
.sessions-box { margin-top: 1.5rem; }
.sessions-box h2 { font-family: var(--font-sans); font-size: 1.2rem; color: var(--utility); font-weight: 700; }
.bold-teal { color: var(--teal); font-weight: 700; }
.stub-note {
  background: #fff8e6; border: 1px solid #f0d78c; padding: 1rem 1.25rem;
  border-radius: 6px; margin: 1.5rem 0;
}


/* Mobile nav — show hamburger whenever layout is narrowed (incl. collapsed desktop) */
@media (max-width: 1200px) {
  .nav-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--teal);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1.25rem;
    box-shadow: var(--shadow);
    background-image: url("../assets/pattern.jpg");
    background-size: auto;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
  }
  .primary-nav.is-open {
    display: flex !important;
  }
  .primary-nav > li { width: 100%; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    display: none;
    min-width: 0;
    top: auto;
    padding-top: 0.25rem;
    z-index: auto;
  }
  .dropdown::before { display: none; }
  .nav-item.open > .dropdown { display: block; }
  .dropdown a {
    color: #fff;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
  }
  .site-header .container.nav-bar,
  .nav-bar {
    position: relative;
  }
}

@media (max-width: 1024px) {
  .pathway-grid, .blog-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .two-col, .faq-layout { grid-template-columns: 1fr; }
  .columns-2 { columns: 1; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { position: sticky; top: 0; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--teal); flex-direction: column; align-items: stretch;
    padding: 0.5rem 1rem 1.25rem; box-shadow: var(--shadow);
    background-image: url("../assets/pattern.jpg");
    background-size: auto;
    max-height: calc(100vh - 78px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > li { width: 100%; }
  .nav-link {
    width: 100%; justify-content: space-between;
    min-height: 44px; padding: 0.75rem 0.85rem;
  }
  .dropdown {
    position: static; box-shadow: none; background: rgba(255,255,255,0.08);
    display: none; min-width: 0;
    top: auto; padding-top: 0.25rem; z-index: auto;
  }
  .dropdown::before { display: none; }
  .nav-item.open > .dropdown { display: block; }
  .dropdown a {
    color: #fff; min-height: 44px; display: flex; align-items: center;
    padding: 0.7rem 1rem;
  }
  .dropdown a:hover { background: rgba(255,255,255,0.15); color: #fff; }
  .dropdown .subhead { color: rgba(255,255,255,0.7); }
  .anchor-nav { top: 78px; padding: 0.75rem 0; }
  .anchor-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.65rem; /* equal top/bottom on tap targets */
  }
  .modality { scroll-margin-top: 160px; }
  .btn, .spwidget-button { min-height: 44px; }
  .utility-social a { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; overflow-x: hidden; }
  .container { width: min(100% - 1.25rem, var(--max)); }
  .utility-inner {
    flex-direction: column; align-items: stretch; gap: 0.65rem;
    padding: 0.65rem 0;
  }
  .utility-social { justify-content: center; }
  .utility-nap {
    order: 0; flex-basis: auto; font-size: 0.8125rem; line-height: 1.45;
    text-align: center; word-break: break-word;
  }
  .utility-bar .spwidget-button.btn-sm,
  .utility-bar .spwidget-button,
  .utility-bar .btn-book {
    width: 100%; min-height: 44px; font-size: 16px; padding: 0.7rem 1rem;
    white-space: normal; text-align: center;
  }
  .logo-link img { height: 48px; }
  .pathway-grid, .blog-grid, .stat-grid, .footer-grid, .form-grid, .staff-grid {
    grid-template-columns: 1fr;
  }
  .checklist { column-count: 1; }
  .staff-card { grid-template-columns: 1fr; }
  .staff-avatar { width: 120px; height: 120px; }
  .audit-hero { grid-template-columns: 1fr; }
  /* home-hero mobile framing set in Mobile photo framing block below */
  .page-hero .container { padding: 2.5rem 0; }
  .section { padding: 2.5rem 0; }
  .quote-slide { padding: 0 2rem; }
  .carousel-btn { min-width: 44px; min-height: 44px; }
  .accordion summary { min-height: 44px; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* Nested Services flyouts — live-site style + reachable hover path */
.dropdown-wide { min-width: 280px; }
.dropdown .has-flyout { position: relative; }
.dropdown .has-flyout > a { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.dropdown .flyout {
  position: absolute;
  top: -0.55rem;
  left: calc(100% - 8px); /* overlap parent so cursor never hits a gap */
  display: none;
  min-width: 280px;
  margin: 0;
  padding-top: 0.55rem;
  z-index: 10060;
}
/* Bridge on the left edge of nested flyout */
.dropdown .flyout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 16px;
  height: auto;
}
.dropdown .has-flyout:hover > .flyout,
.dropdown .has-flyout:focus-within > .flyout,
.dropdown .has-flyout.open > .flyout { display: block; }
@media (max-width: 1024px) {
  .dropdown .flyout {
    position: static;
    left: auto;
    top: auto;
    box-shadow: none;
    min-width: 0;
    padding-left: 0.75rem;
    padding-top: 0.15rem;
    background: rgba(0,0,0,0.12);
  }
  .dropdown .flyout::before { display: none; }
  .dropdown .has-flyout > a { min-height: 44px; }
  .dropdown .has-flyout.open > .flyout { display: block; }
  /* Disable hover-open on touch; JS .open class controls expand */
  .dropdown .has-flyout:hover > .flyout { display: none; }
  .dropdown .has-flyout.open:hover > .flyout,
  .dropdown .has-flyout.open > .flyout { display: block; }
}


/* RSS.app blog wall (homepage) */
.rss-wall { width: 100%; min-height: 320px; }
.rss-wall rssapp-wall { display: block; width: 100%; }


/* Soro blog embed (/blog-lab) */
#soro-blog { width: 100%; min-height: 480px; }


/* SimplePractice appointment widget */
.spwidget-button-wrapper { text-align: center; }
.spwidget-button {
  display: inline-block;
  padding: 12px 24px;
  color: #fff !important;
  background: #005f80;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.spwidget-button:hover { background: #0b718f; color: #fff !important; }
.spwidget-button:active {
  color: rgba(255, 255, 255, .75) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15) inset;
}
/* Keep utility-bar book button compact */
.utility-bar .spwidget-button.btn-sm,
.utility-bar .spwidget-button {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
}


.form-note[data-form-msg] { white-space: pre-line; margin-top: 0.75rem; }


/* Prevent iOS Safari auto-zoom on form focus — NEVER shrink below 16px */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="url"],
input[type="file"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select,
.form-grid input,
.form-grid textarea,
.form-grid select,
.sidebar-box input,
.sidebar-box textarea,
.sidebar-box select {
  font-size: 16px;
}
@media (max-width: 1024px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="url"],
  input[type="file"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  textarea,
  select,
  .form-grid input,
  .form-grid textarea,
  .form-grid select,
  .sidebar-box input,
  .sidebar-box textarea,
  .sidebar-box select {
    font-size: 16px !important;
    line-height: 1.4;
  }
}

/* Extra-narrow phones: single column, no horizontal scroll */
@media (max-width: 428px) {
  .pathway-grid, .blog-grid, .stat-grid, .form-grid, .staff-grid {
    grid-template-columns: 1fr;
  }
  .checklist { column-count: 1; }
  .nav-bar { min-height: 64px; }
  .home-hero-content { padding: 2.5rem 0; }
}

@media (max-width: 320px) {
  body { font-size: 16px; }
  .container { width: min(100% - 1rem, var(--max)); }
}



/* Checklist: single column on tablet/mobile — gaps OK when stacked */
@media (max-width: 900px) {
  .two-col:has(.checklist) {
    grid-template-columns: 1fr;
  }
  .checklist,
  .two-col > .checklist,
  .two-col > * > .checklist,
  .checklist.checklist--long {
    column-count: 1;
  }
  .checklist li {
    white-space: normal;
    padding: 0.28rem 0 !important;
    margin: 0 0 0.5rem !important;
    min-height: 0;
  }
  .checklist li:last-child {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 380px) {
  .checklist li {
    font-size: 0.9rem;
  }
}

/* Mobile photo framing — keep primary subjects visible */
.img-cover-safe {
  object-fit: cover;
  object-position: center 25%;
}
.photo-safe {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #eee;
  border-radius: 8px;
}
.blog-card img {
  object-fit: cover;
  object-position: center 20%;
}

@media (max-width: 720px) {
  /* Use original heroes only — no blur-padded mobile variants */
  .page-hero {
    min-height: 360px;
    background-position: center 28%;
    background-size: cover;
  }

  .hero-live-surprise {
    background-image: url("../assets/photos/west-valley/hero-surprise.jpg");
    background-position: 82% 30%;
  }
  .hero-live-peoria {
    background-image: url("../assets/photos/west-valley/hero-peoria.jpg");
    background-position: 88% 32%;
  }
  .hero-live-glendale {
    background-image: url("../assets/photos/west-valley/hero-glendale.jpg");
    background-position: 84% 30%;
  }
  .hero-live-sun-city-west {
    background-image: url("../assets/photos/west-valley/hero-sun-city-west.jpg");
    background-position: 86% 32%;
  }

  .home-hero {
    min-height: 480px;
    background-image: url("../assets/photos/live/AdobeStock_168006944.jpg");
    background-position: 62% 32%;
    background-size: cover;
  }
  .hero-photo-home {
    min-height: 360px;
    background-image: url("../assets/photos/live/AdobeStock_168006944.jpg");
    background-position: 62% 32%;
  }
  .hero-photo-whisp {
    min-height: 340px;
    background-image: url("../assets/photos/hero-whisp.jpg");
    background-position: center center;
  }
  .hero-photo-whisp.page-hero--tinted {
    background-image:
      linear-gradient(rgba(0,50,70,0.65), rgba(0,50,70,0.45)),
      url("../assets/photos/hero-whisp.jpg");
  }
  .hero-photo-herd {
    min-height: 380px;
    background-image: url("../assets/photos/hero-herd.jpg");
    background-position: center 40%;
  }
  .cta-photo-whisp {
    background-image: url("../assets/photos/hero-whisp.jpg");
    background-position: center center;
  }
  .blog-card img {
    height: 220px;
    object-position: center 18%;
  }
  .cta-banner {
    background-position: center 30%;
  }
  /* Prefer full subject; light letterboxing OK on narrow screens */
  .photo-safe {
    object-fit: contain;
    max-height: none;
  }
}


/* —— Mobile text wrapping safety (avoid live-site style clip/odd wraps) —— */
/* Do NOT clip on html — it cuts off sticky header dropdowns/flyouts */
html {
  overflow-x: hidden;
}
main, footer {
  overflow-x: clip;
}
body {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1, h2, h3, h4, h5, h6,
p, li, td, th, label, legend,
.lead, .card p, .card h3, .modality,
.sidebar-box, .footer-col, .utility-nap,
.quote-text, .sessions-box, .intro-premiere {
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}
/* Long emails / URLs / unbroken strings */
a[href^="mailto:"],
a[href^="http"],
a[href^="tel:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Flex/grid children must be allowed to shrink or text overflows */
.two-col > *,
.staff-card > *,
.pathway-grid > *,
.footer-grid > *,
.card,
.form-grid > *,
.container > * {
  min-width: 0;
}
.container {
  max-width: 100%;
  box-sizing: border-box;
}
/* Never nowrap body copy */
p, li, dd, blockquote, .lead, .form-note, .footer-hours, .footer-copy {
  white-space: normal;
}
/* Display headings: allow wrap, slightly tighter tracking on narrow screens */
@media (max-width: 720px) {
  h1, h2, .audit-hero-title, .page-hero h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: manual;
    letter-spacing: normal;
    line-height: 1.2;
  }
  .ylt {
    max-width: min(100%, 320px);
    height: auto;
  }
  .columns-2 { columns: 1 !important; }
  .anchor-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0; /* keep top/bottom equal when scrolling */
  }
  .anchor-nav .container {
    gap: 0.4rem 0.85rem;
  }
  .anchor-nav a {
    white-space: normal;
    max-width: 100%;
    padding: 0.5rem 0.6rem;
  }
  /* Prevent absolute/fixed text from escaping viewport */
  .section, .page-hero, main, footer, header {
    max-width: 100vw;
  }
  details summary {
    white-space: normal;
    overflow-wrap: break-word;
  }
}


/* Footer one-liners: address+suite and copyright stay on a single line */
.footer-address {
  display: inline;
  font-size: 0.78rem;
  white-space: nowrap;
}
.footer-copy {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: visible;
}
@media (max-width: 720px) {
  .footer-copy,
  .footer-address {
    font-size: 0.7rem;
    white-space: nowrap;
  }
}


/* Hero framing across desktop / tablet / mobile — live photos, no blur pads */
.page-hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
}
.home-hero {
  background-position: center right;
}
@media (max-width: 1024px) {
  .page-hero {
    min-height: 300px;
    background-position: center 32%;
  }
  .home-hero {
    background-position: 70% 35%;
    min-height: 460px;
  }
}
@media (max-width: 720px) {
  .page-hero {
    min-height: 280px;
    background-position: center 28%;
    background-size: cover;
  }
  .home-hero {
    min-height: 420px;
    background-position: 62% 30%;
  }
}


/* ===== Per-page LIVE heroes (unique photos; do not reuse stand-ins) ===== */
/* services4 family: subject on RIGHT — bias X toward right so face stays in frame */
.hero-live-get-to-know-tpl,
.hero-live-get-to-know-your-staff,
.hero-live-services,
.hero-live-privacy,
.hero-live-iop {
  background-image: url("../assets/photos/live/services4-bg.jpg");
  background-position: 85% 28%;
  background-size: cover;
}
/* courses-bg: subject on RIGHT */
.hero-live-therapy,
.hero-live-provider-services {
  background-image: url("../assets/photos/live/courses-bg.jpg");
  background-position: 82% 40%;
  background-size: cover;
}
.hero-live-equine,
.hero-live-mobile-equine {
  background-image: url("../assets/photos/live/AdobeStock_8326138.jpg");
  background-position: center 40%;
  background-size: cover;
}
/* child-bg: subject on RIGHT */
.hero-live-faq {
  background-image: url("../assets/photos/live/child-bg.jpg");
  background-position: 85% 30%;
  background-size: cover;
}
.hero-live-blog-lab {
  /* live uses cover + 50% 50%; photo is already blue-tinted */
  background-image: url("../assets/photos/live/AdobeStock_219643557v2.jpg");
  background-position: center center;
  background-size: cover;
}
.hero-live-blog-lab.page-hero--tinted {
  /* light wash only — avoid double-darkening the live-grade photo */
  background-image:
    linear-gradient(rgba(0,40,60,0.28), rgba(0,40,60,0.12)),
    url("../assets/photos/live/AdobeStock_219643557v2.jpg");
}
.hero-live-blog-lab.page-hero--tinted::after {
  /* soften default page-hero ::after so framing matches live clarity */
  background: linear-gradient(90deg, rgba(0,40,60,0.22), rgba(0,40,60,0.05));
}
/* contact: woman+pony centered-ish */
.hero-live-contact {
  background-image: url("../assets/photos/live/DSC_0060.jpg");
  background-position: 48% 30%;
  background-size: cover;
}

/* West Valley area satellite heroes — AI portraits facing left on grey-blue wall */
.hero-live-surprise {
  background-image: url("../assets/photos/west-valley/hero-surprise.jpg");
  background-position: 72% 28%;
  background-size: cover;
}
.hero-live-peoria {
  background-image: url("../assets/photos/west-valley/hero-peoria.jpg");
  background-position: 78% 30%;
  background-size: cover;
}
.hero-live-glendale {
  background-image: url("../assets/photos/west-valley/hero-glendale.jpg");
  background-position: 74% 28%;
  background-size: cover;
}
.hero-live-sun-city-west {
  background-image: url("../assets/photos/west-valley/hero-sun-city-west.jpg");
  background-position: 76% 30%;
  background-size: cover;
}
.hero-live-surprise.hero-bright h1,
.hero-live-peoria.hero-bright h1,
.hero-live-glendale.hero-bright h1 {
  color: #005F80;
  text-shadow: 0 1px 2px rgba(255,255,255,0.55);
}
.hero-live-sun-city-west.hero-bright h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero-live-surprise.hero-bright .hero-sub,
.hero-live-peoria.hero-bright .hero-sub,
.hero-live-glendale.hero-bright .hero-sub,
.hero-live-sun-city-west.hero-bright .hero-sub {
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.45);
}

.hero-live-recovery,
.hero-live-doners,
.hero-live-herd,
.hero-live-thanks {
  background-image: url("../assets/photos/live/AdobeStock_184689163.jpg");
  background-position: center 40%;
  background-size: cover;
}
.hero-live-offtherecord {
  background-image: url("../assets/photos/live/offtherecord3.jpg");
  background-position: center center;
  background-size: cover;
}
.hero-live-solid {
  background: #3a4a52;
  background-image: none;
}
.home-hero {
  background-image: url("../assets/photos/live/AdobeStock_168006944.jpg");
  background-position: 62% 35%;
  background-size: cover;
}

/* Tablet ~768 */
@media (max-width: 1024px) {
  .hero-live-get-to-know-tpl,
  .hero-live-get-to-know-your-staff,
  .hero-live-services,
  .hero-live-privacy,
  .hero-live-iop {
    background-position: 88% 30%;
    min-height: 300px;
  }
  .hero-live-therapy,
  .hero-live-provider-services {
    background-position: 85% 38%;
  }
  .hero-live-equine,
  .hero-live-mobile-equine {
    background-position: center 42%;
  }
  .hero-live-faq {
    background-position: 88% 28%;
  }
  .hero-live-blog-lab {
    background-position: center center;
  }
  .hero-live-contact {
    background-position: 50% 28%;
  }
  .hero-live-recovery,
  .hero-live-doners,
  .hero-live-herd,
  .hero-live-thanks {
    background-position: center 38%;
  }
  .hero-live-offtherecord {
    background-position: center 40%;
  }
  .home-hero {
    background-position: 68% 32%;
    min-height: 460px;
  }
  .staff-avatar { width: 140px; height: 140px; }
}

/* Mobile ~390 — keep faces/subjects in frame; cover only, no blur pads */
@media (max-width: 720px) {
  .hero-live-get-to-know-tpl,
  .hero-live-get-to-know-your-staff,
  .hero-live-services,
  .hero-live-privacy,
  .hero-live-iop {
    background-position: 92% 22%;
    min-height: 260px;
  }
  .hero-live-therapy,
  .hero-live-provider-services {
    background-position: 90% 32%;
    min-height: 260px;
  }
  .hero-live-equine,
  .hero-live-mobile-equine {
    background-position: center 45%;
    min-height: 300px;
  }
  .hero-live-faq {
    background-position: 92% 22%;
    min-height: 240px;
  }
  .hero-live-blog-lab {
    background-position: center center;
    min-height: 280px;
  }
  .hero-live-contact {
    background-position: 45% 22%;
    min-height: 280px;
  }
  .hero-live-recovery,
  .hero-live-doners,
  .hero-live-herd,
  .hero-live-thanks {
    background-position: center 35%;
    min-height: 300px;
  }
  .hero-live-offtherecord {
    background-position: center center;
    min-height: 240px;
  }
  .home-hero {
    background-position: 62% 28%;
    min-height: 420px;
  }
  .staff-avatar { width: 120px; height: 120px; margin: 0 auto; }
}

/* FAQ insurance list — clear spelling, balanced spacing */
.insurance-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}
.insurance-list li {
  break-inside: avoid;
  margin: 0.2rem 0;
}
@media (max-width: 720px) {
  .insurance-list { columns: 1; }
}


/* Hero + overlapping circles (live 2-col inside video heroes) */
.hero-with-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
  position: relative;
  z-index: 2;
}
.hero-with-graphic__text {
  text-align: left;
}
.hero-with-graphic__text .hero-sub {
  margin-left: 0;
  margin-right: 0;
}
.hero-with-graphic__media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-hero--with-graphic .hero-with-graphic__media .header-graphic {
  max-width: min(420px, 100%);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}
.page-hero--with-graphic .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (max-width: 720px) {
  .hero-with-graphic {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 0 1.25rem;
  }
  .hero-with-graphic__text {
    text-align: center;
  }
  .hero-with-graphic__text .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .page-hero--with-graphic .hero-with-graphic__media .header-graphic {
    max-width: min(320px, 85vw);
  }
}

/* Live-style header composite graphics (e.g. overlapping equine circles) */
.header-graphic {
  display: block;
  margin: 0 auto;
  max-width: min(480px, 92vw);
  width: 100%;
  height: auto;
}
.header-graphic-wrap {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}
.header-graphic-wrap--tight {
  padding-top: 1.25rem;
  padding-bottom: 0;
}

/* The Recovery Lab unique nav — stacked bars in block below */
.trl-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}
.trl-logo-link {
  display: inline-flex;
  flex-shrink: 0;
}
.trl-logo-link img {
  height: 64px;
  width: auto;
  max-width: min(300px, 70vw);
  display: block;
}
.trl-nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex: 1 1 auto;
}
.trl-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trl-nav a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}
.trl-nav a:hover,
.trl-nav a[aria-current="page"],
.trl-nav a[aria-current="true"] {
  background: #fff;
  color: var(--teal);
  text-decoration: none;
}
.trl-nav__donate {
  border: 1px solid rgba(255,255,255,0.85);
}
.trl-nav-toggle {
  display: none;
  margin-left: auto;
}
/* Desktop: section anchors (live desktop TRL chrome). Mobile: family links. */
.trl-nav--sections { display: flex; flex-wrap: wrap; }

@media (max-width: 1200px) {
  .trl-nav-bar {
    flex-wrap: wrap;
    align-items: center;
  }
  .trl-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    font-size: 1.35rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    cursor: pointer;
    margin-left: auto;
  }
  .trl-nav-wrap {
    display: none;
    width: 100%;
    flex-basis: 100%;
    align-items: stretch;
    order: 3;
    padding: 0.5rem 0 0.75rem;
  }
  .trl-nav-wrap.is-open {
    display: flex !important;
  }
  .trl-nav--sections {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.15rem;
  }
  .trl-nav--sections a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Contact page map */
.contact-map-section {
  margin-top: 0.5rem;
}
.contact-map {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8eef1;
  aspect-ratio: 16 / 9;
  min-height: 280px;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .contact-map {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

/* Donate popup (live /donate-popup — modal from TRL pages) */
.donate-panel {
  background: #fff;
  border-radius: 5px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.donate-panel__title {
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}
.donate-panel__lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: none;
}
.donate-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.donate-square-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1rem;
  background: var(--teal);
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset;
}
.donate-square-btn:hover {
  background: var(--teal-dark, #004a66);
  color: #fff !important;
}
.donate-modal[hidden] { display: none !important; }
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.donate-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  border: 0;
  cursor: pointer;
}
.donate-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(550px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.donate-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--utility);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.donate-modal__close:hover { background: rgba(0,0,0,0.06); }
body.donate-modal-open { overflow: hidden; }

/* Good Faith Estimate Info popup (footer link — live popup) */
.gfe-panel__title {
  margin: 0 0 1rem;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 400;
}
.gfe-panel__body {
  text-align: left;
}
.gfe-panel__body p {
  max-width: none;
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}
.gfe-modal[hidden] { display: none !important; }
.gfe-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gfe-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  border: 0;
  cursor: pointer;
}
.gfe-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(904px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.gfe-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--utility);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gfe-modal__close:hover { background: rgba(0,0,0,0.06); }
body.gfe-modal-open { overflow: hidden; }

/* Audit Bitch wordmark replaces text title */
.audit-logo-heading {
  margin: 0 0 0.75rem;
  line-height: 0;
}
.audit-wordmark {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0;
}

.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;
}

/* Audit Bitch: wordmark H1 on top, cartoon + lead below */
.audit-hero.audit-hero--logo-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  grid-template-columns: none;
}
.audit-hero--logo-top .audit-logo-heading {
  margin: 0;
  width: 100%;
}
.audit-hero--logo-top .audit-wordmark {
  width: min(340px, 100%);
  height: auto;
}
.audit-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
}
@media (max-width: 800px) {
  .audit-hero-main {
    grid-template-columns: 1fr;
  }
}


/* Audit Bitch — pink star bullets (live list icons) + larger hero photo */
.audit-page {
  --audit-pink: #e4087e;
}
.audit-page main ul {
  list-style: none;
  padding-left: 0;
  margin: 0.35rem 0 0.75rem;
}
.audit-page main ul > li {
  position: relative;
  padding-left: 1.55rem;
  margin: 0.35rem 0 !important;
  line-height: 1.35;
  white-space: normal;
  height: auto;
  display: block;
  break-inside: auto;
}
.audit-page main ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  background: url("../assets/icons/audit-star.svg") center / contain no-repeat;
  border-radius: 0;
  /* override teal checkmark styles */
  background-color: transparent;
  font-size: 0;
  color: transparent;
  display: block;
  margin: 0;
}
.audit-page .checklist {
  column-count: 2;
  column-gap: 1.5rem;
}
.audit-page .checklist li {
  display: block;
  height: auto;
  line-height: 1.35;
  white-space: normal;
  padding-left: 1.55rem !important;
}
.audit-page .checklist li::before {
  content: "" !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  background: url("../assets/icons/audit-star.svg") center / contain no-repeat !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  position: absolute;
  left: 0;
  top: 0.15rem;
  display: block !important;
}
.audit-page .audit-hero-main .content-photo,
.audit-page .audit-hero .content-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  min-height: 0;
}
.audit-page .audit-hero-main {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 2.25rem;
  align-items: start;
}
@media (max-width: 800px) {
  .audit-page .checklist { column-count: 1; }
  .audit-page .audit-hero-main {
    grid-template-columns: 1fr;
  }
  .audit-page .audit-hero-main .content-photo {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
}

/* Recovery Lab dominant header logo (e.g. Meet the Herd) */
.logo-link--trl img {
  height: 64px;
  width: auto;
  max-width: min(300px, 70vw);
}


/* Recovery Lab own stacked nav: (1) logo + section links (2) patterned button row */
.trl-header {
  background: transparent;
  position: relative;
  z-index: 850;
  padding: 0;
}
.trl-header__top {
  background-color: var(--teal);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
}
.trl-header__buttons {
  background-color: var(--teal);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trl-pattern-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
}
.trl-pattern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 45px;
  padding: 0 1.1rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none !important;
  background-color: rgba(0, 70, 95, 0.55);
  background-image: url("../assets/pattern.jpg");
  background-repeat: repeat;
  background-size: auto;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  white-space: nowrap;
}
.trl-pattern-btn:hover {
  background-color: rgba(0, 40, 60, 0.65);
  color: #fff !important;
}
@media (max-width: 1200px) {
  .trl-pattern-btn {
    min-width: calc(50% - 0.75rem);
    flex: 1 1 160px;
  }
  .trl-header__buttons {
    padding: 0.65rem 0 0.85rem;
  }
}

.trl-pattern-btn[aria-current="page"] {
  background-color: rgba(0, 40, 60, 0.85);
  box-shadow: inset 0 0 0 2px #fff;
}


/* ===== Audit Bitch page brand (deviates from main TPL chrome) ===== */
.audit-page {
  --audit-pink: #e4087e;
  --audit-pink-dark: #c2185b;
  --audit-heading-bg: #eeeeee;
  --font-audit: "Amiri", "Times New Roman", Times, serif;
}
.audit-page main {
  font-family: var(--font-audit);
  font-size: 1.15rem;
  line-height: 1.55;
  color: #222;
}
.audit-page main p,
.audit-page main li {
  font-family: var(--font-audit);
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: none;
}
.audit-top {
  padding: 1.5rem 0 0.5rem;
}
.audit-logo-heading {
  margin: 0;
  line-height: 0;
}
.audit-wordmark {
  display: block;
  width: min(340px, 100%);
  height: auto;
}
.audit-lead {
  margin: 0.85rem 0 1.15rem; /* clear padding under logo so it isn’t part of the mark */
  padding-bottom: 0.15rem;
  font-family: var(--font-audit);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: #222;
  max-width: none;
}
.audit-intro {
  overflow: auto; /* contain float */
}
.audit-logo-heading {
  margin: 0;
}
.audit-photo {
  float: left;
  width: min(420px, 46%);
  margin: 0 1.75rem 1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible; /* let artwork (pink box + figure) show without a CSS frame */
}
.audit-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}
.audit-heading {
  clear: none;
  display: block;
  box-sizing: border-box;
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.85rem;
  background: var(--audit-heading-bg);
  border-bottom: 5px solid #98989a;
  color: var(--audit-pink) !important;
  font-family: var(--font-audit) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
/* Logo, lead, WHAT I DO bar, and body all wrap to the right of the floated photo.
   overflow:hidden on the heading makes the gray bar fill remaining width to the right edge. */
.audit-intro .audit-heading {
  overflow: hidden;
  display: block;
  width: auto;
  max-width: none;
}
.audit-section {
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  clear: both;
}
.audit-section h3 {
  font-family: var(--font-audit);
  color: #222;
  font-weight: 700;
}
.audit-page .btn-magenta,
.audit-page .btn[type="submit"] {
  background: var(--audit-pink);
  border-color: var(--audit-pink);
  font-family: var(--font-audit);
  font-weight: 700;
}
.audit-page .btn-magenta:hover,
.audit-page .btn[type="submit"]:hover {
  background: var(--audit-pink-dark);
  border-color: var(--audit-pink-dark);
}
@media (max-width: 720px) {
  .audit-photo {
    float: none;
    width: min(420px, 100%);
    margin: 0 auto 1.25rem;
  }
  .audit-intro .audit-heading {
    display: block;
    width: 100%;
    overflow: visible;
  }
  .audit-intro .audit-logo-heading,
  .audit-intro .audit-lead {
    text-align: center;
  }
  .audit-intro .audit-wordmark {
    margin-left: auto;
    margin-right: auto;
  }
}


/* West Valley area satellite page typography */
.area-page-body {
  max-width: 820px;
}
.area-page-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--teal);
  margin: 0 0 1.35rem;
  max-width: none;
}
.area-callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem 1.25rem 1.5rem;
  background: rgba(0, 95, 128, 0.07);
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
}
.area-callout p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--teal);
  max-width: none;
}
.area-page-body h2.area-subhead {
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 400;
  margin: 2rem 0 0.85rem;
}
.area-page-body > p {
  margin-bottom: 1.1rem;
}


/* —— Off The Record (/offtherecord) — no page-hero; match live two-col signup —— */
.offtherecord-page .offtherecord-main {
  padding-top: clamp(3.5rem, 8vw, 6.25rem);
  padding-bottom: clamp(4rem, 12vw, 12.5rem);
}
.offtherecord-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.offtherecord-intro {
  text-align: left;
}
.offtherecord-mark {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto 1.25rem;
}
.offtherecord-tagline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.35;
  margin: 0 0 1.5rem;
  text-align: left;
  color: var(--teal);
}
.offtherecord-tagline__muted {
  color: #98989a;
}
.offtherecord-tagline__accent {
  color: var(--teal);
}
.offtherecord-blurb {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1.75rem;
}
.offtherecord-blurb p {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.offtherecord-days {
  flex: 0 0 auto;
  width: 180px;
  max-width: 40%;
  height: auto;
}
.offtherecord-partners {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto;
}
.offtherecord-signup {
  background: var(--offwhite);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.offtherecord-signup-heading {
  text-align: center;
  margin-bottom: 0.35rem;
}
.offtherecord-form-title {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1.15rem;
  color: var(--utility);
}
.offtherecord-submit {
  text-align: left;
}
.offtherecord-submit .form-note {
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .offtherecord-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .offtherecord-tagline {
    text-align: center;
  }
}
@media (max-width: 560px) {
  .offtherecord-blurb {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .offtherecord-days {
    max-width: 160px;
    width: 160px;
  }
  .offtherecord-blurb p {
    text-align: left;
  }
}


/* Recovery Lab — The Solution: 3 on top, 2 below, same overall width */
.trl-solution {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.trl-solution__row {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}
.trl-solution__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trl-solution__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .trl-solution__row--3,
  .trl-solution__row--2 {
    grid-template-columns: 1fr;
  }
}

/* —— Blog archive tag sidebar (matches live BlogLab post sidebar) —— */
.blog-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 2rem 2.5rem;
  align-items: start;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.blog-archive-main {
  min-width: 0;
}
.blog-tag-sidebar {
  position: sticky;
  top: 1rem;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
}
.blog-tag-sidebar__heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--teal);
  margin: 0 0 0.85rem;
  line-height: 1.35;
}
.blog-tag-nav .blog-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-tag-list li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.blog-tag-list li:last-child {
  border-bottom: none;
}
.blog-tag-list a {
  display: block;
  padding: 0.45rem 0.35rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
.blog-tag-list a:hover,
.blog-tag-list a:focus-visible {
  background: var(--teal-light);
  color: var(--teal);
  outline: none;
}
@media (max-width: 860px) {
  .blog-archive-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .blog-tag-sidebar {
    position: static;
  }
}
