/* Homepage testimonials and "About me". */
.tm.ds { padding: var(--section-y) 0; background: var(--surface); }
.tm-viewport { display: flex; gap: var(--space-4); }
.tm-card { margin: 0; gap: var(--space-4); max-width: 56rem; padding: var(--space-6); }
.tm-card blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; line-height: 1.3; white-space: pre-line; }
.tm:not(.is-carousel) .tm-card blockquote { font-size: var(--text-2xl); line-height: 1.2; }
.tm-card blockquote::before { content: "\201C"; display: block; height: 0.6em; color: var(--accent); font-size: 2em; line-height: 1; }
.tm-stars { color: var(--accent); letter-spacing: 3px; }
.tm-by { display: flex; align-items: center; gap: var(--space-3); }
.tm-by img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 50%; }
.tm-by strong { display: block; }
.tm-by span { color: var(--text-muted); font-size: var(--text-sm); }
.ds .tm-link { display: inline-flex; align-items: center; justify-self: start; min-height: 2.75rem; color: var(--accent); font-weight: 700; }

.is-carousel .tm-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.is-carousel .tm-viewport::-webkit-scrollbar { display: none; }
.is-carousel .tm-card { flex: 0 0 min(100%, 40rem); scroll-snap-align: start; }
.tm-dots { display: flex; justify-content: center; margin-top: var(--space-3); }
.tm-dots button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; cursor: pointer; }
.tm-dots button::after { content: ""; width: 0.65rem; height: 0.65rem; background: var(--line-strong); border-radius: var(--radius-pill); transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.tm-dots button[aria-current="true"]::after { width: 1.75rem; background: var(--accent); }
.ds .tm-more { margin-top: var(--space-5); color: var(--text-muted); font-size: var(--text-sm); }
.tm-more a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ABOUT */
.about.ds { padding: var(--section-y) 0; background: var(--surface); }
.ab-grid { display: grid; gap: var(--space-7); align-items: center; }
.ab-photo { position: relative; width: min(100%, 26rem); margin: 0; }
.ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.ab-photo::before { content: ""; position: absolute; z-index: -1; inset: var(--space-5) calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-5); border: 2px solid var(--accent); border-radius: var(--radius-lg); }
.about.ds .ab-photo { isolation: isolate; }
.ab-copy { display: grid; justify-items: start; gap: var(--space-4); max-width: 36rem; }
.ab-copy p { color: var(--text-muted); font-size: var(--text-lg); }
.ab-copy .eyebrow { color: var(--accent); }
.ab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-8) 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.ab-facts li { padding-top: var(--space-5); }
.ab-facts strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ab-facts span { color: var(--text-muted); font-size: var(--text-sm); }
@media (min-width: 56.25rem) { .ab-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-9); } }

/* Photo wipes into view. The frame stays visible so the reveal has something to fill. */
.motion .ab-photo[data-animate] { opacity: 1; transform: none; }
.motion .ab-photo[data-animate] img { clip-path: inset(0 100% 0 0 round var(--radius-lg)); transform: scale(1.06); transition: clip-path 1200ms var(--ease), transform 1600ms var(--ease); }
.motion .ab-photo[data-animate].is-visible img { clip-path: inset(0 0 0 0 round var(--radius-lg)); transform: none; }
