/* ==========================================================================
   Heather N. Tegeler, LMFT — tegelertherapy.com
   "Room to Breathe" redesign (design handoff, high fidelity)
   Palette: paper #FDFAF6 · blush #F6EDE7 · sage #6E7F6A · ink #3A322C
   Fonts:   Lora 400 (display) · Nunito Sans (body/UI)
   ========================================================================== */

:root {
  --paper: #fdfaf6;
  --blush: #f6ede7;
  --sage: #6e7f6a;
  --sage-dark: #5c6b59;
  --sage-text: #546150;
  --link-hover: #4e5c4b;
  --ink: #3a322c;
  --tan: #d9c7b8;
  --muted: #6f675d; /* darkened from #8a7f74 for WCAG AA on paper/blush */

  --display-font: "Lora", serif;
  --body-font: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a {
  color: var(--sage-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { color: var(--link-hover); }

button { font-family: var(--body-font); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.rise { animation: rise 0.7s ease both; }
.rise--delay { animation: rise 0.7s 0.12s ease both; }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise--delay { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Layout containers
   -------------------------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.container--body { max-width: 1000px; }
.container--contact { max-width: 1100px; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-text);
  font-weight: 700;
}

.cred-line {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 20px;
}

.col-label {
  font-family: var(--body-font);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 14px;
}

h1, h2 { font-family: var(--display-font); font-weight: 400; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-sage {
  display: inline-block;
  background: var(--sage);
  color: var(--paper);
  border: none;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sage:hover { background: var(--sage-dark); color: var(--paper); }

.btn-text {
  background: none;
  border: none;
  padding: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 127, 106, 0.4);
  cursor: pointer;
}

.btn-text:hover { color: var(--link-hover); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 50, 44, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  color: var(--ink);
}

.site-logo:hover { color: var(--ink); }

.site-logo__name {
  font-family: var(--display-font);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.site-logo__sub {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sage-text); }

.nav-cta {
  background: var(--sage);
  color: var(--paper) !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta:hover { background: var(--sage-dark); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 22px 20px;
  border-top: 1px solid rgba(58, 50, 44, 0.08);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  text-align: left;
  padding: 14px 0;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav a[aria-current="page"] { color: var(--sage-text); }

.mobile-nav .nav-cta {
  margin-top: 10px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Home — hero + overlapping cards
   -------------------------------------------------------------------------- */
.hero-media { position: relative; }

.hero-media img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 50, 44, 0.22), rgba(58, 50, 44, 0.02));
}

.hero-media--contact img { height: 280px; }

.hero-media--contact::after {
  background: linear-gradient(180deg, rgba(58, 50, 44, 0.28), rgba(58, 50, 44, 0.05));
}

.overlap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  margin-top: -110px;
  position: relative;
  z-index: 2;
}

.hero-card {
  flex: 1 1 340px;
  background: var(--paper);
  border-radius: 28px;
  padding: 44px 46px 40px;
  box-shadow: 0 18px 50px rgba(58, 50, 44, 0.14);
}

.hero-card h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  margin: 16px 0 18px;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.hero-card__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(58, 50, 44, 0.78);
  margin: 0 0 28px;
  max-width: 46ch;
  text-wrap: pretty;
}

.hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.quote-card {
  flex: 0 1 280px;
  background: var(--blush);
  border-radius: 24px;
  padding: 28px 30px;
}

.quote-card p {
  font-family: var(--display-font);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
}

/* Mobile-only placement of the quote (shown ≤760px, after What to expect) */
.quote-mobile { display: none; }

/* --------------------------------------------------------------------------
   Two-column grids
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-2--therapy { grid-template-columns: 0.95fr 1.05fr; }

.grid-2--bio {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

/* Sound familiar */
.sound-familiar { padding: 96px 0 84px; }

.rule-block {
  position: relative;
  padding-left: 20px;
}

.rule-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--tan);
}

.h2-section {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 22px;
}

.rule-block p { margin: 0 0 16px; color: rgba(58, 50, 44, 0.82); }
.rule-block p:last-child { margin-bottom: 0; }

.portrait-wrap { position: relative; }

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 280px 280px 40px 280px;
}

