/* =========================================================
   IMS — Innovative Movement Solutions
   Site-wide stylesheet
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --blue: #2A85BE;
  --blue-deep: #1F6A99;
  --blue-ink: #174E70;          /* AA-safe blue for body text on cream */
  --cream: #FAF7F2;
  --cream-soft: #EFE9DF;
  --charcoal: #2B2723;
  --charcoal-soft: #4A433D;
  --line: #E4DDD1;
  --white: #FFFFFF;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale (mobile-first) */
  --t-eyebrow: 0.78rem;
  --t-body: 1.0625rem;          /* 17px */
  --t-lead: 1.1875rem;          /* 19px */
  --t-h4: 1.125rem;
  --t-h3: 1.5rem;
  --t-h2: 2rem;
  --t-h1: 2.75rem;
  --t-display: 3.5rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 820px;
  --gutter: 1.25rem;

  /* Radius / motion */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
    --t-h3: 1.75rem;
    --t-h2: 2.5rem;
    --t-h1: 3.5rem;
    --t-display: 5rem;
  }
}

@media (min-width: 1100px) {
  :root {
    --gutter: 2.5rem;
    --t-h1: 4rem;
    --t-display: 6rem;
  }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-ink); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue); }

button { font: inherit; cursor: pointer; }

::selection { background: var(--blue); color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin: 0 0 var(--s-4);
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--t-h4); letter-spacing: -0.01em; font-family: var(--body); font-weight: 600; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--charcoal-soft);
}

.eyebrow {
  font-family: var(--body);
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--blue-ink);
  margin: 0 0 var(--s-5);
  display: inline-block;
}

.serif-italic { font-family: var(--display); font-style: italic; font-weight: 400; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-8) 0;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section {
  padding: var(--s-8) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--s-9) 0; }
}
@media (min-width: 1100px) {
  .section { padding: var(--s-10) 0; }
}

.section--tight { padding: var(--s-7) 0; }
.section--bleed { padding: 0; }

.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }
.bg-ink { background: var(--charcoal); color: var(--cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--cream); }
.bg-ink .lead { color: rgba(250, 247, 242, 0.78); }
.bg-ink .eyebrow { color: rgba(250, 247, 242, 0.7); }

.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4 { color: var(--white); }
.bg-blue .lead { color: rgba(255, 255, 255, 0.9); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: all 0.22s var(--ease);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn--text {
  padding: 0;
  background: none;
  border: 0;
  color: var(--blue-ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--blue-ink);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn--text:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(228, 221, 209, 0.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0.85rem var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: none;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__links a {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--blue-ink); }
.nav__links a.active { color: var(--blue-ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  margin-left: var(--s-3);
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.25s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: var(--s-5) var(--gutter) var(--s-6);
  background: var(--cream);
}
.nav.is-open .nav__mobile { display: block; }
.nav__mobile ul {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.nav__mobile a {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.nav__mobile a:hover { color: var(--blue-ink); }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { min-height: 92vh; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 18, 16, 0.35) 0%,
    rgba(20, 18, 16, 0.45) 45%,
    rgba(20, 18, 16, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--s-8) 0 var(--s-7);
  width: 100%;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--s-5);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-5);
  max-width: 18ch;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--t-lead);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: var(--s-6);
}

/* Subhero hero (used on non-home pages) */
.subhero {
  padding: var(--s-8) 0 var(--s-7);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .subhero { padding: var(--s-9) 0 var(--s-8); }
}
.subhero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: var(--s-5);
}
.subhero__lead {
  font-size: var(--t-lead);
  color: var(--charcoal-soft);
  max-width: 60ch;
  line-height: 1.55;
}

/* ---------- Credential bar ---------- */
.credbar {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--s-5) 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.credbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
}
.credbar__inner > span {
  display: inline-flex;
  align-items: center;
}
.credbar__inner > span + span::before {
  content: "·";
  margin-right: 2rem;
  color: rgba(250, 247, 242, 0.4);
  display: none;
}
@media (min-width: 768px) {
  .credbar { padding: var(--s-4) 0; font-size: 0.78rem; }
  .credbar__inner > span + span::before { display: inline; }
  .credbar__inner { gap: 0; flex-wrap: nowrap; }
}

