html[data-route-path="/testimonials"] {
  --test-line: #222120;
  --test-orange: #F98200;
  --test-red: #D2322F;
  --test-green: #1FB47E;
  --test-muted: #a39b92;
  overflow-x: clip;
}

html[data-route-path="/testimonials"],
html[data-route-path="/testimonials"] body {
  min-height: 100%;
  background: #000;
  color: var(--bone);
}

html[data-route-path="/testimonials"] body {
  overflow-x: clip;
}

html[data-route-path="/testimonials"] main > :not(.testimonials-page-shell),
html[data-route-path="/testimonials"] body > footer,
html[data-route-path="/testimonials"] body > .grain,
html[data-route-path="/testimonials"] body > .ambient {
  display: none !important;
}

html[data-route-path="/testimonials"] .mob-bar {
  display: none !important;
}

.testimonials-page-shell {
  position: relative;
}

.testimonials-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0, 0, 0, .9);
  border-bottom: 1px solid var(--test-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.testimonials-header-inner {
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: clamp(12px, 2.5vw, 28px);
}

.testimonials-pillar-dots {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.pillar-dot {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  text-decoration: none;
}

.pillar-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pillar-dot:hover span,
.pillar-dot:focus-visible span {
  transform: scale(1.2);
  box-shadow: 0 0 10px 2px currentColor;
}

.dot-lagree span {
  color: #F98200;
  background: #F98200;
}

.dot-anatomy span {
  color: #D2322F;
  background: #D2322F;
}

.dot-longevity span {
  color: #1FB47E;
  background: #1FB47E;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(7px, 1.7vw, 18px);
  min-width: 0;
  margin-left: auto;
}

.testimonials-header .testimonials-nav :is(a, button) {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
  color: var(--bone-2);
  text-decoration: none;
  white-space: nowrap;
  font: 600 9px/1 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.testimonials-nav :is(a, button):hover,
.testimonials-nav :is(a, button):focus-visible,
.testimonials-nav :is(a, button)[aria-current="page"] {
  color: var(--bone);
}

.testimonials-nav .nav-current,
.testimonials-nav .nav-current[aria-current="page"] {
  color: var(--bone);
  border-bottom: 1px solid var(--test-orange);
}

.testimonials-nav .enq {
  min-height: 34px;
  padding-inline: 9px;
  border: 1px solid var(--test-line);
}

.testimonials-nav .enq:hover,
.testimonials-nav .enq:focus-visible {
  border-color: var(--bone);
}

.testimonials-main {
  box-sizing: border-box;
  width: min(100%, 1540px);
  margin-inline: auto;
  padding: calc(62px + env(safe-area-inset-top, 0px)) clamp(16px, 4.2vw, 64px) 88px;
}

.testimonials-hero {
  padding: clamp(50px, 9vw, 112px) 0 clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--test-line);
}

.testimonials-eyebrow,
.section-eyebrow {
  margin: 0 0 18px;
  color: var(--test-orange);
  font: 650 10px/1.3 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.testimonials-hero h1 {
  margin: 0;
  font: 800 clamp(42px, 9vw, 112px)/.86 var(--display);
  font-stretch: 125%;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.testimonials-intro {
  max-width: 590px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--bone-2);
  font: 400 clamp(16px, 2vw, 20px)/1.55 var(--serif);
}

.testimonials-stats {
  display: flex;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(36px, 6vw, 72px);
  padding-top: 10px;
  border-top: 1px solid var(--test-line);
}

.testimonial-stat {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid var(--test-line);
}

.testimonial-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.testimonial-stat strong {
  display: block;
  min-height: 1em;
  font: 750 clamp(18px, 2.6vw, 30px)/1 var(--display);
  font-stretch: 125%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.testimonial-stat span {
  display: block;
  margin-top: 5px;
  color: var(--test-muted);
  font: 600 8px/1.45 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.testimonials-gallery {
  padding-top: clamp(34px, 5vw, 62px);
}

.testimonial-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  gap: 12px;
  align-items: end;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--test-line);
}

.filter-label {
  display: block;
  margin-bottom: 9px;
  color: var(--test-muted);
  font: 600 9px/1.2 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.course-filters {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 9px;
}

.course-filters-wrap {
  min-width: 0;
  grid-column: 1 / -1;
}

.course-filter,
.clear-filters {
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid var(--test-line);
  border-radius: 0;
  background: transparent;
  color: var(--bone-2);
  cursor: pointer;
  font: 550 10px/1.2 var(--display);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.course-filter:hover,
.course-filter:focus-visible,
.clear-filters:hover,
.clear-filters:focus-visible {
  border-color: var(--bone-2);
  color: var(--bone);
}

.course-filter[aria-pressed="true"] {
  border-color: var(--filter-accent, var(--test-orange));
  color: #000;
  background: var(--filter-accent, var(--test-orange));
}

.course-filter[data-course-kind="anatomy"][aria-pressed="true"] {
  --filter-accent: var(--test-red);
}

.course-filter[data-course-kind="longevity"][aria-pressed="true"] {
  --filter-accent: var(--test-green);
}

.filter-field {
  min-width: 0;
}

.filter-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--test-line);
  border-radius: 0;
  appearance: none;
  color: var(--bone);
  background-color: #080807;
  background-image: linear-gradient(45deg, transparent 50%, var(--test-muted) 50%), linear-gradient(135deg, var(--test-muted) 50%, transparent 50%);
  background-position: calc(100% - 13px) 18px, calc(100% - 9px) 18px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  font: 450 12px/1.2 var(--display);
}

.filter-field select:focus-visible {
  outline-color: var(--test-orange);
}

.filter-field option {
  color: var(--bone);
  background: #080807;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  padding-bottom: 9px;
}

.clear-filters {
  min-height: 36px;
  padding-inline: 10px;
  color: var(--test-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--test-line);
  border: 1px solid var(--test-line);
}

.testimonial-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #141312;
  color: var(--bone);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}

.testimonial-tile::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .53) 31%, rgba(0, 0, 0, .94) 100%);
  pointer-events: none;
}

