/* ==========================================================================
   Clarity Therapy, Julia Garden (mockup on the Earthy template)
   Layout, palette and type sampled from spiralsongfacilitation.com.
   Fonts are an exact match: Lustria + Crimson Pro (both Google Fonts).
   Paper texture is a CSS noise overlay; icons are original SVG.
   ========================================================================== */

:root {
  --ink: #36382b;
  --cream: #f1ebdc;
  --bark: #633f30;
  --forest: #424f3a;
  --sage: #7e866f;
  --blush: #d6b9a7;
  --clay: #a36f5d;

  --display: "Lustria", Georgia, serif;
  --serif: "Crimson Pro", Georgia, serif;

  --gutter: clamp(20px, 3.6vw, 50px);
  --max: 1300px;
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.18 0 0 0 0 0.12 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.light { color: var(--cream); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cream); padding: 8px 12px; }

/* Textured colour bands --------------------------------------------------- */

.paper { position: relative; isolation: isolate; }
.paper::before { content: ""; position: absolute; inset: 0; background-image: var(--paper); background-size: 200px; opacity: 0.55; z-index: -1; pointer-events: none; }
.bg-sage { background-color: var(--sage); }
.bg-blush { background-color: var(--blush); }
.bg-clay { background-color: var(--clay); }

/* Photo background with a tinted overlay */
.photo-bg { position: relative; isolation: isolate; overflow: hidden; }
.photo-bg > .bg { position: absolute; inset: 0; z-index: -2; }
.photo-bg > .bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-bg > .tint { position: absolute; inset: 0; z-index: -1; }

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 260px;
  padding: 0 26px;
  border: 1px solid var(--cream);
  border-radius: 300px;
  background: var(--bark);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.25s ease;
}
.btn:hover { background: #4f3125; }
.btn--clay { background: var(--clay); }
.btn--clay:hover { background: #8f5f4f; }
.btn--ghost { background: transparent; color: var(--bark); border-color: var(--bark); min-width: 210px; }
.btn--ghost:hover { background: var(--bark); color: var(--cream); }
.btn--sm { min-width: 0; min-height: 46px; padding: 0 22px; }

/* Header ------------------------------------------------------------------ */

.site-header { background: var(--cream); position: relative; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 140px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 28px; max-width: 360px; }
.nav a { text-decoration: none; font-size: 19px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header .btn { justify-self: end; min-width: 0; min-height: 46px; padding: 0 30px; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--ink); cursor: pointer; }

.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo svg { width: 46px; height: 46px; color: var(--ink); margin-bottom: 6px; }
.logo-name { font-family: var(--display); font-size: 27px; letter-spacing: -0.01em; }
.logo-sub { font-family: var(--serif); font-style: italic; font-size: 16px; margin-top: 3px; }

/* Hero -------------------------------------------------------------------- */

.hero { min-height: 560px; display: grid; place-items: center; text-align: center; color: var(--cream); padding: 90px 0 140px; }
.hero .tint { background: linear-gradient(180deg, rgba(26, 32, 22, 0.55), rgba(26, 32, 22, 0.45) 60%, rgba(26, 32, 22, 0.55)); }
.hero .bg img { object-position: 50% 60%; }
.hero h1 { font-size: clamp(46px, 5.2vw, 70px); line-height: 1.02; }
.hero p { font-size: 25px; margin: 32px 0 0; }

/* Intro ------------------------------------------------------------------- */

.intro { color: var(--cream); padding: 90px 0 110px; }
.intro svg { width: 44px; height: 44px; margin: 0 auto 26px; display: block; color: var(--ink); opacity: 0.8; }
.intro h2 { font-size: 34px; margin-bottom: 36px; }
.intro p { max-width: 1060px; margin: 0 auto; font-size: 19px; }

/* About ------------------------------------------------------------------- */

.about { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.about-photo { min-height: 680px; border-right: 1px solid var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-copy { padding: 90px clamp(24px, 10vw, 125px) 60px clamp(24px, 10vw, 105px); align-self: center; }
.about h2 { font-size: clamp(40px, 3.6vw, 50px); margin-bottom: 36px; }
.about p { margin: 0 0 36px; font-size: 19px; }

.accordion { border-top: 1px solid rgba(54, 56, 43, 0.5); }
.accordion details { border-bottom: 1px solid rgba(54, 56, 43, 0.5); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 0; font-size: 19px; font-weight: 400; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 14px; height: 8px; flex-shrink: 0; transition: transform 0.3s; }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion .answer { padding: 0 0 18px; font-size: 17px; }
.accordion .answer p { margin: 0 0 10px; font-size: 17px; }
.about .btn { margin-top: 56px; }

/* Values ------------------------------------------------------------------ */

.values { padding: 80px 0 110px; }
.values h2 { font-size: clamp(40px, 3.6vw, 50px); margin-bottom: 70px; }
.values .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 1180px; margin: 0 auto; }
.value svg { width: 40px; height: 40px; color: var(--bark); margin: 0 auto 22px; display: block; }
.value h3 { font-size: 24px; margin-bottom: 40px; }
.value p { margin: 0 auto; font-size: 16px; max-width: 320px; }

/* Offerings --------------------------------------------------------------- */

.offerings { padding: 130px 0 100px; }
.offerings .tint { background: rgba(126, 134, 111, 0.14); }
.offerings h2 { font-size: clamp(42px, 3.8vw, 54px); color: var(--cream); margin-bottom: 70px; }
.offer-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: start; }
.offer-card { background: var(--cream); border-radius: 44px; padding: 52px 52px 70px; min-height: 480px; }
.offer-card:nth-child(2) { min-height: 540px; }
.offer-card svg { width: 26px; height: 26px; color: var(--forest); margin-bottom: 60px; display: block; }
.offer-card h3 { font-size: 25px; line-height: 1.05; margin-bottom: 42px; }
.offer-card p { margin: 0; font-size: 16px; }
.offerings .cta { margin-top: 70px; }

/* How it works ------------------------------------------------------------ */

.how { color: var(--cream); padding: 100px 0 80px; overflow: hidden; }
.how h2 { font-size: clamp(42px, 3.8vw, 54px); margin-bottom: 36px; }
.how .lede { max-width: 740px; margin: 0 auto 50px; font-size: 19px; }
.how .accordion { max-width: 740px; margin: 0 auto; border-top-color: rgba(241, 235, 220, 0.5); text-align: left; }
.how .accordion details { border-bottom-color: rgba(241, 235, 220, 0.5); }
.how .accordion summary { padding: 18px 14px; }
.how .accordion .answer { padding: 0 14px 20px; }
.how .btn { margin-top: 60px; min-width: 320px; }
.how .sprig { position: absolute; color: var(--cream); pointer-events: none; }

/* Split feature rows ------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 490px; }
.split-copy { padding: 100px clamp(24px, 9vw, 125px); align-self: center; }
.split-copy h2 { font-size: clamp(36px, 3.2vw, 44px); margin-bottom: 34px; }
.split-copy p { margin: 0 0 42px; font-size: 16px; max-width: 420px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split-photo { order: -1; }
.split.paper .split-copy { color: var(--cream); }
.badges { display: flex; gap: 40px; align-items: center; margin-top: 30px; }
.badges span { width: 64px; height: 44px; border: 1px dashed rgba(241, 235, 220, 0.6); border-radius: 8px; display: grid; place-items: center; font-size: 11px; opacity: 0.85; }

/* Footer ------------------------------------------------------------------ */

.site-footer { padding: 50px 0 80px; }
.site-footer .logo svg { width: 50px; height: 50px; margin: 0 auto; }
.footer-links { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 14px 30px; list-style: none; margin: 34px 0 0; padding: 28px 0 0; border-top: 1px solid var(--ink); }
.footer-links a { font-style: italic; font-size: 17px; text-underline-offset: 3px; }
.newsletter { max-width: 460px; margin: 70px auto 0; text-align: center; }
.newsletter h2 { font-size: 23px; margin-bottom: 16px; }
.newsletter p { font-size: 16px; margin: 0 0 30px; }
.newsletter form { display: flex; justify-content: center; gap: 10px; }
.newsletter input { width: 280px; max-width: 100%; min-height: 48px; border: 1px solid rgba(54, 56, 43, 0.25); border-radius: 300px; background: #fff; padding: 0 22px; font-family: var(--serif); font-size: 16px; text-align: center; color: var(--ink); }
.newsletter button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; }
.newsletter button:hover { background: var(--ink); color: var(--cream); }
.credit { text-align: center; margin: 60px 0 0; font-size: 14px; }

/* Clarity Therapy additions ----------------------------------------------- */

.logo svg { width: 44px; height: 44px; }
.intro svg { color: var(--cream); }
.accordion .badge { width: 260px; height: auto; margin-top: 12px; border-radius: 6px; }
.footer-badge { width: 230px; height: auto; margin: 34px auto 0; border-radius: 6px; }

.about-photo img { object-position: 50% 25%; }
.hero h1 { max-width: 760px; margin: 0 auto; }
.values-lede { max-width: 720px; margin: -40px auto 70px; font-size: 19px; }
.offerings h2 { margin-bottom: 18px; }
.offer-lede { color: var(--cream); font-size: 21px; margin: 0 0 60px; }
.offerings .tint { background: linear-gradient(180deg, rgba(30, 36, 26, 0.45), rgba(30, 36, 26, 0.15) 40%); }

.quotes { display: grid; gap: 34px; max-width: 760px; margin: 0 auto; text-align: left; }
.quotes figure { margin: 0; padding: 0 0 34px; border-bottom: 1px solid rgba(241, 235, 220, 0.4); }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0; font-size: 20px; font-style: italic; line-height: 1.55; }
.quotes figcaption { margin-top: 14px; font-family: var(--display); font-size: 17px; }

.contact-list { list-style: none; margin: 0; padding: 0; max-width: 420px; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(241, 235, 220, 0.4); font-size: 18px; }
.contact-list li:last-child { border-bottom: 1px solid rgba(241, 235, 220, 0.4); }
.contact-list span { display: block; font-style: italic; font-size: 15px; opacity: 0.85; }
.contact-list a { font-family: var(--display); font-size: 21px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .logo svg { width: 36px; height: 36px; }
  .values-lede { margin: -30px auto 50px; }
  .quotes p { font-size: 18px; }
}

/* Reveal ------------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  .offer-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .offer-card, .offer-card:nth-child(2) { min-height: 0; }
}

@media (max-width: 960px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; min-height: 110px; }
  .menu-toggle { display: block; }
  .site-header .logo { grid-column: 2; }
  .site-header .btn { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: none;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 0 var(--gutter) 22px;
    border-bottom: 1px solid var(--ink);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(54, 56, 43, 0.15); }
  .logo svg { width: 38px; height: 38px; }
  .logo-name { font-size: 23px; }

  .hero { min-height: 480px; padding: 70px 0 110px; }
  .hero p { font-size: 20px; }

  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .about-copy { padding: 60px var(--gutter); }

  .values .grid { grid-template-columns: 1fr; gap: 56px; }
  .value h3 { margin-bottom: 18px; }

  .offerings { padding: 90px 0; }
  .offer-card { padding: 40px 32px 44px; border-radius: 34px; }
  .offer-card svg { margin-bottom: 30px; }
  .offer-card h3 { margin-bottom: 20px; }

  .how .sprig { display: none; }
  .btn, .how .btn { min-width: 0; width: 100%; max-width: 340px; }

  .split { grid-template-columns: 1fr; }
  .split-photo { height: 320px; }
  .split--reverse .split-photo { order: 0; }
  .split-copy { padding: 70px var(--gutter); }
}

@media (max-width: 600px) {
  .offer-cards { grid-template-columns: 1fr; }
  .footer-links { justify-content: center; }
  .newsletter input { width: 100%; }
}

/* NCPS logo needs a light backing on dark footers */
.footer-badge, .accordion .badge { background: #fff; padding: 10px 16px; width: 200px; }

/* What to Expect: step title above its description */
#expect figure figcaption { margin: 0 0 0.5rem; font-size: 1.2rem; }

/* Accreditation bar (about section) */
.accred {
  margin: 28px 0; padding: 16px 22px 18px; background: #fff;
  border-radius: var(--accred-radius, 14px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  max-width: 460px; text-align: left;
}
.accred p.accred-label {
  margin: 0 0 10px; padding: 0; font-family: inherit; font-size: 0.72rem; line-height: 1.4; letter-spacing: 0.14em;
  text-transform: uppercase; color: #5b5d5f; font-weight: 500;
}
.accred ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.accred li { margin: 0; padding: 0; border: 0; background: none; }
.accred li::before { content: none; }
.accred img {
  display: block; width: auto; max-width: none; position: static; aspect-ratio: auto;
  border-radius: 0; box-shadow: none; filter: none; object-fit: contain; margin: 0;
}
.accred-ncps { height: 40px; }
.accred-bacp { height: 30px; }
.accred-ukcp { height: 42px; }
@media (max-width: 420px) {
  .accred ul { gap: 18px; }
  .accred-ncps { height: 34px; }
  .accred-bacp { height: 25px; }
  .accred-ukcp { height: 36px; }
}

/* === Colour schemes === */
/* Picked from the demo bar. Each scheme only swaps the colour variables. */
.btn:hover { background: color-mix(in srgb, var(--bark) 80%, #000); }
:root[data-scheme="slate-blue"] {
  --ink: #26343a; --cream: #eef0eb; --bark: #2e4c58; --forest: #2f4a52;
  --sage: #6c8a8d; --blush: #c6d4d1; --clay: #587b83;
}
:root[data-scheme="heather-plum"] {
  --ink: #33283a; --cream: #f3ede9; --bark: #553149; --forest: #463650;
  --sage: #85778f; --blush: #dcc7d2; --clay: #8a5f7c;
}
:root[data-scheme="ochre-rust"] {
  --ink: #3a2b20; --cream: #f6ecdc; --bark: #7a3e22; --forest: #5a4828;
  --sage: #9c8655; --blush: #ebcaa8; --clay: #b2643d;
}
/* === /Colour schemes === */
