/* ==========================================================
   Stephen Gemmell – site styles
   Colours come from the logo. Change them here and the
   whole site updates.
   ========================================================== */
:root {
  --navy: #1F4A78;        /* heartbeat line – headings */
  --ink: #2B3440;         /* body text */
  --muted: #5E6773;       /* small text */
  --coral: #E5604F;       /* heart – buttons */
  --coral-dark: #C94D3D;
  --green: #4FA77C;       /* lotus */
  --blue: #3B9FD6;        /* water */
  --cream: #FBF8F3;       /* page background */
  --sand: #F3EDE4;        /* alternate sections */
  --white: #FFFFFF;
  --line: #E4DCD0;

  --heading: "Lora", Georgia, serif;
  --body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--heading);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; scroll-margin-top: 100px; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.8em;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 28px;
  border: 2px solid var(--coral);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.button:hover { background: var(--coral-dark); border-color: var(--coral-dark); }

.button-quiet {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.button-quiet:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--heading); font-size: 1.6rem; font-weight: 600; color: var(--navy); }
.brand-role { font-size: 0.95rem; color: var(--muted); }

.site-nav { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.site-nav a:hover { color: var(--coral); }

/* ---------- 1. Hero ---------- */
.hero {
  padding: 110px 0 100px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(229, 96, 79, 0.10), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(59, 159, 214, 0.10), transparent 55%),
    var(--cream);
}
.hero-inner { max-width: 820px; text-align: center; }
.hero .lead { font-size: 1.25rem; color: var(--ink); max-width: 680px; margin: 0 auto 2em; }
.hero-moments {
  font-family: var(--heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  max-width: 640px;
  margin: 0 auto 1em;
}
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-link { margin: 1.2em 0 0; font-size: 1rem; }

/* Header "Book a free call" button */
.header-cta { padding: 10px 20px; font-size: 0.95rem; white-space: nowrap; }

/* Why I do this */
.why-heading { margin-top: 1.4em; }
.raft em { font-style: normal; font-weight: 700; color: var(--navy); }

/* How it works: three steps */
.steps-heading { margin-top: 1.4em; }
.steps { padding-left: 1.3em; margin: 0 0 1.4em; }
.steps li { margin-bottom: 10px; }
.booking-cta { margin: 0 0 1.6em; }

/* ---------- 2. Credentials ---------- */
.credentials { padding: 22px 0; background: var(--navy); }
.credentials ul {
  list-style: none;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 36px;
}
.credentials li { color: var(--white); font-size: 0.95rem; font-weight: 600; }
.credentials a { color: var(--white); text-underline-offset: 3px; }

/* ---------- 3. Intro ---------- */
.intro-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}
.intro-photo {
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: 0 10px 30px rgba(31, 74, 120, 0.15);
}

/* ---------- What is capacity? ---------- */
.definition { padding-top: 60px; }
.definition-inner { max-width: 760px; text-align: center; }
.definition h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.definition p { font-size: 1.2rem; margin: 0; }

/* ---------- 4. Approach ---------- */
.approach { background: var(--sand); }
.section-lead { max-width: 720px; font-size: 1.2rem; margin-bottom: 2.5em; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--green);
}
.card:nth-child(2) { border-top-color: var(--blue); }
.card:nth-child(3) { border-top-color: var(--coral); }
.card p { font-size: 1.05rem; }
.rest-list { list-style: none; padding: 0; margin: 0 0 1em; font-size: 1.1rem; }
.rest-list li { margin-bottom: 4px; }
.rest-list strong { color: var(--navy); font-family: var(--heading); font-size: 1.25rem; }
.card-number {
  display: block;
  font-family: var(--heading);
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Psychosensory note, leading into the practice */
.approach-note {
  max-width: 720px;
  margin: 64px auto 0;
  font-size: 1.2rem;
  text-align: center;
}
.approach-note strong { color: var(--navy); }

/* Try this now: Soothing Hand */
.try-now {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 5px solid var(--green);
  padding: 32px 32px 24px;
  margin: 40px auto 0;
  max-width: 760px;
  scroll-margin-top: 110px;
}
.try-now ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.try-now li { margin-bottom: 6px; }
.try-now .small-print { max-width: none; margin-top: 0; }

.pull-quote {
  margin: 60px auto 0;
  text-align: center;
  max-width: 700px;
}
.pull-quote p {
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy);
  margin: 0;
}

