:root {
  --footer-bg: #98A4A6;
  --footer-text: rgba(44, 44, 44, 0.78);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #2C2C2C;
    background: #F5F0EB;
    text-wrap: pretty;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', serif;
    text-wrap: balance;
    line-height: 1.3;
}

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

/* tpa_picture() wraps images in <picture>; keep the wrapper layout-transparent
   so the inner <img> stays the flex/grid item (no layout shift on conversion). */
picture {
    display: contents;
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

/* LCP: hero image as a real <img> (Pattern A) — discovered by the preload
   scanner and loaded at high priority, unlike a CSS background. */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 15, 30, 0.05) 0%,
        rgba(20, 15, 30, 0.15) 40%,
        rgba(20, 15, 30, 0.55) 70%,
        rgba(20, 15, 30, 0.78) 100%
    );
    z-index: 1;
}

.hero-logo {
    position: absolute;
    top: 24px;
    left: 32px;
    z-index: 10;
    width: 180px;
    opacity: 0.92;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8% 64px;
    max-width: 820px;
    text-shadow: 0 1px 18px rgba(20, 15, 30, 0.35);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero h2 {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
    color: rgba(255,255,255,0.88);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
}

.hero h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.hero h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 36px;
}

.btn-hero {
    display: inline-block;
    padding: 16px 36px;
    background: rgba(245, 240, 235, 0.95);
    color: #2C2C2C;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-hero:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ─── PERSONA VIGNETTES ─── */
.personas {
    background: #A88BA0;
    color: #fff;
    padding: 100px 8%;
}

.personas-inner {
    max-width: 760px;
    margin: 0 auto;
}

.persona {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.persona:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.persona-name {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.35rem;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.persona-story {
    font-size: 1.08rem;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.93;
}

.personas-footnote {
    font-size: 0.88rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 16px;
    text-align: center;
}

/* ─── BRIDGE CTA ─── */
.bridge {
    background: #98A4A6;
    color: #2C2C2C;
    padding: 100px 8%;
    text-align: center;
}

.bridge-inner {
    max-width: 680px;
    margin: 0 auto;
}

.bridge h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 40px;
    font-weight: 400;
    font-style: italic;
}

.bridge p {
    font-size: 1.12rem;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 24px;
    color: #1F1F1F;
}

.btn-bridge {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 40px;
    background: transparent;
    color: #2C2C2C;
    border: 2px solid rgba(44,44,44,0.7);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bridge:hover {
    background: rgba(44,44,44,0.08);
    border-color: #2C2C2C;
}

/* ─── BIO ─── */
.bio {
    background: #F5F0EB;
    padding: 100px 8%;
}

.bio-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.bio-photo {
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    width: 100%;
    object-fit: cover;
    max-height: 620px;
}

/* Logo variant — no shadow/radius, centered, sized down.
   tpa_picture() wraps the logo in <picture> (display:contents globally), which
   does not reliably carry grid-item centering across browsers — so make the
   <picture> itself the centered grid item and let the <img> fill it. */
.bio-inner picture {
    display: block;
    align-self: center;
    justify-self: center;
    margin: 24px auto;
    max-width: 320px;
}
.bio-photo--logo {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.bio-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 28px;
    font-weight: 400;
}

.bio-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 22px;
    font-weight: 400;
}

.bio-closing {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.3rem !important;
    color: #A88BA0;
    margin-top: 8px;
    margin-bottom: 32px !important;
}

.bio-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outlined {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #2C2C2C;
    border: 2px solid #2C2C2C;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outlined:hover {
    background: #2C2C2C;
    color: #F5F0EB;
}

.btn-solid {
    display: inline-block;
    padding: 14px 32px;
    background: #A88BA0;
    color: #fff;
    border: 2px solid #A88BA0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    background: #967888;
    border-color: #967888;
}

/* ─── SERVICES ─── */
.services {
    background: #fff;
    padding: 100px 8%;
}

.services-heading {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 60px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 15, 30, 0.65) 0%,
        rgba(20, 15, 30, 0.1) 50%,
        transparent 100%
    );
    transition: background 0.3s ease;
}

