/*
 * Tali Maulgue — warm cream, Playfair Display headings, Lora body, Inter labels.
 * Ported from the Kawhi site (base.css + open-props tokens + per-page CSS).
 * Fonts are self-hosted under /assets/fonts (SIL Open Font License).
 */

/* ---------- Fonts (self-hosted, latin + latin-ext for macrons) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/lora-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    /* Spacing and radius scale (the subset of Open Props the old site used). */
    --size-1: .25rem;
    --size-2: .5rem;
    --size-3: 1rem;
    --size-4: 1.25rem;
    --size-5: 1.5rem;
    --size-6: 1.75rem;
    --size-7: 2rem;
    --size-8: 3rem;
    --size-9: 4rem;
    --size-10: 5rem;
    --size-11: 7.5rem;
    --radius-2: 5px;
    --radius-3: 1rem;
    --radius-round: 1e5px;

    /* Palette */
    --site-bg: #f6f1ea;
    --site-text: #3b332a;
    --site-text-muted: #7a7062;
    --site-border: rgba(59, 51, 42, 0.12);
    --site-accent: #8a7654;
    --site-accent-strong: #6b5d3f;
    --site-accent-hover: #4d4129;
    --site-accent-muted: rgba(138, 118, 84, 0.12);
    --site-warm-bg: #ece5d8;
    --site-clay: #c2956b;
    --site-sage: #7d8c6a;
    --site-sage-hover: #667555;
    --site-sage-muted: rgba(125, 140, 106, 0.10);
    --site-cream: #faf7f2;
    --site-error: #9c4a3d;

    /* Type */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body-serif: 'Lora', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--site-text);
    font-family: var(--font-body-serif);
    font-size: 1.05rem;
    line-height: 1.75;
    background: var(--site-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }

a {
    color: var(--site-accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(107, 93, 63, 0.35);
}
a:hover { text-decoration-color: var(--site-accent-strong); }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--site-text);
}
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--site-accent); outline-offset: 3px; }

.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 20;
    padding: 10px 16px; border-radius: 8px;
    background: #fff; color: var(--site-text);
}
.skip-link:focus { top: 12px; }

.site-inner { width: min(960px, calc(100% - 2.5rem)); margin: 0 auto; }

.stack-tight, .stack-normal, .stack-large { display: grid; }
.stack-tight { gap: var(--size-2); }
.stack-normal { gap: var(--size-4); }
.stack-large { gap: var(--size-6); }

/* ---------- Section bands ---------- */
.section { padding: var(--size-10) 0; }
.section-band-cream { background: var(--site-cream); }
.section-band-warm { background: var(--site-warm-bg); }
.section-band-sage { background: var(--site-sage-muted); }
.section-band-accent { background: var(--site-accent-muted); }

.section p, .section li { color: var(--site-text-muted); line-height: 1.85; }
.section li strong, .section p strong { color: var(--site-text); }

.eyebrow {
    margin: 0;
    color: var(--site-accent-strong);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.section p.eyebrow { color: var(--site-accent-strong); line-height: 1.75; }

.lede { max-width: 56ch; font-size: 1.1rem; line-height: 1.8; color: var(--site-text-muted); }

.decorative-divider {
    padding: var(--size-3) 0;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.5em;
    color: var(--site-clay);
    opacity: 0.6;
    user-select: none;
}

/* ---------- Header ---------- */
.site-header { padding: var(--size-6) 0; }
.site-header .site-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--size-4); flex-wrap: wrap;
}
.site-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--site-text);
    text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; gap: var(--size-1); }
.site-nav a {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-round);
    color: var(--site-text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    background: var(--site-accent-muted);
    color: var(--site-accent-strong);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--site-border); padding: var(--size-6) 0 var(--size-7); }
.site-footer .site-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--size-5); flex-wrap: wrap;
}
.site-footer p {
    color: var(--site-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.7;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--size-3); }
.footer-nav a {
    color: var(--site-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--site-accent-strong); text-decoration: underline; }

