/* Components. Each block is one reusable piece of the site. */

/* ---------- Buttons: three kinds only ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--color-ink); color: var(--color-cream); }
.btn--primary:hover { background: #2a201d; }

.btn--secondary { background: transparent; color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-ink); color: var(--color-cream); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  text-decoration: underline;
}
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.15;
}
.brand img { width: 2.75rem; height: auto; }

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { display: flex; gap: var(--space-5); }
.nav__list a { text-decoration: none; font-size: 0.9375rem; padding-block: var(--space-2); }
.nav__list a:hover,
.nav__list a[aria-current="page"] { text-decoration: underline; }

.nav-toggle {
  display: none;
  width: 3rem; height: 3rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.25rem; height: 2px;
  margin-inline: auto;
  background: var(--color-ink);
  content: "";
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 60rem) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-5) var(--gutter) var(--space-6);
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-line);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: var(--space-2); }
  .nav__list a { display: block; font-size: 1.125rem; padding-block: var(--space-3); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 6vw, 6rem) var(--section-pad); }
.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.hero__title { position: relative; }
.hero__title small {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.5em;
  line-height: 1.25;
}
.hero__motif {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: clamp(4rem, 3rem + 4vw, 6rem);
  color: #cfdcea;
  z-index: -1;
}
@media (min-width: 60rem) { .hero__motif { right: auto; left: 17rem; } }
.hero__text { margin-top: var(--space-5); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

/* ---------- Photo (shows a tinted placeholder until the image loads) ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--color-blush);
}
.photo--portrait { aspect-ratio: 4 / 5; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  text-align: center;
}

.section--blush .photo, .panel .photo { background: var(--color-surface); }

/* ---------- Group card ---------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--tint-therapy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.group-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgb(59 46 42 / 0.45); }
.group-card--cycle { background: var(--tint-cycle); }
.group-card--young { background: var(--tint-young); }
.group-card--youth { background: var(--tint-youth); }
.group-card--training { background: var(--tint-training); }

.group-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.group-card__title { margin-top: var(--space-3); font-size: 1.375rem; }
.group-card__title a { text-decoration: none; }
.group-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.group-card__text { margin-top: var(--space-3); font-size: 0.9375rem; }
.group-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-5);
  font-size: 0.9375rem;
  font-weight: 500;
}
.group-card__more::after { content: " →"; }

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.checklist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 0.5rem; height: 0.5rem;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--color-ink);
}

/* ---------- Photo pair ---------- */
.photo-pair { display: grid; gap: var(--space-5); }
@media (min-width: 45rem) { .photo-pair { grid-template-columns: 1.3fr 1fr; } }
.photo-pair .photo { aspect-ratio: auto; min-height: 16rem; height: 100%; }
@media (min-width: 45rem) { .photo-pair .photo { min-height: 24rem; } }

/* ---------- Banner (one highlighted offer) ---------- */
.banner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius);
  background: var(--tint-open);
}
@media (min-width: 50rem) { .banner { grid-template-columns: 1fr auto; } }
.banner p { margin-top: var(--space-3); max-width: var(--measure); }

/* ---------- Therapist card ---------- */
.people {
  display: grid;
  gap: var(--space-6) var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
/* Short lists (one or two people) keep card-sized portraits. */
.people--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 17rem)); }
.person a { text-decoration: none; }
.person__name { margin-top: var(--space-4); font-size: 1.25rem; }
.person__role { color: var(--color-ink-soft); font-size: 0.9375rem; }
.person .photo img { transition: transform 0.4s ease; }
.person a:hover .photo img { transform: scale(1.03); }

/* ---------- Panels (two calls to action side by side) ---------- */
.panels { display: grid; gap: var(--space-5); }
@media (min-width: 50rem) { .panels { grid-template-columns: 1fr 1fr; } }
.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius);
  background: var(--color-blush);
}
.panel--peach { background: var(--color-peach); }
.panel .btn { margin-top: auto; }
.panel p { max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--space-8) var(--space-6);
  background: var(--color-ink);
  color: var(--color-cream);
}
.site-footer :focus-visible { outline-color: var(--color-cream); }
.site-footer__grid { display: grid; gap: var(--space-7); }
@media (min-width: 50rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 1.25rem; margin-bottom: var(--space-4); }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer a { font-size: 0.9375rem; }
.site-footer__pages a { font-family: var(--font-display); font-size: 1.25rem; text-decoration: none; }
.site-footer__pages a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 0.9375rem; }
.site-footer address p + p { margin-top: var(--space-4); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgb(255 249 242 / 0.2);
  font-size: var(--text-small);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: var(--space-5); font-size: var(--text-small); color: var(--color-ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); }
.breadcrumb [aria-current="page"] { color: var(--color-ink); }

/* ---------- Page head (title block of every inner page) ---------- */
.page-head { padding-block: var(--space-6) var(--space-7); }
.page-head__tag { display: inline-block; margin-bottom: var(--space-3); }
.page-head .lead { margin-top: var(--space-5); }
.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

/* ---------- Two-column page: text plus a sticky side panel ---------- */
.split { display: grid; gap: var(--space-7); align-items: start; }
/* On small screens the key facts come before the long text. */
@media (max-width: 59.99rem) { .split:not(.split--media) > .split__aside { order: -1; } }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr) 22rem; }
  .split--media { grid-template-columns: 22rem minmax(0, 1fr); }
  .split__aside { position: sticky; top: 6rem; }
}

/* ---------- Prose (long text that comes from a content file) ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-6); font-size: 1.25rem; }
.prose ul:not([class]) { display: grid; gap: var(--space-2); padding-left: 1.25rem; list-style: disc; }
.prose ul:not([class]) ::marker { color: var(--color-ink-soft); }

/* ---------- Facts (term and value pairs: when, where, price) ---------- */
.facts {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--tint-therapy);
}
.facts--cycle { background: var(--tint-cycle); }
.facts--young { background: var(--tint-young); }
.facts--youth { background: var(--tint-youth); }
.facts--training { background: var(--tint-training); }
.facts--open { background: var(--tint-open); }
.facts--plain { background: var(--color-blush); }
.facts dl { margin: 0; }
.facts dl > div { padding-block: var(--space-3); border-top: 1px solid rgb(59 46 42 / 0.15); }
.facts dl > div:first-child { padding-top: 0; border-top: 0; }
.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.facts dd { margin: var(--space-1) 0 0; }
.facts .btn { width: 100%; margin-top: var(--space-4); }
.facts__note { margin-top: var(--space-3); font-size: var(--text-small); }

/* ---------- Date list (meeting dates of a group) ---------- */
.dates { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.dates li {
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.dates li.is-past { color: var(--color-ink-soft); text-decoration: line-through; }

/* ---------- Tag list (approaches, languages) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags li {
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--color-blush);
  font-size: var(--text-small);
  font-weight: 500;
}

/* ---------- Price table ---------- */
.prices { width: 100%; border-collapse: collapse; }
.prices caption {
  padding-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-align: left;
}
.prices th, .prices td {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
  text-align: left;
  vertical-align: baseline;
  font-weight: 400;
}
.prices tr:last-child > * { border-bottom: 1px solid var(--color-line); }
.prices td:last-child {
  padding-left: var(--space-5);
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.prices small { display: block; color: var(--color-ink-soft); font-size: var(--text-small); }

/* ---------- FAQ (native disclosure, works without scripts) ---------- */
.faq { max-width: var(--measure); border-top: 1px solid var(--color-line); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: var(--leading-heading);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { padding-bottom: var(--space-5); }

/* ---------- Draft marker (visible gaps in content; must not ship) ---------- */
/* .notice: the same dashed box for a message that stays at launch (the release
   build stops on any .todo). Used for the form without JavaScript. */
.todo, .notice {
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--color-ink-soft);
  border-radius: var(--radius);
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

/* ---------- Additions for generated pages ---------- */
.group-card--open { background: var(--tint-open); }
/* Team page: fixed columns so the last row does not stretch. */
.people--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.prose ol { display: grid; gap: var(--space-2); padding-left: 1.5rem; }
.faq details > p { max-width: var(--measure); }
.group-card--plain { background: var(--color-blush); min-height: 14rem; }
/* Long article titles read better a size down from the page title. */
.article-title { font-size: var(--text-h2); max-width: 28ch; margin-top: var(--space-3); }
.page-head h1 { max-width: 22ch; }
.page-head h1.article-title { max-width: 28ch; }


/* ==========================================================================
   Air pass (20 November 2026).
   The first draft packed content into filled boxes. These rules open it up:
   lists become rows divided by hairlines, colour is kept for one or two
   accents per page, and everything gets more room. They override the rules
   above; fold them into the component blocks when the design is signed off.
   ========================================================================== */

.section--tight { padding-block: calc(var(--section-pad) * 0.7); }
.section__head { margin-bottom: var(--space-7); }
.section__foot { margin-top: var(--space-7); }
.site-header__inner { min-height: 5.5rem; }
.hero { padding-block: clamp(3.5rem, 1.5rem + 8vw, 8rem) var(--section-pad); }
.hero__grid { gap: var(--space-8); }
.hero__text { margin-top: var(--space-6); }
.hero__actions { margin-top: var(--space-7); }
.lead { line-height: 1.55; }

/* Group list: open rows instead of a grid of tinted boxes. The tint survives
   as the colour of the small label. */
.card-grid { display: block; border-bottom: 1px solid var(--color-line); }
.group-card {
  --tint: var(--tint-therapy);
  display: grid;
  gap: var(--space-3) var(--space-6);
  min-height: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-line);
  border-radius: 0;
  background: none;
}
.group-card:hover { transform: none; box-shadow: none; }
.group-card--cycle { --tint: var(--tint-cycle); background: none; }
.group-card--young { --tint: var(--tint-young); background: none; }
.group-card--youth { --tint: var(--tint-youth); background: none; }
.group-card--training { --tint: var(--tint-training); background: none; }
.group-card--open { --tint: var(--tint-open); background: none; }
.group-card--plain { --tint: var(--color-blush); background: none; min-height: 0; }
.group-card__tag {
  justify-self: start;
  align-self: start;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--tint);
  letter-spacing: 0.04em;
}
.group-card__title { margin-top: 0; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.group-card__title a::after { border-radius: 0; }
.group-card:hover .group-card__title a { text-decoration: underline; text-decoration-thickness: 1px; }
.group-card__text { margin-top: 0; max-width: 52ch; font-size: var(--text-body); color: var(--color-ink-soft); }
.group-card__meta { margin-top: 0; padding-top: 0; align-items: baseline; font-size: var(--text-body); }
@media (min-width: 56rem) {
  .group-card {
    grid-template-columns: 11rem minmax(0, 1fr) 15rem;
    grid-template-areas: "tag title meta" "tag text meta";
    padding: var(--space-7) 0;
  }
  .group-card__tag { grid-area: tag; margin-top: 0.5rem; }
  .group-card__title { grid-area: title; }
  .group-card__text { grid-area: text; }
  .group-card__meta { grid-area: meta; flex-direction: column; align-items: flex-end; gap: var(--space-2); text-align: right; margin-top: 0.5rem; }
}
/* On a tinted section the label needs a lighter chip to stay visible. */
.section--blush .group-card__tag { box-shadow: inset 0 0 0 1px rgb(59 46 42 / 0.08); }

/* Checklist: plain statements, no boxes. */
.checklist { gap: 0 var(--space-8); border-bottom: 1px solid rgb(59 46 42 / 0.15); }
.checklist li {
  padding: var(--space-5) 0;
  border-top: 1px solid rgb(59 46 42 / 0.15);
  border-radius: 0;
  background: none;
  font-size: var(--text-lead);
  line-height: 1.45;
}
.checklist li::before { margin-top: 0.6em; width: 0.375rem; height: 0.375rem; }

/* Two calls to action: one quiet, one accented. No pair of filled boxes. */
.panels { gap: var(--space-7); align-items: stretch; }
.panel { padding: var(--space-6) 0 0; border-top: 1px solid var(--color-line); border-radius: 0; background: none; gap: var(--space-5); }
.panel--peach { padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); border-top: 0; border-radius: var(--radius); background: var(--color-peach); }
.banner { padding: clamp(2rem, 1.25rem + 3.5vw, 4rem); gap: var(--space-6); }

/* People */
.people { gap: var(--space-8) var(--space-6); }
.people--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.people--compact { gap: var(--space-6); }
.person__name { margin-top: var(--space-5); font-size: 1.375rem; }

/* Inner pages */
.breadcrumb { padding-top: var(--space-6); }
.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 4rem); }
.page-head .lead { margin-top: var(--space-6); }
.split { gap: var(--space-8); }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) 20rem; column-gap: clamp(3rem, 8vw, 7rem); } .split--media { grid-template-columns: 20rem minmax(0, 1fr); } }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-7); font-size: 1.375rem; }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-4); }
.prose ul:not([class]), .prose ol { gap: var(--space-3); }
.facts { padding: var(--space-6); }
.facts dl > div { padding-block: var(--space-4); }
.facts .btn { margin-top: var(--space-5); }
.prices th, .prices td { padding: var(--space-5) 0; }
.prices caption { padding-bottom: var(--space-5); }
.faq summary { padding-block: var(--space-5); font-size: 1.375rem; }
.faq details > :not(summary) { padding-bottom: var(--space-6); }
.tags { gap: var(--space-2) var(--space-2); }
.tags li { padding: var(--space-2) var(--space-4); }