.testimonial-tile .tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.72);
  transform: scale(1.001);
  transition: filter .35s ease, transform .5s cubic-bezier(.2,.65,.25,1);
}

.tile-accent {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tile-accent, var(--test-orange));
}

.testimonial-tile[data-course-kinds~="lagree"] .tile-accent {
  background: var(--test-orange);
}

.testimonial-tile[data-course-kinds~="anatomy"] .tile-accent {
  background: var(--test-red);
}

.testimonial-tile[data-course-kinds~="longevity"] .tile-accent {
  background: var(--test-green);
}

.testimonial-tile[data-course-kinds~="lagree"][data-course-kinds~="anatomy"] .tile-accent,
.testimonial-tile[data-course-kinds~="anatomy"][data-course-kinds~="lagree"] .tile-accent {
  background: linear-gradient(90deg, var(--test-orange), var(--test-red));
}

.tile-copy {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: clamp(11px, 2vw, 22px);
}

.tile-name {
  display: block;
  overflow: hidden;
  color: var(--bone);
  font: 720 clamp(13px, 2.1vw, 25px)/1.05 var(--display);
  font-stretch: 125%;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tile-location {
  display: block;
  margin-top: 5px;
  color: var(--tile-accent, var(--test-orange));
  font: 600 8px/1.3 var(--display);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.testimonial-tile[data-course-kinds~="anatomy"] .tile-location {
  color: #f06a62;
}

.testimonial-tile[data-course-kinds~="longevity"] .tile-location {
  color: var(--test-green);
}

.tile-highlight {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: rgba(243, 238, 231, .9);
  font: 400 clamp(10px, 1.1vw, 13px)/1.45 var(--serif);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tile-open {
  display: inline-flex;
  margin-top: 9px;
  color: var(--bone);
  font: 650 8px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.testimonial-state {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 34px 0;
}

.testimonial-state h2 {
  margin: 0 0 10px;
  font: 700 clamp(20px, 3vw, 32px)/1.1 var(--display);
  font-stretch: 125%;
  text-transform: uppercase;
}

.testimonial-state p {
  max-width: 48ch;
  margin: 0;
  color: var(--bone-2);
  font: 400 15px/1.6 var(--serif);
}

.testimonial-state[hidden] {
  display: none;
}

.testimonial-state.is-error {
  border-top: 1px solid var(--test-line);
}

.retry-button {
  min-height: 43px;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid var(--test-line);
  border-radius: 0;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  font: 600 10px/1 var(--display);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.testimonial-skeleton {
  aspect-ratio: 1;
  background: linear-gradient(110deg, #111 8%, #1c1b19 18%, #111 33%);
  background-size: 200% 100%;
  animation: testimonial-shimmer 1.4s linear infinite;
}

@keyframes testimonial-shimmer {
  to { background-position-x: -200%; }
}

.testimonial-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: clamp(56px, 9vw, 112px);
  padding: clamp(24px, 4vw, 46px) 0;
  border-top: 1px solid var(--test-line);
  border-bottom: 1px solid var(--test-line);
}

.testimonial-share h2 {
  margin: 0;
  font: 700 clamp(21px, 3.5vw, 38px)/1.05 var(--display);
  font-stretch: 125%;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.testimonial-share p {
  max-width: 54ch;
  margin: 12px 0 0;
  color: var(--bone-2);
  font: 400 15px/1.6 var(--serif);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.share-button {
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--test-line);
  border-radius: 0;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  font: 600 9px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.share-button:hover,
.share-button:focus-visible {
  border-color: var(--test-orange);
}

.share-status {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: -12px 0 0;
  color: var(--test-muted);
  font: 12px/1.3 var(--display);
}

.profile-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, .76);
  opacity: 0;
  transition: opacity .24s ease;
}

.profile-overlay[hidden] {
  display: none;
}

.profile-overlay.is-open {
  opacity: 1;
}

.profile-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  max-height: min(88dvh, 900px);
  overflow: hidden;
  border: 1px solid var(--test-line);
  background: #080807;
  transform: translateY(12px);
  transition: transform .24s ease;
}

.profile-overlay.is-open .profile-sheet {
  transform: translateY(0);
}

.profile-grab {
  display: none;
  width: 40px;
  height: 3px;
  margin: 11px auto 3px;
  background: #716d68;
}

.profile-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid var(--test-line);
  touch-action: pan-y;
}

.profile-top-label {
  margin: 0;
  color: var(--test-muted);
  font: 600 9px/1 var(--display);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.profile-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  font: 300 25px/1 var(--display);
}

.profile-content {
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 5vw, 48px);
  scrollbar-color: #56504a #080807;
}

.profile-heading {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

.profile-photo {
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--test-line);
  border-radius: 50%;
  background: #181715;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.profile-course-mark {
  margin: 0 0 10px;
  color: var(--profile-accent, var(--test-orange));
  font: 650 9px/1.4 var(--display);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.profile-title {
  margin: 0;
  overflow-wrap: anywhere;
  font: 750 clamp(24px, 5vw, 48px)/.98 var(--display);
  font-stretch: 125%;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.profile-location {
  margin: 10px 0 0;
  color: var(--test-muted);
  font: 550 10px/1.5 var(--display);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 30px 0 0;
  border-top: 1px solid var(--test-line);
}

.profile-fact {
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--test-line);
}

.profile-fact dt {
  color: var(--test-muted);
  font: 600 8px/1.3 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-fact dd {
  margin: 6px 0 0;
  color: var(--bone);
  font: 400 14px/1.4 var(--serif);
  overflow-wrap: anywhere;
}

.profile-instagram {
  color: var(--bone);
  text-decoration-color: var(--test-orange);
  text-underline-offset: 3px;
}

.profile-section {
  margin-top: 30px;
}

.profile-section h3 {
  margin: 0 0 13px;
  color: var(--test-muted);
  font: 650 9px/1.3 var(--display);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.profile-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-courses span {
  padding: 8px 10px;
  border: 1px solid var(--test-line);
  color: var(--bone-2);
  font: 450 11px/1.3 var(--display);
}

.profile-story {
  max-width: 65ch;
  color: var(--bone-2);
  font: 400 15px/1.8 var(--serif);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.profile-story p {
  margin: 0 0 1.25em;
}

.profile-story p:last-child {
  margin-bottom: 0;
}

.profile-story mark {
  color: var(--bone);
  background: transparent;
  box-shadow: inset 0 -1px 0 var(--profile-accent, var(--test-orange));
}

.profile-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-person {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--test-line);
  color: var(--bone-2);
  background: transparent;
  cursor: pointer;
  font: 600 9px/1.2 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-person:hover,
.related-person:focus-visible {
  border-color: var(--test-orange);
  color: var(--bone);
}

.related-empty {
  margin: 0;
  color: var(--test-muted);
  font: 13px/1.5 var(--serif);
}

.profile-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--test-line);
  background: #080807;
}

.profile-bottom button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  color: var(--bone-2);
  background: transparent;
  cursor: pointer;
  font: 600 9px/1.2 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-bottom button:first-child {
  text-align: left;
}

.profile-bottom button:last-child {
  text-align: right;
}

.profile-bottom button:disabled {
  opacity: .32;
  cursor: default;
}

.profile-position {
  color: var(--test-muted);
  font: 500 9px/1 var(--display);
  font-variant-numeric: tabular-nums;
}

html.testimonials-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (min-width: 700px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-filters {
    grid-column: auto;
  }

  .testimonial-controls {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) minmax(160px, 220px);
  }
}

@media (min-width: 1100px) {
  .testimonial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .testimonials-nav {
    justify-content: flex-end;
    gap: clamp(6px, 1.8vw, 9px);
  }

  .testimonials-header .testimonials-nav :is(a, button) {
    min-height: 34px;
    padding-inline: 1px;
    font-size: 9px;
    letter-spacing: .06em;
  }

  .testimonials-nav .enq {
    padding-inline: 7px;
  }

  .testimonials-main {
    padding: calc(54px + env(safe-area-inset-top, 0px)) 14px 64px;
  }

  .testimonials-hero {
    padding-top: 42px;
  }

  .testimonials-stats {
    margin-top: 32px;
  }

  .testimonial-stat {
    padding-inline: 10px;
  }

  .testimonial-stat span {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .testimonial-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .course-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    margin-inline: -14px;
    padding: 0 14px 9px;
  }

  .course-filters::-webkit-scrollbar {
    display: none;
  }

  .course-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .filter-field select {
    font-size: 11px;
  }

  .filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 0;
  }

  .testimonial-share {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .share-actions {
    justify-content: flex-start;
  }

  .profile-overlay {
    align-items: end;
    padding: 0;
    background: rgba(0, 0, 0, .62);
  }

  .profile-sheet {
    width: 100%;
    max-height: calc(94dvh + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(24px);
  }

  .profile-grab {
    display: block;
    flex: 0 0 auto;
  }

  .profile-top {
    min-height: 46px;
    padding: 0 14px;
    border-bottom: 0;
  }

  .profile-content {
    padding: 12px 18px 24px;
  }

  .profile-heading {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }

  .profile-photo {
    width: 84px;
  }

  .profile-title {
    font-size: clamp(22px, 7vw, 34px);
  }

  .profile-course-mark {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .profile-location {
    margin-top: 7px;
    font-size: 9px;
  }

  .profile-facts {
    margin-top: 22px;
  }

  .profile-section {
    margin-top: 24px;
  }

  .profile-story {
    font-size: 14px;
    line-height: 1.75;
  }

  .profile-bottom {
    position: sticky;
    bottom: 0;
  }
}

@media (max-width: 360px) {
  .testimonials-nav {
    gap: 6px;
  }

  .testimonials-header .testimonials-nav :is(a, button) {
    font-size: 8.5px;
    letter-spacing: .05em;
  }

  .testimonial-stat {
    padding-inline: 7px;
  }

  .tile-copy {
    padding: 9px;
  }

  .tile-name {
    font-size: 12px;
  }

  .tile-location {
    font-size: 7px;
    letter-spacing: .1em;
  }

  .tile-highlight {
    margin-top: 7px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-route-path="/testimonials"] {
    scroll-behavior: auto;
  }

  html[data-route-path="/testimonials"] *,
  html[data-route-path="/testimonials"] *::before,
  html[data-route-path="/testimonials"] *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Acceptance refinements */
.testimonials-hero {
  position: relative;
  isolation: isolate;
}

.testimonials-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: min(48vw, 420px);
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 70% at 22% 100%, rgba(249, 130, 0, .17), transparent 75%),
    radial-gradient(ellipse 38% 68% at 58% 110%, rgba(113, 13, 18, .24), transparent 74%);
}

.testimonials-eyebrow {
  text-transform: uppercase;
}

.testimonials-hero h1 {
  max-width: 1200px;
  font-size: clamp(43px, 8.7vw, 108px);
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: none;
}

.testimonials-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #F98200 8%, #D2322F 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.testimonials-intro {
  max-width: 670px;
}

.course-filters-wrap {
  position: relative;
}

.course-filter[aria-pressed="true"] {
  border-color: var(--filter-accent, var(--bone));
  color: var(--bone);
  background: transparent;
}

.course-filter[aria-pressed="true"].course-filter-all {
  --filter-accent: var(--bone);
}

.course-filter[data-course-kind="lagree"] {
  --filter-accent: var(--test-orange);
}

.course-filter[data-course-kind="anatomy"] {
  --filter-accent: var(--test-red);
}

.course-filter[data-course-kind="longevity"] {
  --filter-accent: var(--test-green);
}

.course-filter:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.course-filter-soon {
  color: var(--test-muted);
  white-space: nowrap;
}

.filter-field select {
  min-height: 46px;
  font-size: 16px;
}

.filter-field select:disabled {
  opacity: .5;
}

.testimonial-result-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-height: 44px;
  padding: 13px 0 10px;
  border-bottom: 1px solid var(--test-line);
}

.testimonial-result-line p {
  min-width: 0;
  margin: 0;
  color: var(--test-muted);
  font: 600 9px/1.4 var(--display);
  letter-spacing: .15em;
  text-transform: uppercase;
}

#result-filters {
  text-align: right;
  overflow-wrap: anywhere;
}

.testimonial-controls {
  border-bottom: 0;
  padding-bottom: 0;
}

.tile-accent {
  top: auto;
  bottom: 0;
  width: 0;
  height: 3px;
  transition: width .35s cubic-bezier(.2,.65,.25,1);
}

.testimonial-tile:active {
  transform: scale(.985);
}

.tile-highlight {
  margin-top: 9px;
  -webkit-line-clamp: 3;
}

.testimonial-state h2 {
  text-transform: none;
}

.clear-link {
  min-height: 40px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--test-muted);
  border-radius: 0;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  font: 600 10px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.testimonial-share h2 {
  max-width: 24ch;
  text-transform: none;
}

.share-story-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--test-line);
  color: var(--bone);
  text-decoration: none;
  font: 600 10px/1 var(--display);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}

