/* ============================================
   Reinhart Burger Psychology — site styles
   ============================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f6f2eb;
  color: #2e2b27;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Layout ---------- */
.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 720px) {
  .container {
    max-width: 760px;
    padding: 0 48px;
  }
}
@media (min-width: 960px) {
  .container {
    max-width: 880px;
    padding: 0 64px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 80px;
  }
}

/* ---------- Top header ---------- */
.site-header {
  padding: 36px 0 0;
}
.site-header-inner {
  padding-bottom: 28px;
  border-bottom: 1px solid #e3dccf;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.practitioner-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: #22201d;
  line-height: 1.2;
}
.practitioner-name a {
  color: inherit;
  text-decoration: none;
}
.practitioner-name a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.practitioner-role {
  font-size: 11px;
  color: #6b6558;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.header-back {
  font-size: 12px;
  color: #6b6558;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.header-back:hover { color: #22201d; text-decoration: underline; }

/* ---------- Sections ---------- */
main { padding: 8px 0 16px; }
.section { padding: 24px 0; }

/* Constrain the readable text width on wider screens, so prose stays
   comfortable to read while the page itself uses the available space. */
.section > h1,
.section > h2,
.section > p,
.section > ul,
.section > .fees-list,
.section > .button,
.section > .button-secondary {
  max-width: 640px;
}

/* ---------- Typography ---------- */
h1, h2 {
  font-family: 'Lora', Georgia, serif;
  color: #22201d;
  font-weight: 500;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 24px 0 20px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 32px 0 14px;
}
.section > h2:first-child { margin-top: 20px; }
p {
  margin: 0 0 16px;
  color: #2e2b27;
}
.lead {
  font-size: 17px;
  color: #2e2b27;
}
ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
li {
  margin-bottom: 6px;
}
a {
  color: #4f635e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: #2e3b38; }

/* ---------- About block with portrait ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 560px) {
  .about-grid {
    grid-template-columns: 150px 1fr;
    gap: 32px;
  }
}
.portrait-wrap { display: flex; }
.portrait {
  width: 100%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
@media (max-width: 559px) {
  .portrait {
    max-width: 130px;
  }
}
.about-text > :first-child { margin-top: 0; }

/* ---------- Fees ---------- */
.fees-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.fees-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e3dccf;
  margin: 0;
}
.fees-list li:last-child { border-bottom: none; }
.fees-list .label { color: #2e2b27; }
.fees-list .amount {
  font-variant-numeric: tabular-nums;
  color: #22201d;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 22px;
  background: #4f635e;
  color: #f6f2eb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 3px;
  transition: background-color 0.15s ease;
}
.button:hover {
  background: #3d4d49;
  color: #f6f2eb;
}
.button-secondary {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 20px;
  background: transparent;
  color: #22201d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #c8bfae;
  border-radius: 3px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.button-secondary:hover {
  border-color: #22201d;
  background: rgba(255,255,255,0.4);
  color: #22201d;
}

/* ---------- Muted helper text ---------- */
.muted {
  color: #6b6558;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 24px;
  padding: 32px 0 40px;
  border-top: 1px solid #e3dccf;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-meta {
  font-size: 12px;
  color: #6b6558;
  line-height: 1.6;
}
.footer-meta strong {
  font-weight: 500;
  color: #4a463f;
}
.footer-links {
  font-size: 12px;
}
.footer-links a {
  color: #6b6558;
  text-decoration: none;
  margin-left: 18px;
}
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover {
  color: #22201d;
  text-decoration: underline;
}
.footer-mark {
  display: block;
  width: 64px;
  height: auto;
  opacity: 0.85;
}

/* ---------- Small responsive tweaks ---------- */
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 18px; }
  .container { padding: 0 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links a { margin-left: 0; margin-right: 18px; }
}

/* ---------- Focus states for accessibility ---------- */
a:focus-visible, .button:focus-visible, .button-secondary:focus-visible {
  outline: 2px solid #4f635e;
  outline-offset: 2px;
}
