:root {
  --paper: #e4e6e3;
  --surface: #f5f6f2;
  --ink: #302c28;
  --muted: #5b534a;
  --green: #405743;
  --on-dark: #f8f9f6;
  --accent: #85412d;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
p + p { margin-top: 16px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
b, strong { font-weight: 600; }
::selection { background: #c6cbb0; color: var(--ink); }
.section-shell { max-width: 1120px; margin-inline: auto; padding-inline: 40px; }
.content-panel { background: var(--surface); padding: 36px; border-radius: 8px; margin-bottom: 32px; }
.text-link { display: inline-block; color: var(--accent); font-size: .9rem; font-weight: 500; text-decoration: underline; }
.button { display: inline-block; padding: 11px 18px; background: var(--green); color: var(--on-dark); border: 0; font-size: .85rem; font-weight: 500; text-decoration: none; cursor: pointer; text-align: center; border-radius: 4px; }
.button:hover { background: #2e4432; color: var(--on-dark); }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 8px 16px; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* The green band identifies navigation; spacing groups the rest of the page. */
.header-band { background: var(--green); }
.site-header { max-width: 1120px; min-height: 52px; margin-inline: auto; padding-inline: 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--on-dark); }
.site-wordmark { display: inline-flex; align-items: center; gap: 6px; font: 500 1rem/1.4 var(--font-heading); text-decoration: none; white-space: nowrap; }
.site-brand-icon { display: block; width: 32px; height: 24px; flex: none; background: currentColor; -webkit-mask: url("/brand/gathered-leaves-icon.png") center / contain no-repeat; mask: url("/brand/gathered-leaves-icon.png") center / contain no-repeat; }
.site-header nav { display: flex; min-height: 52px; align-items: center; gap: 25px; font-size: .85rem; font-weight: 500; }
.site-header nav a { padding-block: 5px; text-decoration: none; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-header a:hover, .site-header .menu-toggle:hover { color: #e7d8b9; }
.site-header a:focus-visible, .site-header .menu-toggle:focus-visible { outline-color: #e7d8b9; }
.menu-toggle { display: none; }
.site-content { min-height: calc(100vh - 52px); display: flex; flex-direction: column; }
.site-content > main { flex: 1; min-width: 0; }
.site-footer { width: calc(100% - 80px); max-width: 1040px; margin: 20px auto 0; padding-block: 24px 32px; color: var(--muted); font-size: .75rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.social-icon { display: block; width: 22px; height: 22px; flex: none; }

/* The photograph fills the hero; a translucent panel keeps the introduction readable. */
.home-layout { padding-top: 32px; }
.home-intro { display: flex; align-items: center; min-height: 360px; --hero-inset: clamp(16px, 2vw, 24px); position: relative; padding-block-start: clamp(0px, calc(420px - 100%), 112px); background: var(--green); border-radius: 8px; overflow: hidden; isolation: isolate; }
.home-intro-copy { position: relative; z-index: 1; width: clamp(350px, calc(38.1966% - var(--hero-inset)), 440px); max-width: calc(100% - var(--hero-inset) * 2); margin: var(--hero-inset); padding: clamp(20px, 2vw, 24px); background: rgba(245, 246, 242, .88); border-radius: 5px; }
.home-intro h1 { font-size: clamp(1.625rem, calc(1.25rem + 1.2vw), 2rem); line-height: 1.2; }
.home-intro-copy > p { margin-top: 14px; max-width: 38ch; font-size: .97rem; }
.home-intro-copy .home-location { margin-top: 14px; font-size: .8rem; color: var(--muted); line-height: 1.65; }
.home-hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.home-updates { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.home-panel { display: flex; flex-direction: column; background: var(--surface); padding: 30px; border-radius: 8px; }
.home-updates h2 { font-size: 1.35rem; margin-bottom: 22px; }
.home-updates h3 { margin-block: 8px 14px; font-size: 1.4rem; }
.home-updates h3 a { text-decoration: none; }
.home-updates h3 a:hover { text-decoration: underline; }
.home-updates p { font-size: .93rem; line-height: 1.75; }
.home-updates time, .post-summary time { font-size: .78rem; color: var(--muted); }
.booking-preview { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; }
.booking-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 4px; }
.home-action { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 26px; }
.home-action .button { min-width: 190px; }
.home-session-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.home-session-links .text-link { padding-block: 4px; }
.home-purpose { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding: 48px 30px 28px; }
.home-purpose h2 { font-size: 1.45rem; max-width: 15ch; }
.home-purpose p { max-width: 60ch; font-size: .95rem; }
.home-purpose .text-link { margin-top: 18px; }

/* Consistent service rows keep each description with its photograph. */
.session-list { padding-bottom: 8px; }
.session { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: center; padding: 24px; margin-bottom: 20px; background: var(--surface); border-radius: 8px; scroll-margin-top: 24px; }
.session-copy { max-width: 56ch; }
.session h2 { font-size: 1.5rem; margin-bottom: 12px; }
.session p { font-size: .96rem; line-height: 1.75; }
.session .session-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.session .button { margin-top: 16px; }
.session-photo { width: 220px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }

.session-booking { display: grid; gap: 12px; width: 280px; max-width: 100%; }
.session-booking .button { line-height: 1.5; }
.booking-provider { font-size: .78rem; color: var(--muted); text-align: center; }

/* Virtual-session details pair editable prose with a photo and booking choices. */
.virtual-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "copy photo" "copy booking"; column-gap: 48px; row-gap: 24px; align-items: start; }
.virtual-copy { grid-area: copy; }
.virtual-copy > p:first-child { font-size: 1.02rem; }
.virtual-photo { grid-area: photo; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.virtual-booking { grid-area: booking; }
.virtual-booking h2 { font-size: 1.35rem; margin-bottom: 18px; }
.virtual-booking .session-booking { width: 100%; }

/* Supporting detail stays visible below its summary. */
.page-intro { padding-block: 42px 30px; }
.page-lead { max-width: 58ch; margin-top: 16px; }
.booking-details { padding: 32px; }
.booking-details > h2 { margin-bottom: 22px; }
.booking-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.booking-columns h3 { margin-bottom: 12px; }
.booking-columns p { font-size: .92rem; max-width: 480px; }
.booking-columns .button, .booking-columns .text-link { margin-top: 16px; }
/* Photos can extend past their text without setting the next section's height. */
.about-layout { display: flow-root; }
.about-section { display: contents; }
.about-copy { width: calc(100% - 308px); margin-bottom: 28px; }
.about-section:last-child .about-copy { margin-bottom: 0; }
.about-copy .prose { max-width: 65ch; }
.about-copy .prose > :first-child { margin-top: 0; }
.about-copy .prose > :last-child { margin-bottom: 0; }
.about-copy > .button { margin-top: 8px; }
.about-photo-frame { float: right; clear: right; width: 260px; max-width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; margin: 0 0 24px 48px; }
.about-section:last-child .about-photo-frame { margin-bottom: 0; }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait-frame { aspect-ratio: 5 / 6; }
.about-field-photo { aspect-ratio: 1; }
.about-portrait { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.1); transform-origin: 50% 70%; }
.prose { max-width: 65ch; overflow-wrap: break-word; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin: 30px 0 16px; font-size: 1.45rem; }
.prose h3 { margin: 24px 0 12px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-block: 7px; }
.prose img { margin-block: 24px; }
.prose blockquote { margin: 24px 0; padding-left: 24px; }
.prose pre { padding-block: 12px; overflow-x: auto; }
.prose table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.prose th, .prose td { padding: 10px 18px 10px 0; text-align: left; }
.standalone-prose { max-width: 800px; padding-inline: 40px; margin: 0 auto 40px; }
.plain-content { min-height: 220px; padding-bottom: 40px; }
.plain-content > p { max-width: 680px; }
.plain-content > .button, .plain-content > .text-link { margin-top: 20px; }
.plain-content > p:not(:first-child) { margin-top: 24px; }
.inline-link { font-size: inherit; }
.not-found { min-height: 55vh; }
.not-found > .text-link { margin-top: 24px; }

.blog-list { padding-bottom: 40px; }
.post-summary { max-width: 800px; padding: 30px; margin-bottom: 20px; background: var(--surface); border-radius: 8px; }
.post-summary h2 { margin: 8px 0 12px; font-size: 1.5rem; }
.post-summary h2 a { text-decoration: none; }
.post-summary h2 a:hover { text-decoration: underline; }
.post-summary p { font-size: .93rem; }
.feed-link { margin-top: 12px; font-size: .8rem; }
.pagination { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: .9rem; }
.post { max-width: 880px; padding-top: 32px; }
.post-header { margin-bottom: 28px; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: .85rem; }
.post-header h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); }
.post-meta { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.post-cover { margin-bottom: 28px; }
.post-cover img { width: 100%; height: auto; }

/* A single contact panel groups the introduction and form. */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-layout h2 { margin-bottom: 14px; font-size: 1.25rem; }
.contact-layout > div > p { max-width: 420px; font-size: .93rem; }
.contact-layout > div > .text-link { margin-top: 20px; }
.form-honeypot { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin: 16px 0 7px; font-size: .85rem; font-weight: 500; }
.field-row label { margin-top: 0; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #7a7062; border-radius: 0; padding: 10px; background: #f8f9f6; color: var(--ink); }
textarea { resize: vertical; }
form .button { margin-top: 18px; }
.form-note { font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* Preserve the golden division when space allows; minimum readable width
   and fluid insets let the overlay adapt continuously on smaller screens. */
@media (max-width: 900px) {
  .section-shell, .site-header { padding-inline: 30px; }
  .site-header { flex-wrap: wrap; gap: 0; }
  .site-header nav { gap: 22px; }
  .site-footer { width: calc(100% - 60px); }
  .home-panel { padding: 26px; }
  .booking-preview { grid-template-columns: 1fr; gap: 18px; }
  .home-purpose { gap: 36px; padding-inline: 26px; }
  .session { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .session-photo { width: 200px; }
  .session-booking { width: 240px; }
  .content-panel { padding: 28px; }
  .virtual-detail { column-gap: 32px; }
  .contact-layout { gap: 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row > div + div label { margin-top: 16px; }
}
@media (max-width: 760px) {
  .hero-photo { object-position: center 65%; }
  .home-updates { grid-template-columns: 1fr; }
  .about-layout { display: grid; gap: 32px; }
  .about-section { display: flex; flex-direction: column; gap: 20px; }
  .about-copy { width: 100%; margin-bottom: 0; }
  .about-photo-frame { float: none; clear: none; margin: 0; order: 1; }
  .about-portrait-frame { width: 220px; }
  .booking-preview { grid-template-columns: 120px minmax(0, 1fr); }
  .home-purpose { grid-template-columns: 1fr; gap: 18px; padding-top: 36px; }
  .home-purpose h2 { max-width: none; }
}
@media (max-width: 720px) {
  .site-header nav { width: 100%; min-height: 0; padding-block: 16px; flex-wrap: wrap; gap: 10px 24px; }
  .has-js .menu-toggle { display: block; border: 0; background: none; color: var(--on-dark); padding: 8px 0 8px 18px; font-size: .85rem; cursor: pointer; margin-left: auto; }
  .has-js .site-header nav { display: none; }
  .has-js .site-header nav.is-open { display: flex; }
}
@media (max-width: 640px) {
  .section-shell, .site-header { padding-inline: 24px; }
  .site-footer { width: calc(100% - 48px); }
  .home-layout { padding-top: 24px; }
  .home-panel { padding: 24px; }
  .home-updates { gap: 20px; margin-top: 20px; }
  .home-purpose { padding: 32px 0 16px; }
  .booking-preview { gap: 18px; }
  .booking-columns, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .session { grid-template-columns: 1fr; gap: 20px; }
  .virtual-detail { grid-template-columns: 1fr; grid-template-areas: "photo" "copy" "booking"; }
  .page-intro { padding-block: 28px 24px; }
  .page-lead { font-size: .95rem; }
  .content-panel { padding: 24px; margin-bottom: 24px; }
  .standalone-prose { padding-inline: 24px; }
  .prose { font-size: .95rem; }
  .plain-content { min-height: 200px; }
  .post-summary { padding: 24px; }
  .post-reading { padding: 24px 20px; }
  .post-header h1 { font-size: 1.75rem; }
}
@media (max-width: 380px) {
  .section-shell, .site-header { padding-inline: 18px; }
  .site-footer { width: calc(100% - 36px); }
  .booking-preview { grid-template-columns: 1fr; }
  .home-action .button { min-width: 0; width: 100%; }
  .home-panel, .content-panel, .session { padding: 22px; }
}
