/* ============================================
   France Frederick, Ph.D. — Design System
   Static site for francefrederick.com
   ============================================ */

/* --- Self-hosted fonts --- */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/libre-baskerville.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/libre-baskerville-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/libre-franklin.woff2') format('woff2');
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface);
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background-color: var(--blush);
  color: var(--navy);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Color Tokens --- */
:root {
  /* Primary palette — warm, no sage */
  --blush:          #EAD5CB;
  --blush-light:    #F4EBE6;
  --taupe:          #B8A99A;
  --linen:          #DDD5CB;
  --cream:          #EDE8E2;
  --navy:           #2C3B4E;
  --navy-light:     #3E5167;
  --surface:        #FCFAF8;
  --surface-hover:  #F4EFE9;
  --surface-alt:    #E8E0D6;
  --text-primary:   #2C3B4E;
  --text-secondary: #5A6D80;
  --text-light:     #8B95A0;
  --border:         #EBE5DF;
  --border-subtle:  rgba(44, 59, 78, 0.08);

  /* Gradients */
  --gradient-border: linear-gradient(135deg, var(--blush), var(--taupe), var(--linen));
  --gradient-warm:   linear-gradient(to bottom, var(--blush-light), transparent);
  --gradient-footer:  linear-gradient(to bottom, var(--surface), var(--blush-light));

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:  0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-img: 0 12px 40px rgba(44,59,78,0.12);

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --radius-pill:  9999px;

  /* Spacing scale (4px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Layout */
  --max-width: 1140px;
  --content-width: 720px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 300ms;
  --duration-slow: 500ms;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', 'Georgia', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}

h1 {
  font-size: clamp(1.875rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Layout --- */
.site-frame {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  background: var(--surface);
  min-height: 100vh;
}

/* Subtle side borders on desktop */
@media (min-width: 1200px) {
  .site-frame {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}

.section {
  padding: var(--sp-16) var(--sp-6);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-20) var(--sp-16);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--sp-24) var(--sp-16);
  }
}

.section--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* --- Navigation --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(252, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

@media (min-width: 768px) {
  .nav {
    padding: var(--sp-6) var(--sp-12);
  }
}

.nav__logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nav__logo span {
  color: var(--taupe);
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__links a:hover {
  color: var(--navy);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

.nav__links a[aria-current="page"] {
  color: var(--navy);
}

.nav__mobile a[aria-current="page"] {
  color: var(--taupe);
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
}

.nav__cta:hover {
  background: var(--blush-light);
  border-color: var(--blush);
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
}

@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 200;
  padding: var(--sp-20) var(--sp-8);
  flex-direction: column;
  gap: var(--sp-6);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  color: var(--navy);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
}

.nav__mobile-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--navy);
  cursor: pointer;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
}

.nav__mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.btn--primary {
  padding: var(--sp-3) var(--sp-6);
  background: var(--navy);
  color: var(--surface);
  border-radius: var(--radius-pill);
}

.btn--primary:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Gradient-border pill button */
.btn--gradient {
  padding: 1px;
  background: var(--gradient-border);
  border-radius: var(--radius-pill);
  display: inline-block;
}

.btn--gradient-inner {
  display: block;
  padding: var(--sp-3) var(--sp-6);
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: background var(--duration) var(--ease);
}

.btn--gradient:hover .btn--gradient-inner {
  background: transparent;
}

.btn--text {
  color: var(--navy);
  padding: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(44, 59, 78, 0.2);
  border-radius: 0;
  background: none;
}

.btn--text:hover {
  border-bottom-color: var(--navy);
}

.btn--text svg,
.btn--text .arrow {
  transition: transform var(--duration) var(--ease);
}

.btn--text:hover svg,
.btn--text:hover .arrow {
  transform: translateX(3px);
}

/* --- Hero Section --- */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  padding: var(--sp-12) var(--sp-5);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

@media (min-width: 480px) {
  .hero {
    padding: var(--sp-12) var(--sp-6);
  }
}

@media (min-width: 768px) {
  .hero {
    padding: var(--sp-16) var(--sp-12);
  }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-20);
    padding: var(--sp-20) var(--sp-16);
  }
}