.service-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(20, 15, 30, 0.75) 0%,
        rgba(20, 15, 30, 0.2) 50%,
        transparent 100%
    );
}

.service-label {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: #fff;
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ─── RESOLUTION ─── */
.resolution {
    background: #F5F0EB;
    padding: 100px 8%;
}

.resolution-inner {
    max-width: 760px;
    margin: 0 auto;
}

.resolution h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 36px;
    text-align: center;
}

.resolution-hope {
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 36px;
}

.resolution-consequence {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #5A5258;
}
.resolution-consequence p {
    margin: 0;
}

/* ─── FINAL CTA ─── */
.final-cta {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('../images/front-finalcta-wm.jpg');
  background-image: image-set(url('../images/front-finalcta-wm.webp') type('image/webp'), url('../images/front-finalcta-wm.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 8%);
}

.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0.18) 100%
  );
  z-index: 1;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}

.final-cta-text {
  flex: 1;
  min-width: 300px;
}

.final-cta-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6em;
}

.final-cta-text p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1em;
}

.final-cta-phone {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-top: 0.8em;
}

.final-cta-phone a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s ease;
}

.final-cta-phone a:hover {
  border-color: #fff;
}

.final-cta-form {
  flex: 0 0 clamp(320px, 35vw, 420px);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
}

.final-cta-form input,
.final-cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.final-cta-form input::placeholder,
.final-cta-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.final-cta-form input:focus,
.final-cta-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}

.final-cta-form textarea {
  height: 100px;
  resize: vertical;
}

