/* JWG Counselling
   Palette: evergreen and fern (grounded, Thames-side), sage tints, one
   marigold accent for warmth. Layout: alternating full-width bands, each
   with one clear job, left-aligned headings, generous reading width. */

:root {
  --paper: #f5f7f3;      /* page background */
  --sage: #d7e6da;       /* soft tint bands and chips */
  --fern: #2e6a57;       /* links, icons */
  --evergreen: #143a31;  /* brand colour: headings, dark bands */
  --marigold: #f2b13e;   /* the warm accent */
  --ink: #1b2e28;        /* body text */

  --white: #ffffff;
  --muted: #4a5f57;
  --muted-on-dark: #b9cec2;
  --rule: rgb(20 58 49 / 0.14);
  --rule-on-dark: rgb(215 230 218 / 0.22);
  --error: #a3301f;

  --font-display: "Alegreya", "Lora", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2.1rem, 1.45rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.5rem + 4.9vw, 5.25rem);

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --wrap: 76rem;
  --band: clamp(4.5rem, 2.5rem + 7vw, 8rem);
  --radius-lg: 1.75rem;
  --radius: 1rem;
  --header-h: 4.75rem;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--evergreen);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-3);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--step-2);
  line-height: 1.15;
}

p,
ul,
ol,
dl,
dd,
figure,
address,
blockquote {
  margin: 0;
}

p,
li,
dd {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

a {
  color: var(--fern);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--fern);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--evergreen);
  color: var(--paper);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--evergreen);
  border-radius: 999px;
  background: var(--evergreen);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: var(--fern);
  border-color: var(--fern);
}

.button--ghost {
  background: transparent;
  color: var(--evergreen);
}

.button--ghost:hover {
  background: var(--evergreen);
  border-color: var(--evergreen);
  color: var(--paper);
}

.button--marigold {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--evergreen);
}

.button--marigold:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--evergreen);
}

.button--small {
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  font-size: var(--step--1);
}

.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--evergreen);
  text-decoration: none;
}

.logo__text {
  display: grid;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

.logo__tag {
  color: var(--muted);
  font-size: 0.875rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav__link a:hover,
.nav__link a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--marigold);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.4em;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero__text {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.hero__kicker {
  color: var(--fern);
  font-weight: 700;
}

.lead {
  max-width: 34rem;
  font-size: 1.3rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--evergreen);
  font-size: var(--step--1);
  font-weight: 700;
}

.trust .icon {
  color: var(--fern);
}

/* Josh's photo, with a soft sage disc offset behind it for depth */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 1;
}

.hero-visual__disc {
  position: absolute;
  left: 0;
  top: 10%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
}

.hero-visual__photo {
  position: absolute;
  left: 8%;
  top: 2%;
  width: 90%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 40%;
  box-shadow: 0 0 0 clamp(6px, 1.2vw, 12px) var(--paper);
}

/* ---------- Bands ---------- */

.band {
  position: relative;
  padding-block: var(--band);
}

.band--white {
  background: var(--white);
}

.band--sage {
  background: var(--sage);
}

.band--dark {
  overflow: hidden;
  background: var(--evergreen);
  color: var(--paper);
}

.band--dark h2,
.band--dark h3 {
  color: var(--paper);
}

.band--marigold {
  overflow: hidden;
  background: var(--marigold);
  color: var(--evergreen);
}

.band > .wrap {
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p {
  color: var(--muted);
  font-size: var(--step-1);
}

.band--dark .section-head p {
  color: var(--muted-on-dark);
}

/* ---------- Does this sound familiar ---------- */

.familiar {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.familiar .section-head {
  margin-bottom: 0;
}

.section-head .familiar__reassure {
  color: var(--evergreen);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
}

.familiar__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.familiar__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--evergreen);
  font-weight: 700;
  line-height: 1.4;
}

.familiar__list li::before {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 0 4px rgb(242 177 62 / 0.25);
}

/* ---------- How I can help ---------- */

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}

.help-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--marigold);
}

.icon-badge .icon {
  width: 1.85rem;
  height: 1.85rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--evergreen);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.also p {
  color: var(--evergreen);
  font-weight: 700;
}

.also .tags {
  margin-top: 0;
}

.also .tags li {
  background: var(--white);
}

/* ---------- Approach (dark band) ---------- */

.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.approach__grid .section-head {
  margin-bottom: 0;
}

.statement {
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 4px solid var(--marigold);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem);
  font-style: italic;
  line-height: 1.25;
  text-wrap: balance;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 0;
  list-style: none;
}

.principles li {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.04);
}

.principles .icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.25rem;
  color: var(--marigold);
}

.principles p {
  color: var(--muted-on-dark);
}

.approach__close {
  max-width: 40rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--paper);
  font-size: var(--step-1);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about__text {
  display: grid;
  gap: 1.25rem;
}

.about__text > p {
  max-width: 40rem;
}

.creds {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.creds li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  line-height: 1.35;
}

.creds .icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--evergreen);
}

.creds strong {
  display: block;
  color: var(--evergreen);
}

.creds span {
  color: var(--muted);
  font-size: var(--step--1);
}

.quote-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--marigold);
  border-radius: var(--radius-lg);
  color: var(--evergreen);
}

.quote-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.quote-card > p {
  font-weight: 700;
}

/* ---------- Sessions ---------- */

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 1rem;
}

.fact {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: 1.6rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
}

.fact .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  color: var(--fern);
}

.fact dt {
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 700;
}

.fact dd {
  color: var(--evergreen);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.sessions-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-top: 1rem;
}

.location-card,
.steps-card {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
}