.portrait-overlay {
  position: absolute;
  left: -14px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.name-badge {
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 8px 24px rgba(58, 50, 44, 0.14);
  font-size: 14px;
  font-weight: 700;
}

.btn-sage--sm {
  padding: 13px 24px;
  font-size: 13.5px;
  box-shadow: 0 8px 24px rgba(58, 50, 44, 0.14);
}

/* --------------------------------------------------------------------------
   Bands (blush / sage)
   -------------------------------------------------------------------------- */
.band { background: var(--blush); padding: 84px 0; }
.band--services-header { padding: 76px 0 68px; }
.band--specialties { padding: 72px 0; }

.band__title {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 10px;
  text-align: center;
}

.band__intro {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 58ch;
  color: rgba(58, 50, 44, 0.74);
}

/* What to expect cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.expect-card {
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
}

.expect-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.expect-card__body { padding: 26px 28px 30px; }

.expect-card h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 10px;
}

.expect-card p {
  font-size: 15.5px;
  color: rgba(58, 50, 44, 0.74);
}

/* About therapy */
.about-therapy { padding: 84px 0; }

.about-therapy__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 40px 240px 40px 240px;
}

.about-therapy .h2-section { margin: 14px 0 20px; }

.about-therapy p {
  margin: 0 0 16px;
  color: rgba(58, 50, 44, 0.82);
  font-size: 18.5px;
  line-height: 1.65;
}
.about-therapy p:last-of-type { margin-bottom: 24px; }

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid rgba(110, 127, 106, 0.45);
  color: var(--sage-text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
}

.work-with {
  padding: 0 0 44px;
}

.fees-teaser { padding: 0 0 84px; }

.fees-teaser p {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: rgba(58, 50, 44, 0.8);
}

@media (max-width: 760px) {
  .fees-teaser { padding-bottom: 48px; }
}

.work-with__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.work-with__label {
  font-family: var(--display-font);
  font-size: 23px;
  margin-right: 12px;
}

.pill--lg {
  border-color: rgba(110, 127, 106, 0.4);
  padding: 9px 18px;
  font-size: 14.5px;
}

.pill--filled {
  background: var(--paper);
  border-color: rgba(110, 127, 106, 0.3);
  padding: 10px 20px;
  font-size: 15px;
}

.pill-row--center { justify-content: center; gap: 10px; }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.services-header h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  margin: 14px auto 16px;
  max-width: 20ch;
}

.services-header p {
  margin: 0 auto;
  max-width: 56ch;
  color: rgba(58, 50, 44, 0.76);
}

.services-header { text-align: center; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding-top: 76px;
}

.stat-card {
  background: var(--blush);
  border-radius: 24px;
  padding: 30px 32px;
}

.stat-card__num {
  font-family: var(--display-font);
  font-size: 38px;
  line-height: 1;
}

.stat-card p {
  margin: 8px 0 0;
  font-size: 15.5px;
  color: rgba(58, 50, 44, 0.76);
}

.longform { padding: 64px 0 84px; }

.longform .h2-major {
  font-size: 30px;
  margin: 0 0 14px;
}

.longform .h2-major--ruled {
  margin-bottom: 8px;
  padding-top: 34px;
  border-top: 1px solid rgba(58, 50, 44, 0.14);
}

.longform h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 21px;
  margin: 26px 0 8px;
}

.longform p { margin: 0 0 12px; color: rgba(58, 50, 44, 0.85); }
.longform p.section-end { margin-bottom: 48px; }

.longform ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: rgba(58, 50, 44, 0.85);
}

.longform li { margin: 6px 0; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.step {
  border-left: 2px solid var(--tan);
  padding: 2px 0 2px 18px;
}

.step__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.step p { margin: 0; font-size: 15.5px; }

.gfe-card {
  background: var(--blush);
  border-radius: 24px;
  padding: 34px 36px;
}

.gfe-card h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

.gfe-card p {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: rgba(58, 50, 44, 0.82);
}

.gfe-card p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.bio { padding: 70px 0 76px; }

.bio__side {
  position: sticky;
  top: 120px;
}

.bio__side img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 240px 240px 40px 240px;
}

.bio__detail-card {
  background: var(--blush);
  border-radius: 20px;
  padding: 22px 24px;
  margin-top: 20px;
}

.bio__detail-card p {
  font-size: 14.5px;
  color: rgba(58, 50, 44, 0.8);
}

.bio h1 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.14;
  margin: 14px 0 22px;
  text-wrap: pretty;
}

.bio__main > p { margin: 0 0 16px; color: rgba(58, 50, 44, 0.85); }
.bio__main > p.intro-end { margin-bottom: 30px; }

.bio__main h2 {
  font-size: 24px;
  margin: 0 0 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(58, 50, 44, 0.14);
}

.bio__main h2 + p { margin-bottom: 26px; }

/* Credentials */
.credentials { padding: 76px 0 84px; }

.credentials h2 {
  font-size: 30px;
  margin: 0 0 30px;
}

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