.share-story-link:hover,
.share-story-link:focus-visible {
  border-color: var(--test-orange);
}

.profile-top {
  min-height: 58px;
}

.profile-top .profile-position {
  margin: 0;
  font-size: 10px;
  letter-spacing: .15em;
}

.profile-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--test-line);
  font-size: 22px;
}

.profile-content {
  flex: 1 1 auto;
  min-height: 0;
}

.tile-name,
.profile-title,
.related-person-copy b {
  text-transform: none;
}

.profile-heading {
  grid-template-columns: 96px minmax(0, 1fr);
}

.profile-photo {
  box-sizing: border-box;
  width: 96px;
  padding: 2px;
  border: 0;
  background: var(--profile-accent, var(--test-orange));
}

.profile-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-fact {
  min-width: 0;
}

.profile-courses span {
  border-color: var(--test-line);
}

.profile-courses .course-chip-lagree {
  border-color: var(--test-orange);
}

.profile-courses .course-chip-anatomy {
  border-color: var(--test-red);
}

.profile-highlight-block {
  position: relative;
  margin-top: 32px;
  padding-top: 4px;
}

.profile-quote-mark {
  display: block;
  color: var(--profile-accent, var(--test-orange));
  font: 400 56px/.65 var(--serif);
}

.profile-highlight {
  max-width: 22ch;
  margin: 15px 0 0;
  color: var(--bone);
  font: 750 clamp(24px, 4vw, 38px)/1.14 var(--display);
  font-stretch: 125%;
  letter-spacing: -.025em;
}

