/* ==========================================================================
   Design tokens.
   ========================================================================== */
:root{
  --ink:#292824;
  --ink-soft:#5C594F;
  --ink-faint: #696559;
  --paper:#F5F2EC;
  --linen:#EBE5DA;
  --line:#C9C0B5;
  --plum:#74445B;
  --plum-deep:#5A3448;
  --plum-tint:#EFE5E9;
  --sage:#899584;
  --footer:#303A35;
  --white:#FCFBF8;

  --sans:"Karla","Helvetica Neue",system-ui,sans-serif;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;

  --measure:66ch;
  --gutter:1.25rem;
  --stack:3.5rem;
}

@media (min-width:48rem){
  :root{ --gutter:2.5rem; --stack:5.5rem; }
}

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

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
}

/* --- Typography ---------------------------------------------------------- */
h1,h2,h3{ font-family:var(--serif); font-weight:400; letter-spacing:-.015em; margin:0 0 .5em; }
h1{ font-size:clamp(2.1rem,7vw,3.9rem); line-height:1.08; }
h2{ font-size:clamp(1.55rem,4vw,2.4rem); line-height:1.18; }
h3{ font-size:1.2rem; line-height:1.3; }
p{ margin:0 0 1.15em; }
a{ color:var(--plum); text-underline-offset:.18em; text-decoration-thickness:from-font; }
a:hover{ color:var(--plum-deep); }
:focus-visible{ outline:2px solid var(--plum); outline-offset:3px; border-radius:2px; }

.lede{ font-size:1.15rem; color:var(--ink-soft); max-width:36ch; }
.prose{ max-width:var(--measure); }
.prose h2{ margin-top:1.8em; }
.prose blockquote{
  margin:2rem 0; padding:0 0 0 1.25rem;
  border-left:2px solid var(--plum); border-radius:0;
  font-family:var(--serif); font-size:1.2rem; color:var(--ink-soft);
}
.prose img{ max-width:100%; height:auto; }

.skip{ position:absolute; left:-9999px; }
.skip:focus{ left:1rem; top:1rem; z-index:99; background:var(--ink); color:var(--white); padding:.6rem 1rem; }

/* --- Layout --------------------------------------------------------------- */
.wrap{ width:100%; max-width:74rem; margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--stack); }
.section--linen{ background:var(--linen); }

/* --- Header ---------------------------------------------------------------- */
.hdr{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb,var(--paper) 92%,transparent);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.hdr__bar{ display:flex; align-items:center; justify-content:space-between; gap:1rem;
  min-height:3.75rem; }
.hdr__name{ font-family:var(--serif); font-size:1.15rem; color:var(--ink); text-decoration:none; }
.hdr__name:hover{ color:var(--plum); }

.nav{ display:none; }
.nav a{ color:var(--ink); text-decoration:none; font-size:.98rem; }
.nav a:hover,.nav a[aria-current="page"]{ color:var(--plum); }

.lang{ display:flex; gap:.4rem; font-size:.85rem; }
.lang a{ color:var(--ink-faint); text-decoration:none; padding:.15rem .1rem; }
.lang a[aria-current]{ color:var(--ink); border-bottom:1.5px solid var(--plum); }

.burger{ background:none; border:1px solid var(--line); border-radius:4px;
  width:2.5rem; height:2.5rem; display:grid; place-items:center; cursor:pointer; }
.burger span{ display:block; width:1.05rem; height:1.5px; background:var(--ink);
  box-shadow:0 -5px 0 var(--ink),0 5px 0 var(--ink); }

.drawer{ display:none; padding-block:1rem 1.5rem; border-top:1px solid var(--line); }
.drawer.is-open{ display:block; }
.drawer a{ display:block; padding:.65rem 0; color:var(--ink); text-decoration:none;
  border-bottom:1px solid var(--line); font-size:1.05rem; }

@media (min-width:56rem){
  .nav{ display:flex; gap:1.75rem; align-items:center; }
  .burger{ display:none; }
  .drawer{ display:none!important; }
}