/* Footer */
.site-footer { padding-block: var(--space-9) var(--space-7); }
.site-footer__grid { gap: var(--space-8); }
.site-footer li + li { margin-top: var(--space-3); }
.site-footer__legal { margin-top: var(--space-9); }

/* The motif sits beside the first line of the title, not behind it. */
.hero__motif { top: -1.25rem; right: 0; left: auto; }
@media (min-width: 60rem) { .hero__motif { left: auto; right: 8%; top: -0.5rem; } }
.panel:not(.panel--peach) .btn { margin-top: var(--space-2); }


/* ==========================================================================
   Structure pass (strategy brief, 20 November 2026). Layout only: these
   blocks exist so the agreed order of information can be read and tested.
   Their look is deliberately plain until the design stage.
   ========================================================================== */

/* The one main action, with the phone alternative and reassurance beside it. */
.cta { margin-top: var(--space-6); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.link-arrow--plain::after { content: none; }
.reassure { margin-top: var(--space-4); max-width: 56ch; color: var(--color-ink-soft); font-size: var(--text-small); }
.page-head__actions .cta, .hero__actions .cta { margin-top: 0; }

/* Homepage opening without a photo: words first. */
.hero--plain .hero__title { max-width: 16ch; }
.hero--plain .lead { max-width: 46ch; }

/* Three ways in */
.routes { display: grid; gap: 0 var(--space-8); border-bottom: 1px solid var(--color-line); }
@media (min-width: 56rem) { .routes { grid-template-columns: repeat(3, 1fr); border-bottom: 0; } }
.routes li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--color-line); }
.routes h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.routes p { color: var(--color-ink-soft); }
.routes .link-arrow { margin-top: auto; padding-top: var(--space-3); }

/* Three numbered steps */
.steps { display: grid; gap: var(--space-6) var(--space-8); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding-top: var(--space-5); border-top: 1px solid rgb(59 46 42 / 0.2); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--space-3); font-family: var(--font-display); font-size: var(--text-h2); line-height: 1; color: var(--color-ink-soft); }
.steps h3 { font-size: 1.375rem; }
.steps p { margin-top: var(--space-3); max-width: 34ch; }
.steps + .cta { margin-top: var(--space-7); }


/* ==========================================================================
   Design pass (20 November 2026): bring back the feeling of the original.
   Values measured on the live gcpg.pl: H1 in Reckless with -0.03em tracking,
   section headings in Manrope medium, soft gradients, each group in its own
   colour. Corrections: card colours are lightened until text passes WCAG AA,
   and secondary text uses #6c625f where the original's #796e69 fell short.
   ========================================================================== */

