/* ─────────────────────────────────────────────────────────────────
   MINDWORKS COUNSELLING — THERAPIST PROFILE
   Shares tokens & conventions from style.css.
   No redeclaration of :root, *, html, body, h1–h3, or .reveal.
───────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────
   BACK LINK
───────────────────────────────────────────────────────────────── */
.profile-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted); text-decoration: none;
  padding: 1.5rem 2.5rem 0;
  transition: color 0.2s, gap 0.2s;
  position: relative; z-index: 1;
}
.profile-back:hover { color: var(--teal); gap: 0.75rem; }
.profile-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.profile-back:hover svg { transform: translateX(-2px); }

/* ─────────────────────────────────────────────────────────────────
   PROFILE HERO
───────────────────────────────────────────────────────────────── */
.profile-hero {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 4rem; align-items: start;
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  border-bottom: 1px solid var(--border);
}

/* Portrait */
.profile-portrait {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(160deg, hsl(176,28%,68%), hsl(160,25%,58%));
  box-shadow: var(--shadow-soft);
}
.profile-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-portrait-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 5rem; font-style: italic;
  color: rgba(255,255,255,0.5); letter-spacing: -0.04em;
}

/* Tags beneath portrait */
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.profile-tag {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--teal-20); border-radius: var(--radius-btn);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--teal); background: var(--teal-soft);
}

/* Right column */
.profile-right { padding-top: 0.25rem; }
.profile-eyebrow { margin-bottom: 1.5rem; }

.profile-name {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400; line-height: 1.02;
  letter-spacing: -0.03em; color: var(--ink);
  margin-top: 0.4rem; margin-bottom: 0.35rem;
}
.profile-role        { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.2rem; }
.profile-credentials { font-size: 0.78rem; color: var(--muted); margin-bottom: 2rem; }
.profile-tagline {
  font-family: var(--display); font-size: 1.3rem;
  font-style: italic; font-weight: 300;
  color: var(--teal); line-height: 1.4; margin-bottom: 2rem;
}

/* Meta grid — same 1px-gap-on-border trick as .approach-right / .profile-meta */
.profile-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 1.1rem;
  overflow: hidden; margin-bottom: 2rem;
}
.profile-meta-item { background: var(--card); padding: 0.9rem 1.1rem; transition: background 0.2s; }
.profile-meta-item:hover { background: #fff; }
.profile-meta-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.profile-meta-value { font-size: 0.88rem; font-weight: 500; color: var(--ink); }

.profile-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────────
   PROFILE BODY (sectioned content)
───────────────────────────────────────────────────────────────── */
.profile-body { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem 5rem; }

.profile-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 2fr 10fr;
  gap: 4rem; align-items: start;
}
.profile-section-label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding-top: 0.4rem;
  position: sticky; top: 5rem;
  /* matches .eyebrow convention */
  display: flex; flex-direction: column; gap: 0.75rem;
}
.profile-section-label::after {
  content: ''; display: block;
  width: 22px; height: 1px; background: var(--teal);
}

.profile-section h2 {
  font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 400; font-style: italic;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 1.25rem; line-height: 1.2;
}
.profile-section p {
  font-size: 0.95rem; line-height: 1.8; color: var(--muted);
  margin-bottom: 1rem; font-weight: 300;
}
.profile-section p:last-child { margin-bottom: 0; }

/* ── Specialty list — pill tags */
.specialty-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.specialty-list li {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--radius-btn);
  font-size: 0.82rem; color: var(--ink); background: var(--card);
  transition: border-color 0.2s, background 0.2s, color 0.2s; cursor: default;
}
.specialty-list li:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }

/* ── Education list */
.edu-list { list-style: none; }
.edu-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--ink); line-height: 1.55;
}
.edu-list li:last-child { border-bottom: none; }
.edu-list li::before { content: '—'; color: var(--teal); flex-shrink: 0; margin-top: 0.15rem; }

/* ─────────────────────────────────────────────────────────────────
   FAQ / ACCORDION
   Same pattern as bento/approach cards — dark ink hover, reveal twist
───────────────────────────────────────────────────────────────── */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1.5rem; padding: 1.25rem 1.5rem;
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  cursor: pointer; user-select: none;
  background: var(--card); transition: background 0.2s, color 0.2s;
}
.faq-q:hover { background: var(--ink); color: var(--cream); }
.faq-q svg {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2;
  margin-top: 0.15rem; transition: transform 0.25s ease;
}
.faq-item.open .faq-q { background: var(--ink); color: var(--cream); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  font-size: 0.88rem; color: var(--muted); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 1.25rem 1.5rem; }

/* ─────────────────────────────────────────────────────────────────
   AVAILABILITY / BOOKING CARD
   Floats beside or below content — uses --shadow-card token
───────────────────────────────────────────────────────────────── */
.booking-card {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--card); box-shadow: var(--shadow-card);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.booking-card-title {
  font-family: var(--display); font-size: 1.1rem; font-weight: 400;
  font-style: italic; letter-spacing: -0.02em; color: var(--ink);
}
.booking-slots { display: flex; flex-direction: column; gap: 0.5rem; }
.booking-slot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border); border-radius: 0.75rem;
  font-size: 0.8rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.booking-slot:hover { border-color: var(--teal-20); background: var(--teal-soft); }