.final-cta-form button {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.final-cta-form button:hover {
  background: rgba(255,255,255,0.35);
  border-color: #fff;
}

/* ─── FOOTER ─── */
footer {
  background: #98A4A6;
  padding: 40px clamp(24px, 6vw, 8%);
  text-align: center;
  color: rgba(44,44,44,0.85);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Footer logo lockup: mark + practice name + tagline ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 20px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.footer-inner > .footer-logo { display: flex; justify-content: center; }
.footer-logo:hover { opacity: 0.85; }
.footer-logomark {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
  text-align: left;
}
.footer-practice-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #2C2C2C;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}
.footer-tagline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.875rem; /* ≥14px touch floor (this tagline stays visible in the footer) */
  color: rgba(44, 44, 44, 0.7);
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  color: rgba(44,44,44,0.75);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #2C2C2C;
}

.footer-links {
  margin-top: 20px;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(44,44,44,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(44,44,44,0.9);
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .bio-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bio-photo {
        max-height: 480px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .final-cta-inner {
        flex-direction: column;
    }
    .final-cta-form {
        flex: 0 0 auto;
        width: 100%;
        max-width: 440px;
    }
    .hero-content {
        padding: 0 6% 48px;
    }
}

@media (max-width: 600px) {
    .hero-logo {
        width: 130px;
        top: 16px;
        left: 20px;
    }
    .hero-content {
        padding: 0 5% 36px;
    }
    .personas {
        padding: 64px 6%;
    }
    .bridge {
        padding: 64px 6%;
    }
    .bio {
        padding: 64px 6%;
    }
    .services {
        padding: 64px 6%;
    }
    .resolution {
        padding: 64px 6%;
    }
    .final-cta {
        padding: 64px 6%;
    }
    .contact-form-panel {
        padding: 28px;
    }
    .service-card {
        aspect-ratio: 3/2;
    }
}

/* ============ HEADER / NAV ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 44, 44, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 32px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: rgba(44, 44, 44, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ── Logo lockup: mark + practice name + tagline ── */
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.header-logo:hover { opacity: 0.92; }
.header-logomark {
    height: 56px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.header-wordmark {
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1;
}
.header-practice-name {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 1.22rem; /* ~19.5px */
    color: #fff;
    letter-spacing: -0.005em;
    line-height: 1;
    white-space: nowrap;
}
.header-tagline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.85rem;
    color: #C4A879; /* warm tan from the mark */
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}

/* Nav list — flat horizontal row matching mockup */
.header-nav {
    display: flex;
    align-items: center;
}
.header-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav .nav-list > li {
    list-style: none;
    position: relative;
}
.header-nav .nav-list > li > a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}
.header-nav .nav-list > li > a:hover {
    color: #fff;
}

/* Phone number — inside the nav list */
.header-phone {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}
.header-phone:hover {
    color: #fff !important;
}

/* CTA button in nav */
.header-nav .header-cta {
    background: #A88BA0;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease;
}
.header-nav .header-cta:hover {
    background: #977d90;
}

/* Hamburger toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s ease;
}

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }
    .nav-phone-item {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Push body content below fixed header */
body { padding-top: 80px; padding-bottom: 0; }
.hero { margin-top: -80px; padding-top: 80px; }

/* Header lockup — mobile/tablet sizing */
@media (max-width: 900px) {
    .header-inner { height: 72px; }
    body { padding-top: 72px; }
    .hero { margin-top: -72px; padding-top: 72px; }
    .header-logo { gap: 12px; }
    .header-logomark { height: 48px; }
    .header-practice-name { font-size: 1.25rem; } /* 20px */
    .header-tagline { font-size: 0.67rem; }
}
@media (max-width: 480px) {
    .header-logomark { height: 44px; }
    .header-practice-name { font-size: 1.125rem; } /* 18px */
    .header-wordmark { gap: 4px; }
}
@media (max-width: 380px) {
    .header-tagline { display: none; }
    .header-logomark { height: 40px; }
    .header-practice-name { font-size: 1.0625rem; } /* 17px */
}

/* ─── CONTAINER (inner pages) ─── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── FADE-IN (version B uses fade-in instead of animate-in) ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

/* ─── NAV DROPDOWNS (walker classes) ─── */
/* The walker outputs: li.dropdown > a.dropdown-toggle + ul.dropdown-menu */
.nav-list > li.dropdown {
    position: relative;
}
.nav-list > li.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-list > li.dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid rgba(255,255,255,0.6);
    border-bottom: 1.5px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.nav-list > li.dropdown:hover > a::after {
    transform: rotate(-135deg);
    border-color: #A88BA0;
}
.nav-list .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    min-width: 240px;
    background: #FAF6F0;
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1),
                visibility 0.22s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}