/* Type */
h1 { letter-spacing: var(--tracking-display); line-height: 1.1; }
h2 { font-family: var(--font-text); font-weight: var(--weight-heading); letter-spacing: -0.015em; line-height: 1.2; }
h3 { letter-spacing: 0; line-height: 1.1; }
.panel h2, .banner h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
.lead { line-height: 1.6; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.faq summary { font-family: var(--font-text); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.steps h3, .routes h3 { letter-spacing: -0.01em; }

/* Page: a warm fade behind every opening, as on the original */
body { background: linear-gradient(180deg, var(--color-cream) 0%, #fffcf9 100%) fixed; }
body { position: relative; }
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(42rem, 90vh);
  background: linear-gradient(180deg, var(--color-cream-warm) 0.8%, rgb(255 249 242 / 0) 93.5%);
  pointer-events: none;
  z-index: -1;
}
.site-header { background: transparent; backdrop-filter: none; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { background: rgb(255 249 242 / 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(59 46 42 / 0.08); }

/* Sections: the blush band fades in and out instead of cutting */
.section--blush { background: linear-gradient(180deg, rgb(245 237 233 / 0) 0%, var(--color-blush) 14%, var(--color-blush) 86%, rgb(245 237 233 / 0) 100%); }
/* The calm green band of the original, used once per page for "how to start" */
.section--blush:has(.steps) { background: linear-gradient(0deg, rgb(255 249 242 / 0) 0%, var(--color-leaf) 18%, var(--color-leaf) 82.5%, rgb(255 249 242 / 0) 100%); }

/* Hero */
.hero--plain .hero__title { position: relative; max-width: 14ch; }
.hero__motif { color: #cfdcea; width: clamp(5rem, 4rem + 5vw, 8rem); top: -2.5rem; left: auto; right: -1rem; z-index: -1; }
@media (min-width: 60rem) { .hero__motif { right: -6rem; top: -2rem; left: auto; } }

/* Buttons: the quiet button is the original's pale blue */
.btn--secondary { border-color: transparent; background: var(--color-sky); }
.btn--secondary:hover { background: #cbd8e6; color: var(--color-ink); }
.btn { min-height: 3.125rem; }
.btn::after { content: none; }
.btn--primary:hover { background: #2a201d; }

/* Group cards: large, soft, each in its own colour. Two to a row at most, so
   they stay generous rather than packed. */
.card-grid { display: grid; gap: var(--space-5); border-bottom: 0; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }
.group-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 18rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border: 0;
  border-radius: var(--radius);
  color: var(--gt, var(--color-ink));
  background:
    radial-gradient(110% 85% at 100% 0%, var(--g2, var(--tint-therapy)) 0%, transparent 60%),
    radial-gradient(90% 80% at 0% 100%, var(--g3, var(--color-cream)) 0%, transparent 65%),
    var(--g1, var(--tint-therapy));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.group-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgb(59 46 42 / 0.5); }
.group-card:hover .group-card__title a { text-decoration: none; }
.group-card__tag { padding: 0; background: none; box-shadow: none; opacity: 0.85; }
.section--blush .group-card__tag { box-shadow: none; }
.group-card__title { font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.75rem); }
.group-card__title a::after { border-radius: var(--radius); }
.group-card__text { color: var(--gs, var(--color-ink-soft)); font-size: 0.9375rem; max-width: 44ch; }
.group-card__meta { margin-top: auto; padding-top: var(--space-5); flex-direction: row; align-items: baseline; text-align: left; gap: var(--space-4); }
.group-card__more { white-space: nowrap; }
.group-card__more::after { display: inline-block; transition: transform 0.25s ease; }
.group-card:hover .group-card__more::after { transform: translateX(4px); }
@media (min-width: 56rem) { .group-card { grid-template-columns: none; grid-template-areas: none; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); } .group-card__tag, .group-card__title, .group-card__text, .group-card__meta { grid-area: auto; margin-top: 0; } .group-card__meta { margin-top: auto; flex-direction: row; align-items: baseline; text-align: left; } }
.group-card--plain { background: var(--color-blush); }

/* Label on a page head, and the facts panel, take the group's colour */
.page-head__tag[style] { padding: var(--space-1) var(--space-3); border-radius: 999px; background: var(--g1); color: var(--gt); opacity: 1; }
.panel .group-card__tag[style] { padding: var(--space-1) var(--space-3); border-radius: 999px; background: var(--g1); color: var(--gt); opacity: 1; }
.facts--group {
  color: var(--gt);
  background:
    radial-gradient(120% 70% at 100% 0%, var(--g2) 0%, transparent 60%),
    radial-gradient(100% 70% at 0% 100%, var(--g3) 0%, transparent 65%),
    var(--g1);
}
.facts--group a { color: inherit; }
.facts--group dl > div { border-top-color: color-mix(in srgb, var(--gt) 18%, transparent); }

/* Accent panels get the same softness */
.panel--peach { background: radial-gradient(120% 90% at 100% 0%, #ffe6d2 0%, transparent 60%), var(--color-peach); }
.banner { background: radial-gradient(120% 90% at 100% 0%, #eefaec 0%, transparent 60%), var(--color-leaf); }

/* Micro-animations: small, slow, and off for anyone who asks for less motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.link-arrow::after { transition: transform 0.25s ease; }
.person .photo img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.faq summary::after { transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
@keyframes motif-turn { to { transform: rotate(360deg); } }
.hero__motif { animation: motif-turn 120s linear infinite; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__motif { animation: none; }
  .group-card:hover { transform: none; }
}
/* The button inside a coloured facts panel inverts with the panel. */
.facts--group .btn--primary { background: var(--gt); color: var(--g1); border-color: var(--gt); }
.facts--group .btn--primary:hover { background: var(--gt); opacity: 0.9; }


/* Homepage endings (20 November 2026, after the owner's review): the open
   mindfulness practice gets the green band to itself, the questions lose
   their coloured background, and the page closes on one coral call to action. */
.section--blush:has(.steps) { background: linear-gradient(180deg, rgb(245 237 233 / 0) 0%, var(--color-blush) 14%, var(--color-blush) 86%, rgb(245 237 233 / 0) 100%); }
.banner {
  display: grid;
  gap: var(--space-6);
  align-items: end;
  padding: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  border-radius: var(--radius);
  background: radial-gradient(120% 100% at 100% 0%, #f1fbef 0%, transparent 60%), radial-gradient(90% 90% at 0% 100%, #f6f7ee 0%, transparent 65%), var(--color-leaf);
}
@media (min-width: 52rem) { .banner { grid-template-columns: minmax(0, 1fr) auto; } }
.banner h2 { margin-top: var(--space-3); font-size: var(--text-h2); }
.banner p { margin-top: var(--space-4); max-width: 46ch; font-size: var(--text-lead); line-height: 1.5; }
.banner .group-card__tag { opacity: 1; }
.closing {
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  border-radius: var(--radius);
  background: radial-gradient(120% 100% at 100% 0%, #ffe9d8 0%, transparent 60%), var(--color-peach);
}
.closing h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h1); letter-spacing: var(--tracking-display); line-height: 1.1; max-width: 16ch; }
.closing p { margin-top: var(--space-5); max-width: 48ch; font-size: var(--text-lead); line-height: 1.5; }
.closing .cta { margin-top: var(--space-6); }
@media (min-width: 56rem) { .routes { grid-template-columns: repeat(2, 1fr); } }


/* Homepage opening with a photo (20 November 2026). On a phone the text and
   the button come first and the photo follows within the first scroll. */
.hero--photo { padding-block: clamp(2rem, 1rem + 5vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero--photo .hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 60rem) { .hero--photo .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(3rem, 6vw, 6rem); } }
.hero--photo .hero__title { position: relative; max-width: 12ch; }
.hero--photo .lead { max-width: 40ch; }
.hero__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 60rem) { .hero__photo { aspect-ratio: 4 / 5; max-height: 36rem; justify-self: end; width: 100%; } }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 60rem) { .hero--photo .hero__motif { right: 0; top: -3.5rem; } }

/* A quiet second option beside a button */
.aside-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-7); }
.aside-line p { max-width: 46ch; color: var(--color-ink-soft); }
.aside-line .link-arrow { color: var(--color-ink); white-space: nowrap; }
@media (min-width: 60rem) { .hero--photo .hero__motif { right: -5.5rem; top: -2.5rem; } }


/* Full-bleed opening (20 November 2026). Desktop: the photo fills the band
   and fades into cream on the left, where the text sits. Phone: text first on
   the warm fade, then the photo edge to edge. Text never sits on the photo
   itself, so it stays readable whatever the picture. */
.hero--bleed { position: relative; padding: 0; isolation: isolate; }
.hero--bleed .hero__inner { padding-block: clamp(2rem, 1rem + 5vw, 4rem) var(--space-7); }
.hero--bleed .hero__title { max-width: 13ch; }
.hero--bleed .lead { max-width: 36ch; }
.hero__bg { display: block; order: 2; }
.hero__bg img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
.hero--bleed { display: flex; flex-direction: column; }
@media (min-width: 60rem) {
  .hero--bleed { display: block; min-height: min(44rem, 86vh); }
  .hero__bg { position: absolute; inset: 0; z-index: -1; }
  .hero__bg img { height: 100%; aspect-ratio: auto; object-position: 100% 62%; }
  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, var(--color-cream) 0%, var(--color-cream) 34%, rgb(255 249 242 / 0.86) 46%, rgb(255 249 242 / 0) 68%),
      linear-gradient(180deg, rgb(255 241 224 / 0.9) 0%, rgb(255 241 224 / 0) 22%),
      linear-gradient(0deg, var(--color-cream) 0%, rgb(255 249 242 / 0) 14%);
  }
  .hero--bleed .hero__inner { display: flex; flex-direction: column; justify-content: center; min-height: min(44rem, 86vh); padding-block: var(--space-8); }
  .hero--bleed .hero__inner > * { max-width: 30rem; }
}
.hero--bleed + .section { padding-top: var(--space-8); }

/* Heading with an action on the same line; a single row of faces */
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5) var(--space-7); max-width: none; }
.section__head--row > div { max-width: var(--measure); }
.people--row { grid-template-columns: repeat(auto-fill, minmax(min(45%, 9.5rem), 1fr)); gap: var(--space-6) var(--space-5); }
.people--row .person__name { font-size: 1.125rem; margin-top: var(--space-4); }

/* Homepage ending: individual therapy beside the closing call to action. */
@media (min-width: 56rem) { .panels--end { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: stretch; } }
.panels--end .panel { justify-content: flex-start; }
.panels--end .panel h2 { font-size: var(--text-h2); }
.panels--end .panel p { font-size: var(--text-lead); line-height: 1.5; max-width: 40ch; }
.panels--end .panel:not(.panel--peach) { padding-top: var(--space-7); }
.panels--end .panel:not(.panel--peach) .btn { margin-top: var(--space-4); }
.panels--end .panel--peach { padding: clamp(2.25rem, 1.5rem + 4vw, 4.5rem); }
.panels--end .panel--peach .cta { margin-top: var(--space-4); }


/* Full-bleed opening, corrected (20 November 2026): the cream fade is tied to
   the text column, not to the window, so on very wide screens the text still
   sits on cream; and the photo is pinned behind the band at every width. */
.hero--bleed { overflow: hidden; }
.hero__bg { margin: 0; }
.hero__bg img { max-width: none; }
@media (min-width: 60rem) {
  .hero--bleed { --edge: max(var(--gutter), calc(50% - var(--container) / 2)); }
  .hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
  .hero__bg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 62%; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, var(--color-cream) 0, var(--color-cream) calc(var(--edge) + 27rem), rgb(255 249 242 / 0.9) calc(var(--edge) + 33rem), rgb(255 249 242 / 0) calc(var(--edge) + 52rem)),
      linear-gradient(180deg, rgb(255 241 224 / 0.9) 0%, rgb(255 241 224 / 0) 22%),
      linear-gradient(0deg, var(--color-cream) 0%, rgb(255 249 242 / 0) 14%);
  }
}
@media (min-width: 60rem) {
  /* The photo runs up behind the header, so there is no seam under the menu. */
  .hero--bleed { margin-top: -5.5rem; min-height: min(50rem, 92vh); }
  .hero--bleed .hero__inner { min-height: min(50rem, 92vh); padding-top: calc(5.5rem + var(--space-7)); }
  .site-header { z-index: 20; }
}


/* ---------- Sign-up form ---------- */
.form { display: grid; gap: var(--space-5); max-width: 36rem; margin-top: var(--space-6); }
.field { display: grid; gap: var(--space-2); }
.field-row { display: grid; gap: var(--space-5); }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 500; }
.field__optional { font-weight: 400; color: var(--color-ink-soft); }
.field__hint { margin-top: calc(var(--space-3) * -1); color: var(--color-ink-soft); font-size: var(--text-small); }
.field .field__hint { margin-top: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgb(59 46 42 / 0.35);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; border-color: var(--color-ink); }
.field--trap { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.form__secure { padding-left: var(--space-4); border-left: 2px solid var(--color-leaf); color: var(--color-ink-soft); font-size: var(--text-small); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); }
.form__status { font-size: var(--text-small); }
.form__status[data-kind="error"] { color: #8a1c1c; font-weight: 500; }
.form[data-draft="true"] button[type="submit"] { opacity: 0.5; }
.form__thanks { max-width: 36rem; margin-top: var(--space-6); padding: var(--space-7); border-radius: var(--radius); background: var(--color-leaf); }
.form__thanks p { margin-top: var(--space-4); }


/* ==========================================================================
   Phone pass (20 November 2026). 88% of sessions are on a phone and most of
   them arrive from an ad, so the phone layout is the main layout. What this
   block does: shorter pages (the homepage lost about half its length), the
   main action always in reach, bigger touch targets, nothing wider than the
   screen at 320px. Desktop is untouched except the menu markup.
   Fold into the component rules with the other passes.
   ========================================================================== */

/* ---------- Bottom action bar (phone and tablet only) ---------- */
.action-bar { display: none; }
.nav__actions { display: contents; }
.nav__call { display: none; }
.site-footer__offer summary { list-style: none; pointer-events: none; }
.site-footer__offer summary::-webkit-details-marker { display: none; }
.site-footer__offer summary { display: block; }
.site-footer__offer summary h2 { margin-bottom: var(--space-4); }

@media (max-width: 59.99rem) {
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-3);
    padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    background: rgb(255 249 242 / 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 rgb(59 46 42 / 0.1);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.35s;
  }
  .action-bar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
  .action-bar .btn { min-height: 3rem; padding-inline: var(--space-4); }
  .action-bar__call { gap: var(--space-2); }
  .menu-open .action-bar { transform: translateY(110%); visibility: hidden; }
  /* Room for the bar, so it never covers the last line of the footer. */
  .site-footer { padding-bottom: calc(var(--space-7) + env(safe-area-inset-bottom, 0px)); }

  /* ---------- Header and menu sheet ---------- */
  .site-header__inner { min-height: 4rem; }
  .brand { font-size: 0.75rem; gap: var(--space-2); }
  .brand img { width: 2.25rem; }
  .nav-toggle { width: 2.75rem; height: 2.75rem; flex: none; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: transform 0.25s ease, top 0.25s ease, background-color 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--color-cream); backdrop-filter: none; box-shadow: none; }
  .nav {
    inset: 100% 0 auto 0;
    height: calc(100vh - 4rem);
    height: calc(100dvh - 4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--space-4) var(--gutter) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
    border-bottom: 0;
    gap: 0;
  }
  .nav__list { gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--color-line); }
  .nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    padding-block: var(--space-3);
    font-family: var(--font-display);
    font-size: 1.625rem;
    letter-spacing: -0.02em;
  }
  .nav__list a::after { content: "→"; font-family: var(--font-text); font-size: 1.125rem; color: var(--color-ink-soft); }
  .nav__list a:hover, .nav__list a[aria-current="page"] { text-decoration: none; }
  .nav__list a[aria-current="page"]::after { content: "•"; }
  .nav__actions { display: grid; gap: var(--space-2); margin-top: auto; padding-top: var(--space-6); }
  .nav__actions .btn { width: 100%; min-height: 3.25rem; }
  .nav__call { display: flex; align-items: center; justify-content: center; min-height: 3rem; font-weight: 500; }

  /* ---------- Footer: contact first, the long offer list folded ---------- */
  .site-footer { padding-top: var(--space-8); }
  .site-footer__grid { gap: var(--space-6); }
  .site-footer address { order: -1; font-size: 1rem; }
  .site-footer address a[href^="tel"], .site-footer address a[href^="mailto"] { display: inline-block; padding-block: var(--space-2); font-size: 1.0625rem; }
  .site-footer li + li { margin-top: 0; }
  .site-footer li a { display: inline-block; padding-block: 0.6rem; }
  .site-footer__pages ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
  .site-footer__offer { order: 2; border-top: 1px solid rgb(255 249 242 / 0.2); }
  .site-footer__offer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    pointer-events: auto;
    cursor: pointer;
  }
  .site-footer__offer summary h2 { margin: 0; }
  .site-footer__offer summary::after { content: "+"; font-size: 1.25rem; }
  .site-footer__offer details[open] summary::after { content: "–"; }
  .site-footer__offer ul { padding-bottom: var(--space-4); }
  .site-footer__legal { margin-top: 0; flex-direction: column; }
}

