/* =========================================================
   The Mental Gain – homepage pilot
   Plain CSS, no build step.
   ========================================================= */

/* ---------- Design tokens (taken from the live site) ---------- */
:root {
  --contrast:   #353a3d;   /* body text */
  --contrast-2: #666666;
  --contrast-3: #3a606e;   /* headings, dark teal */
  --base:       #f5f3f2;   /* header background */
  --base-3:     #ffffff;
  --accent:     #db7965;   /* coral */
  --accent-2:   #667780;   /* nav links */
  --blue:       #097baa;   /* form button */
  --footer-bg:  #65bedb;

  --font-body:    "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;

  --container: 1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--contrast);
  background: var(--base-3);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--contrast-3); color: #fff; padding: 10px 16px; border-radius: 2px;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Header ---------- */
.site-header { background: var(--base); position: relative; z-index: 20; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-block: 10px;
}

.header-inner .primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.header-inner .site-logo {
  flex-shrink: 0;
  margin-left: auto;
}

/* Home / services splash: header overlays hero image */
.home-page #content,
.services-page #content,
.service-detail-page #content,
.book-me-page #content,
.about-page #content,
.social-page #content,
.contact-page #content,
.my-clients-page #content {
  padding-top: 0;
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
}

.site-header--overlay .header-inner {
  justify-content: space-between;
  padding-block: 16px;
}

.site-header--overlay .site-logo {
  margin-left: 0;
  margin-right: auto;
  order: 1;
}

.site-header--overlay .menu-toggle {
  order: 3;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.5));
}

.site-header--overlay .primary-nav {
  order: 2;
  flex: 1 1 auto;
}

.site-header--overlay .primary-nav a {
  color: #fff;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.65);
  font-weight: 600;
}

.site-header--overlay .primary-nav a:hover,
.site-header--overlay .primary-nav a[aria-current="page"] {
  color: #abddf7;
}

.site-header--overlay .site-logo img {
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.45));
}

.site-logo img { width: 280px; }

.primary-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; }

.primary-nav a {
  display: block;
  padding: 0 20px;
  line-height: 38px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-2);
  transition: color .2s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--contrast-3); }

/* mobile toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none; border: 0; padding: 12px; cursor: pointer; color: var(--contrast-3);
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -8px; }
.menu-toggle-bars::after  { top:  8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after  { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header {
    position: relative;
    z-index: 40;
  }

  /* Keep the overlay header out of flow so the hero image runs to the top */
  .site-header--overlay {
    position: absolute;
    z-index: 40;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-inner .site-logo {
    order: 2;
    margin-left: 0;
  }

  .menu-toggle {
    order: 1;
    display: block;
  }

  .header-inner .primary-nav {
    order: 3;
    flex-basis: 100%;
  }

  .site-header--overlay .site-logo {
    order: 1;
  }

  .site-header--overlay .menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .site-header--overlay .primary-nav {
    order: 3;
  }

  .site-logo img { width: 220px; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--contrast-3);
    display: none;
    max-height: min(70dvh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 28px rgb(23 33 60 / 0.35);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; padding: 10px 0; }
  .primary-nav a { color: #fff; padding: 6px 30px; line-height: 40px; text-shadow: none; }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] { color: var(--base); background: rgba(255,255,255,.08); }

  /* Hero sections clip overflow; show full mobile nav when open */
  body.mobile-nav-open .splash,
  body.mobile-nav-open .contact-splash,
  body.mobile-nav-open .about-splash {
    overflow: visible;
  }
}

/* ---------- Splash (home top) ---------- */
.splash {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: #17213c;
}

.splash-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: min(52vw, 720px);
  object-fit: cover;
  object-position: center;
}

.splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(23 33 60 / 0.55) 0%, rgb(23 33 60 / 0.15) 45%, transparent 70%);
  pointer-events: none;
}

.splash-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 20px 2rem;
  text-align: center;
  color: #fff;
}

.splash-copy h1,
.splash-copy h2 {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(0.55rem, calc((100vw - 2.5rem) / 27), 4.5rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.45);
  white-space: nowrap;
}

