/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Outfit:wght@300;400;500&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: #f5f0e4;
  color: #2a2520;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #3e3060;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  font-size: 13px;
}
.skip-link:focus { top: 0; }

/* ===== WRAPPER ===== */
.t3-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-left: 1px solid #ddd5be;
  border-right: 1px solid #ddd5be;
  background: #f5f0e4;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== NAVIGATION ===== */
.t3-nav {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  padding: 12px 32px;
  background: #f5f0e4;
  border-bottom: 1px solid #ddd5be;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}
.t3-logo {
  font-family: 'EB Garamond', serif;
  font-size: 19px;
  color: #3e3060;
}
.t3-logo em { font-style: italic; }
.t3-links { display: flex; align-items: center; }
.t3-links a {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5e507a;
  padding: 15px 8px;
  font-weight: 400;
  transition: color 0.2s ease;
  text-align: center;
}
.t3-links a:hover,
.t3-links a:focus-visible { color: #9080b0; }
.t3-links a.active {
  color: #3e3060;
  border-bottom: 2px solid #7060a0;
  padding-bottom: 13px;
}

/* Talk to Libby highlight bubble */
.t3-nav-highlight {
  background: #b69bd9;
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 16px !important;
}
.t3-nav-highlight:hover,
.t3-nav-highlight:focus-visible {
  background: #a080c8;
  color: #fff !important;
}

/* Contact page nav bubble */
.t3-nav-contact-highlight {
  background: #02535B;
  color: #fff !important;
  border-radius: 20px;
  padding: 8px 16px !important;
}
.t3-nav-contact-highlight:hover,
.t3-nav-contact-highlight:focus-visible {
  background: #013d42;
  color: #fff !important;
}

/* Mobile nav toggle */
.t3-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.t3-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #3e3060;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.t3-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.t3-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.t3-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== COMMON TYPOGRAPHY ===== */
.t3-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a9a60;
  margin-bottom: 12px;
}
.t3-h1 {
  font-family: 'EB Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.12;
  color: #2a1e3c;
  margin-bottom: 22px;
}
.t3-h1 em { font-style: italic; color: #8070b0; }
.t3-h2 {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: #2a1e3c;
  margin-bottom: 6px;
  font-weight: 400;
}
.t3-h2 em { font-style: italic; color: #8070b0; }
.t3-lead {
  font-size: 13.5px;
  color: #5a5248;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 300;
}
.t3-sub {
  font-size: 13.5px;
  line-height: 1.8;
  color: #5a5248;
  max-width: 380px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* ===== BADGES ===== */
.t3-badge-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.t3-badge {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #9080b0;
  color: #7060a0;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}
.t3-badge-green { border-color: #7a9a60; color: #5e7e48; }

/* ===== BUTTONS ===== */
.t3-btn-main {
  background: #7060a0;
  color: #f8f4ff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 400;
  display: inline-block;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.t3-btn-main:hover,
.t3-btn-main:focus-visible { background: #5e4e8e; transform: translateY(-1px); }
.t3-btn-link {
  font-size: 12px;
  color: #7060a0;
  border-bottom: 1px solid #b0a0d0;
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
.t3-btn-link:hover,
.t3-btn-link:focus-visible { color: #5e4e8e; }
.t3-cta-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ===== SECTION BASE ===== */
.t3-section {
  padding: 52px 48px;
  flex: 1;
}

/* ===== PAGE HEADER BAR ===== */
.t3-page-header {
  background: linear-gradient(150deg, #f0ede0 0%, #e8f0e0 35%, #ede4f5 70%, #f0ede0 100%);
  padding: 28px 48px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #ddd5be;
}

/* ===== HERO (index only) ===== */
.t3-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
}
.t3-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #f0ede0 0%, #e8f0e0 35%, #ede4f5 70%, #f0ede0 100%);
}
.t3-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
}
.t3-hero-text { padding: 60px 48px; flex: 1; }
.t3-iris-panel { width: 340px; min-width: 340px; position: relative; overflow: hidden; -webkit-flex-shrink: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 20px 44px 20px 20px; }
.t3-iris-panel img { width: 340px; height: 360px; -o-object-fit: cover; object-fit: cover; display: block; border-radius: 10px; }

/* ===== FEATURES BAR ===== */
.t3-features { display: flex; background: #3e3060; }
.t3-feat {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.t3-feat:last-child { border-right: none; }
.t3-feat-label { font-size: 11px; color: #d8d0f0; letter-spacing: 0.06em; }
.t3-feat-sub { font-size: 10px; color: #9088b0; margin-top: 3px; }

/* ===== SPECIALTIES GRID ===== */
.t3-specialties { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.t3-spec {
  border-radius: 10px;
  padding: 22px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t3-spec:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.t3-spec-a { background: #f0eaf8; border: 1px solid #d0b8e8; }
.t3-spec-b { background: #e8f4e0; border: 1px solid #b8d8a0; }
.t3-spec-c { background: #fdf5e4; border: 1px solid #e0cfa0; }
.t3-spec-d { background: #e8f0f8; border: 1px solid #a8c8e0; }
.t3-spec-e { background: #f8ede8; border: 1px solid #e8c0a8; }
.t3-spec-f { background: #f0eaf8; border: 1px solid #d0b8e8; }
.t3-spec-name { font-family: 'EB Garamond', serif; font-size: 17px; color: #3e2e52; margin-bottom: 6px; }
.t3-spec-desc { font-size: 11.5px; color: #6a6060; line-height: 1.65; font-weight: 300; }

/* ===== ABOUT YOUR THERAPIST (index) ===== */
.t3-about-therapist {
  background: linear-gradient(135deg, #edf4e6 0%, #e8f0e0 100%);
  padding: 52px 48px;
}
.t3-about-therapist-inner {
  display: -webkit-flex;
  display: flex;
  gap: 40px;
  -webkit-align-items: center;
  align-items: center;
}
.t3-about-therapist-img {
  width: 300px;
  min-width: 260px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.t3-about-therapist-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.t3-about-therapist-text {
  flex: 1;
}

/* ===== THERAPY CARDS ===== */
.t3-therapy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.t3-therapy-card {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 10px;
  padding: 22px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t3-therapy-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.t3-therapy-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: #3e2e52;
  margin-bottom: 6px;
  font-weight: 400;
}
.t3-therapy-card p { font-size: 11.5px; color: #6a6060; line-height: 1.65; font-weight: 300; }

/* ===== PRICING ===== */
.t3-pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; max-width: 560px; }
.t3-price-card {
  background: #fff;
  border: 1px solid #e0d8c8;
  border-radius: 10px;
  padding: 24px 20px;
}
.t3-price-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: #3e2e52;
  margin-bottom: 4px;
  font-weight: 400;
}
.t3-price-amount {
  font-size: 28px;
  font-family: 'EB Garamond', serif;
  color: #7060a0;
  margin-bottom: 6px;
}
.t3-price-card p { font-size: 11.5px; color: #6a6060; line-height: 1.65; font-weight: 300; }

/* ===== TESTIMONIAL ===== */
.t3-testimonial {
  background: linear-gradient(135deg, #edf4e6 0%, #ede4f5 100%);
  padding: 52px 48px;
  text-align: center;
}
.t3-quote {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-style: italic;
  color: #3e2e52;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 18px;
}
.t3-quote-author { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a9e70; }
.t3-stars { color: #d4b060; font-size: 14px; margin-bottom: 14px; letter-spacing: 4px; }

/* ===== FAQ ===== */
.t3-faq-list { max-width: 600px; }
.t3-faq-item {
  border-bottom: 1px solid #d0d8c0;
  padding: 16px 16px;
  margin-bottom: 8px;
  background: #02535b;
  border-radius: 8px;
  border: 1px solid #02535b;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.t3-faq-item:last-child { margin-bottom: 0; }
.t3-faq-item[data-open="true"] {
  background: #fff;
  border-color: #b0a0d0;
}
.t3-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: #3e2e52;
  padding: 4px 0;
}
.t3-faq-item:not([data-open="true"]) .t3-faq-question {
  color: #f5f0e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.t3-faq-question:focus-visible { outline: 2px solid #7060a0; outline-offset: 2px; border-radius: 2px; }
.t3-faq-icon {
  font-size: 18px;
  color: #7060a0;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.t3-faq-item:not([data-open="true"]) .t3-faq-icon { color: #f5f0e4; }
.t3-faq-item[data-open="true"] .t3-faq-icon { transform: rotate(45deg); }
.t3-faq-answer {
  font-size: 12.5px;
  color: #5a5248;
  line-height: 1.75;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-top: 0;
}
.t3-faq-item[data-open="true"] .t3-faq-answer { max-height: 800px; padding-top: 10px; }

/* ===== FAQ SUBTITLE ===== */
.t3-faq-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: #3e2e52;
  margin: 28px 0 16px;
  font-weight: 400;
}

/* ===== RESOURCES ===== */
.t3-resource-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; max-width: 560px; }
.t3-resource-link {
  display: block;
  background: #fff;
  border: 1px solid #e0d8c8;
  border-radius: 8px;
  padding: 16px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t3-resource-link:hover,
.t3-resource-link:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.t3-resource-link h3 {
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: #3e2e52;
  margin-bottom: 4px;
  font-weight: 400;
}
.t3-resource-link p { font-size: 11px; color: #6a6060; line-height: 1.6; font-weight: 300; }

/* ===== CONTACT ===== */
.t3-contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 600px; }
.t3-contact-info p { font-size: 13px; color: #5a5248; line-height: 1.8; font-weight: 300; margin-bottom: 8px; }
.t3-contact-info a { color: #7060a0; border-bottom: 1px solid #b0a0d0; transition: color 0.2s ease; }
.t3-contact-info a:hover { color: #5e4e8e; }

/* ===== PORTAL CTA ===== */
.t3-portal {
  background: #3e3060;
  padding: 32px 48px;
  text-align: center;
}
.t3-portal p { font-size: 13px; color: #d8d0f0; margin-bottom: 16px; font-weight: 300; }
.t3-portal .t3-btn-main { background: #9080b0; }
.t3-portal .t3-btn-main:hover,
.t3-portal .t3-btn-main:focus-visible { background: #a898c8; }

/* ===== GFE ===== */
.t3-gfe { background: #f5f0e4; padding: 32px 48px; }
.t3-gfe a { color: #7060a0; border-bottom: 1px solid #b0a0d0; transition: color 0.2s ease; }
.t3-gfe a:hover { color: #5e4e8e; }

/* ===== ABOUT BODY ===== */
.t3-about-body { font-size: 13.5px; color: #5a5248; line-height: 1.9; font-weight: 300; max-width: 620px; }
.t3-about-body p { margin-bottom: 18px; }
.t3-about-credentials { margin-top: 28px; }
.t3-about-credentials h3 {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  color: #3e2e52;
  margin-bottom: 10px;
  font-weight: 400;
}
.t3-about-credentials ul {
  list-style: none;
  padding: 0;
}
.t3-about-credentials li {
  font-size: 12.5px;
  color: #5a5248;
  line-height: 1.8;
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}
.t3-about-credentials li::before {
  content: '\2022';
  color: #7060a0;
  position: absolute;
  left: 0;
}

/* ===== SERVICES LIST ===== */
.t3-services-list {
  font-size: 13.5px;
  color: #5a5248;
  line-height: 1.9;
  font-weight: 300;
  max-width: 620px;
}
.t3-services-list ul {
  list-style: none;
  padding: 0;
}
.t3-services-list li {
  font-size: 12.5px;
  color: #5a5248;
  line-height: 1.8;
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}
.t3-services-list li::before {
  content: '\2022';
  color: #7060a0;
  position: absolute;
  left: 0;
}

/* ===== INSURANCE LIST ===== */
.t3-insurance-list {
  list-style: none;
  padding: 0;
  max-width: 400px;
}
.t3-insurance-list li {
  font-size: 12.5px;
  color: #5a5248;
  line-height: 1.8;
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}
.t3-insurance-list li::before {
  content: '\2022';
  color: #7060a0;
  position: absolute;
  left: 0;
}

/* ===== PAGE BACKGROUND ===== */
.has-bg {
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-size: cover;
}
@supports (-webkit-touch-callout: none) {
  .has-bg { background-attachment: scroll; }
}

/* ===== FOOTER ===== */
.t3-footer {
  background: #2a1e3c;
  padding: 30px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
.t3-footer-logo { font-family: 'EB Garamond', serif; font-size: 18px; color: #d0c0f0; font-style: italic; }
.t3-footer-mid { text-align: center; font-size: 11px; color: #8878b0; }
.t3-footer-right { text-align: right; }
.t3-footer-right a {
  color: #9888c0;
  margin-left: 14px;
  font-size: 10.5px;
  transition: color 0.2s ease;
}
.t3-footer-right a:hover,
.t3-footer-right a:focus-visible { color: #d0c0f0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .t3-nav { padding: 0 20px; }
  .t3-nav-toggle { display: flex; }
  .t3-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f0e4;
    border-bottom: 1px solid #ddd5be;
    flex-direction: column;
    padding: 8px 20px 16px;
  }
  .t3-links.open { display: flex; }
  .t3-links a { padding: 10px 0; }

  .t3-hero-content { flex-direction: column; }
  .t3-hero-text { padding: 40px 24px; }
  .t3-h1 { font-size: 36px; }
  .t3-iris-panel { width: 100%; min-width: unset; max-height: 240px; display: flex; justify-content: center; }
  .t3-iris-panel img { width: 280px; height: auto; max-height: 240px; }

  .t3-features { flex-wrap: wrap; }
  .t3-feat { flex: 1 1 calc(50% - 1px); min-width: 140px; }

  .t3-section { padding: 40px 24px; }
  .t3-page-header { padding: 24px 24px 20px; min-height: 120px; }
  .t3-specialties { grid-template-columns: 1fr; }
  .t3-therapy-grid { grid-template-columns: 1fr; }
  .t3-pricing-grid { grid-template-columns: 1fr; }
  .t3-resource-list { grid-template-columns: 1fr; }
  .t3-contact-content { grid-template-columns: 1fr; gap: 24px; }
  .t3-testimonial { padding: 40px 24px; }
  .t3-quote { font-size: 20px; }
  .t3-portal { padding: 24px; }
  .t3-gfe { padding: 24px; }

  .t3-about-therapist { padding: 40px 24px; }
  .t3-about-therapist-inner { flex-direction: column; }
  .t3-about-therapist-img { width: 100%; min-width: unset; min-height: 220px; max-height: 260px; }

  .t3-footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 24px;
  }
  .t3-footer-mid, .t3-footer-right { text-align: center; }
  .t3-footer-right a { margin: 0 7px; }
}