/* --- Buttons --------------------------------------------------------------- */
.btn{
  display:inline-block; padding:.85rem 1.6rem; border:0; border-radius:2px;
  background:var(--plum); color:var(--white); font:500 1rem var(--sans);
  text-decoration:none; cursor:pointer; transition:background .18s ease;
}
.btn:hover{ background:var(--plum-deep); color:var(--white); }
.btn--ghost{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); }
.btn--wide{ width:100%; text-align:center; }
@media (min-width:36rem){ .btn--wide{ width:auto; } }

/* --- Hero ---------------------------------------------------------------- */
.hero{ padding-block:3rem 3.5rem; }
.hero__q{ margin-bottom:1.25rem; max-width:15ch; }
.hero__portrait{
  width:100%; max-width:19rem; aspect-ratio:4/5; object-fit:cover;
  border-radius:2px; margin-bottom:2rem; background:var(--linen);
}
.hero__cta{ display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.75rem; }
.hero__meta{ margin-top:2rem; font-size:.95rem; color:var(--ink-faint); }

@media (min-width:56rem){
  .hero{ padding-block:5rem 6rem; }
  .hero__grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:4rem; align-items:end; }
  .hero__portrait{ max-width:none; margin-bottom:0; }
}

/* --- Situations list ---------------------------- */
.signals{ list-style:none; margin:0; padding:0; max-width:52rem; }
.signals li{
  font-family:var(--serif); font-size:clamp(1.15rem,3.4vw,1.5rem); line-height:1.4;
  padding:1.1rem 0; border-bottom:1px solid var(--line); color:var(--ink);
}
.signals li:first-child{ border-top:1px solid var(--line); }

/* --- Services --------------------------------------------------------------- */
.svc{ display:grid; gap:1.75rem; }
@media (min-width:44rem){ .svc{ grid-template-columns:repeat(2,1fr); gap:2.5rem; } }
.svc__item{ padding-top:1.25rem; border-top:2px solid var(--ink); }
.svc__item h3{ margin-bottom:.35rem; }
.svc__item p{ color:var(--ink-soft); margin-bottom:.75rem; }
.svc__facts{ font-size:.9rem; color:var(--ink-faint); }

/* --- Articles --------------------------------------------------------------- */
.posts{ display:grid; gap:2.25rem; }
@media (min-width:44rem){ .posts{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:64rem){ .posts{ grid-template-columns:repeat(3,1fr); } }
.post{ display:flex; flex-direction:column; }
.post__img{ width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--linen);
  border-radius:2px; margin-bottom:.9rem; }
.post__title{ font-family:var(--serif); font-size:1.3rem; line-height:1.25; margin:0 0 .4rem; }
.post__title a{ color:var(--ink); text-decoration:none; }
.post__title a:hover{ color:var(--plum); }
.post__excerpt{ color:var(--ink-soft); font-size:.98rem; margin-bottom:.6rem; }
.post__meta{ margin-top:auto; font-size:.85rem; color:var(--ink-faint); }

.filters{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.5rem; }
.filters a{ padding:.35rem .85rem; border:1px solid var(--line); border-radius:999px;
  font-size:.9rem; color:var(--ink-soft); text-decoration:none; }
