/* Clinical: clinical and calm. Charcoal, slate and bone bands with geometric cut-paper artwork.
   ROOTED template. Demo content: Rooted Therapy (Hannah Ellery). */

:root {
  --ink: #23272a;
  --slate: #3b464e;
  --steel: #6f8290;
  --stone: #dcd7cc;
  --bone: #efece6;
  --sand: #c9c2b4;
  --teal: #1f4d4f;
  --teal-dark: #173b3d;
  --oxblood: #7a3a33;
  --text: #2a2e31;
  --muted: #5a6066;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --grain: 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='2' stitchTiles='stitch'/%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; overflow-x: clip; }
body {
  margin: 0; background: var(--bone); color: var(--text);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 em, h2 em, blockquote em { font-style: italic; }
h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
h3 { font-size: 1.45rem; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.eyebrow { font: 500 0.78rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; }

/* Bands: flat colour, fine grain, thin top rule */
.band { position: relative; isolation: isolate; border-top: 1px solid rgba(35, 39, 42, 0.14); }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.07; mix-blend-mode: multiply;
}
.band--ink { background: var(--ink); color: var(--bone); border-top-color: rgba(255,255,255,0.08); }
.band--ink::before, .band--slate::before, .band--teal::before { mix-blend-mode: screen; opacity: 0.05; }
.band--slate { background: var(--slate); color: var(--bone); border-top-color: rgba(255,255,255,0.08); }
.band--teal { background: var(--teal); color: var(--bone); }
.band--bone { background: var(--bone); }
.band--stone { background: var(--stone); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px;
  font: 400 0.98rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }
.band--teal .btn--teal, .band--ink .btn--teal { background: var(--bone); color: var(--ink); }
.band--ink .btn--teal:hover { background: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); min-height: 44px; padding: 0 20px; }
.btn--line:hover { background: var(--ink); color: var(--bone); }
.text-link { font-weight: 400; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link::after { content: " \2192"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bone); border-bottom: 1px solid rgba(35,39,42,0.14); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 34px; height: 34px; color: var(--teal); }
.logo span { font: 400 1.35rem var(--serif); }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 400; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span:not(.sr-only) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 0.25s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { padding: 100px 0 0; border-top: 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.9rem); line-height: 1.04; margin-bottom: 0.4em; }
.hero h1 em { color: var(--sand); }
.hero-sub { font-size: 1.18rem; max-width: 520px; color: #c8ccce; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }
.art { display: block; }
.art--hero { width: 100%; max-width: 460px; justify-self: end; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 90px 0 0;
  border-top: 1px solid rgba(239,236,230,0.2);
}
.facts div { padding: 26px 24px 30px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid rgba(239,236,230,0.2); }
.facts dt { font: 500 0.75rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.facts dd { margin: 0; font: 300 1.2rem var(--serif); }

/* Statement */
.statement { padding: 120px 0; }
.statement-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.statement h2 { margin: 0; }
.big { font: 300 1.6rem/1.4 var(--serif); color: var(--ink); }
.statement p:not(.big) { color: var(--muted); }

/* Founder */
.founder { padding: 120px 0; }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.founder-media { position: relative; max-width: 440px; }
.founder-media img { position: relative; z-index: 1; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(0.85); }
.art--photo { position: absolute; width: 46%; right: -14%; bottom: -10%; z-index: 2; }
.founder-text p { color: #d4d7d8; }
.creds { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid rgba(239,236,230,0.2); }
.creds li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(239,236,230,0.2); font-size: 0.98rem; }
.creds span { font: 500 0.72rem/2.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }

/* Section heads */
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0 0 8px; color: var(--muted); font-size: 1.1rem; }
.band--teal .section-head p, .band--slate .section-head p { color: #c9d3d3; }

/* Index grid */
.help { padding: 120px 0; }
.index-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.index-grid li { padding: 28px 26px 40px 0; border-bottom: 1px solid rgba(35,39,42,0.2); }
.index-grid li:not(:nth-child(4n+1)) { padding-left: 26px; border-left: 1px solid rgba(35,39,42,0.2); }
.index-grid span { display: block; font: 500 0.8rem var(--sans); letter-spacing: 0.12em; color: var(--teal); margin-bottom: 40px; }
.index-grid h3 { font-size: 1.35rem; }
.index-grid p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.index-cta { background: var(--ink); color: var(--bone); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.index-grid li.index-cta { padding: 28px 26px; border-left: 0; }
.index-cta p { color: var(--bone) !important; font: 300 1.3rem/1.3 var(--serif) !important; }

/* Approach */
.approach { padding: 120px 0; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.glyph { width: 56px; height: 56px; margin-bottom: 28px; }
.approach-grid p { color: var(--muted); }

/* Expect */
.expect { padding: 120px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(239,236,230,0.3); }
.steps li { padding: 30px 30px 10px 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid rgba(239,236,230,0.3); }
.step-num { display: block; font: 500 0.78rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); margin-bottom: 50px; }
.steps p { color: #c9d3d3; }

/* Fees */
.fees { padding: 120px 0; }
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fee-card { background: #f7f5f1; border: 1px solid rgba(35,39,42,0.16); padding: 34px 32px 26px; }
.fee-card--main { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.fee-card h3 { margin-bottom: 40px; }
.fee-card dl { margin: 0; }
.fee-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(35,39,42,0.16); }
.fee-card--main dl div { border-color: rgba(239,236,230,0.2); }
.fee-card dt { font: 500 0.72rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fee-card--main dt { color: var(--sand); }
.fee-card dd { margin: 0; text-align: right; }
.fee-card .price { font: 300 2.2rem/1 var(--serif); }
.hours { margin: 40px 0 0; color: var(--muted); }

/* Quote */
.quote { padding: 130px 0 150px; overflow: hidden; }
.quote blockquote { margin: 0 auto; max-width: 980px; text-align: center; }
.quote blockquote p { font: 300 clamp(1.9rem, 3.6vw, 3rem)/1.22 var(--serif); }
.quote blockquote em { color: var(--sand); }
.quote cite { font: 500 0.78rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; font-style: normal; color: var(--sand); }
.art--quote { position: absolute; width: 300px; right: 6%; bottom: 0; }

/* FAQ: dark and centred */
.faq { padding: 120px 0; }
.faq-wrap { max-width: 820px; text-align: center; }
.faq-list { text-align: left; margin-top: 40px; border-top: 1px solid rgba(239,236,230,0.25); }
.faq-list details { border-bottom: 1px solid rgba(239,236,230,0.25); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font: 300 1.4rem var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--sand), var(--sand)) center / 100% 1.5px no-repeat, linear-gradient(var(--sand), var(--sand)) center / 1.5px 100% no-repeat;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: #d4d7d8; padding-bottom: 22px; max-width: 660px; }
.faq-badge { width: 180px; margin: 50px auto 0; background: var(--bone); padding: 14px 18px; border-radius: 2px; }

/* Contact */
.contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.contact-text p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid rgba(35,39,42,0.2); }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(35,39,42,0.2); }
.contact-list span { font: 500 0.72rem/2.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-form { display: grid; gap: 20px; background: #f7f5f1; border: 1px solid rgba(35,39,42,0.16); padding: 40px; }
.contact-form label { display: grid; gap: 8px; font-size: 0.9rem; font-weight: 400; }
.contact-form input, .contact-form textarea {
  font: 300 1rem var(--sans); color: var(--text); background: #fff;
  border: 1px solid rgba(35,39,42,0.25); border-radius: 2px; padding: 13px 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Footer: Menu | logo | Contact */
.site-footer { padding: 80px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 60px; align-items: start; }
.footer-head { font: 500 0.75rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-logo { display: grid; justify-items: center; gap: 14px; text-decoration: none; }
.footer-logo svg { width: 64px; height: 64px; color: var(--sand); }
.footer-logo span { font: 300 clamp(2.2rem, 4vw, 3.4rem)/1 var(--serif); }
.footer-contact { text-align: right; }
.footer-contact address { font-style: normal; color: #b9bec1; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(239,236,230,0.15);
  font-size: 0.85rem; color: #a6abae;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .index-grid li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .index-grid li:nth-child(even) { padding-left: 26px; border-left: 1px solid rgba(35,39,42,0.2); }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  .nav, .header-btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 4px 40px 22px; }
  .mobile-nav a { text-decoration: none; padding: 12px 0; border-top: 1px solid rgba(35,39,42,0.12); font-size: 1.05rem; }
}

@media (max-width: 800px) {
  .wrap, .header-inner { padding-left: 22px; padding-right: 22px; }
  .mobile-nav.open { padding: 4px 22px 22px; }
  .hero { padding-top: 64px; }
  .hero-grid, .statement-grid, .founder-grid, .section-head, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .art--hero { max-width: 300px; justify-self: start; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid rgba(239,236,230,0.2); }
  .statement, .founder, .help, .approach, .expect, .fees, .faq, .contact { padding: 80px 0; }
  .section-head { margin-bottom: 40px; gap: 14px; }
  .founder-media { max-width: 320px; }
  .art--photo { right: -8%; }
  .creds li, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .index-grid { grid-template-columns: 1fr; }
  .index-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .index-grid li.index-cta { padding: 26px 22px; margin-top: 20px; }
  .index-grid span { margin-bottom: 16px; }
  .approach-grid, .steps, .fee-cards { grid-template-columns: 1fr; gap: 24px; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(239,236,230,0.3); }
  .step-num { margin-bottom: 20px; }
  .quote { padding: 90px 0 140px; }
  .art--quote { width: 200px; right: 22px; }
  .contact-form { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-logo { justify-items: start; order: -1; }
  .footer-contact { text-align: left; }
}

/* 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; }
}

:root { --accred-radius: 2px; }

/* === Colour schemes === */
/* Picked from the demo bar. Each scheme only swaps the colour variables. */
:root[data-scheme="navy-steel"] {
  --ink: #15203a; --slate: #2c3d5b; --steel: #6d84a8; --stone: #d9dce2; --bone: #eef0f2;
  --sand: #c3cbd8; --teal: #24548a; --teal-dark: #1b416c; --oxblood: #a0552f;
  --text: #232a36; --muted: #565e6b;
}
:root[data-scheme="forest-stone"] {
  --ink: #1d2621; --slate: #33443a; --steel: #74877a; --stone: #d9dbd0; --bone: #eeefe8;
  --sand: #c7c9b4; --teal: #2f5d3f; --teal-dark: #234a31; --oxblood: #8c5a2b;
  --text: #262d28; --muted: #575f59;
}
:root[data-scheme="oxblood-brass"] {
  --ink: #2a2224; --slate: #4a3a3d; --steel: #8a7a7c; --stone: #e0d8d2; --bone: #f2eee9;
  --sand: #d4c3b5; --teal: #6e2a2e; --teal-dark: #561f23; --oxblood: #b07a3a;
  --text: #2e2829; --muted: #635a5b;
}
/* === /Colour schemes === */
