:root {
  --sage-dark: #49654e;
  --sage-light: #e4e6d9;
  --sage-white: #ecede8;
  --sage-black: #253528;
  --text: #111;
  --surface: #f9f9f9;

  /* The original theme's two content widths, shared by every page. */
  --width-wide: 80rem;
  --width-reading: 38.75rem;
  --gutter: clamp(1.25rem, 8vw, 6.5rem);
  --space-block: 1.2rem;
  --space-group: clamp(1.5rem, 3vw, 2.5rem);
  --space-section: clamp(2.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--surface); font: 400 1.05rem/1.65 "Nunito Sans", sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .16em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #9bb895; outline-offset: 4px; }
h1, h2, h3 { color: var(--sage-black); font-family: "Playfair Display", Georgia, serif; font-weight: 400; line-height: 1.2; text-wrap: pretty; }
h1 { font-size: clamp(2.5rem, 2.5rem + ((1vw - .2rem) * 1.283), 3.27rem); line-height: 1.15; }
h2 { font-size: clamp(1.85rem, 1.85rem + ((1vw - .2rem) * 1.083), 2.5rem); }
h3 { font-size: clamp(1.39rem, 1.39rem + ((1vw - .2rem) * .767), 1.85rem); }

/* Full-width backgrounds contain a single, consistently bounded layout. */
.container { width: min(calc(100% - 2 * var(--gutter)), var(--width-wide)); margin-inline: auto; }
.measure { width: 100%; max-width: var(--width-reading); margin-inline: auto; }
.section { padding-block: var(--space-section); scroll-margin-top: 1rem; }
.section-heading { text-align: center; margin-bottom: var(--space-section); }
.flow > * + * { margin-top: var(--space-block); }
.grid { display: grid; gap: var(--space-section); align-items: start; }
.grid > * { min-width: 0; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tinted-white { background: var(--sage-white); }
.tinted-sage { background: var(--sage-light); }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .6rem 1rem; background: white; color: var(--sage-black); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--sage-dark); color: white; }
.header-inner { min-height: 70px; padding-block: 1rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-group); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 264px; }
.desktop-nav { display: flex; align-items: center; gap: var(--space-block); }
.desktop-nav a, .mobile-nav a { color: white; text-decoration: none; font-weight: 500; white-space: nowrap; }
.desktop-nav a:hover, .mobile-nav a:hover { text-decoration: underline; }
.mobile-nav { display: none; }

.hero { min-height: 430px; display: grid; align-items: center; padding-block: var(--space-section); text-align: center; background: linear-gradient(rgba(228,230,217,.70),rgba(228,230,217,.70)), url('/assets/serene.webp') center 65% / cover no-repeat; }
.hero-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-group); }
.hero h1 { color: #000; }
.hero p { font-size: clamp(.875rem, .875rem + ((1vw - .2rem) * .542), 1.2rem); line-height: 1.8; font-weight: 500; }
.hero .button { margin-top: var(--space-block); }
.button { display: inline-block; background: var(--sage-dark); color: white; border-radius: .33rem; padding: .6rem 1rem; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--sage-black); }

.portrait { object-fit: cover; border: 4px solid var(--sage-dark); }
.profile .portrait { width: auto; max-width: 100%; height: 360px; justify-self: center; }
.text-link { font-size: .9rem; }
.pricing { text-align: center; }
.price { font-size: clamp(.875rem, .875rem + ((1vw - .2rem) * .625), 1.25rem); }
.contact-grid h3 { font-size: clamp(1.1rem, 1.1rem + ((1vw - .2rem) * .767), 1.5rem); }
.contact-info a { overflow-wrap: anywhere; }
.map-frame { border: 4px solid var(--sage-dark); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

/* FAQ rows retain their width when opened; answers use the reading measure. */
.faq-list { display: grid; gap: var(--space-block); }
.faq-list details { min-width: 0; }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 1rem 0 1rem 1.5rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: '↓'; position: absolute; left: 0; top: 1rem; }
.faq-list details[open] summary::before { content: '↑'; }
.faq-answer { max-width: var(--width-reading); padding: 0 0 1rem 1.5rem; }

.site-footer { background: var(--sage-black); color: #8ba889; text-align: center; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-block); }
.site-footer img { width: 180px; height: 64px; }
.site-footer address { font-style: normal; }
.site-footer small { margin-top: var(--space-group); color: #8ba889; font-size: .9rem; }

.about-page .portrait { width: 227px; height: 300px; margin: 0 auto var(--space-section); }
.prose h2 { text-align: center; }
.prose > h2:not(:first-child) { margin-top: var(--space-section); }

/* One breakpoint for stacked content and navigation; widths stay shared. */
@media (max-width: 782px) {
  :root { --gutter: 1.25rem; }
  .grid--two, .grid--three { grid-template-columns: minmax(0, 1fr); }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand img { width: 230px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; flex-shrink: 0; }
  .mobile-nav summary { cursor: pointer; font-weight: 600; list-style: none; padding-block: .25rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 10; right: 0; top: 100%; display: grid; gap: var(--space-block); padding: var(--space-block); background: var(--sage-dark); box-shadow: 0 8px 20px #0002; }
  .profile .portrait { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
