/* Nurtured Touch: Soft Wave design, mockup round 3. Colors are listed in docs/design/brand.md. */
:root {
  --mauve: #B689A3; --sky: #8BA6B3; --charcoal: #58595B; --sage: #95AAA8; --beige: #CE9FA0;
  --mauve-deep: #836375; --mauve-deeper: #6D5262; --mauve-darkest: #5A4351;
  --sky-deep: #5C6E76; --slate: #3F4C52;
  --grad-a: #DECAD6; --grad-b: #CBD7DD;
  --mauve-pale: #F6F1F4; --sky-pale: #E8EDF0; --sage-pale: #F2F5F5;
  --head: "Filson Pro", "Montserrat", sans-serif;
  --body: "Avenir Next", "Avenir", "Nunito Sans", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--charcoal); font-size: 18px; line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--mauve-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.note { background: var(--charcoal); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }
.note a { color: #fff; }

h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-transform: uppercase; letter-spacing: .02em; color: var(--slate); }
h2 { font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.2rem); text-transform: uppercase; letter-spacing: .03em; color: var(--mauve-deep); text-align: center; }
h2.sky { color: var(--sky-deep); }
h2.left { text-align: left; }
h3 { font-weight: 700; font-size: 1.15rem; }
.lead { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.small { font-size: .9rem; }
.center { text-align: center; }

.btn { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 30px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn-solid { background: var(--mauve-deep); color: #fff; }
.btn-solid:hover { background: var(--mauve-deeper); }
.btn-ghost { border-color: var(--mauve-darkest); color: var(--mauve-darkest); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.5); }
.wave { display: block; width: 100%; height: clamp(50px, 8vw, 110px); }
.wave.short { height: clamp(36px, 5vw, 70px); }

/* Top of page */
.top { background: linear-gradient(115deg, var(--grad-a) 0%, var(--grad-b) 100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.nav img { height: 58px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--mauve-darkest); box-shadow: 0 3px 0 var(--mauve-deep); }
.nav .btn { color: #fff; padding: 10px 22px; box-shadow: none; }
.hero-body { text-align: center; padding: 56px 0 30px; }
.hero-body img { height: 120px; margin: 0 auto 28px; }
.hero-body p { font-size: 1.25rem; max-width: 620px; margin: 0 auto 2rem; }
.page-head { text-align: center; padding: 34px 0 18px; }
.page-head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.page-head p { font-size: 1.2rem; max-width: 640px; margin: 0 auto; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.band { padding: 30px 0 70px; }
.band.sky { background: var(--sky-pale); }
.band.sage { background: var(--sage-pale); }
.band.plain { padding-top: 20px; }

/* Age cards */
.age-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.age { flex: 1 1 135px; max-width: 170px; background: #fff; border-radius: 22px; padding: 20px 12px; text-align: center; text-decoration: none; color: var(--charcoal); box-shadow: 0 2px 0 rgba(92,110,118,.18); }
.age b { display: block; font-family: var(--head); font-size: 1.25rem; color: var(--sky-deep); }
.age span { font-size: .9rem; display: block; }
.age:hover { outline: 3px solid var(--sky); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--mauve-pale); border-radius: 28px; padding: 30px 26px; }
.card.white { background: #fff; }
.card p { margin: 0 0 .6em; }
.card p:last-child { margin-bottom: 0; }
.num { font-family: var(--head); font-weight: 800; width: 46px; height: 46px; border-radius: 50%; background: var(--mauve-deep); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.price { text-align: center; border: 2px solid transparent; }
.price.feature { border-color: var(--mauve); }
.amt { font-family: var(--head); font-weight: 800; font-size: 2.8rem; color: var(--mauve-deep); line-height: 1; margin: .2em 0; }
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { padding: 6px 0 6px 30px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--mauve); }
.bullets.sky li::before { background: var(--sky); }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; max-width: 880px; margin: 0 auto; }
.mark { background: var(--mauve-pale); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 34px; }
.mark img { width: 100%; height: auto; }   /* the SVG has no size of its own; Safari shows it at zero width without this */
.meet { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start; max-width: 980px; }
.portrait-wrap { margin: 0; text-align: center; }
.portrait { border-radius: 50%; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%); box-shadow: 0 0 0 10px var(--mauve-pale); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-wrap figcaption { margin-top: 20px; font-size: .95rem; }
.portrait-wrap figcaption b { font-family: var(--head); color: var(--mauve-deep); font-size: 1.05rem; }
.quote { font-family: var(--head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--mauve-deep); text-align: center; margin: 2.2rem auto 0; max-width: 640px; }

/* Schedule */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.chip { font-family: var(--body); font-size: .95rem; font-weight: 700; background: #fff; color: var(--charcoal); border: 2px solid transparent; border-radius: 999px; padding: 8px 18px; text-decoration: none; box-shadow: 0 2px 0 rgba(92,110,118,.18); }
.chip[aria-current="true"] { background: var(--sky-deep); color: #fff; }
.day { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--sky-deep); margin: 26px 0 10px; font-size: 1rem; }
.slot { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 18px; align-items: center; background: #fff; border-radius: 22px; padding: 18px 22px; margin-bottom: 12px; }
.slot .time { font-family: var(--head); font-weight: 700; color: var(--slate); }
.slot b { display: block; }
.slot span { font-size: .92rem; }
.left-count { font-size: .85rem; font-weight: 800; background: var(--mauve-pale); color: var(--mauve-darkest); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.slot .btn { padding: 9px 22px; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.theme { background: #fff; border-radius: 18px; padding: 14px 18px; }
.theme b { display: block; font-family: var(--head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-deep); }

/* Form */
form { display: grid; gap: 16px; }
label { font-weight: 700; display: block; margin-bottom: 4px; }
label small { font-weight: 400; }
input, textarea, select { width: 100%; font: inherit; color: var(--charcoal); padding: 12px 16px; border: 2px solid #C9CED1; border-radius: 16px; background: #fff; }
textarea { min-height: 150px; resize: vertical; }
.info p { margin: 0 0 1.1em; }
.map { background: var(--sky-pale); border-radius: 22px; min-height: 200px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--sky-deep); font-weight: 700; }
.draft { border: 2px dashed var(--mauve); border-radius: 18px; padding: 10px 16px; font-size: .88rem; margin: 0 auto 22px; max-width: 760px; background: #fff; }

/* Footer */
footer { background: var(--sky-deep); color: #fff; padding: 10px 0 40px; }
footer a { color: #fff; }
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; }
.foot img { height: 60px; margin-bottom: 12px; }
.foot h3 { text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.foot p { margin: 0 0 .4em; }

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; justify-content: center; padding: 16px 0 6px; }
  .nav ul { flex-wrap: wrap; justify-content: center; gap: 8px 18px; width: 100%; font-size: .95rem; }
  .nav .btn { padding: 8px 18px; }
  .slot .left-count { justify-self: start; }
  .split, .about-grid, .meet { grid-template-columns: 1fr; }
  .meet { gap: 28px; }
  .portrait { max-width: 230px; margin: 0 auto; }
  .about-grid { text-align: center; }
  .about-grid .mark { max-width: 160px; margin: 0 auto; }
  h2.left { text-align: center; }
  .slot { grid-template-columns: 1fr auto; }
  .slot .time { grid-column: 1 / -1; }
}

/* Contact form messages */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #8A2A3F; font-size: .9rem; font-weight: 700; margin: 6px 0 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #8A2A3F; }
.form-note { border-radius: 16px; padding: 12px 16px; margin: 0 0 18px; font-weight: 700; }
.form-note.ok { background: var(--sage-pale, #F2F5F5); border: 2px solid var(--sky-deep, #5C6E76); }
.form-note.problem { background: #FBF1F3; border: 2px solid #8A2A3F; color: #6B1F31; }

/* Long email addresses wrap inside their footer column */
footer p { overflow-wrap: anywhere; }

/* Contact page: the "Find us" card, with the map filling its lower half */
.split.even { align-items: stretch; }
.find-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.find-text { padding: 30px 26px 22px; }
.find-text p { margin: 0 0 1.1em; }
.find-text p:last-child { margin-bottom: 0; }
.btn-small { padding: 9px 22px; font-size: .92rem; }
.map-frame { flex: 1 1 auto; width: 100%; min-height: 280px; border: 0; border-top: 2px solid var(--sky-pale); display: block; filter: saturate(.8); }

/* Long text pages (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 1.9em 0 .5em; }
.prose h2:first-of-type { margin-top: .6em; }
.prose p { margin: 0 0 1em; }
.prose .bullets { margin: 0 0 1em; }