/* ---------- Phone layout ---------- */
@media (max-width: 40rem) {
  :root { --section-pad: 3.5rem; }
  .section--tight { padding-block: 2.5rem; }
  .section__head { margin-bottom: var(--space-5); }
  .section__foot { margin-top: var(--space-5); }
  h1, h2, h3 { overflow-wrap: break-word; }
  /* Long Polish words ("psychoterapeutyczna") must fit a 320px screen. */
  .page-head h1, .split--media h1 { font-size: clamp(1.875rem, 0.6rem + 7.4vw, 2.5rem); hyphens: auto; }
  .lead { font-size: 1.125rem; }
  .prose { font-size: 1.0625rem; }
  .prose h2 { margin-top: var(--space-7); }
  .prose h3 { margin-top: var(--space-6); }

  /* The main action fills the width; the phone number sits under it. */
  .cta__actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .cta__actions .btn { width: 100%; min-height: 3.25rem; }
  .cta__actions .link-arrow { justify-content: center; min-height: 2.75rem; }
  .hero__actions, .page-head__actions { display: block; }
  .section__foot .btn, .panel > .btn, .banner > .btn { width: 100%; }
  .link-arrow { min-height: 2.75rem; }

  /* Opening: title, two short lines, button — and the photo already in view. */
  .hero--bleed .hero__inner { padding-block: var(--space-5) var(--space-6); }
  .hero--bleed .hero__title { max-width: none; }
  .hero--bleed .lead { max-width: none; font-size: 1.0625rem; line-height: 1.55; }
  .hero__text { margin-top: var(--space-4); }
  .hero__actions { margin-top: var(--space-5); }
  .hero--bleed + .section { padding-top: var(--space-7); }
  .page-head { padding-block: var(--space-6) var(--space-5); }

  /* Breadcrumb: only the way back up. */
  .breadcrumb { padding-top: var(--space-4); }
  .breadcrumb li { display: none; }
  .breadcrumb li:nth-last-child(2) { display: block; }
  .breadcrumb li:nth-last-child(2)::before { content: "←"; margin-right: var(--space-2); }
  .breadcrumb a { display: inline-block; padding-block: var(--space-2); }

  /* Group cards: one glance each. Six fit in under two screens. */
  .card-grid { gap: var(--space-3); }
  .group-card { min-height: 0; padding: var(--space-5) var(--space-5) var(--space-4); gap: var(--space-2); }
  .group-card__tag { font-size: 0.6875rem; }
  .group-card__title { font-size: 1.375rem; line-height: 1.15; padding-right: var(--space-6); }
  .group-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 0.9375rem; line-height: 1.45; }
  .group-card__meta { padding-top: var(--space-3); font-size: 0.9375rem; align-items: center; }
  .group-card__more { font-size: 0; position: absolute; top: var(--space-5); right: var(--space-5); }
  .group-card__more::after { content: "→"; font-size: 1.25rem; }
  .group-card:active { transform: scale(0.99); }

  /* Checklist */
  .checklist li { padding: var(--space-4) 0; font-size: 1.0625rem; }

  /* Steps: the number sits beside the text instead of above it. */
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: var(--space-3); padding-block: var(--space-5); }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 1.75rem; line-height: 1.1; }
  .steps h3, .steps p { grid-column: 2; }
  .steps h3 { font-size: 1.25rem; }
  .steps p { margin-top: var(--space-2); max-width: none; }
  .steps + .cta { margin-top: var(--space-5); }
  .reassure { text-align: center; }

  /* People: two faces to a row; one or two leaders become a row each. */
  .people, .people--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
  .person__name { margin-top: var(--space-3); font-size: 1.0625rem; line-height: 1.2; }
  .person__role { margin-top: var(--space-1); font-size: 0.8125rem; }
  .photo__placeholder { font-size: 0.75rem; }
  .people--compact { grid-template-columns: 1fr; gap: var(--space-4); }
  .people--compact .person { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 6.875rem; padding-left: 6.5rem; }
  .people--compact .person .photo { position: absolute; left: 0; top: 0; width: 5.5rem; }
  .people--compact .person .photo__placeholder { display: none; }
  .people--compact .person__name { margin-top: 0; font-size: 1.25rem; }
  .people--compact .person a::after { content: ""; position: absolute; inset: 0; }

  /* Accent blocks */
  .banner { padding: var(--space-6) var(--space-5); gap: var(--space-5); }
  .banner p { font-size: 1.0625rem; }
  .panels { gap: var(--space-6); }
  .panel .cta { width: 100%; }
  .panel--peach, .panels--end .panel--peach { padding: var(--space-6) var(--space-5); }
  .panels--end .panel p { font-size: 1.0625rem; }
  .panels--end .panel:not(.panel--peach) { padding-top: var(--space-6); }

  /* Questions: a full-width row to tap. */
  .faq summary { align-items: center; min-height: 3.75rem; padding-block: var(--space-4); font-size: 1.0625rem; }
  .faq summary::after { font-size: 1.25rem; }

  /* Inner pages */
  .split { gap: var(--space-7); }
  .split.split--aside-last > .split__aside { order: 0; }
  .facts { padding: var(--space-5); }
  .facts dl > div { padding-block: var(--space-3); }
  .facts--plain dd a { display: inline-block; padding-block: var(--space-1); font-size: 1.125rem; }
  .split--media .split__aside .photo { max-width: 9.5rem; }
  .split--media { gap: var(--space-5); }
  .prices th, .prices td { padding: var(--space-4) 0; }
  .tags li { padding: var(--space-2) var(--space-3); }
  .form { gap: var(--space-4); }
  .form__actions .btn { width: 100%; min-height: 3.25rem; }
}

/* A finger has no hover: no card stays lifted after a tap. */
@media (hover: none) {
  .group-card:hover { transform: none; box-shadow: none; }
  .person a:hover .photo img { transform: none; }
}


/* ---------- Profile: the booking button closes "Terapia indywidualna" ---------- */
.profile-cta { margin-top: var(--space-5); }

/* ---------- Homepage opening on phone and tablet (owner, 20 November 2026) ----------
   The room is the first thing seen: the photo starts at the very top, under
   a header that is white on a soft shade until the page moves. The photo
   melts into cream at the bottom and the title rises out of that fade. */
@media (max-width: 59.99rem) {
  .home .site-header { z-index: 50; }
  .home .hero--bleed { margin-top: -4rem; }
  .home .hero__bg { order: 0; position: relative; background: linear-gradient(180deg, #5b4a43, #a58d79); }
  .home .hero__bg img { aspect-ratio: auto; height: 54vh; height: clamp(18rem, 54svh, 34rem); object-position: 50% 58%; filter: brightness(1.08) saturate(1.12) contrast(1.03); }
  .home .hero__bg::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1;
    /* Lightened on 20 November 2026: the owner found the photo a bit dark. Just enough shade for the white logo. */
    height: 7.5rem;
    background: linear-gradient(180deg, rgb(40 28 24 / 0.42) 0%, rgb(40 28 24 / 0.18) 55%, rgb(40 28 24 / 0) 100%);
    pointer-events: none;
  }
  .home .hero__bg::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 48%;
    background: linear-gradient(0deg, var(--color-cream) 0%, var(--color-cream) 14%, rgb(255 249 242 / 0.82) 42%, rgb(255 249 242 / 0) 100%);
    pointer-events: none;
  }
  .home .hero--bleed .hero__inner { position: relative; margin-top: -4.25rem; padding-top: 0; }
  .home .hero--bleed .hero__title { max-width: 20ch; font-size: clamp(1.875rem, 0.4rem + 7.6vw, 3rem); text-wrap: balance; }

  /* White header over the photo; back to the usual one once the page scrolls or the menu opens. */
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .brand { color: #fff; text-shadow: 0 1px 14px rgb(40 28 24 / 0.55); }
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle { border-color: rgb(255 255 255 / 0.7); }
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span,
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span::before,
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span::after { background: #fff; }
  .home .site-header .brand, .home .site-header .nav-toggle { transition: color 0.3s ease, border-color 0.3s ease; }
}


/* ---------- Brand: the original emblem; full name at the top, "GCPG" once scrolled ---------- */
.brand__mark { flex: none; width: 2.75rem; height: auto; transition: width 0.3s ease; }
.brand__name { display: grid; align-items: center; }
.brand__full, .brand__short { grid-area: 1 / 1; transition: opacity 0.3s ease, transform 0.3s ease; }
.brand__short { opacity: 0; transform: translateY(0.35rem); font-size: 1.0625rem; letter-spacing: 0.08em; }
.site-header.is-compact .brand__full { opacity: 0; transform: translateY(-0.35rem); }
.site-header.is-compact .brand__short { opacity: 1; transform: none; }
.site-header.is-compact .brand__mark { width: 2.25rem; }
@media (max-width: 59.99rem) {
  .brand__mark { width: 2.25rem; }
  .site-header.is-compact .brand__mark { width: 2rem; }
  .brand__short { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .brand__mark, .brand__full, .brand__short { transition: none; }
}

/* ---- Page types (21 November 2026) ----------------------------------------
   Each kind of page opens in its own way (body class t-<kind>, set by
   page() in the builder). The homepage keeps its photo and service pages the
   warm fade. Group pages fade from their own colour (--gf, pale enough for
   the header text). Method pages are explainers: no fade, a "Metoda pracy"
   label, and "W skrócie" with the page's contents beside the title. Utility
   pages (Zespół, Cennik, Kontakt, Zapisy, Blog, privacy, 404) are plain and
   compact, closed by a hairline. */

body.t-group::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gf, var(--color-cream-warm)) 45%, var(--color-cream)) 0.8%, rgb(255 249 242 / 0) 93.5%);
}