/* Nub arrow pointing up */
.nav-list .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #FAF6F0;
    border-radius: 2px 0 0 0;
}
/* Hover zone — pad the top so mouse can travel from link to dropdown */
.nav-list > li.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}
.nav-list > li.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-list .dropdown-menu li {
    list-style: none;
}
.nav-list .dropdown-menu li + li {
    border-top: 1px solid rgba(168,139,160,0.1);
}
.nav-list .dropdown-menu a {
    display: block;
    padding: 11px 28px;
    color: #3a3036;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.18s ease, padding-left 0.18s ease;
    position: relative;
}
.nav-list .dropdown-menu a::before,
.nav-list .dropdown-menu a::after {
    display: none;
    content: none;
}
.nav-list .dropdown-menu a:hover {
    color: #A88BA0;
    padding-left: 32px;
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(44, 44, 44, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 32px 40px;
    overflow-y: auto;
    flex-direction: column;
    gap: 8px;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-list li {
    list-style: none;
}
.mobile-nav-list a {
    display: block;
    padding: 12px 0;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s ease;
}
.mobile-nav-list a:hover {
    color: #fff;
}
.mobile-nav-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    background: #A88BA0;
    color: #fff;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s ease;
}
.mobile-nav-cta:hover {
    background: #977d90;
}
.mobile-nav-phone {
    display: block;
    margin-top: 18px;
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
/* Hamburger active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav collapsible dropdowns — target BOTH walker outputs (.sub-menu
   from the default walker, .dropdown-menu from TPA_Nav_Walker). Collapsed by
   default; a JS-injected chevron toggles each parent open. */
.mobile-nav .sub-menu,
.mobile-nav .dropdown-menu {
    list-style: none;
    padding: 0 0 0 18px;
    margin: 2px 0 6px;
    display: none;
}
.mobile-nav .sub-menu.open,
.mobile-nav .dropdown-menu.open {
    display: block;
}
.mobile-nav .sub-menu li,
.mobile-nav .dropdown-menu li {
    list-style: none;
}
.mobile-nav .sub-menu a,
.mobile-nav .dropdown-menu a {
    font-size: 1rem;
    padding: 10px 0;
    color: rgba(255,255,255,0.7);
}
.mobile-nav .sub-menu a:hover,
.mobile-nav .dropdown-menu a:hover {
    color: #fff;
}
.mobile-nav-list li.has-submenu {
    position: relative;
}
.mobile-nav-list li.has-submenu > a {
    padding-right: 44px;
}
/* JS-injected chevron toggle */
.mobile-nav-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
}
.mobile-nav-toggle:hover {
    color: #fff;
}
.mobile-nav-toggle svg {
    transition: transform 0.25s ease;
}
.mobile-nav-toggle.open svg {
    transform: rotate(180deg);
}

/* ─── INNER PAGE HERO ─── */
.inner-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #2C2C2C;
}
.inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,15,30,0.15) 0%, rgba(20,15,30,0.6) 100%);
}
.inner-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 48px;
}
.inner-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    font-weight: 400;
}

/* ─── INNER PAGE CONTENT ─── */
.inner-content {
    padding: 64px 32px 72px;
    max-width: 1200px;
    margin: 0 auto;
}
.inner-content h2 {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: #A88BA0;
    margin-bottom: 20px;
    margin-top: 48px;
}
.inner-content h2:first-child {
    margin-top: 0;
}
.inner-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3036;
    margin-bottom: 18px;
}
/* Bulleted/numbered lists in body content — indent so markers sit inside the
   content column and align with the surrounding paragraphs (not hanging left). */
.inner-content ul,
.inner-content ol {
    padding-left: 1.5em;
    margin: 0 0 18px;
}
.inner-content li {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3036;
    margin-bottom: 8px;
}

/* ─── SERVICE PAGE IMAGE SECTIONS ─── */
.svc-tagline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    line-height: 1.35;
    text-align: center;
    color: #2C2C2C;
    margin: 8px auto 56px;
    max-width: 760px;
    padding-bottom: 28px;
    position: relative;
    font-weight: 400;
}
.svc-tagline strong {
    font-weight: 400;
}
.svc-tagline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 1px;
    background: rgba(168,139,160,0.55);
}
.svc-intro {
    margin-bottom: 48px;
}
.svc-img-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: stretch;
    margin-top: 48px;
    margin-bottom: 48px;
}
.svc-img-section:first-child {
    margin-top: 0;
}
.svc-img-section--reverse {
    grid-template-columns: 400px 1fr;
}
.svc-img-section--reverse .svc-img-col {
    order: -1;
}
.svc-text-col h2 {
    margin-top: 0;
}
.svc-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