.profile-highlight + * {
  margin-top: 25px;
}

.profile-story {
  white-space: pre-wrap;
}

.profile-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--test-line);
}

.related-person {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--test-line);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.related-person > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.related-person-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.related-person-copy b {
  overflow: hidden;
  color: var(--bone);
  font: 650 11px/1.25 var(--display);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.related-person-city,
.related-person-courses {
  overflow: hidden;
  color: var(--test-muted);
  font: 400 10px/1.35 var(--serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-person-courses {
  color: var(--bone-2);
  font-size: 9px;
}

.related-person-arrow {
  color: var(--test-muted);
  font: 18px/1 var(--display);
  transition: transform .2s ease;
}

.related-person:hover .related-person-arrow,
.related-person:focus-visible .related-person-arrow {
  transform: translateX(4px);
}

.profile-bottom {
  position: relative;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
}

.profile-bottom-spacer {
  width: 1px;
  height: 25px;
  background: var(--test-line);
}

.profile-bottom button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  letter-spacing: .1em;
}

.profile-bottom button span {
  color: var(--test-muted);
}

.profile-bottom button b {
  overflow: hidden;
  color: var(--bone);
  font: 650 11px/1.15 var(--display);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-bottom button:last-child {
  align-items: flex-end;
}

@media (min-width: 1000px) {
  .course-filters {
    flex-wrap: nowrap;
  }
}

@media (max-width: 999px) {
  .course-filters-wrap {
    margin-inline: -14px;
    padding-inline: 14px;
    overflow: hidden;
  }

  .course-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: 0 24px 10px 0;
    margin: 0;
  }

  .course-filters::-webkit-scrollbar {
    display: none;
  }

  .course-filters-wrap::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 9px;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #000 92%);
  }
}

@media (max-width: 600px) {
  .filter-field select {
    font-size: 16px;
  }

  .profile-heading {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .profile-photo {
    width: 80px;
  }

  .profile-top {
    min-height: 48px;
    padding-inline: 14px;
  }

  .profile-sheet {
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-tile:active {
    transform: none;
  }
}

.testimonial-tile .tile-location {
  color: var(--test-muted) !important;
  letter-spacing: .02em;
  text-transform: none;
}

.testimonial-tile .tile-highlight {
  font-style: italic;
}

/* Portraits and first-person excerpts are presented as a single, readable stack. */
.testimonial-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  aspect-ratio: auto;
  overflow: hidden;
}

.testimonial-tile::after {
  display: none;
}

.testimonial-tile .tile-photo {
  position: relative;
  inset: auto;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.testimonial-tile .tile-copy {
  position: relative;
  inset: auto;
  display: block;
  flex: 1 0 auto;
  padding: 13px 12px 16px;
}

.testimonial-tile .tile-name {
  display: block;
  overflow: visible;
  font: 700 17px/1.16 var(--display);
  font-stretch: normal;
  letter-spacing: 0;
  text-overflow: clip;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.testimonial-tile .tile-location {
  margin-top: 5px;
  font: 450 10px/1.4 var(--display);
  letter-spacing: .025em;
}

.testimonial-tile .tile-highlight {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--bone-2);
  font: italic 400 14px/1.48 var(--serif);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

[hidden] {
  display: none !important;
}

/* Minimal native place selectors with a separate, legible current-value label. */
.testimonial-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 14px;
}

.filter-field {
  display: block;
  min-width: 0;
}

.filter-label {
  margin-bottom: 5px;
  text-transform: uppercase;
}

.filter-select-control {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  padding-right: 19px;
  border-bottom: 1px solid var(--test-line);
}

.filter-select-control:focus-within {
  border-bottom-color: var(--test-orange);
}

.filter-value {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
  overflow: hidden;
  color: var(--bone-2);
  font: 550 10px/1.2 var(--display);
  letter-spacing: 1.6px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-value-count {
  flex: 0 0 auto;
  color: var(--test-muted);
}

.filter-select-control select {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  opacity: 0;
  appearance: none;
  cursor: pointer;
  font-size: 16px;
}

.filter-select-control select:disabled {
  cursor: default;
}

.filter-chevron {
  position: absolute;
  right: 3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--test-muted);
  border-bottom: 1px solid var(--test-muted);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.filter-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding: 0;
}

.clear-filters {
  min-height: 24px;
  padding: 2px 0;
  border: 0;
  color: var(--test-orange);
  background: transparent;
  font-size: 9px;
  letter-spacing: .16em;
}

.clear-filters:hover,
.clear-filters:focus-visible {
  border: 0;
  color: #ffad55;
}

@media (max-width: 600px) {
  .testimonial-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 12px;
  }

  .filter-actions {
    justify-content: flex-end;
  }
}

/* Equal stat cells keep the row balanced without stretching it across the hero. */
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  width: max-content;
  max-width: 100%;
}

.testimonial-stat,
.testimonial-stat:first-child {
  box-sizing: border-box;
  width: 78px;
  min-width: 78px;
  padding: 0 11px;
  border-left: 0;
  border-right: 1px solid var(--test-line);
}

.testimonial-stat:first-child {
  padding-left: 0;
}

.testimonial-stat:last-child {
  border-right: 0;
}

.profile-story mark {
  color: var(--bone);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: var(--profile-underline, var(--profile-accent, var(--test-orange)));
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Keep the hero closer to the shared header while retaining safe-area clearance. */
.testimonials-main {
  padding-top: calc(34px + env(safe-area-inset-top, 0px));
}

.testimonials-hero {
  padding-top: clamp(22px, calc(9vw - 28px), 84px);
}

.testimonials-gallery {
  padding-top: clamp(28px, 3vw, 42px);
}

.testimonials-hero {
  padding-bottom: 0;
}

.testimonial-share-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  gap: 6px;
  margin-top: clamp(28px, 3vw, 42px);
  padding: 8px 12px;
  border: 1px solid rgba(249, 130, 0, .5);
  border-radius: 0;
  color: var(--test-orange);
  background: transparent;
  cursor: pointer;
  font: 500 8px/1.2 var(--display);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.testimonial-share-jump svg {
  width: 7px;
  height: 5px;
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.testimonial-share-jump:hover svg {
  transform: translateY(2px);
}

.testimonial-share-jump:focus-visible {
  outline: 1px solid var(--test-orange);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .testimonials-main {
    padding-top: calc(26px + env(safe-area-inset-top, 0px));
  }

  .testimonials-hero {
    padding-top: 14px;
  }
}

/* Keep touch tiles monochrome; mouse and keyboard focus restore the original lift. */
.testimonial-tile .tile-photo {
  filter: grayscale(1) brightness(.72);
  transform: scale(1.001);
  transition: filter .35s ease, transform .5s cubic-bezier(.2,.65,.25,1);
}

@media (hover: none) {
  .testimonial-tile:hover .tile-photo,
  .testimonial-tile:focus-visible .tile-photo,
  .testimonial-tile.is-touched .tile-photo {
    filter: grayscale(1) brightness(.72);
    transform: scale(1.001);
  }
}

@media (hover: hover) and (pointer: fine) {
  .testimonials-main .testimonial-tile:hover .tile-photo,
  .testimonials-main .testimonial-tile:focus-visible .tile-photo {
    filter: grayscale(0) brightness(.86);
    transform: scale(1.035);
  }

  .testimonials-main .testimonial-tile:hover .tile-accent,
  .testimonials-main .testimonial-tile:focus-visible .tile-accent {
    width: 100%;
  }
}