body.t-method::before,
body.t-utility::before { display: none; }

/* Utility pages */
body.t-utility .page-head {
  padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.25rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  /* A hairline as wide as the text, not the gutters */
  background: linear-gradient(var(--color-line), var(--color-line)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
body.t-utility .page-head h1 { font-size: clamp(2rem, 1.55rem + 1.9vw, 2.75rem); }
body.t-utility .page-head .lead { margin-top: var(--space-4); font-size: 1.125rem; max-width: 52ch; }

/* Method pages: answer first. The definition sits under the title, marked
   by a pale blue rule, with a quiet link down to the offer; the situation
   and the explanation follow; "<method> w naszym Centrum" (groups, people,
   button) closes on the blush band, before the steps. */
.method-head__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.method-head__label::before {
  content: "";
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: #9db4cc;
}
.method-head .lead.method-head__answer {
  margin-top: var(--space-6);
  max-width: 40rem;
  padding-left: var(--space-5);
  border-left: 3px solid #9db4cc;
}
.method-head__jump {
  margin-top: var(--space-5);
  padding-left: calc(var(--space-5) + 3px);
  font-size: var(--text-small);
}
/* Terapia grupowa: a short bridge into the groups, then one heading per kind */
.hook { padding-bottom: 0; }
.hook p { margin: 0; max-width: 40rem; }
.here .kind-head { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
body.t-service .page-head:has(+ .hook) { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
#grupy { scroll-margin-top: 4.5rem; }
.method-head__jump a { color: var(--color-ink-soft); text-underline-offset: 0.2em; }
.method-head__jump a:hover { color: var(--color-ink); }
#u-nas { scroll-margin-top: 4.5rem; }
.here__intro { margin-top: var(--space-4); max-width: var(--measure); }
.here__sub {
  margin: var(--space-8) 0 var(--space-5);
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.here .section__head + .here__sub { margin-top: 0; }
.here__actions { margin-top: var(--space-8); }
.prose h2[id], #kto-tytul, #dolacz-tytul { scroll-margin-top: 6rem; }

/* ==========================================================================
   Polish pass (20 November 2026), phone first. Three complaints from the
   visual audit: too many heavy buttons, a monotone rhythm, uneven gaps.
   - One dark button per stretch of page; every secondary action is a quiet
     link with an arrow (the pale blue slabs are gone).
   - Group cards keep their original colours (pale tints tried and rejected).
   - One photo break on the homepage; one spacing step between sections.
   ========================================================================== */

/* Secondary action = quiet link. The call button in the bottom bar keeps its shape. */
.btn--secondary:not(.action-bar__call) {
  width: auto;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  justify-content: flex-start;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.btn--secondary:not(.action-bar__call)::after { content: "\2192"; display: inline-block; margin-left: var(--space-2); text-decoration: none; transition: transform 0.2s ease; }
.btn--secondary:not(.action-bar__call):hover { background: none; color: var(--color-ink); }
.btn--secondary:not(.action-bar__call):hover::after { transform: translateX(3px); }
.panels--end .panel:not(.panel--peach) .btn { margin-top: var(--space-2); }

/* Calm cards: the tint carries the group's colour. No dot beside the label (owner, 20 November 2026). */
.group-card__tag { opacity: 1; }
/* No light stroke around cards (owner, 20 November 2026). */

/* Photo break */
.photo-break { margin: 0; }
.photo-break img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 60rem) {
  .photo-break { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
  .photo-break img { aspect-ratio: 21 / 9; border-radius: 1.25rem; }
}

@media (max-width: 59.99rem) {
  /* One step between sections, whatever the section is. */
  .section, .section--tight, .hero--bleed + .section { padding-block: 3.5rem; }
  .section__head { margin-bottom: var(--space-5); }
  .section__foot { margin-top: var(--space-4); }
  /* The bottom bar is on screen from here on, so the middle of the homepage
     does not repeat the main button; it returns in the closing block. */
  .home .steps + .cta { display: none; }
  .banner > .btn { width: auto; }
}


/* ==========================================================================
   Group variants (TEST, 20 November 2026): /test/a, /test/b, /test/c.
   Three ways to show the groups, phone first. Remove with the test pages.
   ========================================================================== */
.gv-switch { position: fixed; top: 4.75rem; right: 0.75rem; z-index: 45; display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.25rem 0.25rem 0.75rem; border-radius: 999px; background: rgb(255 249 242 / 0.94); box-shadow: 0 2px 12px rgb(59 46 42 / 0.18); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.gv-switch a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; text-decoration: none; }
.gv-switch a[aria-current] { background: var(--color-ink); color: var(--color-cream); }
.gv-a a, .gv-b a, .gv-c a { text-decoration: none; }
.gv-a li, .gv-b li, .gv-c li { position: relative; }
.gv-a h3 a::after, .gv-b h3 a::after, .gv-c h3 a::after { content: ""; position: absolute; inset: 0; }

/* One set of sizes for all four options, taken from the design system:
   label   0.75rem / 600 / caps / 0.06em   (as .group-card__tag)
   title   Reckless, --text-h3, leading 1.15
   text    0.9375rem, secondary colour (never opacity on coloured grounds
           except the dark field, where secondary = cream at 0.8)
   foot    --text-body / 500
   rhythm  padding --space-5; label to title --space-4; title to text
           --space-2; text to foot --space-5; card to card --space-3
   corners --radius */
.gv-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase; }
.gv-title { margin-top: var(--space-3); font-family: var(--font-display); font-size: var(--text-h3); font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; }
.gv-title a { color: inherit; text-decoration: none; }
.gv-title a::after { content: ""; position: absolute; inset: 0; }
.gv-label span { white-space: nowrap; }
.gv-text { margin-top: var(--space-2); max-width: 52ch; font-size: 0.9375rem; line-height: 1.5; }
.gv-foot { margin-top: var(--space-4); font-size: 1.125rem; line-height: 1; text-align: right; }

/* 1. The original card, improved. Colours and gradient untouched. */
.gv-o { position: relative; gap: 0; min-height: 0; padding: var(--space-5); }
.gv-o .gv-text { color: var(--gs); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.gv-o .gv-foot { margin-top: auto; padding-top: var(--space-4); }
@media (min-width: 52rem) { .gv-o { min-height: 17rem; padding: var(--space-6); } }

/* 2. Timetable on the site's dark ink; the group's colour is the bar and the date. */
.gv-a { padding-block: 3.5rem; background: var(--color-ink); color: var(--color-cream); }
.gv-a h2 { color: var(--color-cream); }
.gv-a__list { border-top: 1px solid rgb(255 249 242 / 0.25); }
.gv-a__row { padding: var(--space-5) var(--space-6) var(--space-5) var(--space-5); border-bottom: 1px solid rgb(255 249 242 / 0.25); }
.gv-a__row::before { content: ""; position: absolute; left: 0; top: var(--space-5); bottom: var(--space-5); width: var(--space-1); border-radius: var(--space-1); background: var(--c); }
.gv-a__row::after { content: "\2192"; position: absolute; top: var(--space-5); right: 0; font-size: 1.125rem; }
.gv-a__when { font-size: 1.1875rem; font-weight: 500; line-height: 1.25; color: var(--c); }
.gv-a__when span { display: block; margin-top: var(--space-1); font-size: 0.9375rem; font-weight: 400; color: var(--color-cream); opacity: 0.8; }
.gv-a .gv-title { margin-top: var(--space-3); }
.gv-a .gv-text { opacity: 0.8; }
.gv-a .btn--secondary, .gv-a .btn--secondary:hover { color: var(--color-cream); }
@media (min-width: 60rem) {
  .gv-a { padding-block: var(--space-9); }
  .gv-a__row { display: grid; grid-template-columns: 16rem minmax(0, 1fr); column-gap: var(--space-7); }
  .gv-a__when { grid-row: 1 / span 3; }
  .gv-a .gv-title { margin-top: 0; }
  .gv-a .gv-title, .gv-a .gv-text { grid-column: 2; }
}

/* 3. White cards on the blush ground; the group's colour only in the bar on top. */
.gv-b { background: var(--color-blush); }
.gv-b__list { display: grid; gap: var(--space-3); }
.gv-b__card { border-radius: var(--radius); overflow: hidden; background: var(--color-surface); }
.gv-b .gv-label { padding: var(--space-3) var(--space-5); background: var(--k); color: var(--kt); }
.gv-b__body { padding: var(--space-5); }
.gv-b .gv-title { margin-top: 0; }
.gv-b .gv-text { color: var(--color-ink-soft); }
@media (min-width: 52rem) { .gv-b__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
@media (min-width: 76rem) { .gv-b__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 4. Plain bars of colour, edge to edge, each group in its own colour.
   (An overlapping "sheets" version was tried and dropped: simple is better.) */
.gv-c__list { margin-inline: calc(var(--gutter) * -1); }
.gv-c__bar { padding: var(--space-5) var(--gutter); background: var(--c); color: var(--ct); }
.gv-c .gv-text { color: var(--cs); }
@media (min-width: 60rem) {
  .gv-c__list { margin-inline: 0; border-radius: var(--radius); overflow: hidden; }
  .gv-c__bar { display: grid; grid-template-columns: 16rem minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-7); align-items: start; padding-inline: var(--space-6); }
  .gv-c .gv-title { margin-top: 0; }
  .gv-c .gv-text { margin-top: 0; }
  .gv-c .gv-foot { grid-column: 3; }
}


/* ==========================================================================
   Hero variants (TEST, 21 November 2026): /test/hero-a ... /test/hero-d.
   Phone first. Remove with the test pages once one is chosen.
   ========================================================================== */
.hv-a .hero__bg img { object-position: 50% 62%; }
@media (min-width: 60rem) { .hv-a .hero__bg img { object-position: 50% 58%; } }

/* B. Words first on a calm ground, the room framed below. */
.hv-b { padding-block: var(--space-6) var(--space-7); }
.hv-b .hero__title { max-width: 14ch; }
.hv-b .lead { max-width: 38ch; }
.hv-b .hero__actions { margin-top: var(--space-5); }
.hv-b__photo { display: block; margin-top: var(--space-6); }
.hv-b__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }
@media (min-width: 60rem) {
  .hv-b { padding-block: var(--space-8) var(--space-9); }
  .hv-b .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: center; }
  .hv-b__photo { margin-top: 0; }
  .hv-b__photo img { max-height: 40rem; }
}

/* C. The room fills the first screen; the words sit at the bottom on a shade. */
.hv-c { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; margin-top: -4rem; color: #fff; isolation: isolate; }
.hv-c__photo { position: absolute; inset: 0; z-index: -2; }
.hv-c__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hv-c::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 16 14 / 0.45) 0%, rgb(20 16 14 / 0) 16%, rgb(20 16 14 / 0.25) 30%, rgb(20 16 14 / 0.72) 48%, rgb(20 16 14 / 0.86) 100%); }
.hv-c__words { padding-block: var(--space-7) var(--space-6); }
.hv-c .hero__title { color: #fff; max-width: 13ch; }
.hv-c .lead { color: rgb(255 255 255 / 0.92); max-width: 36ch; font-size: 1.0625rem; }
.hv-c .hero__actions { margin-top: var(--space-5); }
.hv-c .btn--primary { background: var(--color-cream); color: var(--color-ink); }
.hv-c .link-arrow { color: #fff; }
.home .hv-c ~ * .site-header { color: inherit; }
@media (min-width: 60rem) {
  .hv-c { min-height: 88vh; }
  .hv-c::before { background: linear-gradient(90deg, rgb(20 16 14 / 0.7) 0%, rgb(20 16 14 / 0.35) 45%, rgb(20 16 14 / 0) 70%), linear-gradient(180deg, rgb(20 16 14 / 0.4) 0%, rgb(20 16 14 / 0) 20%); }
  .hv-c__words { padding-block: var(--space-9); }
}
@media (min-width: 60rem) {
  html:not(.menu-open) .home:has(.hv-c) .site-header:not(.is-scrolled) .brand,
  html:not(.menu-open) .home:has(.hv-c) .site-header:not(.is-scrolled) .nav__list a { color: #fff; }
}

/* D. Two rooms under the words, one for each kind of therapy. */
.hv-d { padding-block: var(--space-6) var(--space-7); }
.hv-d .hero__title { max-width: 14ch; }
.hv-d .lead { max-width: 38ch; }
.hv-d .hero__actions { margin-top: var(--space-5); }
.hv-d__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.hv-d__rooms a { display: block; text-decoration: none; color: var(--color-ink); }
.hv-d__rooms img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.hv-d__rooms li:first-child img { object-position: 30% 50%; }
.hv-d__rooms li:last-child img { object-position: 50% 62%; }
.hv-d__rooms span { display: block; margin-top: var(--space-2); font-size: 0.9375rem; font-weight: 500; }
@media (min-width: 60rem) {
  .hv-d { padding-block: var(--space-8) var(--space-9); }
  .hv-d .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: center; }
  .hv-d__rooms { margin-top: 0; gap: var(--space-4); }
  .hv-d__rooms li:last-child { margin-top: var(--space-8); }
}

/* Hero E: the room photo, never dimmed (21 November 2026, second pass).
   Phone: the photo fills most of the first screen under the white header;
   a cream sheet slides over its lower edge, and the title already shows on
   the first screen. Desktop: the photo takes the right two thirds, top to
   bottom of the first screen, cropped to keep the window and the armchair;
   the sheet sits over its left edge, vertically centred, clear of the
   window. Only a thin shade at the top on the phone, for the white logo. */
.hv-e { position: relative; margin-top: -4rem; isolation: isolate; }
.hv-e__photo { display: block; position: relative; height: 76vh; height: 76svh; min-height: 30rem; }
.hv-e__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hv-e__photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 10rem; background: linear-gradient(180deg, rgb(34 24 18 / 0.5), rgb(34 24 18 / 0.18) 55%, rgb(34 24 18 / 0)); }
.hv-e__sheet { position: relative; margin: -3rem calc(-1 * var(--gutter)) 0; padding: var(--space-6) var(--gutter) var(--space-6); background: var(--color-cream); border-radius: 1.5rem 1.5rem 0 0; box-shadow: 0 -10px 30px rgb(59 46 42 / 0.08); }
.hv-e .hero__title { max-width: 14ch; }
.hv-e .lead { max-width: 38ch; }
.hv-e .hero__actions { margin-top: var(--space-5); }
.hv-e__ways { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-4); }
.hv-e__ways a { color: var(--color-ink); font-weight: 500; text-decoration: none; padding-block: 0.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .hv-e__sheet { animation: hv-e-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.1s; }
  @keyframes hv-e-rise { from { transform: translateY(1.25rem); opacity: 0; } }
}
@media (min-width: 60rem) {
  .hv-e { margin-top: 0; display: flex; align-items: center; min-height: calc(100vh - 5.5rem); min-height: calc(100svh - 5.5rem); }
  .hv-e__photo { position: absolute; top: 0; bottom: 0; left: 34%; right: 0; height: auto; min-height: 0; }
  .hv-e__photo img { object-position: 50% 16%; }
  .hv-e__photo::after { display: none; }
  .hv-e .container { width: 100%; }
  .hv-e__sheet { max-width: 31rem; margin: var(--space-7) 0; padding: var(--space-7); border-radius: var(--radius); box-shadow: 0 18px 50px rgb(59 46 42 / 0.12); }
  .hv-e .hero__title { font-size: clamp(2.75rem, 4.2vw, 3.75rem); }
  .hv-e .lead { font-size: 1.0625rem; }
}

/* Hero F: split screen (21 November 2026). */
.hv-f__photo { display: block; }
.hv-f__photo img { display: block; width: 100%; height: 62vh; height: 62svh; min-height: 24rem; object-fit: cover; object-position: 50% 40%; }
.hv-f__words { padding: var(--space-6) var(--gutter) var(--space-7); }
.hv-f .hero__title { max-width: 14ch; }
.hv-f .lead { max-width: 38ch; }
.hv-f .hero__actions { margin-top: var(--space-5); }
.hv-f .hv-e__ways { margin-top: var(--space-5); }
@media (min-width: 60rem) {
  .hv-f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 5.5rem); min-height: calc(100svh - 5.5rem); }
  .hv-f__photo { order: 2; position: relative; }
  .hv-f__photo img { position: absolute; inset: 0; height: 100%; min-height: 0; object-position: 50% 45%; }
  .hv-f__words { align-self: center; padding: var(--space-8) var(--space-8) var(--space-8) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
}

/* Hero G: only the title on the photo (21 November 2026). */
.hv-g__stage { position: relative; margin-top: -4rem; isolation: isolate; display: flex; align-items: flex-end; min-height: 82vh; min-height: 82svh; }
.hv-g__photo { position: absolute; inset: 0; z-index: -2; }
.hv-g__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hv-g__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(30 22 18 / 0.42) 0%, rgb(30 22 18 / 0) 14%, rgb(30 22 18 / 0) 55%, rgb(60 24 20 / 0.55) 100%); }
.hv-g .hero__title { color: #fff; max-width: 13ch; padding-bottom: var(--space-6); text-shadow: 0 2px 24px rgb(40 18 14 / 0.35); }
.hv-g__rest { padding-block: var(--space-6) var(--space-7); }
.hv-g .lead { max-width: 40ch; }
.hv-g .hero__actions { margin-top: var(--space-5); }
.hv-g .hv-e__ways { margin-top: var(--space-5); }
@media (min-width: 60rem) {
  .hv-g__stage { margin-top: 0; min-height: calc(86vh - 5.5rem); }
  .hv-g__photo img { object-position: 50% 28%; }
  .hv-g .hero__title { max-width: 18ch; font-size: clamp(3.5rem, 5.6vw, 5.5rem); padding-bottom: var(--space-7); }
  .hv-g__rest { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: start; padding-block: var(--space-7) var(--space-9); }
  .hv-g .hero__actions { margin-top: 0; }
}

/* The version chooser on the test pages: bottom left, small, above the
   phone action bar, so it never covers the photo's window. */
.gv-switch { top: auto; right: auto; left: 0.75rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); gap: 0.125rem; padding: 0.2rem; box-shadow: 0 2px 10px rgb(59 46 42 / 0.16); opacity: 0.92; }
.gv-switch span { padding-inline: 0.5rem 0.25rem; }
.gv-switch a { width: 1.9rem; height: 1.9rem; }
@media (max-width: 59.99rem) {
  .gv-switch { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .gv-switch span { display: none; }
}

/* Hero F, desktop type scale (21 November 2026). The site-wide lead (24px)
   and title (62px) were built for a full-width hero; in a half-width column
   they ran to four and seven lines. Here: a slightly smaller, tighter title,
   an 18px lead in the soft ink, and an even rhythm title > lead > action. */
@media (min-width: 60rem) {
  .hv-f .hero__title { max-width: 12ch; }
  .hv-f .lead { margin-top: var(--space-5); font-size: 1.125rem; line-height: 1.6; max-width: 30rem; color: var(--color-ink-soft); }
  .hv-f .hero__actions { margin-top: var(--space-6); }
  .hv-f .hv-e__ways { margin-top: var(--space-4); gap: var(--space-2) var(--space-5); }
  .hv-f .hv-e__ways a { font-size: 0.9375rem; }
  .hv-f__words { padding-right: clamp(var(--space-7), 5vw, var(--space-9)); }
}
@media (min-width: 90rem) {
  .hv-f .lead { font-size: 1.1875rem; max-width: 32rem; }
}

/* ==========================================================================
   Type system, desktop balance (21 November 2026). Every size below comes
   from the scale in tokens.css; this block replaces the one-off sizes that
   had piled up (13 different text sizes across components). Rules:
   h1 page title / h2 section title / h3 card, step, sub-section title /
   h4 names, questions, statements / lead under a title / prose for long
   reading / body / small for cards, meta, footer / xs for labels.
   ========================================================================== */
/* Desktop only: the phone sizes were tuned and approved separately. */
@media (min-width: 60rem) {
  h1 { line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
  h2 { line-height: 1.15; letter-spacing: -0.018em; }
  h3 { line-height: 1.18; }
  .lead { line-height: 1.55; }

  .prose { font-size: var(--text-prose); line-height: 1.68; }
  .prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem); line-height: 1.2; }
  .prose h3 { font-size: var(--text-h3); }
  .section__head p { font-size: var(--text-prose); line-height: 1.6; }

  .routes h3, .steps h3, .group-card__title { font-size: var(--text-h3); }
  .steps p, .routes p { font-size: var(--text-body); line-height: 1.6; }
  .checklist li { font-size: var(--text-h4); line-height: 1.45; }
  .faq summary { font-size: var(--text-h4); }
  .person__name { font-size: var(--text-h4); }
  .person__role { font-size: var(--text-small); }
  .banner p, .panels--end .panel p { font-size: var(--text-lead); line-height: 1.55; }
  .cta__note, .cta small { font-size: var(--text-xs); }
  .gv-label, .group-card__tag { font-size: var(--text-xs); }
  .gv-text, .group-card__text { font-size: var(--text-small); }
}