/* ─── ABOUT PAGE ─── */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 8%;
}
.about-photo {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 24px;
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

/* ─── CONTACT PAGE ─── */
/* Contact page styles are inline in page-contact.php */

/* ─── WPFORMS OVERRIDES (final-cta dark bg) ─── */
/* Strip all WPForms container/field spacing to match mockup */
.final-cta .wpforms-container {
    padding: 0 !important;
    margin: 0 !important;
}
.final-cta .wpforms-container .wpforms-form {
    padding: 0 !important;
    margin: 0 !important;
}
.final-cta .wpforms-field-container {
    padding: 0 !important;
}
.final-cta .wpforms-container .wpforms-field {
    padding: 0 0 14px 0 !important;
    margin: 0 !important;
}
.final-cta .wpforms-container .wpforms-field:last-child {
    padding-bottom: 14px !important;
}
/* Hide labels — mockup uses placeholders only */
.final-cta .wpforms-container .wpforms-field-label,
.final-cta .wpforms-container .wpforms-required-label {
    display: none !important;
}
/* Input/textarea styling — exact match to mockup */
.final-cta .wpforms-container .wpforms-field input,
.final-cta .wpforms-container .wpforms-field textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: border-color 0.3s ease, background 0.3s ease !important;
    box-shadow: none !important;
}
.final-cta .wpforms-container .wpforms-field input::placeholder,
.final-cta .wpforms-container .wpforms-field textarea::placeholder {
    color: rgba(255,255,255,0.45) !important;
}
.final-cta .wpforms-container .wpforms-field input:focus,
.final-cta .wpforms-container .wpforms-field textarea:focus {
    border-color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.15) !important;
}
.final-cta .wpforms-container .wpforms-field textarea {
    height: 100px !important;
    min-height: 100px !important;
    resize: vertical !important;
}
/* Submit button — pill shape matching mockup exactly */
.final-cta .wpforms-submit-container {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}
.final-cta .wpforms-container .wpforms-submit-container button,
.final-cta .wpforms-container button.wpforms-submit {
    width: 100% !important;
    padding: 16px !important;
    background: rgba(255,255,255,0.2) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.03em !important;
    box-shadow: none !important;
    text-transform: none !important;
    line-height: 1 !important;
}
.final-cta .wpforms-container .wpforms-submit-container button:hover,
.final-cta .wpforms-container button.wpforms-submit:hover {
    background: rgba(255,255,255,0.35) !important;
    border-color: #fff !important;
}

/* Contact page WPForms overrides are inline in page-contact.php */

/* ─── RESPONSIVE ADDITIONS ─── */
@media (max-width: 900px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .svc-img-section,
    .svc-img-section--reverse {
        grid-template-columns: 1fr;
    }
    .svc-img-section--reverse .svc-img-col {
        order: 0;
    }
    .svc-img-col img {
        max-width: 400px;
    }
    .inner-hero {
        height: 340px;
    }
    .nav-list .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 4px 0 4px 16px;
    }
}

@media (max-width: 600px) {
    .inner-content {
        padding: 48px 6%;
    }
    .about-intro-grid {
        padding: 48px 6%;
    }
    .contact-grid {
        padding: 48px 6%;
    }
}

/* ─── FORCE VISIBLE FALLBACK (Critical Lesson #9) ─── */
@keyframes forceVisible {
    to { opacity: 1; transform: none; }
}

/* Above-fold hero — must never be invisible */
.hero .animate-in,
.hero .fade-in {
    animation: forceVisible 0s 2.5s forwards;
}

/* Inner page elements without scroll animation */
.inner-hero-content,
.inner-content,
.contact-grid,
.about-intro-grid {
    animation: forceVisible 0s 8s forwards;
}

/* .visible MUST override forceVisible for hero */
.animate-in.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}
/* ========== MOBILE RESPONSIVE INVARIANTS — DO NOT REMOVE ========== */
/* Required by tpa-scaffold Step 4.5 / validator Check 15.
   Prevents brand text from pushing the hamburger off-screen, submenu items
   from overflowing, and phantom horizontal scroll on iOS. */
html, body { overflow-x: clip; }

@media (max-width: 768px) {
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-text, .brand-text small { white-space: normal; min-width: 0; }
  .mobile-toggle { flex-shrink: 0; margin-left: auto; }
  .nav-links > li { white-space: normal; }
  .dropdown-menu,
  .dropdown-menu li,
  .dropdown-menu a { white-space: normal; }
}