/* ---------- 5. Workbook ---------- */
.workbook-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

/* Drawn version of the workbook cover */
.book-cover {
  position: relative;
  aspect-ratio: 0.72;
  background: #F7F4EE;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 18px 40px rgba(31, 74, 120, 0.22), inset 6px 0 0 rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 16px 0;
  text-align: center;
  overflow: hidden;
}
.book-small { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: #2B3440; }
.book-big { font-size: 2.3rem; letter-spacing: 0.08em; text-transform: uppercase; color: #3F7A78; line-height: 1.2; }
.book-rule { width: 50px; height: 1px; background: #9DB8B6; margin: 14px 0 10px; }
.book-sub { font-size: 0.78rem; color: #3F7A78; letter-spacing: 0.06em; }
.book-waves { position: absolute; left: 0; right: 0; bottom: 40px; width: 100%; height: 45%; }
.book-waves path { fill: none; stroke: #6E9C99; stroke-width: 0.6; }
.book-author { position: absolute; bottom: 18px; font-size: 0.75rem; letter-spacing: 0.1em; color: #2B3440; }

.chapter-list {
  columns: 2;
  column-gap: 30px;
  padding-left: 1.2em;
  margin: 0 0 1.8em;
}
.chapter-list li { margin-bottom: 4px; }

.signup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 8px;
  max-width: 480px;
}
.signup label { font-weight: 700; font-size: 0.95rem; }
.signup input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #CFC6B8;
  border-radius: 8px;
  margin-bottom: 8px;
}
.signup input:focus { outline: 3px solid rgba(59, 159, 214, 0.35); border-color: var(--blue); }
.signup .button { justify-self: start; margin-top: 6px; }

.small-print { font-size: 0.9rem; color: var(--muted); margin-top: 1em; max-width: 520px; }

/* Kit form: the page already shows the title and description, so hide Kit's copies
   and match the site's fonts and buttons */
.kit-form { max-width: 520px; }
.kit-form .formkit-form {
  font-family: var(--body) !important;
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
}
.kit-form .formkit-header,
.kit-form .formkit-subheader { display: none !important; }
.kit-form .formkit-fields { margin-top: 0 !important; }
.kit-form .formkit-input { font-family: var(--body) !important; font-size: 1rem !important; border-radius: 8px !important; }
.kit-form .formkit-submit { border-radius: 999px !important; font-family: var(--body) !important; }
.kit-form .formkit-submit > span { font-size: 1rem; font-weight: 700; padding: 14px 28px !important; }

/* ---------- 6. Help ---------- */
/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testimonials .container { text-align: center; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.quote-card {
  margin: 0;
  background: var(--cream);
  border-radius: var(--radius);
  border-top: 4px solid var(--green);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.quote-card:nth-child(3n+2) { border-top-color: var(--blue); }
.quote-card:nth-child(3n) { border-top-color: var(--coral); }
.quote-card blockquote { margin: 0 0 1.2em; flex: 1; }
.quote-card blockquote p { font-family: var(--heading); font-style: italic; font-size: 1.1rem; color: var(--ink); margin: 0; }
.quote-card figcaption { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.help-final { background: var(--white); padding-top: 0; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .quote-grid { grid-template-columns: 1fr; } }

.help { background: var(--sand); }
.help .container { text-align: center; }
.card-single { max-width: 680px; margin: 0 auto; text-align: left; border-top-color: var(--coral); }

.email-plain { font-size: 1rem; margin: 1.2em 0 0; }

/* Contact form */
.contact-form {
  display: grid;
  gap: 6px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.contact-form label { font-weight: 700; font-size: 0.95rem; margin-top: 8px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1px solid #CFC6B8;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 3px solid rgba(59, 159, 214, 0.35); border-color: var(--blue); }
.contact-form .button { justify-self: start; margin-top: 14px; }
.field-hint { font-size: 0.9rem; color: var(--muted); margin: 0; }
.hidden-field { display: none; }
.form-status { margin: 4px 0 0; font-weight: 600; }
.form-status.ok { color: #2F7D57; }
.form-status.error { color: var(--coral-dark); }

/* ---------- Book a call page ---------- */
.hero-small { padding: 80px 0 60px; }
.how-it-works { background: var(--sand); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.booking-calendar {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--coral);
  overflow: hidden;
}
.calendly-inline-widget { min-width: 300px; height: 760px; }
.booking-fallback { padding: 32px 28px; margin: 0; }
.help-slim { padding-top: 0; background: transparent; }
.help-contact { padding-top: 0; background: transparent; }

/* Home page: How it works cards + two links at the foot of Working together */
.help-steps { margin: 48px auto 0; max-width: 1080px; text-align: left; }
.help-steps h3.steps-heading { text-align: center; margin-bottom: 24px; }
.help-buttons-lead { max-width: 640px; margin: 36px auto 0; text-align: center; font-size: 1.1rem; }
.help-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------- Guided practices page ---------- */
.practice-updated { margin: 0 auto; max-width: none; }
.practices { padding-top: 0; }
.practices-inner { max-width: 800px; }
.practice-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--green);
  padding: 32px 32px 24px;
  margin-bottom: 32px;
}
.practice-card + .practice-card { border-top-color: var(--blue); }
.practice-figure { margin: 24px 0; }
.practice-figure img { border-radius: 8px; border: 1px solid var(--line); }
.practice-figure figcaption { max-width: none; margin-top: 8px; }
.practice-audio { width: 100%; margin: 8px 0 16px; }
.practice-note { font-size: 1rem; }
.practices-safety { max-width: none; text-align: center; margin: 0 auto 8px; }

/* ---------- Privacy notice page ---------- */
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.2em; }
.legal p, .legal li { font-size: 1.05rem; }
.lead-small { font-size: 1.15rem !important; }
.legal-list { padding-left: 1.3em; margin: 0 0 1em; }
.legal-list li { margin-bottom: 6px; }

/* If you need help right now */
.support-box {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: left;
  background: #EAF3FA;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.support-box h3 { font-size: 1.15rem; }
.support-box p { font-size: 1rem; }
.support-box ul { margin: 0; padding-left: 1.2em; font-size: 1rem; }
.support-box li { margin-bottom: 4px; }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--navy); color: #DCE6F0; padding: 50px 0; }
.site-footer a { color: var(--white); }
.site-footer .small-print { color: #B8C7D8; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer img { background: var(--white); border-radius: 12px; padding: 6px; margin-bottom: 10px; }
.footer-raft { font-family: var(--heading); font-size: 1.15rem; color: var(--white); }
.site-footer .member-badge img { width: 150px; padding: 8px; margin: 6px 0 0; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 860px) {
  section { padding: 60px 0; }
  .hero { padding: 70px 0; }
  /* Phones: menu sits on its own row under the name and button */
  .header-inner { flex-wrap: wrap; row-gap: 6px; padding-top: 12px; padding-bottom: 10px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .site-nav a { font-size: 0.95rem; }
  .brand img { width: 52px; height: auto; }
  .brand-name { font-size: 1.3rem; }
  .brand-role { display: none; }
  .header-cta { padding: 8px 16px; font-size: 0.9rem; }
  .intro-inner, .workbook-inner, .booking-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-small { padding: 56px 0 40px; }
  .intro-photo { max-width: 240px; margin: 0 auto; }
  .book-cover { max-width: 240px; margin: 0 auto; }
  .cards, .cards-two { grid-template-columns: 1fr; }
  .chapter-list { columns: 1; }
}
