/* Therapy Lambeth: one stylesheet for the whole site */

@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/poppins-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }

:root {
  --bg: #f4f0e8;            /* warm cream page background */
  --accent: #b4532a;        /* terracotta: buttons, focus ring, contact box border */
  --accent-text: #2f4a3a;   /* sage green: headings and links on light backgrounds */
  --dark: #2f4a3a;          /* sage green: footer and quote bands */
  --footer-accent: #e3b89f; /* light terracotta: headings in the footer */
  --ink: #22241f;
  --white: #fff;
  --rule: #22241f;

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --gutter: clamp(16px, 6vw, 80px);
  --max: 1080px;
  --section-y: clamp(56px, 9vw, 120px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw + 4px, 18px);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }

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

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--white); padding: 12px 18px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  padding: 16px 22px;
  border: 0;
  border-radius: 0;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-nav ul { display: flex; gap: clamp(20px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-size: 16px; padding: 4px 0; }
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Header sitting over the home page hero */
.has-hero .site-header {
  position: absolute; left: 0; right: 0;
  background: transparent; box-shadow: none; color: var(--white);
}

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px 0; cursor: pointer; color: inherit;
}
.menu-toggle span {
  display: block; width: 36px; height: 1px; background: currentColor; margin: 7px 0;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: block; position: relative; z-index: 60; }
  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 48px;
    background: var(--bg); color: var(--ink);
    padding: var(--header-h) 16px 40px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .site-nav ul a { font-size: 32px; }
  .site-nav .btn { position: absolute; left: 16px; right: 16px; bottom: 24px; text-align: center; font-size: 18px; padding: 18px; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .brand { position: relative; z-index: 60; color: var(--ink); }
  .menu-open .menu-toggle { color: var(--ink); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid; place-items: center;
  color: var(--white); text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
  overflow: hidden;
}
.hero-bg, .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .band::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero { isolation: isolate; }
.hero::after { background: rgba(0,0,0,.4); }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); margin: 0 auto 32px; }
.hero p {
  font-family: var(--font-head); font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3; letter-spacing: -0.02em; max-width: 30ch; margin: 0 auto;
}

/* ---------- Two-column layouts ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.intro .lead { font-size: clamp(17px, 1.3vw + 4px, 21px); line-height: 1.5; }
.intro-cta { display: none; }

.labelled {
  display: grid; grid-template-columns: minmax(120px, 1fr) 3fr;
  gap: 16px clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.labelled h2 { font-size: clamp(20px, 1.6vw, 23px); }
.labelled .btn { margin-top: 32px; }

.mt-section { margin-top: var(--section-y); }

@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; }
  .intro .photo { order: 3; }
  .intro .lead { order: 1; }
  .intro-cta { display: block; order: 2; text-align: center; margin: 24px 0; }
  .labelled { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Quote bands ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); text-align: center;
  padding: clamp(64px, 9vw, 110px) var(--gutter);
}
.band::after { background: var(--dark); opacity: .65; }
.band blockquote { margin: 0 auto; max-width: 720px; }
.band blockquote p {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.band figcaption { font-style: italic; font-size: 16px; }

/* ---------- What to expect ---------- */
.expect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 90px); align-items: start; }
.expect .photo img { width: 100%; aspect-ratio: 386 / 620; object-fit: cover; }
.expect h2 { font-size: clamp(20px, 1.6vw, 23px); }
.block { border-top: 1px solid var(--rule); padding-top: 24px; }
.block h2 + * { margin-top: 32px; }

.details { margin: 32px 0 0; }
.details .row {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  border-top: 1px solid var(--rule); padding: 18px 0 22px;
  font-size: 15px;
}
.details dt { font-size: 16px; }
.details dd { margin: 0; }
.details dd p { margin-bottom: .8em; }

@media (max-width: 760px) {
  .expect { grid-template-columns: 1fr; }
}

/* ---------- Lists (areas / qualifications) ---------- */
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 90px); }
.lists h2 { font-size: clamp(20px, 1.6vw, 23px); max-width: 10.5em; min-height: 2.3em; }
.plain-list { list-style: none; margin: 32px 0 0; padding: 0; font-size: 15px; }
.plain-list li { margin-bottom: 14px; }
@media (max-width: 760px) { .lists { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: var(--footer-accent); font-size: clamp(20px, 1.6vw, 23px); margin-bottom: 20px; }
.site-footer .footer-brand { font-size: clamp(30px, 3vw, 38px); }
.site-footer .tagline { font-size: clamp(16px, 1.3vw, 19px); max-width: 22em; }
.site-footer p { font-size: 15px; }
.site-footer a { color: var(--white); }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.notice {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border: 4px solid var(--accent);
  padding: clamp(24px, 4vw, 40px);
}
.notice h1 { font-size: clamp(21px, 2vw, 26px); line-height: 1.3; margin-bottom: 28px; }
.notice a { color: var(--accent-text); }
.notice .small { font-size: 15px; margin-top: 40px; }

.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); font-size: 15px; }
.info-cols h2 { font-size: clamp(20px, 1.6vw, 23px); margin-bottom: 28px; }
@media (max-width: 760px) { .info-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ page ---------- */
.faq-title { text-align: center; font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 40px; }
.faq-skip-label { text-align: center; margin-bottom: 12px; }
.faq-skip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; list-style: none; margin: 0; padding: 0; }
.faq-skip a { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); color: var(--accent-text); letter-spacing: -0.02em; line-height: 1.2; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.faq-skip p { font-size: 14px; margin-top: 12px; }
@media (max-width: 760px) { .faq-skip { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

.faq-section { max-width: 980px; margin: 0 auto; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-section + .faq-section { margin-top: clamp(56px, 7vw, 88px); }
.faq-section > h2 { color: var(--accent-text); font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 24px clamp(0px, 1vw, 12px); }
.faq-card { background: var(--white); padding: clamp(24px, 4vw, 48px); font-size: 16px; }
.faq-card h3 { font-size: clamp(20px, 1.9vw, 25px); margin-bottom: 20px; }
.faq-card p + h3 { margin-top: 40px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; min-height: 50vh; display: grid; place-content: center; gap: 24px; }
.not-found h1 { font-size: clamp(32px, 3.6vw, 44px); }

/* ---------- Address links (open Google Maps) ---------- */
.map-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.map-link:hover { text-decoration-color: currentColor; }

/* ---------- Privacy page ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 12px; }
.prose h2 { font-size: clamp(20px, 1.6vw, 23px); margin: 40px 0 12px; color: var(--accent-text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-text); }
.prose .updated { font-size: 15px; opacity: .8; }
.notice .btn { color: var(--white); }