/* Homepage opening with the winter room photo (21 November 2026). Same
   feathered format as before; the 3:4 photo is placed so the window, the
   armchairs and the rug all show. */
@media (min-width: 60rem) { .hero--room .hero__bg img { object-position: 50% 44%; } }

/* Jak zacząć, tidy-up (21 November 2026). The phone number is said once per
   screen: on desktop beside the button, on a phone inside step 1 as a proper
   tap target (the bottom bar carries the button there). After the steps the
   button row closes the section: a line, the action left, the privacy note
   right, so nothing hangs in an empty corner. */
.steps__tel { display: inline-block; padding-block: 0.5rem; font-weight: 600; white-space: nowrap; }
@media (min-width: 60rem) {
  .steps__num { display: none; }
  .steps + .cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-7); margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid rgb(59 46 42 / 0.2); }
  .steps + .cta .reassure { margin: 0; max-width: none; text-align: right; text-wrap: balance; }
}

/* Card label, quieter (owner, 21 November 2026: "too intense, so the title
   pops"). Status and date stay, but as a soft caption: lighter weight, the
   card's secondary text colour, 12px on every screen. */
.gv-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; color: var(--gs, var(--color-ink-soft)); }
@media (min-width: 60rem) { .gv-label { font-size: 0.75rem; } }