.splash-subheading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.45);
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  border-radius: 2px;
  transition: background .2s ease;
}
.btn-primary:hover { background: #07638a; }

.home-content-status {
  margin: 0;
  padding: 12px 20px;
  font-size: 15px;
  text-align: center;
  background: #fff3cd;
  color: #664d03;
  border-bottom: 1px solid #ffecb5;
}

.rich-text { font-size: inherit; line-height: inherit; }
.rich-text:last-child { margin-bottom: 0; }

/* newsletter form */
.newsletter { max-width: 640px; }

.newsletter input[type="email"] {
  display: block;
  width: 100%;
  font: inherit; font-size: 16px;
  padding: 9px;
  color: #000;
  background: #ededed;
  border: 1px solid #777771;
  border-radius: 2px;
}
.newsletter input[type="email"]:focus { border-color: var(--blue); background: #fff; }
.newsletter input[type="email"][aria-invalid="true"] { border-color: #b3261e; }

.newsletter button {
  margin-top: 12px;
  font: inherit; font-size: 14px; font-weight: 500;
  padding: 10px 20px;
  color: #fff;
  background: var(--blue);
  border: 0; border-radius: 2px;
  cursor: pointer;
  transition: background .2s ease;
}
.newsletter button:hover { background: #07638a; }
.newsletter button[disabled] { opacity: .6; cursor: progress; }

.form-status { margin: 12px 0 0 !important; padding: 0 !important; font-size: 16px !important; min-height: 1.5em; color: var(--contrast) !important; }
.form-status.is-success { color: #1e7b3a !important; }
.form-status.is-error   { color: #b3261e !important; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .splash-image {
    min-height: min(70vw, 420px);
  }

  .splash-copy {
    top: 43%;
    padding-bottom: 1.5rem;
  }

  .splash-subheading {
    font-size: clamp(1rem, 4.5vw, 3rem);
  }
}

/* ---------- Home blue bands (Services + Newsletter) — brighter than midnight #17213c ---------- */
.home-blue-band {
  background: #4a63b5;
  background: linear-gradient(165deg, #3f5699 0%, #4a63b5 42%, #5672c4 100%);
  position: relative;
  overflow: hidden;
}

.home-blue-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 15% 100%, rgb(171 221 247 / 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgb(255 255 255 / 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.home-blue-band > * {
  position: relative;
  z-index: 1;
}

/* ---------- Welcome to TMG (home) ---------- */
.welcome-tmg {
  background: #f5f4fa;
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
  color: #25283d;
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgb(64 87 161 / 0.12);
}

.welcome-tmg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgb(64 87 161 / 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 75%, rgb(171 221 247 / 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.welcome-tmg-inner {
  position: relative;
  z-index: 1;
}

.welcome-tmg .section-title {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.welcome-tmg .about-story-grid {
  max-width: 1100px;
}

.welcome-tmg-body {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: #25283d;
}

.welcome-tmg-body p {
  margin: 0 0 1.25em;
}

.welcome-tmg-body p:last-child {
  margin-bottom: 0;
}

.welcome-tmg-body em {
  color: inherit;
  font-style: italic;
}

.welcome-tmg-body strong {
  color: inherit;
  font-weight: 700;
}

/* ---------- About TMG page ---------- */
.about-splash-statement {
  white-space: normal;
  max-width: 18ch;
  margin-inline: auto;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.about-story,
.about-cmpc {
  padding-block: 72px 88px;
  background: #ffffff;
}

.about-story .section-title,
.about-cmpc .section-title {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.about-cmpc {
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
  border-top: 1px solid rgb(37 40 61 / 0.08);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1100px;
  margin-inline: auto;
}

.about-story-photo img {
  width: 100%;
  border-radius: 80px 4px;
  box-shadow: 0 12px 40px rgb(23 33 60 / 0.12);
}

.about-story-subtitle {
  margin: 0 0 24px;
  padding-left: 24px;
  border-left: 4px solid #4057a1;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.35;
  color: #17213c;
}

.about-story-body,
.about-cmpc-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #25283d;
}

.about-story-body p,
.about-cmpc-body p {
  margin: 0 0 1.1em;
}

.about-story-body p:last-child,
.about-cmpc-body p:last-child {
  margin-bottom: 0;
}

.about-cmpc-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.about-cmpc-logo img {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}

.about-cmpc-body em {
  font-style: italic;
}

/* Quick facts (about page) */
.about-snapshot {
  padding-block: 48px 56px;
  background: #17213c;
}

.about-snapshot .section-title {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.about-snapshot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.about-snapshot-photo img {
  width: 100%;
  border-radius: 80px 4px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.35);
}

.about-snapshot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-snapshot-list li {
  position: relative;
  padding: 8px 0 8px 40px;
  border-bottom: 1px solid rgb(171 221 247 / 0.2);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.35;
  color: #ffffff;
}

.about-snapshot-list li:last-child {
  border-bottom: 0;
}

.about-snapshot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: #abddf7;
  /* Five-point star */
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@media (max-width: 800px) {
  .about-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .about-snapshot-photo {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 800px) {
  .about-story-grid,
  .about-cmpc-grid {
    grid-template-columns: 1fr;
  }

  .about-story-photo {
    max-width: 360px;
    margin-inline: auto;
  }

  .about-story-subtitle {
    padding-left: 16px;
  }
}

/* ---------- Newsletter + Contact (home section) ---------- */
.newsletter-section {
  padding-block: 72px 84px;
  min-height: 0;
}

.newsletter-inner {
  min-height: min(420px, auto);
}

.newsletter-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 336px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgb(37 40 61 / 0.08);
}

.newsletter-column {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-column--signup {
  background: #ffffff;
  border: 1px solid rgb(37 40 61 / 0.12);
  border-right: none;
}

.newsletter-column--contact {
  background: #17213c;
  background: linear-gradient(160deg, #121a30 0%, #17213c 55%, #1e2a4a 100%);
  color: #fff;
  text-align: center;
  align-items: center;
  position: relative;
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.newsletter-column--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgb(171 221 247 / 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-column--contact > * {
  position: relative;
  z-index: 1;
}

.newsletter-column--signup .rich-text {
  color: #25283d;
  margin-bottom: 24px;
  max-width: 36rem;
}

.newsletter-column--signup .newsletter {
  max-width: 100%;
}

.contact-cta-lead {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  font-weight: 400;
  color: #abddf7;
}

.newsletter-column--contact .section-title {
  margin-bottom: 12px;
}

.btn-contact {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #17213c;
  background: #abddf7;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}

.form-layout-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--contrast-2);
  font-style: italic;
}

.newsletter input[type="email"]:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  background: #f5f4fa;
}

.newsletter button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #4057a1;
}

@media (max-width: 767px) {
  .newsletter-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .newsletter-column--signup {
    border-right: 1px solid rgb(37 40 61 / 0.12);
    border-bottom: none;
  }

  .newsletter-column {
    padding: 40px 24px;
  }
}

/* ---------- Section titles (canonical — see Section Title example.png) ---------- */
.section-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: #17213c;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: min(88px, 16vw);
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #4057a1, #abddf7);
}

.section-title--start {
  text-align: start;
}

.section-title--start::after {
  margin-left: 0;
  margin-right: auto;
}

.section-title--on-dark {
  color: #ffffff;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}

.section-title--on-dark::after {
  background: linear-gradient(90deg, #abddf7, #4057a1);
}

.section-title--spaced {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-title--spaced-lg {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.clients--showcase .section-title,
.services--showcase .section-title {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.service-split-body .section-title {
  margin-bottom: 20px;
}

/* Legacy alias */
.social-page-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: #17213c;
  text-align: center;
}

.social-page-title::after {
  content: "";
  display: block;
  width: min(88px, 16vw);
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #4057a1, #abddf7);
}

.social-section h2,
.podcast-section h2 {
  font-size: 28px;
  line-height: 1.4;
  color: var(--contrast-3);
  margin-bottom: 60px;
}

/* ---------- Services (home showcase) ---------- */
.services--showcase {
  width: 100%;
  max-width: none;
  padding: 72px clamp(16px, 3vw, 48px) 88px;
}

.services-showcase-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.service-stairstep {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
}

@media (min-width: 768px) {
  .service-stairstep {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .service-card--initial { margin-bottom: 0; }
  .service-card--individual { margin-bottom: 40px; }
  .service-card--online { margin-bottom: 0; }
  .service-card--team { margin-bottom: 40px; }
}

@media (min-width: 1100px) {
  .service-stairstep {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    min-height: 320px;
  }

  .service-card--initial { margin-bottom: 0; }
  .service-card--individual { margin-bottom: 56px; }
  .service-card--online { margin-bottom: 112px; }
  .service-card--team { margin-bottom: 168px; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #f5f4fa;
  border-radius: 6px;
  padding: 28px 24px 26px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28);
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.35);
}

.service-card--initial {
  border-top: 5px solid #4057a1;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28), inset 0 0 0 1px rgb(64 87 161 / 0.15);
}

.service-card--individual {
  border-top: 5px solid #abddf7;
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
}

.service-card--online {
  border-top: 5px solid #667780;
  background: #ffffff;
}

.service-card--team {
  border-top: 5px solid #4057a1;
  background: linear-gradient(145deg, #ffffff 0%, #eef3fb 100%);
  border-left: 4px solid #abddf7;
}

/* Services page: how sessions are offered (3 cards in a row, home card style) */
.services-modes {
  padding-block: clamp(40px, 5vw, 64px);
}

.services-modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .services-modes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card--virtual {
  border-top: 5px solid #4057a1;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.28), inset 0 0 0 1px rgb(64 87 161 / 0.15);
}

.service-card--inperson {
  border-top: 5px solid #abddf7;
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
}

.service-card--travel {
  border-top: 5px solid #4057a1;
  background: linear-gradient(145deg, #ffffff 0%, #eef3fb 100%);
  border-left: 4px solid #abddf7;
}

.service-card-list {
  margin: 0;
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 16px;
  line-height: 1.55;
  color: #25283d;
}

.service-card-list li + li {
  margin-top: 8px;
}

.service-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.35;
  color: #25283d;
  margin: 0 0 14px;
}

.service-card .icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  fill: #4057a1;
  margin-top: 2px;
}

.service-card--individual .icon { fill: #4057a1; }
.service-card--online .icon { fill: #3a606e; }
.service-card--team .icon { fill: #4057a1; }

.service-card .icon-stroke {
  fill: none;
  stroke: #4057a1;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card-intro {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #25283d;
  flex: 1 1 auto;
}

.service-card-more {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #4057a1;
  border-bottom: 2px solid #abddf7;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-card-more:hover {
  color: #17213c;
  border-color: #4057a1;
}

/* Legacy service grid (if reused elsewhere) */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px 60px;
}
@media (min-width: 700px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

.service h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--contrast-3);
  margin-bottom: 20px;
}

.service .icon { flex: 0 0 auto; width: 32px; height: 32px; fill: currentColor; }
.service .icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.service p { margin: 0 0 27px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-2);
  text-decoration: none;
  transition: color .2s ease;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s ease; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Proven Success (full-width photo banner) ---------- */
.proven {
  /* photo is 929x586, so at full width it is 63.08vw tall */
  --img-h: 63.08vw;                    /* full height of the photo at screen width */
  --win-h: max(31.54vw, 470px);        /* visible window: 1/2 the photo (min 470px so the text box fits) */
  position: relative;
  width: 100%;
}

.proven-window {
  position: relative;
  width: 100%;
  height: var(--win-h);
  overflow: hidden;
  background: var(--contrast);
}

/* Photo is full-width at its natural height; JS sets --p (0 = top, 1 = bottom)
   as you scroll, which slides the photo up to reveal its lower portion. */
.proven-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: var(--img-h);
  max-width: none;
  object-fit: cover;
  transform: translate3d(0, calc(var(--p, 0) * (var(--win-h) - var(--img-h))), 0);
  will-change: transform;
}

.proven-title {
  position: absolute;
  top: clamp(16px, 3vw, 40px);
  left: clamp(20px, 4vw, 60px);
  z-index: 2;
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);   /* medium-large */
  font-weight: 700;
  line-height: 1.15;
  color: #e00000;                         /* red */
  text-shadow:                            /* yellow-gold outer glow */
    0 0 6px  #ffd700,
    0 0 14px #ffd700,
    0 0 26px #ffc300,
    0 0 42px #ffb400;
}

.proven-box {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: calc(clamp(20px, 3vw, 40px) + 50px);   /* raised 50px so it clears "National Champions" */
  z-index: 2;
  width: min(440px, 44%);
  padding: 22px 26px;
  background: #e1e8f0;                                            /* fallback */
  background: linear-gradient(135deg, #e1e8f0 0%, #6f9fd0 100%);  /* light gray-blue -> medium blue, diagonal */
  color: #1f2a33;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}
.proven-box p,
.proven-box .rich-text { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.proven-box p:last-child,
.proven-box .rich-text:last-child { margin-bottom: 0; }

.overview-box-heading {
  font-size: 22px;
  line-height: 1.35;
  color: var(--contrast-3);
  margin: 0 0 14px;
}

.proven-site { color: blue; text-decoration: underline; }

/* phones/tablets: show the whole photo (no scroll pan), text box underneath */
@media (max-width: 900px) {
  .proven-window { height: auto; }
  .proven-img { position: relative; height: auto; transform: none; will-change: auto; }
  .proven-title { top: 14px; left: 18px; }
  .proven-box {
    position: relative; right: auto; bottom: auto;
    width: auto; margin: -40px 16px 0;
  }
}

/* ---------- Clients ---------- */
.clients { padding-block: 70px 90px; }

.clients--showcase {
  background: #ffffff;
  padding-block: 72px 88px;
}

.client-carousel {
  --client-large-w: 325px;
  --client-large-h: 225px;
  --client-medium-w: calc(var(--client-large-w) * 0.75);
  --client-medium-h: calc(var(--client-large-h) * 0.75);
  --client-small-w: calc(var(--client-large-w) * 0.5);
  --client-small-h: calc(var(--client-large-h) * 0.5);
  --client-gap: 20px;
}

.client-carousel-viewport {
  width: 100%;
  max-width: calc(
    var(--client-small-w) * 2 +
    var(--client-medium-w) * 2 +
    var(--client-large-w) +
    var(--client-gap) * 4
  );
  margin-inline: auto;
  min-height: var(--client-large-h);
}

.client-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--client-gap);
}

.client-carousel-slot {
  margin: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0;
  border: 2px solid rgb(64 87 161 / 0.45);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.client-carousel-slot--small {
  width: var(--client-small-w);
  height: var(--client-small-h);
}

.client-carousel-slot--medium {
  width: var(--client-medium-w);
  height: var(--client-medium-h);
}

.client-carousel-slot--large {
  width: var(--client-large-w);
  height: var(--client-large-h);
  border-width: 4px;
  border-color: #4057a1;
}

/* In-box pan: track holds current + incoming logo side by side */
.client-carousel-pan-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.client-carousel-pan-track {
  display: flex;
  width: 200%;
  height: 100%;
  transform: translateX(0);
  will-change: transform;
}

.client-carousel-pan-track.is-panning {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.client-carousel-pan-track.is-panning-instant {
  transition: none !important;
}

.client-carousel-pan-track img {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 880px) {
  .client-carousel {
    --client-large-w: min(325px, 52vw);
    --client-large-h: min(225px, 36vw);
    --client-gap: 10px;
  }
}

@media (max-width: 520px) {
  .client-carousel-viewport {
    overflow: hidden;
    max-width: var(--client-large-w);
    padding-bottom: 0;
  }

  .client-carousel-track {
    justify-content: center;
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }

  /* One centered featured logo; side slots stay in DOM for carousel JS */
  .client-carousel-slot:not(.client-carousel-slot--large) {
    display: none;
  }

  .client-carousel-slot--large {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-carousel-pan-track.is-panning {
    transition: none;
  }
}

.clients .rich-text {
  color: var(--contrast-3);
  max-width: 820px;
  margin: -40px 0 36px;
}

.services-intro {
  margin: -40px 0 40px !important;
  max-width: 820px;
  color: var(--contrast-3);
}

.service .rich-text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--contrast);
}

.section-cta { margin: 40px 0 0; }

.social-section,
.podcast-section {
  padding-block: 60px 70px;
}

.social-section { background: var(--base-3); }
.podcast-section { background: var(--base); border-top: 1px solid rgba(0,0,0,.06); }

.social-section .rich-text,
.podcast-section .rich-text {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--contrast-3);
}

.social-links,
.podcast-links {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.social-links li,
.podcast-links li { margin-bottom: 10px; }

.social-links a {
  color: var(--blue);
  text-decoration: underline;
}

.link-soon { color: var(--contrast-2); font-style: italic; }

.podcast-listen-label { margin: 28px 0 8px; color: var(--contrast-3); }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  margin-bottom: 24px;
}
.logo-row li { flex: 0 1 auto; }
.logo-row img { width: calc(var(--w, 200px) * .75); max-width: 100%; }  /* 25% smaller */

@media (max-width: 600px) {
  .logo-row img { width: calc(var(--w, 200px) * .75 * .7); }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: 80px 40px;
  background-color: rgb(23 33 60 / 0.35);
}

.site-footer-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/butterflies_1200px.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(23 33 60 / 0.62) 0%,
    rgb(23 33 60 / 0.55) 45%,
    rgb(64 87 161 / 0.5) 100%
  );
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer-cta .section-title { margin-bottom: 20px; }
.footer-cta p  { font-size: 17px; margin: 0 0 30px; }

.btn-light {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: var(--accent);
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.btn-light:hover { background: var(--contrast-3); color: #fff; }

.footer-col h4 { font-size: 20px; line-height: 1.4; margin-bottom: 30px; }
.footer-col li { margin-bottom: 5px; }
.footer-col ul a { font-size: 17px; text-decoration: none; }
.footer-col ul a:hover { text-decoration: underline; }

.footer-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.social { display: inline-flex; color: #ffffff; }
.social:hover { color: #abddf7; }
.social svg { width: 30px; height: 30px; }

.copyright { margin: 60px 0 0; font-size: 16px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 30;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--contrast-3); color: #fff;
  border-radius: 3px;
  font-size: 20px;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top svg { width: 1em; height: 1em; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Services page (full) ---------- */
.services-overview-band {
  padding: clamp(48px, 6vw, 72px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
  border-bottom: 1px solid rgb(37 40 61 / 0.08);
}

.services-overview-intro {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px);
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #f5f9fc 42%,
    rgb(171 221 247 / 0.35) 100%
  );
  border-radius: 6px;
  border-left: 5px solid #4057a1;
  box-shadow:
    0 4px 24px rgb(23 33 60 / 0.06),
    0 0 0 1px rgb(64 87 161 / 0.08);
  position: relative;
}

.services-overview-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.65;
  color: #25283d;
  letter-spacing: 0.01em;
}

.services-overview-lead::first-line {
  color: #17213c;
  font-size: 1.05em;
}

.service-split {
  max-width: none;
  margin-inline: 0;
}

.service-split--section {
  border-bottom: 1px solid rgb(37 40 61 / 0.06);
}

.service-split--alt .service-split-body {
  background: #ffffff;
}

.service-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.service-split-media {
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  background: var(--base-3);
}

.service-split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

/* Services listing: pre-cropped 645×280 assets, scaled to column width (full image on detail pages) */
.services-page .service-split-inner {
  align-items: stretch;
}

.services-page .service-split-media--listing {
  aspect-ratio: 645 / 280;
  min-height: 0;
  align-self: stretch;
  width: 100%;
  max-width: none;
}

.services-page .service-split-media--listing img {
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-split-body {
  padding: 90px 90px 100px;
  background: rgba(245, 243, 242, 0.5);
}

.service-split-body h3.service-heading-h3 {
  font-size: 28px;
  line-height: 1.35;
  color: var(--contrast-3);
  margin: 0 0 20px;
}

.services-page .rich-text {
  margin-bottom: 16px;
  color: var(--contrast);
  line-height: 1.7;
}

.service-more-wrap {
  margin: 32px 0 0;
}

.service-discover-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #4057a1;
  border-bottom: 2px solid #abddf7;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-discover-more:hover {
  color: #17213c;
  border-color: #4057a1;
}

.link-text {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 500;
}

.link-text:hover {
  text-decoration: underline;
}

.services-page .page-cta {
  padding-block: 50px 70px;
  background: var(--base);
}

.services-page .page-cta .section-title {
  margin-bottom: 16px;
}

.services-page .btn-primary {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border-radius: 2px;
  text-decoration: none;
}

.services-page .btn-primary:hover {
  background: #07638a;
}

/* ---------- Book Me page ---------- */
.book-me-page .book-me-intro-title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.35;
  color: #17213c;
}

.book-me-page .book-me-intro-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #25283d;
}

.book-me-page .book-me-intro-lead p {
  margin: 0 0 0.85em;
}

.book-me-page .book-me-intro-lead p:last-child {
  margin-bottom: 0;
}

.book-me-widget-section {
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px);
  background: #ffffff;
}

.book-me-widget-inner {
  max-width: 1100px;
}

.book-me-widget-mount {
  min-height: 720px;
  border-radius: 8px;
  border: 1px solid rgb(64 87 161 / 0.2);
  box-shadow: 0 8px 32px rgb(23 33 60 / 0.08);
  overflow: hidden;
  background: #f7f7f7;
}

.book-me-widget-mount iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

.book-me-widget-fallback {
  margin: 16px 0 0;
  font-size: 1rem;
  color: #25283d;
}

.book-me-widget-fallback a {
  color: #4057a1;
  font-weight: 700;
}

@media (max-width: 767px) {
  .book-me-widget-mount,
  .book-me-widget-mount iframe {
    min-height: 560px;
  }
}

/* ---------- Social Media page ---------- */
.social-splash-tagline {
  white-space: normal;
  max-width: 22ch;
  margin-inline: auto;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.8vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.social-splash-tagline u {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: #abddf7;
}

.social-intro-band {
  padding: clamp(48px, 6vw, 72px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f4fa 100%);
  border-bottom: 1px solid rgb(37 40 61 / 0.08);
  text-align: center;
}

.social-intro-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #25283d;
}

.social-resources {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgb(171 221 247 / 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 100%, rgb(64 87 161 / 0.12) 0%, transparent 50%),
    #ffffff;
}

.social-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}

.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 12px;
  border: 1px solid rgb(64 87 161 / 0.18);
  background: #ffffff;
  box-shadow: 0 8px 28px rgb(23 33 60 / 0.07);
  overflow: hidden;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4057a1, #abddf7);
}

.resource-card--tfa::before {
  background: linear-gradient(90deg, #17213c, #4057a1);
}

.resource-card--podcast::before {
  background: linear-gradient(90deg, #1db954, #4057a1);
}

.resource-card--wide {
  grid-column: 1 / -1;
}

.resource-card-badge {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4057a1;
  background: rgb(171 221 247 / 0.45);
  border-radius: 999px;
}

.resource-card-badge--accent {
  color: #17213c;
  background: rgb(64 87 161 / 0.12);
}

.resource-card-badge--podcast {
  color: #0d5c2e;
  background: rgb(29 185 84 / 0.15);
}

.resource-card-title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: #17213c;
}

.resource-card-handle {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4057a1;
}

.resource-card-body {
  flex: 1;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: #25283d;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #4057a1 0%, #17213c 100%);
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(64 87 161 / 0.35);
}

.resource-link-icon {
  display: flex;
}

.social-page .podcast-listen-label {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667780;
}

.listen-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listen-btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  border-radius: 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.listen-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.listen-btn--spotify { background: #1db954; }
.listen-btn--apple { background: #872ec4; }
.listen-btn--amazon { background: #25d1da; color: #17213c; }

@media (max-width: 800px) {
  .social-resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card--wide {
    grid-column: auto;
  }
}

/* ---------- Contact page ---------- */
.contact-splash-tagline {
  max-width: min(32ch, 92vw);
  margin-inline: auto;
}

.contact-main {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px);
  background: linear-gradient(180deg, #f5f4fa 0%, #ffffff 45%, #f5f4fa 100%);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #25283d;
}

.contact-form-hint {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #4057a1;
}

.contact-channels {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-channels li {
  display: flex;
  align-items: center;
  min-height: var(--contact-channel-height, 76px);
}

.contact-channels a {
  display: block;
  line-height: 0;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-channels a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(64 87 161 / 0.2);
}

/* Same display height for all banners — matches Instagram circle + label scale */
.contact-channels img {
  height: var(--contact-channel-height, 76px);
  width: auto;
  max-width: 100%;
}

.contact-quote {
  margin: 0;
  padding: 24px 24px 24px 20px;
  border: none;
  border-left: 4px solid #4057a1;
  border-radius: 0 8px 8px 0;
  background: #ffffff;
  box-shadow: 0 6px 24px rgb(23 33 60 / 0.08);
  position: relative;
}

.contact-quote-icon {
  width: 40px;
  height: 28px;
  fill: #4057a1;
  opacity: 0.35;
  margin-bottom: 8px;
}

.contact-quote p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #25283d;
}

.contact-quote cite {
  font-style: italic;
  font-size: 0.95rem;
  color: #667780;
}

.contact-form-panel {
  padding: clamp(16px, 2.5vw, 22px);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgb(64 87 161 / 0.2);
  box-shadow: 0 12px 40px rgb(23 33 60 / 0.1);
}

.contact-form .form-field {
  margin-bottom: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  color: #17213c;
}

.contact-form .required-mark {
  color: #db7965;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 7px 10px;
  color: #25283d;
  background: #f5f4fa;
  border: 1px solid rgb(37 40 61 / 0.2);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4057a1;
  background: #ffffff;
}

.contact-form input[aria-invalid="true"] {
  border-color: #b3261e;
}

.contact-form textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 120px;
}

.contact-form .field-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: #667780;
  text-align: right;
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
  padding: 9px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4057a1 0%, #17213c 100%);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.contact-form .form-status {
  margin: 8px 0 0;
  font-size: 14px;
  min-height: 1.4em;
}

.contact-form .form-status.is-success {
  color: #1e7b3a;
}

.contact-form .form-status.is-error {
  color: #b3261e;
}

@media (max-width: 960px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    max-width: 520px;
  }
}

/* ---------- My Clients page ---------- */
.my-clients-section {
  padding-block: clamp(56px, 7vw, 88px);
}

.my-clients-section .section-title {
  margin-bottom: clamp(16px, 3vw, 24px);
}

.my-clients-section-lead {
  max-width: 42rem;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #25283d;
}

.my-clients-testimonials {
  background: #ffffff;
}

.my-clients-schools {
  background: linear-gradient(180deg, #f5f4fa 0%, #ffffff 100%);
}

.my-clients-individuals {
  background: #17213c;
  color: #f5f4fa;
}

.my-clients-club-teams {
  background: #4057a1;
  background: linear-gradient(165deg, #3a5090 0%, #4057a1 50%, #5270c0 100%);
  color: #f5f4fa;
}

.my-clients-individuals .section-title--on-dark::after,
.my-clients-club-teams .section-title--on-dark::after {
  background: linear-gradient(90deg, #abddf7, #ffffff);
}

.my-clients-individuals-intro {
  max-width: 40rem;
  margin: 0 auto 12px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f5f4fa;
}

.my-clients-confidentiality {
  margin: 0 auto 32px;
  max-width: 36rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgb(245 244 250 / 0.85);
}

.testimonial-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: start;
}

.testimonial-card {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f4fa;
  box-shadow: 0 10px 32px rgb(23 33 60 / 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card--offset {
  margin-top: clamp(0px, 3vw, 28px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(64 87 161 / 0.22);
}

.testimonial-card img {
  width: 100%;
  height: auto;
  display: block;
}

.client-logo-collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(88px, auto);
  grid-auto-flow: dense;
  gap: clamp(12px, 2vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1100px;
  margin-inline: auto;
}

.client-logo-piece {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgb(64 87 161 / 0.12);
  box-shadow: 0 6px 20px rgb(23 33 60 / 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 88px;
}

.client-logo-piece:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgb(64 87 161 / 0.16);
}

.client-logo-piece img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.client-logo-piece--sm {
  grid-column: span 1;
  aspect-ratio: 1;
}

.client-logo-piece--md {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.client-logo-piece--landscape {
  grid-column: span 2;
  aspect-ratio: 2.1 / 1;
}

.client-logo-piece--wide {
  grid-column: span 3;
  aspect-ratio: 2.4 / 1;
}

.client-logo-piece--tall {
  grid-column: span 1;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.client-logo-piece--xl {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
  padding: clamp(16px, 2.5vw, 28px);
}

.client-logo-piece--xl img,
.client-logo-piece--tall img {
  max-height: min(220px, 100%);
}

.individual-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 12px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 920px;
  margin-inline: auto;
}

.individual-client-chip {
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  color: #17213c;
  background: linear-gradient(135deg, #abddf7 0%, #ffffff 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
  transition: transform 0.2s ease;
}

.individual-client-chip:nth-child(3n + 2) {
  background: linear-gradient(135deg, #ffffff 0%, #abddf7 100%);
}

.individual-client-chip:hover {
  transform: translateY(-2px);
}

.individual-club-group {
  max-width: 920px;
  margin: 0 auto 40px;
}

.my-clients-individuals-intro + .individual-club-group {
  margin-top: 28px;
}

.individual-club-group:last-child {
  margin-bottom: 0;
}

.individual-club-heading {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: #abddf7;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Short team names (13-1, 14R): small chips, many per row */
.individual-client-grid--compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.individual-client-grid--compact .individual-client-chip {
  padding: 8px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Long athlete descriptions: larger chips, two per row */
.individual-client-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.individual-client-grid--wide .individual-client-chip {
  padding: 14px 24px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .testimonial-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card--offset {
    margin-top: 0;
  }

  .testimonial-card:nth-child(even) {
    margin-top: 18px;
  }

  .client-logo-collage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .client-logo-piece--wide {
    grid-column: span 4;
  }

  .client-logo-piece--xl {
    grid-column: span 2;
    grid-row: span 2;
  }

  .client-logo-piece--landscape,
  .client-logo-piece--md {
    grid-column: span 2;
  }

  .client-logo-piece--tall {
    grid-row: span 1;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 520px) {
  .testimonial-mosaic {
    grid-template-columns: 1fr;
  }

  .testimonial-card:nth-child(even) {
    margin-top: 0;
  }

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

  .client-logo-piece--wide,
  .client-logo-piece--landscape,
  .client-logo-piece--md,
  .client-logo-piece--xl {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2 / 1;
  }

  .client-logo-piece--tall {
    aspect-ratio: 1;
  }
}

/* ---------- Services confidentiality ---------- */
.services-confidentiality-section {
  padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 80px);
  background: #ffffff;
  border-top: 1px solid rgb(37 40 61 / 0.08);
}

.services-confidentiality-inner {
  max-width: 920px;
  margin-inline: auto;
}

.services-confidentiality-section .section-title {
  margin-bottom: clamp(24px, 4vw, 32px);
}

.services-confidentiality-panel {
  padding: clamp(24px, 4vw, 36px) clamp(24px, 4vw, 40px);
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #f5f9fc 42%,
    rgb(171 221 247 / 0.35) 100%
  );
  border-radius: 6px;
  border-left: 5px solid #4057a1;
  box-shadow:
    0 4px 24px rgb(23 33 60 / 0.06),
    0 0 0 1px rgb(64 87 161 / 0.08);
}

.services-confidentiality-subtitle {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: #17213c;
}

.services-confidentiality-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #25283d;
}

.services-confidentiality-body p {
  margin: 0 0 1.15em;
}

.services-confidentiality-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Services FAQ accordion ---------- */
.services-page .faq-section {
  padding-block: 56px 72px;
  background: #f5f4fa;
  border-top: 1px solid rgb(37 40 61 / 0.08);
}

.services-page .faq-inner {
  max-width: 760px;
}

.services-page .faq-section .section-title {
  margin-bottom: 32px;
}

.services-page .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-page .faq-item {
  border: 1px solid rgb(64 87 161 / 0.28);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgb(37 40 61 / 0.06);
  overflow: hidden;
}

.services-page .faq-item.is-open {
  border-color: #4057a1;
  box-shadow: 0 4px 20px rgb(64 87 161 / 0.12);
}

.services-page .faq-question-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.services-page .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #25283d;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.services-page .faq-question:hover {
  background: rgb(171 221 247 / 0.25);
  color: #17213c;
}

.services-page .faq-question:focus-visible {
  outline: 3px solid #4057a1;
  outline-offset: -3px;
}

.services-page .faq-item.is-open .faq-question {
  color: #4057a1;
  background: rgb(64 87 161 / 0.06);
}

.services-page .faq-question-text {
  flex: 1;
  min-width: 0;
}

.services-page .faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.services-page .faq-icon::before,
.services-page .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #4057a1;
  border-radius: 1px;
  transition: transform 0.25s ease;
}

.services-page .faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.services-page .faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.services-page .faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.services-page .faq-answer {
  padding: 0 20px 18px;
  color: #25283d;
  font-size: 1rem;
  line-height: 1.65;
  border-top: 1px solid transparent;
}

.services-page .faq-item.is-open .faq-answer {
  border-top-color: rgb(64 87 161 / 0.15);
  padding-top: 14px;
}

.services-page .faq-answer p {
  margin: 0;
}

.services-page .faq-answer ul {
  margin: 0;
  padding-left: 1.25rem;
}

.services-page .faq-answer li + li {
  margin-top: 0.3rem;
}

.services-page .faq-answer p + p,
.services-page .faq-answer p + ul,
.services-page .faq-answer ul + p {
  margin-top: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .services-page .faq-question,
  .services-page .faq-icon::before,
  .services-page .faq-icon::after {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .service-split-inner {
    grid-template-columns: 1fr;
  }

  .service-split--image-right .service-split-media {
    order: -1;
  }

  .service-split-body {
    padding: 80px 20px;
  }

  .services-page .service-split-media:not(.service-split-media--listing) {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .services-page .service-split-media:not(.service-split-media--listing) {
    min-height: 300px;
  }

  .services-overview-intro {
    padding-inline: 22px;
  }

  .service-split-body {
    padding: 80px 20px;
  }
}

/* ---------- Service detail subpages ---------- */
.service-detail-panel {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 3vw, 24px);
  background: #ffffff;
}

.service-detail-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
  max-width: 1180px;
  margin-inline: auto;
  align-items: start;
}

@media (min-width: 900px) {
  .service-detail-split {
    grid-template-columns: minmax(0, 645px) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }
}

.service-detail-media {
  margin: 0;
  overflow: hidden;
  background: #f5f4fa;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgb(23 33 60 / 0.08);
}

.service-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Team Sessions: three-photo collage in place of the single image */
.service-detail-media--collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  background: none;
  box-shadow: none;
}

.service-detail-media--collage img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgb(23 33 60 / 0.08);
}

.service-detail-media--collage .collage-wide {
  grid-column: 1 / -1;
  aspect-ratio: 8 / 5;
}

.service-detail-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  padding-block: clamp(0px, 2vw, 12px);
}

.service-detail-description .rich-text {
  margin-bottom: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  color: #25283d;
}

.service-detail-description .rich-text:last-child {
  margin-bottom: 0;
}

.service-detail-card {
  position: relative;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 4vw, 40px);
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #f5f9fc 42%,
    rgb(171 221 247 / 0.35) 100%
  );
  border-radius: 6px;
  border-left: 5px solid #4057a1;
  box-shadow:
    0 4px 24px rgb(23 33 60 / 0.06),
    0 0 0 1px rgb(64 87 161 / 0.08);
}

.service-detail-card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  line-height: 1.35;
  color: #17213c;
}

.service-detail-card .rich-text {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: #25283d;
}

.service-detail-card-action {
  position: relative;
  z-index: 1;
  margin: 0;
}

.service-detail-card-action + .service-detail-card-action {
  margin-top: 12px;
}

.service-detail-card-action .btn-primary {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #17213c;
  background: #abddf7;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-detail-card-action .btn-primary:hover {
  background: #4057a1;
  color: #ffffff;
}

.service-detail-back {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 0.9375rem;
}

.service-detail-back a {
  color: #4057a1;
  text-decoration: none;
  font-weight: 600;
}

.service-detail-back a:hover {
  text-decoration: underline;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