/* ============================================================
   TEAM FEATURE — /about/ team grid
   Editorial portrait cards. 4:5 frame, image edge-to-edge,
   meta block beneath in a paper-white surface. Card lifts on
   hover; thin lavender rule draws across the bottom of the
   image; arrow shifts right. Light theme — text under image,
   never overlaid.
============================================================ */
.team-feature {
    background: #F5F0EB;
    padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 64px) clamp(88px, 12vw, 140px);
    position: relative;
}
.team-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(168,139,160,0.5) 50%, transparent 100%);
}

.team-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.team-heading {
    text-align: center;
    margin-bottom: clamp(48px, 6.5vw, 80px);
}

.team-eyebrow {
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #A88BA0;
    margin-bottom: 22px;
    position: relative;
    padding: 0 32px;
}
.team-eyebrow::before,
.team-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px;
    height: 1px;
    background: rgba(168,139,160,0.55);
}
.team-eyebrow::before { left: 0; }
.team-eyebrow::after { right: 0; }

.team-heading h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    line-height: 1.2;
    color: #2C2C2C;
    margin: 0 0 22px;
    font-weight: 400;
}

.team-lede {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.7;
    color: #4A4047;
    max-width: 580px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 3.5vw, 52px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-grid-item {
    list-style: none;
    margin: 0;
}

.team-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #FFFDFA;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(.2,.7,0,1),
                box-shadow 0.55s cubic-bezier(.2,.7,0,1);
    box-shadow: 0 6px 22px rgba(45,32,40,0.05);
}
.team-card:hover,
.team-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(45,32,40,0.14);
    outline: none;
}
.team-card:focus-visible {
    outline: 2px solid #A88BA0;
    outline-offset: 4px;
}

.team-card-figure {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin: 0;
    background: #ECE3D8;
}
.team-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.9s cubic-bezier(.2,.7,0,1),
                filter 0.6s ease;
    filter: saturate(0.95);
}
.team-card:hover .team-card-figure img,
.team-card:focus-visible .team-card-figure img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

/* Lavender accent rule that draws across the image bottom on hover */
.team-card-figure::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: #A88BA0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(.2,.7,0,1);
}
.team-card:hover .team-card-figure::after,
.team-card:focus-visible .team-card-figure::after {
    transform: scaleX(1);
}

.team-card-meta {
    padding: 26px 28px 30px;
}

.team-card-name {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2vw, 1.65rem);
    line-height: 1.22;
    font-weight: 400;
    color: #2C2C2C;
    margin: 0 0 6px;
}

.team-card-credential {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.92rem;
    color: #6F5C66;
    letter-spacing: 0.02em;
    margin: 0 0 18px;
    line-height: 1.45;
}

.team-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A88BA0;
    padding-top: 16px;
    border-top: 1px solid rgba(168,139,160,0.25);
    transition: color 0.45s cubic-bezier(.2,.7,0,1);
}

.team-card-arrow {
    display: inline-block;
    font-style: normal;
    transition: transform 0.45s cubic-bezier(.2,.7,0,1);
}

.team-card:hover .team-card-arrow,
.team-card:focus-visible .team-card-arrow {
    transform: translateX(7px);
}

.team-card:hover .team-card-link,
.team-card:focus-visible .team-card-link {
    color: #6F5C66;
}