.credentials ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15.5px;
  color: rgba(58, 50, 44, 0.85);
}

.credentials ul.mb { margin-bottom: 28px; }
.credentials li { margin: 8px 0; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-wrap { padding-bottom: 90px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 44px;
  align-items: start;
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.form-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 42px 44px;
  box-shadow: 0 18px 50px rgba(58, 50, 44, 0.14);
}

.form-card h1 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.14;
  margin: 0 0 12px;
}

.form-card__sub {
  margin: 0 0 28px;
  color: rgba(58, 50, 44, 0.78);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form[hidden] { display: none; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
  font-family: var(--body-font);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(58, 50, 44, 0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.form-field textarea { resize: vertical; }

.contact-form .btn-sage {
  padding: 17px 30px;
  font-size: 15px;
  width: 100%;
}

.form-fineprint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(58, 50, 44, 0.72);
}

/* Honeypot field — hidden from humans, visible to bots */
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  background: var(--blush);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--sage-text);
  font-weight: 600;
}

.form-error {
  margin: 4px 0 0;
  font-size: 14px;
  color: #a4483d;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 80px;
}

.info-card {
  background: var(--blush);
  border-radius: 24px;
  padding: 30px 32px;
}

.info-card h2 {
  font-size: 23px;
  margin: 0 0 10px;
}

.info-card h2.mb-lg { margin-bottom: 14px; }

.info-card p {
  font-size: 15.5px;
  color: rgba(58, 50, 44, 0.8);
}

.info-card--contact p { font-size: 16px; line-height: 1.9; }

.info-card--outline {
  background: none;
  border: 1px solid rgba(110, 127, 106, 0.35);
}

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--sage);
  color: var(--paper);
  padding: 66px 0;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--paper);
  font-size: 19px;
  font-weight: 600;
}

.btn-paper {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 18px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-paper:hover { background: var(--blush); color: var(--ink); }

.site-footer {
  background: var(--paper);
  border-top: 1px solid rgba(58, 50, 44, 0.1);
  padding: 52px 0 28px;
  font-size: 14.5px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.site-footer h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 8px;
}

.site-footer p { color: rgba(58, 50, 44, 0.72); }

.site-footer .pt-badge {
  display: inline-block;
  margin-top: 12px;
}

.site-footer .pt-badge img {
  width: 110px;
  border-radius: 4px;
}

.site-footer__copyright {
  margin: 40px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(58, 50, 44, 0.7) !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 980px) {
  .grid-2,
  .grid-2--therapy,
  .grid-2--bio,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bio__side { position: static; }

  .overlap-row,
  .contact-grid { margin-top: -60px; }

  .contact-side { padding-top: 0; }

  .portrait-wrap,
  .about-therapy__img,
  .bio__side {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .container { padding-left: 20px; padding-right: 20px; }

  .hero-card { padding: 30px 24px; }
  .form-card { padding: 30px 24px; }

  .overlap-row,
  .contact-grid { margin-top: -36px; }
  .overlap-row { gap: 16px; }

  .hero-media img { height: 340px; }
  .hero-media--contact img { height: 340px; }

  .band,
  .band--services-header,
  .band--specialties,
  .cta-band { padding-top: 48px; padding-bottom: 48px; }

  .hero-card h1,
  .services-header h1,
  .bio h1,
  .form-card h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .h2-section,
  .band__title,
  .longform .h2-major,
  .credentials h2,
  .cta-band h2,
  .gfe-card h2 { font-size: 26px; }

  .expect-card img,
  .about-therapy__img { display: none; }

  .expect-card__body { padding: 24px 24px 26px; }

  .sound-familiar { padding: 48px 0; }
  .about-therapy { padding: 48px 0; }
  .work-with { padding-bottom: 28px; }

  /* Centered contact buttons */
  .hero-card__actions { justify-content: center; }
  .cta-band .btn-paper { margin-left: auto; margin-right: auto; }

  /* Quote moves below What to expect */
  .overlap-row .quote-card { display: none; }
  .quote-mobile { display: block; padding: 48px 0 0; }
  .quote-mobile .quote-card { text-align: center; }

  /* Centered footer columns */
  .site-footer__grid { text-align: center; }
  .bio { padding: 48px 0; }
  .credentials { padding: 48px 0; }
  .longform { padding: 48px 0; }
  .stat-grid { padding-top: 48px; }
  .contact-wrap { padding-bottom: 48px; }
}

@media (max-width: 420px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-card { padding: 26px 20px; }
  .form-card { padding: 26px 20px; }
}
