@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');

:root {
  --ink: #1e302b;
  --muted: #52615b;
  --paper: #f4f7f3;
  --green: #234b3d;
  --line: #d9e1db;
  --accent: #f1eab8;
  --rose: #f5e9e8;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b15045; outline-offset: 6px; }
header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 5%;
}
header { border-bottom: 1px solid var(--line); background: #fff; }
.wordmark { font-family: 'Libre Caslon Display', Georgia, serif; font-size: 28px; text-decoration: none; overflow-wrap: anywhere; }
nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
nav a { text-decoration: none; }
.hero {
  position: relative;
  min-height: 580px;
  height: 78svh;
  max-height: 860px;
  display: flex;
  align-items: center;
  background: #30473e;
  color: white;
  overflow: hidden;
}
.hero-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,28,21,.75), rgba(12,28,21,.1)); }
.hero-copy { position: relative; z-index: 1; padding: 64px 7%; max-width: 850px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0; margin: 0 0 25px; }
.hero h1 { font-family: 'Libre Caslon Display', Georgia, serif; font-size: 76px; font-weight: 400; line-height: 1.05; margin: 0 0 26px; overflow-wrap: anywhere; }
.headline { font-size: 20px; line-height: 1.6; max-width: 530px; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; text-decoration: none; padding: 16px 22px; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
.primary { background: var(--accent); color: var(--ink); }
.primary:hover { background: #e9df91; }
.content {
  max-width: 1240px;
  margin: auto;
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  scroll-margin-top: 24px;
  min-width: 0;
}
.section:nth-child(even) { background: #edf3ee; }
.section h2:after { content: ''; display: block; width: 48px; height: 3px; margin-top: 20px; background: var(--green); border-radius: 2px; }
h2 { font-family: 'Libre Caslon Display', Georgia, serif; font-size: 44px; font-weight: 400; line-height: 1.15; margin: 0 0 36px; overflow-wrap: anywhere; }
h3 { font-size: 20px; font-weight: 500; line-height: 1.4; margin: 0 0 12px; overflow-wrap: anywhere; }
p { font-size: 16px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); margin: 0 0 14px; }
.intro { max-width: 820px; font-size: 21px; line-height: 1.8; }
.hero p { color: white; }
.section-intro { margin: -12px 0 32px; max-width: 640px; }
.entry-grid, .therapist-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.therapist-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.entry-grid article, .therapist-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.entry-grid article p:last-child, .therapist-grid article p:last-child, .service p:last-child { margin-bottom: 0; }
.entry-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 20px; border-radius: 6px; background: var(--rose); }
.therapist-grid .entry-photo { aspect-ratio: 4/5; }
.service-list { padding: 0 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.service { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; }
.service h3 { margin-bottom: 8px; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { display: flex; justify-content: space-between; gap: 14px; line-height: 2; font-size: 15px; font-variant-numeric: tabular-nums; }
.service strong { font-weight: 600; }
details { padding: 22px 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
details p { margin: 18px 0 0; }
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.visit-grid > div { min-width: 0; }
.visit-grid .button { padding: 12px 18px; }
.visit-notes { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
footer { background: #e9efeb; font-size: 14px; }
.skip { position: absolute; top: -100px; z-index: 10; padding: 15px; background: white; }
.skip:focus { top: 0; }
.no-photo { min-height: 400px; height: auto; background: repeating-linear-gradient(135deg,#234b3d,#234b3d 30px,#274f41 30px,#274f41 31px); }
@media (min-width: 1600px) {
  .hero { height: 72svh; max-height: 780px; }
}
@media (max-width: 1000px) {
  .therapist-grid, .visit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  header { padding: 20px 24px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .wordmark { font-size: 26px; }
  nav { gap: 20px; font-size: 13px; }
  .hero { height: 65svh; min-height: 440px; max-height: 620px; }
  .hero-copy { padding: 40px 24px; width: 100%; }
  .hero h1 { font-size: 48px; }
  .headline { font-size: 18px; }
  .content { padding: 32px 16px; gap: 28px; }
  .section { padding: 28px 20px; border-radius: 12px; }
  h2 { font-size: 34px; margin-bottom: 28px; }
  .section h2:after { margin-top: 16px; }
  .entry-grid, .therapist-grid, .visit-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .entry-grid article, .therapist-grid article { padding: 20px; }
  .service-list { padding: 0 20px; }
  .service { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 24px 0; }
  .service ul { max-width: 280px; }
  .intro { font-size: 18px; }
  .therapist-grid .entry-photo { max-width: 360px; }
  footer { padding: 24px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .6s ease-out; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