/* ─── FEATURED CARD (founder) ─── */
.team-grid-item--featured {
    grid-column: 1 / -1;
}
.team-card--featured {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) 1fr;
    align-items: stretch;
}
.team-card--featured .team-card-figure {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
}
.team-card--featured .team-card-figure img {
    height: 100%;
    object-position: center 22%;
}
.team-card-meta--featured {
    padding: clamp(40px, 5vw, 64px) clamp(32px, 4.4vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-card-meta--featured .team-card-name {
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    margin-bottom: 8px;
}
.team-card-meta--featured .team-card-credential {
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.team-card-eyebrow {
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #A88BA0;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .team-eyebrow {
        font-size: 0.72rem;
        padding: 0 26px;
    }
    .team-card-meta {
        padding: 22px 24px 26px;
    }
    .team-feature::before {
        width: 64px;
    }
    .team-card--featured {
        grid-template-columns: 1fr;
    }
    .team-card--featured .team-card-figure {
        aspect-ratio: 4 / 5;
        min-height: 0;
        height: auto;
    }
    .team-card--featured .team-card-figure img {
        height: 100%;
    }
    .team-card-meta--featured {
        padding: 26px 26px 32px;
    }
}

/* ============================================================
   BLOG INDEX (home.php) + SINGLE POST (single.php)
   Editorial blog list, generous serif body type for posts.
============================================================ */
.blog-listing {
    background: #F5F0EB;
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(72px, 10vw, 120px);
}
.blog-listing-inner {
    max-width: 880px;
    margin: 0 auto;
}
.blog-listing-heading {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.blog-listing-lede {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.65;
    color: #4A4047;
    max-width: 640px;
    margin: 0 auto;
}

.blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-list-item {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(168,139,160,0.22);
}
.blog-list-item:last-child {
    border-bottom: 1px solid rgba(168,139,160,0.22);
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: clamp(28px, 4vw, 48px) 0;
    transition: padding-left 0.4s cubic-bezier(.2,.7,0,1);
}
.blog-card:hover,
.blog-card:focus-visible {
    outline: none;
    padding-left: 12px;
}

.blog-card-date {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A88BA0;
    margin-bottom: 14px;
}

.blog-card-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.22;
    color: #2C2C2C;
    margin: 0 0 16px;
    transition: color 0.3s ease;
}
.blog-card:hover .blog-card-title,
.blog-card:focus-visible .blog-card-title {
    color: #6F5C66;
}

.blog-card-excerpt {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #4A4047;
    margin: 0 0 18px;
    max-width: 680px;
}

.blog-card-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #A88BA0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.blog-card-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.2,.7,0,1);
}
.blog-card:hover .blog-card-arrow,
.blog-card:focus-visible .blog-card-arrow {
    transform: translateX(7px);
}

.blog-pagination {
    margin-top: 56px;
    text-align: center;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.blog-pagination li { list-style: none; }
.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 8px 14px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #2C2C2C;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.blog-pagination a:hover {
    color: #A88BA0;
}
.blog-pagination .current {
    color: #A88BA0;
    border-color: rgba(168,139,160,0.45);
}

.blog-empty {
    text-align: center;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #6F5C66;
    padding: 64px 0;
}

/* ─── SINGLE POST ─── */
.single-post {
    background: #F5F0EB;
    padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 64px) clamp(72px, 10vw, 120px);
}
.single-post-inner {
    max-width: 720px;
    margin: 0 auto;
}
.single-post-header {
    margin-bottom: clamp(32px, 4vw, 48px);
}
.single-post-back {
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #A88BA0;
    text-decoration: none;
    margin-bottom: 22px;
    transition: color 0.25s ease;
}
.single-post-back:hover { color: #6F5C66; }
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: #6F5C66;
    margin: 0;
}
.single-post-meta-sep {
    opacity: 0.55;
}

.single-post-body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #2C2C2C;
}
.single-post-body > *:first-child {
    margin-top: 0;
}
.single-post-body p {
    margin: 0 0 22px;
}
.single-post-body p:first-of-type::first-letter {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 3.6em;
    float: left;
    line-height: 0.9;
    margin: 6px 12px -2px 0;
    color: #A88BA0;
}
.single-post-body h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 1.7rem);
    line-height: 1.25;
    color: #2C2C2C;
    margin: 56px 0 18px;
}
.single-post-body h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #A88BA0;
    margin: 36px 0 12px;
}
.single-post-body ul {
    margin: 0 0 28px 24px;
    padding: 0;
}
.single-post-body ul li {
    margin-bottom: 12px;
    line-height: 1.75;
}
.single-post-body em {
    color: #6F5C66;
}
.single-post-body blockquote {
    margin: 32px 0;
    padding: 8px 0 8px 24px;
    border-left: 3px solid #A88BA0;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #4A4047;
}
.single-post-body a {
    color: #A88BA0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: clamp(56px, 7vw, 80px);
    padding-top: 32px;
    border-top: 1px solid rgba(168,139,160,0.22);
}
.single-post-nav > * + * {
    text-align: right;
}
.single-post-nav-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: color 0.3s ease;
}
.single-post-nav-link:hover { color: #6F5C66; }
.single-post-nav-label {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A88BA0;
    margin-bottom: 6px;
}
.single-post-nav-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #2C2C2C;
}