.location-card {
  background: var(--evergreen);
  color: var(--paper);
}

.location-card h3 {
  color: var(--paper);
}

.location-card address {
  font-size: var(--step-1);
}

.location-card p {
  color: var(--muted-on-dark);
}

.location-card a {
  color: var(--paper);
  font-weight: 700;
  text-decoration-color: var(--marigold);
  text-decoration-thickness: 2px;
}

.location-card :focus-visible {
  outline-color: var(--marigold);
}

.steps-card {
  background: var(--sage);
}

.steps {
  display: grid;
  gap: 1.15rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--marigold);
  font-weight: 700;
  line-height: 1;
}

.steps strong {
  display: block;
  color: var(--evergreen);
}

/* ---------- FAQs ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: var(--evergreen);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143a31' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius);
}

.faq-item__body {
  max-width: 40rem;
  padding: 0 1.4rem 1.4rem;
}

/* ---------- Call to action ---------- */

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 4rem;
}

.cta__text {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.cta__text p {
  font-size: var(--step-1);
}

.cta :focus-visible {
  outline-color: var(--evergreen);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--evergreen);
  color: var(--muted-on-dark);
  font-size: var(--step--1);
}

.site-footer a {
  color: var(--paper);
}

.site-footer :focus-visible {
  outline-color: var(--marigold);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr) minmax(0, 1.3fr);
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 1rem;
}

.site-footer .logo,
.site-footer .logo__tag {
  color: var(--paper);
}

.site-footer h2 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.3;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--marigold);
}

.crisis {
  display: grid;
  gap: 0.5rem;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--marigold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgb(255 255 255 / 0.06);
}

.crisis a {
  font-weight: 700;
  white-space: nowrap;
}

.crisis--light {
  border-left-color: var(--fern);
  background: var(--white);
  color: var(--ink);
}

.crisis--light h2 {
  color: var(--evergreen);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.3;
}

.crisis--light a {
  color: var(--fern);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--rule-on-dark);
}

/* ---------- Contact page ---------- */

.page-hero {
  padding-block: clamp(2.5rem, 1rem + 5vw, 5rem);
  background: var(--sage);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero__text {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.5rem);
}

.page-hero .crisis {
  max-width: 40rem;
  margin-top: 0.5rem;
}

.page-hero .hero-visual {
  max-width: 18rem;
}

.page-hero .hero-visual__disc {
  background: var(--white);
}

.page-hero .hero-visual__photo {
  box-shadow: 0 0 0 clamp(5px, 0.9vw, 9px) var(--sage);
}

.contact-main {
  padding-block: clamp(3rem, 6vw, 5rem) var(--band);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.form-card {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgb(20 58 49 / 0.06), 0 12px 40px -12px rgb(20 58 49 / 0.18);
}

.form-card__head {
  display: grid;
  gap: 0.4rem;
}

.form-card__head h2 {
  font-size: var(--step-2);
}

.form-card__head p {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  color: var(--evergreen);
  font-weight: 700;
}

.field__optional {
  color: var(--muted);
  font-weight: 400;
}

.field__hint {
  color: var(--muted);
  font-size: var(--step--1);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #8fa39a;
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--fern);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
  field-sizing: content;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 1px;
  border-color: var(--fern);
  background: var(--white);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 2px;
}

.field__error {
  color: var(--error);
  font-size: var(--step--1);
  font-weight: 700;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset.field legend {
  margin-bottom: 0.5rem;
  padding: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.field .choice {
  font-weight: 600;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  border: 1.5px solid #8fa39a;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.choice:hover {
  border-color: var(--fern);
}

.choice:has(input:checked) {
  border-color: var(--evergreen);
  background: var(--sage);
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--evergreen);
}

.form__actions {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
}

.form__note {
  color: var(--muted);
  font-size: var(--step--1);
}

.form-status {
  display: grid;
  gap: 0.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--sage);
}

.form-status:focus {
  outline: none;
}

.form-status--error {
  border-left: 4px solid var(--error);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fbefec;
}

.form-status h2 {
  font-size: var(--step-1);
}

.form-status[hidden],
.form[hidden] {
  display: none;
}

.details {
  display: grid;
  gap: 1rem;
}

.detail-card {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--rule);
}

.detail-card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-card__title .icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--evergreen);
}

.detail-card h2 {
  font-size: var(--step-1);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
}

.detail-card .muted {
  color: var(--muted);
}

.detail-card--dark {
  background: var(--evergreen);
  border-color: var(--evergreen);
  color: var(--paper);
}

.detail-card--dark h2 {
  color: var(--paper);
}

.detail-card--dark .steps strong {
  color: var(--paper);
}

.detail-card--dark .steps li::before {
  background: var(--marigold);
  color: var(--evergreen);
}

.detail-card--dark .steps span {
  color: var(--muted-on-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 64rem) {
  .nav__link {
    display: none;
  }
}

@media (max-width: 56rem) {
  .hero__grid,
  .familiar,
  .approach__grid,
  .about,
  .sessions-more,
  .faq,
  .page-hero__grid,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-self: center;
    max-width: 26rem;
  }

  .page-hero .hero-visual {
    display: none;
  }

}

@media (max-width: 36rem) {
  .familiar__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo__name {
    font-size: 1.2rem;
  }

  .logo__tag {
    display: none;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .site-header .button--small {
    padding-inline: 0.95rem;
  }

  .hero-visual {
    max-width: 18rem;
  }

  .fact {
    padding: 1.2rem;
  }

  .fact dd {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .faq-item summary::after {
    transition: none;
  }
}