.hero__content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.hero__tagline::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--taupe);
}

.hero h1 {
  margin-bottom: var(--sp-6);
}

.hero__body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.hero__actions .note {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.hero__image {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__image {
    width: 42%;
    max-width: none;
    margin: 0;
  }
}

.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1px;
  background: var(--gradient-border);
}

.hero__image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush-light);
}

.hero__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft aura behind hero image */
.hero__aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: var(--blush);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  z-index: -1;
}

/* --- Services Section (soft flow, no rigid grid) --- */
.services {
  padding: var(--sp-16) var(--sp-6);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .services {
    padding: var(--sp-20) var(--sp-12);
  }
}

.services__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-12);
}

.services__header h2 {
  margin-bottom: var(--sp-4);
}

.services__header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-card {
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-md);
  transition: all var(--duration-slow) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  font-size: 1.25rem;
}

.service-card__icon--blush   { background: var(--blush-light); }
.service-card__icon--linen   { background: var(--cream); }
.service-card__icon--taupe   { background: rgba(184, 169, 154, 0.15); }

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-3);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
}

.service-card__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: auto;
  opacity: 1;
  transform: translateY(0);
  transition: all var(--duration) var(--ease);
}

.service-card__link .arrow {
  transition: transform var(--duration) var(--ease);
}

.service-card:hover .service-card__link .arrow {
  transform: translateX(4px);
}

/* --- About Preview Section --- */
.about-preview {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--sp-12);
  padding: var(--sp-16) var(--sp-6);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .about-preview {
    padding: var(--sp-20) var(--sp-12);
  }
}

@media (min-width: 1024px) {
  .about-preview {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-20);
    padding: var(--sp-24) var(--sp-16);
  }
}

.about-preview__image {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .about-preview__image {
    width: 42%;
  }
}

.about-preview__image-wrap {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1px;
  background: linear-gradient(to bottom left, var(--linen), var(--surface), var(--blush));
}

.about-preview__image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
}

.about-preview__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview__aura {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 160px;
  height: 160px;
  background: var(--linen);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

.about-preview__content {
  flex: 1;
}

.about-preview__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  background: rgba(184, 169, 154, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
}

.about-preview__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--taupe);
}

.about-preview__content h2 {
  margin-bottom: var(--sp-8);
}

.about-preview__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin-bottom: var(--sp-10);
}

.about-preview--text-only {
  max-width: var(--content-width);
  margin: 0 auto;
  display: block;
  text-align: center;
}

.about-preview--text-only .about-preview__content {
  max-width: 680px;
  margin: 0 auto;
}

.about-preview--text-only .about-preview__badge {
  margin: 0 auto var(--sp-4);
}

.about-preview__text p {
  margin-bottom: 0;
}

/* --- Credentials Bar --- */
.credentials {
  padding: var(--sp-10) var(--sp-6);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

@media (min-width: 768px) {
  .credentials {
    padding: var(--sp-10) var(--sp-12);
  }
}

.credentials__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-8);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.credentials__item {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.credentials__item strong {
  display: block;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* --- Serving Areas --- */
.serving {
  padding: var(--sp-12) var(--sp-6);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

@media (min-width: 768px) {
  .serving {
    padding: var(--sp-12) var(--sp-12);
  }
}

.serving h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-3);
}

.serving p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--sp-20) var(--sp-6);
  text-align: center;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: var(--sp-24) var(--sp-16);
  }
}

.cta-section__inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  margin-bottom: var(--sp-4);
}

.cta-section p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-10);
}

