:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1b2630;
  --muted: #52606d;
  --brand: #2f6c82;
  --brand-dark: #26576a;
  --border: #dde6eb;
  --shadow: 0 10px 22px rgba(19, 38, 51, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.32rem;
  text-decoration: none;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}

.hero {
  padding: 5rem 0 3.3rem;
}

.page-hero {
  background:
    linear-gradient(rgba(34, 48, 40, 0.34), rgba(46, 62, 53, 0.38)),
    url("./images/wyre-forest.png") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.page-hero .kicker,
.page-hero h1,
.page-hero .hero-copy {
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.6rem;
  align-items: start;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--brand-dark);
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.hero-copy {
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 1.65rem;
}

.button,
button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover,
button:hover {
  background: var(--brand-dark);
}

.text-link {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-card-photo-wrap {
  margin-top: 1rem;
}

.hero-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(14, 24, 19, 0.18);
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: #f6fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
}

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

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
}

.anxiety-help-header {
  display: grid;
  grid-template-columns: 1fr min(280px, 40%);
  gap: 1.2rem;
  align-items: start;
}

.anxiety-help-header .section-title {
  margin-bottom: 0;
}

.anxiety-help-image-wrap {
  margin: 0;
}

.anxiety-help-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trauma-themes-layout {
  display: grid;
  grid-template-columns: min(280px, 40%) 1fr;
  gap: 1.2rem;
  align-items: start;
}

.trauma-themes-image-wrap {
  margin: 0;
}

.trauma-themes-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trauma-themes-content .section-title {
  margin-bottom: 0;
}

.cancer-counselling-layout {
  display: grid;
  grid-template-columns: 1fr min(280px, 40%);
  gap: 1.2rem;
  align-items: start;
}

.cancer-counselling-content .section-title {
  margin-bottom: 0;
}

.cancer-figure {
  margin: 0;
}

.cancer-figure-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.lgbtq-section-inner {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.4rem;
  border-radius: 16px;
}

.lgbtq-section-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(255, 255, 255, 0.55) 62%,
      rgba(255, 255, 255, 0.15) 78%,
      transparent 100%
    ),
    url("./images/lgbtq-identity.png") right center / auto 100% no-repeat;
  z-index: 0;
  pointer-events: none;
}

.lgbtq-content {
  position: relative;
  z-index: 1;
  max-width: 68%;
}

.supervision-model {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.supervision-model-image-wrap {
  margin: 0;
}

.supervision-model-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.banner {
  margin: 1rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  display: block;
  max-height: 220px;
  object-fit: cover;
}

.profile-photo-wrap {
  margin: 0.5rem 0 1.2rem;
}

.profile-photo {
  width: min(260px, 55vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-badges-banner {
  padding: 1.25rem 0 1.5rem;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-badges-banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.4rem;
}

.about-badge-image {
  width: auto;
  height: auto;
  max-height: 110px;
  max-width: min(180px, 22vw);
  object-fit: contain;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.25rem;
  box-shadow: 0 6px 14px rgba(19, 38, 51, 0.05);
  flex: 0 1 auto;
}

.about-badge-safe-space {
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: none;
  padding: 0.35rem 0.5rem;
}

.about-badge-bupa {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.how-i-work-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: start;
}

.how-i-work-layout p {
  margin: 0;
}

.how-i-work-image-wrap {
  margin: 0;
}

.how-i-work-image {
  width: 100%;
  max-width: 180px;
  display: block;
  border-radius: 14px;
  border: 1px solid transparent;
}

.narrow {
  width: min(780px, 92vw);
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

input,
textarea {
  font: inherit;
  border: 1px solid #bfccd5;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid #a7c4d2;
  outline-offset: 1px;
}

.site-footer {
  padding: 2.3rem 0 2.6rem;
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
}

.form-privacy {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1rem;
}

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

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-status--error {
  background: #fdecea;
  border: 1px solid #e8b4b0;
  color: #6b2c28;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

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

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

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    grid-column: auto;
  }

  .supervision-model {
    grid-template-columns: 1fr;
  }

  .about-badge-image {
    max-height: 90px;
    max-width: min(140px, 40vw);
  }

  .anxiety-help-header {
    grid-template-columns: 1fr;
  }

  .anxiety-help-image-wrap {
    max-width: 280px;
  }

  .trauma-themes-layout {
    grid-template-columns: 1fr;
  }

  .trauma-themes-image-wrap {
    max-width: 280px;
  }

  .cancer-counselling-layout {
    grid-template-columns: 1fr;
  }

  .cancer-figure {
    max-width: 280px;
  }

  .lgbtq-section-inner {
    padding: 1.4rem 1rem;
  }

  .lgbtq-section-inner::before {
    background:
      linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.88) 55%,
        rgba(255, 255, 255, 0.7) 100%
      ),
      url("./images/lgbtq-identity.png") right 20% bottom / 70% auto no-repeat;
    opacity: 0.85;
  }

  .lgbtq-content {
    max-width: 100%;
  }

  .how-i-work-layout {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 0 1rem;
  }
}

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