/* ---------- Section heading patterns ---------- */
.section-head {
  margin-bottom: var(--s-7);
  max-width: 60ch;
}
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Problem section ---------- */
.problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
@media (min-width: 768px) {
  .problems { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
}
.problem {
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.problem__num {
  font-family: var(--display);
  font-style: italic;
  color: var(--blue-ink);
  font-size: 1rem;
  display: block;
  margin-bottom: var(--s-3);
}
.problem h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.problem p { color: var(--charcoal-soft); margin: 0; }

/* ---------- Method steps ---------- */
.method {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
  counter-reset: step;
}
@media (min-width: 700px) {
  .method { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .method { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
}

.method__step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--s-6);
  border-radius: var(--r-md);
  position: relative;
  counter-increment: step;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.method__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(43, 39, 35, 0.18);
}
.method__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--s-5);
}
.method__step h3 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-3);
}
.method__step p { color: var(--charcoal-soft); margin: 0; font-size: 0.97rem; }

/* ---------- Services grid (3 tiles) ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgba(43, 39, 35, 0.22);
  color: var(--charcoal);
}
.service-card__icon {
  padding: var(--s-6) var(--s-6) 0;
}
.service-card__icon svg {
  width: 36px;
  height: 36px;
  color: var(--blue-ink);
}
.service-card__body {
  padding: var(--s-5) var(--s-6) var(--s-6);
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.service-card p {
  color: var(--charcoal-soft);
  margin-bottom: var(--s-5);
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.service-card__cta::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.service-card:hover .service-card__cta::after { transform: translateX(4px); }

/* ---------- Recovery band ---------- */
.recovery-band {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 900px) {
  .recovery-band {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 540px;
  }
}
.recovery-band__media {
  position: relative;
  min-height: 320px;
}
.recovery-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recovery-band__content {
  padding: var(--s-8) var(--gutter);
}
@media (min-width: 900px) {
  .recovery-band__content {
    padding: var(--s-9) var(--s-9) var(--s-9) var(--s-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.recovery-band__content .eyebrow { color: rgba(250, 247, 242, 0.65); }
.recovery-band__content h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: var(--s-4);
}
.recovery-band__content p {
  color: rgba(250, 247, 242, 0.82);
  font-size: var(--t-lead);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: var(--s-5);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 800px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}

.testimonial {
  background: var(--cream);
  padding: var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.testimonial__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--charcoal);
  margin: 0 0 var(--s-5);
  flex-grow: 1;
}
.testimonial__quote::before {
  content: "\201C";
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.2em;
  color: var(--blue-ink);
  margin-right: 0.1em;
}
.testimonial__attr {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.testimonial__outcome {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.01em;
}

/* ---------- Who-it's-for cards ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
@media (min-width: 700px) {
  .audience { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .audience { grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
}
.aud-card {
  padding: var(--s-5);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.aud-card:hover {
  background: var(--white);
  border-color: var(--blue);
}
.aud-card__num {
  font-family: var(--display);
  font-style: italic;
  color: var(--blue-ink);
  font-size: 0.9rem;
  display: block;
  margin-bottom: var(--s-3);
}
.aud-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
}

/* ---------- Meet Jason ---------- */
.meet {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .meet { grid-template-columns: 5fr 6fr; gap: var(--s-8); }
}
.meet__media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-soft);
}
.meet__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.meet h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}
.meet__creds {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.meet__creds li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-radius: var(--r-sm);
}