/* A question whose answer ends with a link to the full page */
.faq details > p:not(:last-child) { padding-bottom: var(--space-3); }
.faq details > p + p { margin-top: 0; }

/* ==========================================================================
   Footer, second design (22 November 2026). Replaces the earlier footer
   rules above (they stay until the override blocks are folded in; anything
   they set that matters is reset here). One typeface, small labels, no
   underlines until hover, the phone number as the largest thing.
   ========================================================================== */
.site-footer { padding-block: var(--space-8) var(--space-6); }
.site-footer a { font-size: inherit; color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0; }

.sf-top { display: grid; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid rgb(255 249 242 / 0.16); }
.site-footer .sf-brand { display: inline-flex; align-items: center; gap: var(--space-3); font-size: 0.9375rem; line-height: 1.25; }
.sf-brand:hover { text-decoration: none !important; }
.sf-mark { width: 2.5rem; height: 2.5rem; flex: none; }
.sf-contact { display: grid; justify-items: start; gap: var(--space-1); }
/* 20px, same face as the e-mail, a little brighter and heavier: first in its row without shouting (owner: "why is the phone so big?"). Tall tap area instead of large type. */
.site-footer .sf-phone { font-size: 1.25rem; font-weight: 500; line-height: 1.3; padding-block: 0.5rem; color: var(--color-cream); }
.site-footer .sf-mail { font-size: 1.0625rem; padding-block: 0.35rem; color: rgb(255 249 242 / 0.82) !important; }
.site-footer .sf-address { order: 0; font-style: normal; font-size: 0.9375rem; line-height: 1.55; color: rgb(255 249 242 / 0.82); }
.site-footer .sf-address p + p { margin-top: var(--space-2); }
.sf-address a { color: var(--color-cream) !important; display: inline-block; padding-block: 0.35rem; }

.sf-links { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "groups groups" "therapy centre"; gap: var(--space-6) var(--space-5); padding-top: var(--space-7); }
.sf-therapy { grid-area: therapy; } .sf-groups { grid-area: groups; } .sf-centre { grid-area: centre; }
.sf-label { margin: 0 0 var(--space-2); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 249 242 / 0.6); }
.site-footer .sf-links a { display: inline-block; padding-block: 0.45rem; font-size: 0.9375rem; color: rgb(255 249 242 / 0.9); }
.sf-more a { color: var(--color-cream); font-weight: 500; }

.site-footer .site-footer__legal { flex-direction: row; justify-content: space-between; margin-top: var(--space-7); padding-top: var(--space-5); font-size: 0.8125rem; color: rgb(255 249 242 / 0.6); }
.site-footer__legal a { color: rgb(255 249 242 / 0.75); }

@media (min-width: 60rem) {
  .site-footer { padding-block: var(--space-9) var(--space-6); }
  .sf-top { grid-template-columns: 1.3fr 1.2fr 1fr; align-items: start; gap: var(--space-7); padding-bottom: var(--space-8); }
  .sf-links { grid-template-columns: 1.3fr 1.2fr 1fr; grid-template-areas: "therapy groups centre"; gap: var(--space-7); padding-top: var(--space-8); }
  .site-footer .sf-links a { padding-block: 0.3rem; }
  .site-footer .site-footer__legal { margin-top: var(--space-8); }
}

.prose .prose__date { color: var(--color-ink-soft); font-size: var(--text-small); margin-top: var(--space-7); }

/* Zapisy, second layout (22 November 2026). Phone: title, one-line promise,
   the form; then "Co dalej" and the contact details. Desktop: the form in
   the wide column from the top of the page, the quiet column beside it,
   kept in view while the form is filled in. No grey card. */
.signup { padding-block: var(--space-7) var(--space-8); }
.signup__grid { display: grid; gap: var(--space-8); }
.signup__form h1 { margin-bottom: var(--space-3); }
.signup__form .lead { max-width: 36rem; margin-bottom: var(--space-6); }
.signup__aside { border-top: 1px solid rgb(59 46 42 / 0.16); padding-top: var(--space-6); }
.signup__label { margin: 0 0 var(--space-3); font-family: var(--font-sans, inherit); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); }
.signup__label + * { margin-top: 0; }
.signup__steps { list-style: none; margin: 0 0 var(--space-7); padding: 0; counter-reset: step; }
.signup__steps li { counter-increment: step; position: relative; padding-left: 2rem; font-size: var(--text-small); line-height: 1.6; color: var(--color-ink-soft); }
.signup__steps li + li { margin-top: var(--space-4); }
.signup__steps li::before { content: counter(step); position: absolute; left: 0; top: -0.1rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-ink); }
.signup__steps strong { display: block; font-weight: 500; color: var(--color-ink); font-size: var(--text-body); }
.signup__contact { margin: 0; line-height: 1.5; }
.signup__contact a { display: inline-block; padding-block: 0.3rem; }
.signup__phone { font-size: 1.25rem; font-weight: 500; }
.signup__address { margin-top: var(--space-3); font-size: var(--text-small); color: var(--color-ink-soft); }
@media (min-width: 60rem) {
  .signup { padding-block: var(--space-8) var(--space-9); }
  .signup__grid { grid-template-columns: minmax(0, 1fr) 21rem; column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .signup__form .form { max-width: 38rem; }
  .signup__aside { position: sticky; top: 7rem; margin-top: 0.75rem; }
}

/* Zapisy polish (22 November 2026): calmer fields, the button first and the
   encryption note under it with a small lock (no green rule), a vertical
   hairline between form and column on desktop, crisis placeholder moved to
   the column where it can be found without filling anything in. */
.signup .form { gap: var(--space-5); margin-top: 0; max-width: 38rem; }
.signup .field { gap: 0.4rem; }
.signup .field label { font-size: var(--text-small); }
.signup .field input, .signup .field select, .signup .field textarea { border-color: rgb(59 46 42 / 0.22); background: #fff; transition: border-color 0.15s ease; }
.signup .field input:hover, .signup .field select:hover, .signup .field textarea:hover { border-color: rgb(59 46 42 / 0.45); }
.signup .field textarea { min-height: 8rem; }
.signup .form__actions { margin-top: var(--space-2); }
.signup .form__actions .btn { min-height: 3.25rem; padding-inline: var(--space-6); }
.signup .form__secure { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; padding: 0; border: 0; font-size: var(--text-xs, 0.8125rem); line-height: 1.55; color: var(--color-ink-soft); max-width: 30rem; }
.signup .form__secure svg { flex: none; margin-top: 0.15rem; }
.signup__aside .todo { font-size: var(--text-xs, 0.8125rem); }
.signup__contact + .signup__address + .signup__label,
.signup__address + .signup__label { margin-top: var(--space-6); }
@media (min-width: 60rem) {
  .signup__aside { border-top: 0; padding-top: 0; border-left: 1px solid rgb(59 46 42 / 0.14); padding-left: clamp(2rem, 4vw, 3.5rem); margin-top: 0.5rem; }
  .signup__grid { column-gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr) 23rem; }
}

/* Terapia grupowa: quiet link from the bridge down to the text */
.hook .hook__more { margin-top: var(--space-4); }
.link-arrow--down { display: inline; min-height: 0; }
.link-arrow--down::after { content: "↓"; display: inline-block; margin-left: var(--space-2); }
.link-arrow--down:hover::after { transform: translateY(3px); }
#o-terapii { scroll-margin-top: 4.5rem; }

/* Terapia grupowa: the gap after the last group card was two full section
   paddings (224px on desktop, 112px on a phone) with nothing in it. The
   band keeps room for its fade; the text below starts sooner. */
#grupy.section--blush { padding-bottom: calc(var(--section-pad) * 0.75); }
#grupy + .section { padding-top: calc(var(--section-pad) * 0.5); }

/* Team page: what each person does, under the role */
.person__does { color: var(--color-ink-soft); font-size: var(--text-small, 0.875rem); margin-top: 0.15rem; }
.person__role + .person__does { margin-top: var(--space-2); }
.panel--single { max-width: 44rem; }

/* Group pages, one template (23 November 2026): the "to confirm" draft box
   sits under the facts; the text uses one heading size (h2) throughout. */
.facts__confirm { margin-top: var(--space-4); font-size: var(--text-xs, 0.8125rem); line-height: 1.5; background: rgb(255 255 255 / 0.5); }

/* Group pages: short facts box (status, when, price, button) and
   "Informacje praktyczne" after the text (23 November 2026). Rows with
   hairlines, label beside the value from tablet width up; long date lists
   fold behind "N terminów · pokaż wszystkie". */
.practical { margin-top: var(--space-8); }
.practical h2 { margin-bottom: var(--space-4); }
.practical dl { margin: 0; }
.practical dl > div { padding-block: var(--space-3); border-top: 1px solid rgb(59 46 42 / 0.14); }
.practical dl > div:last-child { border-bottom: 1px solid rgb(59 46 42 / 0.14); }
.practical dt { font-size: var(--text-xs, 0.8125rem); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-soft); }
.practical dd { margin: var(--space-1) 0 0; }
@media (min-width: 40rem) {
  .practical dl > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-4); align-items: baseline; }
  .practical dd { margin: 0; }
}
.dates summary { cursor: pointer; list-style: none; display: inline-flex; gap: 0.5em; align-items: baseline; padding-block: 0.25rem; }
.dates summary::-webkit-details-marker { display: none; }
.dates summary span { text-decoration: underline; text-underline-offset: 0.2em; color: var(--color-ink-soft); font-size: var(--text-small); }
.dates[open] summary span { display: none; }
.dates p { margin: var(--space-2) 0 0; }
.practical .facts__confirm { margin-top: var(--space-4); background: transparent; }