@media (max-width: 700px) {
    .blog-card-title { font-size: clamp(1.4rem, 6vw, 1.75rem); }
    .single-post-nav { grid-template-columns: 1fr; }
    .single-post-nav > * + * { text-align: left; }
    .single-post-body p:first-of-type::first-letter {
        font-size: 3rem;
    }
}

/* Per-page hero crop tweak: Dutch's page shifts image content down 15%
   so more of the top of the source (sky/horizon) shows in the band. */
.page-id-75 .inner-hero {
    background-position: center 60%;
}

/* ========== LEGAL PAGES — DISABLE SCROLL-REVEAL ========== */
/* Belt-and-suspenders: parent functions.php already emits an inline override
   in wp_head, but per project pattern this stays in every client.css too.
   IO threshold can't be reached on long legal docs, leaving content invisible. */
.page-id-11 .reveal,
.page-id-11 .fade-in,
.page-id-11 [data-anim],
.page-id-11 .animate-in,
.page-id-11 .inner-content,
.page-id-13 .reveal,
.page-id-13 .fade-in,
.page-id-13 [data-anim],
.page-id-13 .animate-in,
.page-id-13 .inner-content {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
}

/* Width-scoped touch floors for the viewport sweep. The sweep runs headless
   and Playwright reports hover:hover/pointer:fine even on tablet profiles, so
   the hover/pointer block below never satisfies it. These width rules (≤1200px
   covers iPad Pro 11 landscape at 1194px) make the same elements pass and are
   harmless on the few non-touch laptops in that range. */
@media (max-width: 1200px) {
    /* Decorative tagline is already hidden on phones — hide across all
       touch widths rather than render it below the 14px floor. */
    .header-tagline { display: none; }
    /* Brand link → ≥44px tall tap target */
    .header-logo { min-height: 44px; }
    /* Hamburger → 44×44 tap target */
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    /* Footer social icons (Facebook + Psychology Today) → 44×44 tap targets */
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Blog "Read More" links → ≥44px tall tap target */
    .blog-card-link {
        min-height: 44px;
    }
}

/* ════════════════════════════════════════════════
   TOUCH-DEVICE FLOORS (mobile + tablet)
   Per CLAUDE.md design rules: ≥14px text on touch
   devices, ≥44px tap targets, parallax disabled.
   Use hover/pointer (not max-width) so iPad Pro 11
   landscape (1194px) is correctly treated as touch.
   ════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    /* Defensive parallax disable (no fixed bg in this theme, but safe) */
    .inner-hero, .hero, .final-cta {
        background-attachment: scroll !important;
    }

    /* Fine-print text → 14px floor (0.88rem) */
    .footer-copy,
    .footer-links a,
    .header-tagline,
    .team-eyebrow,
    .team-card-eyebrow,
    .team-card-link,
    .blog-card-date,
    .blog-card-link,
    .single-post-back,
    .single-post-nav-label {
        font-size: 0.88rem !important;
    }

    /* WPForms labels — doubled selector + !important to beat its 604-rule cascade */
    .wpforms-container .wpforms-field-label.wpforms-field-label,
    .wpforms-container .wpforms-required-label.wpforms-required-label {
        font-size: 0.88rem !important;
    }

    /* Tap targets ≥44px */
    .nav-links a,
    .footer-links a,
    .btn-solid, .btn-outlined, .btn,
    .service-card,
    .team-card-link {
        min-height: 44px;
    }
}