.booking-slot-time { font-weight: 500; }
.booking-slot-avail { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }
.booking-slot-avail.open { color: var(--teal); }

/* ─────────────────────────────────────────────────────────────────
   APPROACH / MODALITIES
   Mirrors .approach-right grid from style.css
───────────────────────────────────────────────────────────────── */
.modalities-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden;
}
.modality-card { background: var(--card); padding: 1.75rem; transition: background 0.2s; cursor: default; }
.modality-card:hover { background: var(--ink); }
.modality-card:hover .mc-title { color: var(--cream); }
.modality-card:hover .mc-body  { color: rgba(247,246,242,0.45); }
.mc-num   { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; transition: color 0.2s; }
.modality-card:hover .mc-num { color: rgba(247,246,242,0.3); }
.mc-title { font-family: var(--display); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); margin-bottom: 0.6rem; transition: color 0.2s; }
.mc-body  { font-size: 0.8rem; line-height: 1.65; color: var(--muted); transition: color 0.2s; }

/* ─────────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.testimonial-card {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--card); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-card); transition: border-color 0.2s, transform 0.2s;
}
.testimonial-card:hover { border-color: var(--teal-20); transform: translateY(-3px); }
.testimonial-stars { display: flex; gap: 0.2rem; }
.testimonial-stars span { color: var(--teal); font-size: 0.75rem; }
.testimonial-quote {
  font-family: var(--display); font-size: 1rem; font-weight: 300; font-style: italic;
  line-height: 1.65; color: var(--ink); letter-spacing: -0.01em;
}
.testimonial-quote::before { content: '\201C'; color: var(--teal); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-right: 0.1em; }
.testimonial-quote::after  { content: '\201D'; color: var(--teal); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-left: 0.1em; }
.testimonial-author { display: flex; align-items: center; gap: 0.6rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.testimonial-avatar {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--teal-soft); border: 1px solid var(--teal-20);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.75rem; font-style: italic; color: var(--teal); flex-shrink: 0;
}
.testimonial-author-name { font-size: 0.78rem; font-weight: 500; color: var(--ink); }
.testimonial-author-label { font-size: 0.68rem; color: var(--muted); }

/* ─────────────────────────────────────────────────────────────────
   PROFILE FOOTER CTA
   Matches .footer-cta dark section from style.css but in --teal bg
───────────────────────────────────────────────────────────────── */
.profile-footer-cta {
  background: var(--teal);
  padding: 7rem 2.5rem 6rem;
  text-align: center; position: relative; overflow: hidden;
}
.pfc-bg {
  position: absolute; bottom: -4rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display); font-size: 17vw;
  font-style: italic; font-weight: 400;
  color: rgba(247,246,242,0.06);
  white-space: nowrap; pointer-events: none;
  letter-spacing: -0.04em; line-height: 1;
}
.pfc-eyebrow {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247,246,242,0.35); margin-bottom: 1.5rem;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.pfc-eyebrow .eyebrow-line { background: rgba(247,246,242,0.35); }
.pfc-h {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; font-style: italic;
  color: var(--cream); margin-bottom: 0.5rem;
  line-height: 1.05; letter-spacing: -0.03em;
  position: relative; z-index: 1;
}
.pfc-h em { color: var(--teal-soft); font-style: italic; }
.pfc-sub {
  font-size: 0.95rem; font-weight: 300;
  color: rgba(247,246,242,0.45); line-height: 1.7;
  margin-bottom: 2.5rem; position: relative; z-index: 1;
}
.pfc-actions { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .profile-back       { padding: 1.25rem 1.25rem 0; }
  .profile-hero       { grid-template-columns: 1fr; padding: 2rem 1.25rem 3rem; gap: 2rem; }
  .profile-portrait   { max-width: 280px; aspect-ratio: 4/3; }
  .profile-body       { padding: 0 1.25rem 3rem; }
  .profile-section    { grid-template-columns: 1fr; gap: 0.75rem; padding: 2.5rem 0; }
  .profile-section-label { position: static; flex-direction: row; align-items: center; }
  .profile-section-label::after { display: none; }
  .modalities-grid    { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .profile-footer-cta { padding: 5rem 1.25rem; }
  .pfc-actions        { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .faq-q  { padding: 1rem 1.25rem; }
  .faq-a  { padding: 0 1.25rem; }
  .faq-item.open .faq-a { padding: 1rem 1.25rem; }
  .booking-card { padding: 1.25rem; }
  .testimonial-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .profile-meta  { grid-template-columns: 1fr; }
  .profile-cta   { flex-direction: column; }
  .pfc-actions   { flex-direction: column; align-items: center; }
  .modalities-grid { grid-template-columns: 1fr; }
}