/* --- Footer --- */
.footer {
  padding: var(--sp-12) var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

@media (min-width: 768px) {
  .footer {
    padding: var(--sp-12) var(--sp-12);
  }
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.footer__role {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer__columns {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.footer__col h4 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--sp-4);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

.footer__col a:hover {
  color: var(--navy);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --- Decorative elements --- */
.corner-bracket {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.5;
}

.corner-bracket--tl {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--navy);
  border-left: 1px solid var(--navy);
}

.corner-bracket--tr {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--navy);
  border-right: 1px solid var(--navy);
}

.corner-bracket--bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid var(--navy);
  border-left: 1px solid var(--navy);
}

.corner-bracket--br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--navy);
  border-right: 1px solid var(--navy);
}

/* Diagonal texture overlay — removed; brackets + aura are the two flourishes */
.texture-overlay {
  display: none;
}

/* --- Reveal-on-scroll animation (replaces GSAP) --- */
.text-reveal,
.service-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.text-reveal.is-visible,
.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .text-reveal,
  .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- What to Expect section --- */
.expect {
  padding: var(--sp-16) var(--sp-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface-hover);
  text-align: center;
}

@media (min-width: 768px) {
  .expect {
    padding: var(--sp-20) var(--sp-12);
  }
}

.expect__inner {
  max-width: 640px;
  margin: 0 auto;
}

.expect .label {
  margin-bottom: var(--sp-4);
  display: block;
}

.expect h2 {
  margin-bottom: var(--sp-5);
}

.expect p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Serving section (upgraded) --- */
.serving {
  padding: var(--sp-16) var(--sp-6);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  text-align: center;
}

@media (min-width: 768px) {
  .serving {
    padding: var(--sp-20) var(--sp-12);
  }
}

.serving__inner {
  max-width: 720px;
  margin: 0 auto;
}

.serving .label {
  margin-bottom: var(--sp-4);
  display: block;
}

.serving h2 {
  margin-bottom: var(--sp-5);
}

.serving__lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
}

.serving__towns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--sp-8);
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  color: var(--navy);
}

.serving__towns li {
  position: relative;
}

.serving__towns li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -16px;
  color: var(--taupe);
}

.serving__note {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* --- Private-pay note (contact page) --- */
.private-pay-note {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--taupe);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Page-level content sections (for inner pages) --- */
.page-header {
  padding: var(--sp-16) var(--sp-6) var(--sp-12);
  border-bottom: 1px solid var(--border);
  max-width: var(--content-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-header {
    padding: var(--sp-20) var(--sp-12) var(--sp-12);
  }
}

.page-header h1 {
  margin-bottom: var(--sp-4);
}

.page-header .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

.page-content {
  padding: var(--sp-12) var(--sp-6);
  max-width: var(--content-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-content {
    padding: var(--sp-16) var(--sp-12);
  }
}

.page-content h2 {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Libre Franklin', sans-serif;
  letter-spacing: -0.005em;
}

.page-content h2 + h3 {
  margin-top: var(--sp-6);
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ul {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
}

.page-content ul li {
  margin-bottom: var(--sp-2);
}

.page-content a {
  color: var(--navy);
  border-bottom: 1px solid rgba(44, 59, 78, 0.25);
  transition: border-color var(--duration) var(--ease);
}

.page-content a:hover {
  border-bottom-color: var(--navy);
}

/* --- Content Image --- */
.content-image {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto var(--sp-8);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* --- Related Services --- */
.related-services {
  padding: var(--sp-12) 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.related-services__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.related-services__label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: var(--sp-3);
}
.related-services h2 {
  margin-bottom: var(--sp-8);
}
.related-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 768px) {
  .related-services__grid {
    grid-template-columns: 1fr;
  }
}
.related-services__card {
  display: block;
  padding: var(--sp-6);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.related-services__card:hover {
  border-color: var(--taupe);
  transform: translateY(-2px);
}
.related-services__card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
  color: var(--navy);
}
.related-services__card p {
  font-size: 0.9375rem;
  color: var(--taupe);
  line-height: 1.55;
  margin: 0;
}
.related-services__card .arrow {
  display: inline-block;
  margin-top: var(--sp-3);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
}