/* ---------- Memberships ---------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
}

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier--featured {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.tier--featured h3, .tier--featured .tier__price { color: var(--cream); }
.tier--featured .tier__features li { color: rgba(250, 247, 242, 0.86); }
.tier--featured .tier__features li::before { color: var(--blue); }

.tier__flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  background: rgba(42, 133, 190, 0.12);
  padding: 0.3rem 0.55rem;
  border-radius: var(--r-sm);
}
.tier--featured .tier__flag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.tier__name {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-ink);
  margin: 0 0 var(--s-2);
}
.tier--featured .tier__name { color: var(--blue); }

.tier h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}
.tier__price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.tier__price small {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  letter-spacing: 0;
  margin-left: 0.25rem;
}
.tier--featured .tier__price small { color: rgba(250, 247, 242, 0.65); }

.tier__per {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin: var(--s-2) 0 var(--s-5);
}
.tier--featured .tier__per { color: rgba(250, 247, 242, 0.7); }

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  flex-grow: 1;
}
.tier__features li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  border-top: 1px solid var(--line);
}
.tier__features li:first-child { border-top: 0; }
.tier--featured .tier__features li { border-color: rgba(250, 247, 242, 0.12); }
.tier__features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue-ink);
  font-weight: 600;
}

/* ---------- Packages table ---------- */
.packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
@media (min-width: 700px) {
  .packages { grid-template-columns: repeat(3, 1fr); }
}
.package {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: var(--s-5);
  border-radius: var(--r-md);
}
.package__qty {
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.package__qty small {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  margin-left: 0.25rem;
}
.package__rate {
  font-size: 0.95rem;
  color: var(--blue-ink);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.package__note {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  margin: 0;
}

/* ---------- Feature list (used on Recovery Room, Coaching) ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0;
}
.feature-list li {
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--blue-ink);
  letter-spacing: -0.005em;
  min-width: 9rem;
}
.feature-list li span {
  color: var(--charcoal-soft);
}

/* ---------- Two-column prose ---------- */
.prose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .prose-grid { grid-template-columns: 5fr 7fr; gap: var(--s-8); }
}
.prose p { margin-bottom: var(--s-4); }
.prose ul {
  margin: var(--s-4) 0;
  padding: 0;
  list-style: none;
}
.prose ul li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--charcoal-soft);
  border-top: 1px solid var(--line);
}
.prose ul li:last-child { border-bottom: 1px solid var(--line); }
.prose ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue-ink);
  font-weight: 600;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: var(--s-9) 0;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band { padding: var(--s-10) 0; }
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  max-width: 22ch;
  margin: 0 auto var(--s-4);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--t-lead);
  max-width: 52ch;
  margin: 0 auto var(--s-6);
}

/* ---------- Lead capture form ---------- */
.lead-capture {
  background: var(--cream-soft);
  padding: var(--s-7) 0;
}
.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 800px) {
  .lead-form { grid-template-columns: 5fr 4fr; gap: var(--s-7); }
}
.lead-form__text .eyebrow { color: var(--blue-ink); }
.lead-form__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s-3);
}
.lead-form__text p {
  color: var(--charcoal-soft);
  font-size: 0.97rem;
  margin: 0;
}
.lead-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.lead-form input[type="email"],
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-sm);
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease);
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: 0;
  border-color: var(--blue);
}
.lead-form__note {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  margin-top: 0.25rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(250, 247, 242, 0.85);
  padding: var(--s-8) 0 var(--s-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7); }
}
.footer img.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--s-4);
}
.footer__tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(250, 247, 242, 0.78);
  max-width: 30ch;
  margin: 0;
}
.footer h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--s-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer a {
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.95rem;
}
.footer a:hover { color: var(--white); }

.footer__contact p { color: rgba(250, 247, 242, 0.7); font-size: 0.95rem; margin-bottom: 0.4rem; }
.footer__contact strong { color: var(--cream); font-weight: 500; }

.footer__bottom {
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.55);
  margin: 0;
  max-width: 80ch;
  line-height: 1.5;
}
.footer__bottom .legal {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.55);
}

/* ---------- Photo strips / image blocks ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 700px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: var(--s-4);
  color: var(--charcoal-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Page nav (breadcrumbs / contextual) ---------- */
.page-nav {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--charcoal-soft);
  margin-bottom: var(--s-5);
  text-transform: uppercase;
}
.page-nav a { color: var(--charcoal-soft); }
.page-nav a:hover { color: var(--blue-ink); }
.page-nav span { margin: 0 0.5rem; opacity: 0.5; }

/* ---------- Booking page ---------- */
.booking-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  min-height: 540px;
}
.booking-frame iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
}
.booking-fallback {
  text-align: center;
  padding: var(--s-7) var(--s-4);
}
.booking-fallback p {
  color: var(--charcoal-soft);
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 4fr; gap: var(--s-8); }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--charcoal-soft);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-sm);
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--blue);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-info > div {
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.contact-info > div:last-child { border-bottom: 0; }
.contact-info h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--blue-ink);
  margin-bottom: var(--s-3);
}
.contact-info p { color: var(--charcoal-soft); margin-bottom: 0.3rem; }
.contact-info p strong { color: var(--charcoal); font-weight: 500; }

.map-frame {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: var(--s-5);
}
.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ---------- Misc utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1rem;
  z-index: 1000;
}
.skip:focus { left: 0; }

/* Reveal-on-scroll (used minimally) */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Print */
@media print {
  .nav, .cta-band, .lead-capture, .footer__bottom { display: none; }
}