/* "Informacje praktyczne" continues the group's text, so its heading uses
   the text's heading size, not the bigger section-title size (owner, 23 November 2026). */
.practical h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
@media (min-width: 60rem) { .practical h2 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem); line-height: 1.2; } }
.practical { margin-top: var(--space-8); }

/* An arrow link inside running text wraps like text, arrow after the last word */
.prose p > .link-arrow { display: inline; min-height: 0; }
.prose p > .link-arrow::after { display: inline-block; margin-left: var(--space-2); }

/* Contact: map that loads on request */
.map { margin-top: var(--space-6); aspect-ratio: 4 / 3; border-radius: var(--radius-lg, 1rem); overflow: hidden;
  background: linear-gradient(135deg, #EEE6DF, #E3E8EE); display: grid; }
.map__cover { display: grid; place-content: center; justify-items: center; gap: var(--space-4); padding: var(--space-5); text-align: center; }
.map__note { color: var(--color-ink-soft); font-size: var(--text-small, 0.9375rem); max-width: 22rem; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 60rem) { .map { aspect-ratio: 16 / 10; } }

/* Homepage: the Uważne Spotkania banner takes the practice's own colour, the
   same as its card and page (owner, 23 November 2026), instead of a fixed green. */
.banner[style] { color: var(--gt); background: radial-gradient(120% 100% at 100% 0%, var(--g2) 0%, transparent 60%), radial-gradient(90% 90% at 0% 100%, var(--g3) 0%, transparent 65%), var(--g1); }
.banner[style] p, .banner[style] .group-card__tag { color: var(--gs); }

/* Audit fixes (23 November 2026): keyboard focus and tap targets. */
html { scroll-padding-top: 5rem; }           /* a focused or linked element is not hidden under the sticky header */
main:focus { outline: none; }                /* the skip link lands here */
.person > a { display: block; border-radius: 0.75rem; }
.person > a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 59.99rem) {
  .site-footer li a, .site-footer__legal a, .site-footer address a { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

/* Terapia grupowa, lighter opening (owner, 23 November 2026: "a wall of
   text" on a phone). The bridge sentence now introduces the group list and
   the "not sure?" link follows the list. (A smaller lead and no phone link
   on phones were tried and reverted at the owner's request.) */
.groups__intro { max-width: 40rem; margin: 0 0 var(--space-6); font-size: var(--text-prose, 1.0625rem); line-height: 1.6; color: var(--color-ink-soft); }
.groups__more { margin-top: var(--space-7); }

/* Kontakt: the address is a link to a maps app; it reads as an address, the
   underline shows it can be tapped. */
.address-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; display: inline-block; padding-block: 0.25rem; }

/* Quiet link-buttons: the arrow follows the words and is not underlined on
   its own (it was a flex item with its own underline), and in the closing
   panels the link sits right under its paragraph (owner, 23 November 2026). */
.btn--secondary:not(.action-bar__call) { display: inline-block; min-height: 0; padding-block: 0.6rem; line-height: 1.4; }

/* Quiet link-buttons are lines of text, so they keep the paragraph rhythm
   (owner, 23 November 2026): the tap area stays tall, but it no longer
   pushes the link away from the text above. After a paragraph the visual
   gap is the same as between two paragraphs. */
.btn--secondary:not(.action-bar__call) { padding-block: 0.6rem; margin-block: -0.6rem; }
.panels .panel:not(.panel--peach) > .btn--secondary:not(.action-bar__call),
.panel:not(.panel--peach) > .btn--secondary:not(.action-bar__call) { margin-top: -0.6rem; }
@media (max-width: 51.99rem) {
  .banner { gap: var(--space-5); }
  .banner > .btn--secondary { margin-top: -0.6rem; }
}

/* Homepage on phones, second pass (owner, 23 November 2026).
   1. Header: dark logo and menu button on the photo, as on every other page;
      the top of the winter photo is light, so white read poorly. No shade.
   2. More photo: the photo is taller, so the title sits lower; the order
      (title, lead, button, "lub zadzwoń") is unchanged. */
@media (max-width: 59.99rem) {
  .home .hero__bg::before { display: none; }
  .home .hero__bg { background: linear-gradient(180deg, #efe6dc, #e2d3c3); }
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .brand { color: var(--color-ink); text-shadow: none; }
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle { border-color: rgb(59 46 42 / 0.25); background: rgb(255 249 242 / 0.55); }
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span,
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span::before,
  html:not(.menu-open) .home .site-header:not(.is-scrolled) .nav-toggle span::after { background: var(--color-ink); }

  /* The photo grows until the button is the last thing on the first screen;
     "lub zadzwoń" sits just below it and shows as soon as the page moves.
     17rem is the height of title, lead and button under the photo on a
     390px-wide phone. */
  .home .hero__bg img { height: clamp(18rem, calc(100svh - 17rem), 40rem); }
}

/* Phone homepage: a delicate cream wash at the top so the dark logo and menu
   button read on the curtains and window; the photo a touch brighter
   (owner, 23 November 2026: "the logo is barely visible"). */
@media (max-width: 59.99rem) {
  .home .hero__bg::before { display: block; height: 8.5rem; background: linear-gradient(180deg, rgb(255 249 242 / 0.78) 0%, rgb(255 249 242 / 0.45) 45%, rgb(255 249 242 / 0) 100%); }
  .home .hero__bg img { filter: brightness(1.12) saturate(1.1) contrast(1.02); }
}

/* The homepage photo is graded in the file itself (neutral, 23 November 2026), so
   the browser filter that brightened the older photo is off. */
.home .hero--room .hero__bg img { filter: none; }


/* Desktop homepage photo, new crop (owner, 23 November 2026): the photo is a
   3:4 portrait, so the full-width band shows a slice of it. The slice now sits
   lower (radiator, side table, armchair, rug) instead of the top of the window,
   with a shorter cream fade so less of the room is washed out, and a stronger
   wash at the top so the menu stays readable over it. Picked from three crops
   (half screen, framed photo, this band). */
@media (min-width: 60rem) {
  .hero--room .hero__bg::after {
    background:
      linear-gradient(90deg, var(--color-cream) 0, var(--color-cream) calc(var(--edge) + 24rem), rgb(255 249 242 / .8) calc(var(--edge) + 30rem), rgb(255 249 242 / 0) calc(var(--edge) + 44rem)),
      linear-gradient(180deg, rgb(255 241 224 / .92) 0%, rgb(255 241 224 / .6) 12%, rgb(255 241 224 / 0) 26%),
      linear-gradient(0deg, var(--color-cream) 0%, rgb(255 249 242 / 0) 10%);
  }
}


/* Contact card on Cennik and Kontakt (owner, 23 November 2026): on desktop
   the header already carries "Umów konsultację", so the card's own button is
   left out there; phones and tablets keep it. */
@media (min-width: 60rem) {
  .facts--plain > .btn { display: none; }
}

/* Bottom bar without the phone (therapist profiles): the button takes the row. */
@media (max-width: 59.99rem) { .action-bar--solo { grid-template-columns: minmax(0, 1fr); } }

/* Terapia grupowa opening (owner, 23 November 2026: "a gaping hole between
   the button and the second paragraph"). The bridge sentence opens the group
   band, so the band's full top padding no longer applies: the sentence follows
   the button at about the page head's own spacing. The "not sure?" link sits
   right under the sentence, then the first group heading. */
body.t-service #grupy.section--blush { padding-top: clamp(0.75rem, 0.25rem + 1.2vw, 1.5rem); }
.groups__intro:has(+ .groups__more) { margin-bottom: var(--space-3); }
.groups__more { margin: 0 0 var(--space-7); }

/* Kontakt: how to get there, under the address */
.address-note { color: var(--color-ink-soft); margin-top: var(--space-2); }

/* A group under way (profiles only): no page, so no lift and no stretched link */
.group-card.is-running, .group-card.is-running:hover { transform: none; box-shadow: none; }
.is-running .gv-more { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-small, 0.9375rem); }
.is-running .gv-more a { color: var(--gt); }

/* Cennik: a short note under a table */
.prices__note { margin-top: var(--space-3); color: var(--color-ink-soft); font-size: var(--text-small, 0.9375rem); }


/* Consent and data notice on the sign-up form, links in the footer's legal
   line (25 November 2026). The box and its text share one row; the whole row
   is the tap target. */
.field--consent { grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.field.field--consent input { width: 1.375rem; height: 1.375rem; min-height: 0; margin: 0.15rem 0 0; padding: 0; accent-color: var(--color-ink); }
.field--consent label { font-weight: 400; font-size: var(--text-small); line-height: 1.5; padding-block: 0.15rem; cursor: pointer; }
.form__legal { color: var(--color-ink-soft); font-size: var(--text-xs, 0.8125rem); line-height: 1.55; max-width: 34rem; }
.form__legal a { color: inherit; }
.sf-legal-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
/* Method pages, the people sub-heading ("Kto prowadzi", "Kto pracuje w
   ISTDP"…): a real sub-section title now, in the section titles' face at the
   h3 size, instead of the 12px capitals label (owner, 25 November 2026: "a bit
   silly, so small"). */
.here__sub {
  font-size: var(--text-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: var(--leading-heading);
  text-transform: none;
  color: var(--color-ink);
}

/* Price list on a phone (26 November 2026): a long note beside a price
   ("za spotkanie (50 min), zwykle dwa spotkania") was held on one line and
   pushed the table wider than the screen. The price itself stays on one line;
   its note may wrap, and the column never takes more than half the row. */
.prices td:last-child { max-width: 50%; }
.prices small { white-space: normal; overflow-wrap: anywhere; }