@media (max-width: 720px) {
    .site-header .site-inner, .site-footer .site-inner { flex-direction: column; align-items: flex-start; }
    .site-nav { margin-left: -1rem; }
}

/* ---------- Buttons ---------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0 2.2rem;
    border: 2px solid var(--site-accent-strong);
    border-radius: var(--radius-round);
    background: var(--site-accent-strong);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.button:hover, .button:focus-visible {
    background: var(--site-accent-hover);
    border-color: var(--site-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}
.button-outline { background: transparent; color: var(--site-accent-strong); }
.button-outline:hover, .button-outline:focus-visible { background: var(--site-accent-strong); border-color: var(--site-accent-strong); }
.button-sage { background: var(--site-sage); border-color: var(--site-sage); }
.button-sage:hover, .button-sage:focus-visible { background: var(--site-sage-hover); border-color: var(--site-sage-hover); }

.button-row { display: flex; flex-wrap: wrap; gap: var(--size-3); }

/* ---------- Hero ---------- */
.hero { padding: var(--size-9) 0 var(--size-10); }
.hero .lede { max-width: 52ch; font-size: 1.15rem; }
.hero .button-row { margin-top: var(--size-3); }
.hero h1 { max-width: 24ch; }

/* Home: full-bleed butterfly photo with a dark wash. */
.hero-photo {
    position: relative;
    overflow: hidden;
    background: #3b332a url('/assets/images/butterfly-hero.webp') center / cover no-repeat;
    color: #fff;
    text-align: center;
}
.hero-photo::before { content: ''; position: absolute; inset: 0; background: rgba(59, 51, 42, 0.45); }
.hero-photo .site-inner { position: relative; display: grid; justify-items: center; gap: var(--size-7); }
.hero-photo .stack-large { justify-items: center; }
.hero-photo h1, .hero-photo .eyebrow { color: #fff; }
.hero-photo .lede { color: rgba(255, 255, 255, 0.92); }
.hero-photo .button-row { justify-content: center; }
.hero-photo .button { background: #fff; border-color: #fff; color: var(--site-text); }
.hero-photo .button:hover, .hero-photo .button:focus-visible { background: var(--site-cream); border-color: var(--site-cream); color: var(--site-text); }
.hero-photo .button-outline { background: transparent; color: #fff; }
.hero-photo .button-outline:hover, .hero-photo .button-outline:focus-visible { background: #fff; color: var(--site-text); }

@media (min-width: 860px) {
    .hero-photo { display: flex; align-items: center; min-height: 70vh; padding: var(--size-11) 0; }
    .hero-photo .site-inner { gap: var(--size-8); }
    .hero-photo h1 { max-width: 20ch; font-size: 4.5rem; }
    .hero-photo .lede { max-width: 60ch; font-size: 1.4rem; }
}

/* Leaders: plain cream hero, left aligned. */
.hero-plain .site-inner { display: grid; gap: var(--size-7); }
.hero-plain h1 { max-width: 14ch; }

/* ---------- About ---------- */
.about-content { display: grid; gap: var(--size-7); align-items: start; }
.about-text { max-width: 62ch; }
.about-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-3);
    box-shadow: 0 8px 40px rgba(59, 51, 42, 0.10);
}
@media (min-width: 860px) {
    .about-content.with-photo { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; }
}

.prose-narrow { max-width: 65ch; }
.section .prose-narrow p { color: var(--site-text); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-style: italic; }
.section.cta-band p { max-width: 54ch; margin: var(--size-4) auto 0; }
.cta-band .button-row { justify-content: center; margin-top: var(--size-5); }

/* ---------- Cards (services, sessions) ---------- */
.card-grid { display: grid; gap: var(--size-6); margin-top: var(--size-5); }
@media (min-width: 50em) {
    .card-grid.two { grid-template-columns: repeat(2, 1fr); }
    .card-grid.auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.card {
    padding: var(--size-8) var(--size-7);
    background: var(--site-cream);
    border: 1px solid var(--site-border);
    border-radius: var(--radius-3);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { background: #fff; box-shadow: 0 4px 24px rgba(59, 51, 42, 0.08); }
.card h3 { font-size: 1.5rem; }
.card-small { padding: var(--size-7) var(--size-6); }
.card-small:hover { box-shadow: none; }
.card-small h3 { font-size: 1.25rem; }

/* ---------- Lists ---------- */
.scope-list { margin: 0; padding-left: var(--size-5); max-width: 68ch; }
.scope-list li { margin-bottom: var(--size-3); line-height: 1.8; }
.scope-note { max-width: 68ch; font-style: italic; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: var(--size-6);
}
.testimonial-card {
    margin: 0;
    padding: var(--size-6);
    background: #fff;
    border-radius: var(--radius-3);
    box-shadow: 0 4px 24px rgba(59, 51, 42, 0.07);
}
.section .testimonial-card p { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.75; color: var(--site-text); }
.testimonial-card footer { margin-top: var(--size-4); color: var(--site-text-muted); font-size: 0.95rem; }

/* ---------- Booking ---------- */
.booking-section { padding: var(--size-9) 0; text-align: center; }
.booking-section .lede { margin: 0 auto; }
.booking-widget { display: flex; justify-content: center; margin-top: var(--size-3); }
.booking-widget button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0 2.2rem;
    border: 2px solid var(--site-accent-strong) !important;
    border-radius: var(--radius-round) !important;
    background: var(--site-accent-strong) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.booking-widget button:hover, .booking-widget button:focus-visible {
    background: var(--site-accent-hover) !important;
    border-color: var(--site-accent-hover) !important;
    transform: translateY(-1px);
}

/* ---------- Contact form ---------- */
.contact-section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.contact-form { display: grid; gap: var(--size-6); max-width: 540px; margin-top: var(--size-3); }
.form-group { display: flex; flex-direction: column; gap: var(--size-1); }
.form-group label {
    color: var(--site-text);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid rgba(59, 51, 42, 0.20);
    border-radius: var(--radius-2);
    background: var(--site-cream);
    color: var(--site-text);
    font-family: var(--font-body-serif);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--site-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(138, 118, 84, 0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--site-text-muted); opacity: 0.6; }
.form-group textarea { min-height: 10rem; resize: vertical; }
.contact-form .button { margin-top: var(--size-3); font-weight: 700; }

/* ---------- FAQs ---------- */
.faq-intro h1 { margin: var(--size-5) 0; }
.faq-list { display: grid; gap: var(--size-3); margin-top: var(--size-5); }
.faq-item {
    padding: var(--size-5) var(--size-6);
    background: var(--site-warm-bg);
    border: 1px solid var(--site-border);
    border-radius: var(--radius-2);
}
.faq-item summary { display: flex; align-items: baseline; gap: var(--size-3); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: '+';
    flex-shrink: 0;
    width: 1.5rem;
    color: var(--site-accent-strong);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}
.faq-item[open] summary::before { content: '\2212'; }
.faq-item h2 { font-size: 1.25rem; line-height: 1.3; }
.section .faq-item p { max-width: 64ch; margin: var(--size-3) 0 0; }

/* ---------- Privacy ---------- */
.privacy-page h1 { max-width: 28ch; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.privacy-page .lede { max-width: 62ch; font-size: 1.15rem; line-height: 1.75; }
.prose-section { padding-top: var(--size-6); border-top: 1px solid var(--site-border); }
.prose-section h2 { font-size: 1.4rem; font-weight: 500; }
.prose-section ul { margin: var(--size-3) 0; padding-left: var(--size-5); }
.section .privacy-updated { margin-top: var(--size-5); font-size: 0.9rem; opacity: 0.7; }

/* ---------- Simple pages (thank you, 404) ---------- */
.simple-page { padding: var(--size-9) 0 var(--size-10); }
.simple-page .button-row { margin-top: var(--size-3); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .booking-widget button { transition: none; }
    .button:hover, .booking-widget button:hover { transform: none; }
}
