/* ============================================================
   THERAPY & COUNSELLING TEMPLATE: STYLES
   Look: quiet paper, wide reading measure, one soft accent.
   Built to be read by someone who is anxious: large type,
   short lines, no movement, high contrast.
   Change your colours: edit the two values below, or use the
   Colours button in edit mode.
   ============================================================ */

:root {
  /* EDIT these two to re-colour the whole site */
  --accent: oklch(48% 0.09 305);        /* heather */
  --accent-deep: oklch(40% 0.085 305);

  /* Paper and ink. Warm, never pure white or black. */
  --paper: oklch(97.5% 0.008 90);
  --paper-deep: oklch(94.5% 0.012 88);
  --ink: oklch(27% 0.022 290);
  --ink-soft: oklch(45% 0.018 290);
  --line: oklch(87% 0.012 90);
  --care: oklch(96% 0.03 75);           /* the help-now band */
  --care-line: oklch(72% 0.09 65);

  --measure: 62ch;
  --max: 1040px;
  --radius: 3px;
}

/* Fallback for older browsers that don't know oklch */
@supports not (color: oklch(50% 0 0)) {
  :root {
    --accent: #6c4f96; --accent-deep: #57407a;
    --paper: #faf8f4; --paper-deep: #f0ece4;
    --ink: #33303c; --ink-soft: #5f5b6a;
    --line: #ddd8ce;
    --care: #fbf0dd; --care-line: #d3a45f;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { width: min(100% - 44px, var(--max)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 23px; line-height: 1.3; margin-bottom: 8px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }

p { max-width: var(--measure); }
p + p { margin-top: 18px; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }

/* A visible focus ring on everything reachable by keyboard. Do not remove:
   for some visitors it is the only way to see where they are on the page. */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

section { padding: 66px 0; }
section + section { border-top: 1px solid var(--line); }
/* A band is a section on the deeper paper. Alternating them gives the page a
   rhythm without adding decoration, and the border is already handled. */
.band { background: var(--paper-deep); }
.band + section, section + .band, .band + .band { border-top: 0; }

/* A label above the heading: a small place for the eye to land. */
.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
.sec-label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* Split sections: the heading holds the left column while the content scrolls
   past it. Used on the long reading sections so the page is not one column. */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 60px; align-items: start; }
.split > header { position: sticky; top: 30px; }
.split > header h2 { margin-bottom: 10px; }
.split > header .note { margin-top: 10px; }

/* ---------- Header ---------- */
header.site { padding: 22px 0; border-bottom: 1px solid var(--line); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark {
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px; line-height: 1.2; color: var(--ink); text-decoration: none;
}
.wordmark span { display: block; font-family: "Lexend", sans-serif; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a { color: var(--ink); text-decoration: none; font-size: 16.5px; }
nav.main a:hover { color: var(--accent); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 0; font-size: 27px; color: var(--ink); cursor: pointer; padding: 4px 8px; }

/* ---------- Buttons: quiet, never shouty ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--paper);
  font-family: inherit; font-size: 17px; font-weight: 500;
  padding: 13px 26px; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-deep); color: var(--paper); }
.btn.big { font-size: 18.5px; padding: 15px 32px; }
.btn.quiet { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.quiet:hover { background: var(--paper-deep); color: var(--ink); }
.icon { width: 19px; height: 19px; flex: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 26px; }
.actions .textlink { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Hero: a face at full height, a few words beside it ----------
   The photograph runs off the right edge of the page and the words sit level
   with the middle of it. Keep the words short: the face does the introducing. */
/* Every page opens with .hero. Only the home page adds .hero-split, which is
   the two-column version with the photograph; the others stay a plain block. */
.hero { padding: 60px 0 52px; }
.hero-split { padding: 0 0 0 max(22px, calc((100% - var(--max)) / 2)); }
.hero-split .container {
  width: 100%; max-width: none; margin: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 0; align-items: stretch;
  min-height: min(82vh, 660px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 52px 56px 0; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); max-width: 15ch; }
.hero .lead {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5;
  color: var(--ink-soft); margin-top: 22px; max-width: 34ch;
}
.hero .note { margin-top: 20px; max-width: 44ch; }

/* The portrait, floor to ceiling of the hero, bleeding off the page edge. */
.portrait { position: relative; background: var(--paper-deep); }
.portrait .ph { width: 100%; height: 100%; aspect-ratio: auto; min-height: 320px; }
.portrait figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--paper);
  padding: 11px 18px;
  font-size: 14.5px; line-height: 1.4; color: var(--ink-soft);
  max-width: 90%;
}

/* Photo slots: a chosen photo fills the placeholder, keeping its shape. An empty
   one says so, with a dashed edge, so it never reads as a broken section. */
[data-photo] { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
[data-photo] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
[data-photo].has-img { background: none; }
[data-photo]:not(.has-img)::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.photo-note {
  position: relative; z-index: 1;
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  text-align: center;
}
[data-photo].has-img .photo-note { display: none; }

/* ---------- Registration strip: the credentials people check ---------- */
.registered { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.registered .container { display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 16px; color: var(--ink-soft); }
.registered span { display: inline-flex; align-items: center; gap: 9px; }
.registered .icon { color: var(--accent); }

/* ---------- One line, set large. The only centred thing on the site. ---------- */
.statement { padding: 84px 0; text-align: center; }
.statement p {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(25px, 3.4vw, 39px);
  line-height: 1.4;
  max-width: 26ch;
  margin-inline: auto;
  color: var(--ink);
}
.statement .who { display: block; margin-top: 18px; font-family: "Lexend", sans-serif; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- The room: a full-width photo, edge to edge ---------- */
.room { padding: 0; border: 0; }
.room .ph { width: 100%; aspect-ratio: 21 / 9; max-height: 460px; background: var(--paper-deep); }
.room figcaption { padding: 14px 0 0; font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 720px) {
  .room .ph { aspect-ratio: 4 / 3; }
}

/* ---------- Prose blocks ---------- */
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 18px; }
.sec-intro { color: var(--ink-soft); margin-bottom: 26px; }
.note { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Reasons people come: a plain ruled list ---------- */
.reasons { list-style: none; border-top: 1px solid var(--line); max-width: var(--measure); }
.reasons.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); column-gap: 54px; max-width: 100%; border-top: 0; }
.reasons.cols li { border-top: 1px solid var(--line); border-bottom: 0; }
.reasons li { border-bottom: 1px solid var(--line); }
.reasons li a, .reasons li > span {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 15px 2px; text-decoration: none; color: var(--ink); font-size: 19px;
}
.reasons li a:hover { color: var(--accent); }
.reasons .arrow { color: var(--accent); font-size: 15px; }

/* ---------- Steps: what happens when you get in touch ---------- */
.steps { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.step { }
.step .s-num {
  display: inline-block;
  font-family: "Newsreader", Georgia, serif; font-size: 30px; color: var(--accent);
  line-height: 1; margin-bottom: 10px;
}
.step p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Practicalities: the panel people scroll to find ---------- */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-deep);
  padding: 8px 26px;
  max-width: 640px;
}
.panel dl { margin: 0; }
.prow { display: grid; grid-template-columns: minmax(120px, 1fr) 1.6fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: none; }
.prow dt { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.prow dd { font-size: 17px; }

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 2px; }
.faq summary {
  font-family: "Newsreader", Georgia, serif; font-size: 21px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: "Lexend", sans-serif; font-size: 22px; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 17px; }

/* ---------- Help now: on every page, never removed ---------- */
.help-now { background: var(--care); border-top: 1px solid var(--care-line); border-bottom: 1px solid var(--care-line); padding: 30px 0; }
.help-now h2 { font-size: 25px; margin-bottom: 10px; }
.help-now .lines { display: grid; gap: 10px; margin-top: 14px; max-width: var(--measure); }
.help-now .lines p { font-size: 16.5px; margin: 0; }
.help-now strong { font-weight: 600; }

/* ---------- Contact form ---------- */
form.enquiry { max-width: 560px; margin-top: 8px; }
form.enquiry label { display: block; margin-top: 22px; margin-bottom: 6px; font-size: 16.5px; font-weight: 500; }
form.enquiry input, form.enquiry textarea, form.enquiry select {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 17px;
  background: var(--paper); color: var(--ink);
}
form.enquiry textarea { min-height: 150px; resize: vertical; }
form.enquiry .hint { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
form.enquiry button { margin-top: 28px; }

.contact-lines { display: grid; gap: 14px; max-width: var(--measure); }
.cline { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.cline .icon { color: var(--accent); margin-top: 4px; }

/* ---------- Closing invitation ---------- */
.close { background: var(--paper-deep); }
.close h2 { max-width: 18ch; }
.close p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: 16px; color: var(--ink-soft); }
footer.site .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 26px; }
footer.site h4 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--accent); }
footer.site .legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: 14.5px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  /* Stacked, with the face first: a photograph is a friendlier opening than a
     headline for someone who is nervous about getting in touch. */
  .hero-split { padding: 0; }
  .hero-split .container { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 34px 22px 42px; }
  .portrait { order: -1; }
  .portrait .ph { height: 52vh; max-height: 420px; min-height: 260px; }
  .split { grid-template-columns: 1fr; gap: 6px; }
  .split > header { position: static; margin-bottom: 18px; }
}

@media (max-width: 720px) {
  body { font-size: 17.5px; }
  .nav-toggle { display: block; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 24px;
  }
  nav.main.open { display: flex; }
  header.site .container { position: relative; }
  section { padding: 46px 0; }
  .prow { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