.filters a[aria-current]{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

.article__head{ max-width:var(--measure); }
.article__cover{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:2px;
  margin:2rem 0; background:var(--linen); }

/* --- Forms ---------------------------------------------------------------- */
.field{ margin-bottom:1.4rem; max-width:32rem; }
.field label{ display:block; font-size:.95rem; margin-bottom:.35rem; color:var(--ink); }
.field input[type=text],.field input[type=email],.field textarea{
  width:100%; padding:.75rem .85rem; font:400 1rem var(--sans);
  color:var(--ink); background:var(--white);
  border:1px solid var(--line); border-radius:2px;
}
.field input:focus,.field textarea:focus{ border-color:var(--plum); outline:none;
  box-shadow:0 0 0 3px var(--plum-tint); }
.field .help{ display:block; font-size:.85rem; color:var(--ink-faint); margin-top:.3rem; }
.field--check{ display:flex; gap:.6rem; align-items:flex-start; }
.field--check input{ margin-top:.3rem; flex:0 0 auto; }
.errors{ color:#A32D2D; font-size:.9rem; margin:.3rem 0 0; padding:0; list-style:none; }

.note{ background:var(--plum-tint); padding:1.1rem 1.25rem; border-radius:2px;
  font-size:.95rem; max-width:32rem; }
.flash{ padding:1rem 1.25rem; border-radius:2px; margin-bottom:1.5rem; max-width:40rem; }
.flash--ok{ background:#E1F5EE; color:#0F6E56; }
.flash--err{ background:#FCEBEB; color:#A32D2D; }

/* --- Footer ---
   Four columns instead of three: legal links moved out, otherwise a single
   seven-item column made the footer twice as tall while the space under the
   mark stayed empty. */
.ftr{ background:var(--footer); color:#C7CFC3; padding-block:2.75rem 1.75rem; font-size:.95rem; }
.ftr a{ color:#E4E8DF; }
.ftr a:hover{ color:#fff; }
.ftr__grid{ display:grid; gap:2rem 2.5rem; }
@media (min-width:36rem){ .ftr__grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:60rem){ .ftr__grid{ grid-template-columns:1.3fr 1fr 1fr 1fr; gap:3rem; } }
.ftr h3{ font-family:var(--sans); font-size:.8rem; font-weight:500; color:#9FAE9B;
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:.9rem; }
.ftr ul{ list-style:none; margin:0; padding:0; }
.ftr li{ margin-bottom:.5rem; line-height:1.45; }
.ftr__legal-links{ font-size:.88rem; }
.ftr__legal-links a{ color:#AEB9A9; }
.ftr__brand{ display:flex; flex-direction:column; }
.ftr__mark{ margin-bottom:.85rem; }
.ftr__mark svg{ width:4rem; height:3.5rem; color:#9FAE9B; display:block; }
.ftr__tagline{ font-family:var(--serif); font-size:1.05rem; line-height:1.35;
  color:#D7DDD2; max-width:20ch; margin:0; }
.ftr__legal{ margin-top:2.25rem; padding-top:1.25rem; border-top:1px solid #45514A;
  font-size:.82rem; color:#8D9989;
  display:flex; flex-wrap:wrap; gap:.4rem 1.5rem; align-items:baseline; }
.ftr__legal p{ margin:0; }
.ftr__crisis{ max-width:60ch; }

/* --- Static page illustration ------------- */
.page__img{
  width:100%; max-width:19rem; aspect-ratio:7/9; object-fit:cover;
  border-radius:2px; background:var(--linen); margin:0 0 2rem;
}
@media (min-width:52rem){
  .page__img{ float:right; margin:.35rem 0 1.5rem 2.5rem; max-width:17rem; }
}

/* Images inserted in the editor must not break the grid */
.prose img{ height:auto; border-radius:2px; margin:1.5rem 0; }
.prose figure{ margin:1.5rem 0; }
.prose figcaption{ font-size:.9rem; color:var(--ink-faint); margin-top:.5rem; }

/* --- Eyebrow above the main sentence ------------------------------------- */
.eyebrow{
  font-size:.9rem; letter-spacing:.06em; color:var(--sage);
  margin:0 0 .75rem;
}

/* --- Approach block ---------------------------------------- */
.approach{ display:grid; gap:2rem; }
.approach__img{
  width:100%; aspect-ratio:1/1; object-fit:cover;
  border-radius:2px; background:var(--linen);
}
@media (min-width:56rem){
  .approach{ grid-template-columns:1.1fr .9fr; gap:4rem; align-items:start; }
  .approach__text{ max-width:38rem; }
  .approach__img{ position:sticky; top:6rem; }
}

/* --- FAQ -------------------------------------------------- */
.faq{ max-width:48rem; border-top:1px solid var(--line); }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__item summary{
  cursor:pointer; list-style:none; padding:1.15rem 2.5rem 1.15rem 0;
  font-family:var(--serif); font-size:clamp(1.1rem,3vw,1.3rem); line-height:1.35;
  position:relative;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{
  content:""; position:absolute; right:.35rem; top:1.6rem;
  width:.7rem; height:.7rem; border-right:1.5px solid var(--plum);
  border-bottom:1.5px solid var(--plum); transform:rotate(45deg);
  transition:transform .18s ease;
}
.faq__item[open] summary::after{ transform:rotate(-135deg); top:1.85rem; }
.faq__item summary:hover{ color:var(--plum); }
.faq__answer{ padding:0 0 1.25rem; color:var(--ink-soft); }
.faq__answer p:last-child{ margin-bottom:0; }

/* --- Booking contacts -------------------------------------------------- */
.contacts{ list-style:none; margin:0; padding:0; }
.contacts li{
  font-family:var(--serif); font-size:clamp(1.15rem,3.5vw,1.5rem);
  padding:.6rem 0;
}
.svc__item h3 a{ color:inherit; text-decoration:none; }
.svc__item h3 a:hover{ color:var(--plum); }

/* --- Hero: fix vertical gap ---
   Portrait is tall; align-items:end pushed the shorter text column down,
   leaving empty space above. Centre both columns, cap portrait height. */
h1{ font-size:clamp(2.05rem,5.2vw,3.3rem); }

@media (min-width:56rem){
  .hero{ padding-block:3.5rem 4.5rem; }
  .hero__grid{ grid-template-columns:1.1fr .9fr; gap:3.5rem; align-items:center; }
  .hero__q{ max-width:19ch; }
  .hero__portrait{ max-width:25rem; aspect-ratio:3/4; justify-self:end; }
}
@media (min-width:76rem){
  .hero__portrait{ max-width:27rem; }
}
/* --- Static page layout ---
   float:right escaped the section and overlapped the footer because
   nothing cleared it. Grid keeps the image in its own column. */
.page{ display:grid; gap:1.75rem; align-items:start; }
.page__img{
  float:none; margin:0; width:100%; max-width:20rem;
  aspect-ratio:3/4; object-fit:cover; border-radius:2px;
  background:var(--linen); order:-1;
}
@media (min-width:52rem){
  .page{ grid-template-columns:minmax(0,1fr) 17rem; gap:3.5rem; }
  .page__img{ order:0; max-width:none; position:sticky; top:6rem; }
}
/* --- Hero: tighten further ---
   Portrait was ~36rem tall against a ~16rem text block, so centring left
   a gap above and below. Smaller portrait, tighter padding. */
@media (min-width:56rem){
  .hero{ padding-block:2.75rem 3.25rem; }
  .hero__grid{ grid-template-columns:1.2fr .8fr; gap:3rem; }
  .hero__portrait{ max-width:20rem; aspect-ratio:4/5; }
  .hero__q{ max-width:20ch; }
}
@media (min-width:76rem){
  .hero__portrait{ max-width:22rem; }
}
/* --- Hero: final proportions ---
   Aspect-ratio made the portrait taller than the text column, so centring
   left a large gap above the headline. Explicit height instead, cropped
   towards the face. */
@media (min-width:56rem){
  .hero{ padding-block:2.5rem 3.25rem; }
  .hero__grid{ grid-template-columns:1.25fr .75fr; gap:3rem; align-items:center; }
  .hero__q{ max-width:22ch; margin-bottom:1rem; }
  .hero__portrait{
    width:100%; max-width:none;
    aspect-ratio:auto;
    height:clamp(19rem, 46vh, 25rem);
    object-fit:cover;
    object-position:center 22%;
  }
}

.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.hdr__mark{ display:inline-flex; align-items:center; color:var(--sage);
  transition:color .18s ease; }
.hdr__mark svg{ width:2.9rem; height:2.5rem; display:block; }
.hdr__mark:hover{ color:var(--plum); }
.hdr__bar{ min-height:4.25rem; }
.ftr__mark{ margin-bottom:1.1rem; }
.ftr__mark svg{ width:5.5rem; height:4.8rem; color:#B9C3B4; display:block; }
.ftr__tagline{ font-family:var(--serif); font-size:1.15rem; line-height:1.4;
  color:#D7DDD2; max-width:22ch; margin:0; }

/* --- Hero on phones ---
   The portrait follows the buttons and used to sit flush against them. */
@media (max-width:55.99rem){
  .hero__portrait{ margin-top:2.25rem; margin-bottom:0; }
  .hero__cta{ margin-top:1.5rem; }
  .hero{ padding-bottom:2.5rem; }
}

/* --- Mark: contrast ---
   Sage on a light background gave about 2.4:1, too little for thin lines.
   The header uses the dark footer green instead: contrast about 9:1. */
.hdr__mark{ color:var(--footer); }
.hdr__mark:hover{ color:var(--plum); }
.hdr__mark svg{ width:3.1rem; height:2.7rem; }

/* --- Social links ---
   Hidden with a checkbox rather than deleted, so the address stays saved.
   Icons use currentColor: one set for light and dark backgrounds. */
.social{ display:flex; gap:.85rem; list-style:none; margin:1.25rem 0 0; padding:0; }
.social a{ display:grid; place-items:center; width:2.1rem; height:2.1rem;
  border:1px solid currentColor; border-radius:50%; color:#9FAE9B;
  transition:color .18s ease; }
.social a:hover{ color:#EFE7E2; }
.social svg{ width:1.1rem; height:1.1rem; display:block; }

/* --- More colour: sage as the second voice --- */
.section > .wrap > h2::before,
.section.wrap > h2::before{
  content:""; display:block; width:2.5rem; height:2px;
  background:var(--sage); margin-bottom:1rem; border-radius:2px;
}
.btn--ghost{ border-color:var(--sage); color:var(--ink); }
.btn--ghost:hover{ background:var(--sage); border-color:var(--sage); color:var(--white); }
.prose blockquote{ border-left-color:var(--sage); }
.faq__item[open] summary{ color:var(--plum); }
.svc__item{ border-top-color:var(--sage); }
.contacts li a{ text-decoration-color:var(--sage); }

/* --- Illustration on the contact page ---
   Vector rather than raster: recolours with the theme and weighs a kilobyte. */
.contact{ display:grid; gap:2.5rem; align-items:start; }
.contact__art{ justify-self:center; width:100%; max-width:18rem; color:var(--ink); }
.contact__art svg{ width:100%; height:auto; display:block; }
@media (min-width:56rem){
  .contact{ grid-template-columns:minmax(0,1fr) 18rem; gap:4rem; }
  .contact__art{ max-width:none; position:sticky; top:7rem; }
}

.hdr__mark svg{ width:2.8rem; height:2.8rem; }
.ftr__mark svg{ width:3.8rem; height:3.8rem; }

/* The mark is square now (viewBox 100x100): height equals width */
.hdr__mark svg{ width:2.8rem; height:2.8rem; }
.ftr__mark svg{ width:3.8rem; height:3.8rem; }

/* --- Footer sticks to the bottom of the viewport ---
   On short pages there was not enough content to fill the viewport, leaving
   a band of empty background below the footer. */
body{ min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; }
main{ flex:1 0 auto; }
.ftr{ flex-shrink:0; }

/* Full service description on the list page: there is one service, so the
   full text belongs here rather than behind an extra click. */
.svc__body{ margin:.75rem 0 1rem; font-size:1rem; }
.svc__body p:last-child{ margin-bottom:0; }

/* Full service description on the list page: there is one service, so the
   full text belongs here rather than behind an extra click. */
.svc__body{ margin:.75rem 0 1rem; font-size:1rem; }
.svc__body p:last-child{ margin-bottom:0; }

/* --- Photo polish: soft shadow, arch on the portrait, warm tone on stock photos --- */
.hero__portrait,
.approach__img,
.post__img,
.article__cover,
.page__img{
  box-shadow:0 1.75rem 3rem -1.5rem rgba(41,40,36,.32), 0 .3rem .85rem rgba(41,40,36,.08);
}

.hero__portrait{
  border-radius:40% 40% 8px 8px / 22% 22% 8px 8px;
}

.approach__img,
.post__img,
.article__cover,
.page__img{
  border-radius:10px;
}

/* Warms up stock photography to match the palette; the therapist's own
   portrait is left untouched. */
.approach__img,
.post__img,
.article__cover{
  filter:sepia(.14) saturate(.82) brightness(1.03) contrast(.97);
}

/* --- Scroll reveal ---
   The hidden state only applies once .js is present on <html> (see
   main.js) — without JavaScript, or if it fails before running, images
   stay fully visible instead of being stuck invisible. */
.js .reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .8s ease, transform .8s ease;
}
.js .reveal.is-visible{ opacity:1; transform:none; }
