/* Standalone client reflections. V1 slots preserve the approved sketch geometry. */
.testimonials-page { background: var(--paper); }
.testimonials-page__main {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--paper) url("../svg/paper-grain.svg");
}
.testimonials-page__opening-environment {
  position: absolute;
  inset: 0 0 auto;
  height: 34rem;
  z-index: -1;
  background: linear-gradient(180deg, rgb(5 28 40 / .45), rgb(5 28 40 / .12) 62%, var(--paper)), #092936 url("../img/hero/meet-elie-celestial-background.webp") center 38% / cover;
}
.testimonials-page__opening-celestial {
  position: absolute;
  top: 3.2rem;
  left: -1.5rem;
  width: min(24vw, 22rem);
  height: auto;
  opacity: .8;
  pointer-events: none;
}
.testimonials-page__opening-horizon {
  position: absolute;
  z-index: -1;
  top: 17rem;
  left: 0;
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center 65%;
  opacity: .48;
  mask-image: linear-gradient(transparent, #000 32%, #000 58%, transparent);
  pointer-events: none;
}
.testimonials-page__opening {
  position: relative;
  z-index: 2;
  padding-top: 8.8rem;
}
.testimonials-page__identity { text-align: center; color: var(--paper-pale); }
.testimonials-page__eyebrow {
  margin: 0 auto .55rem;
  font-family: var(--font-interface);
  font-size: clamp(.7rem, .88vw, .9rem);
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.5;
  text-transform: uppercase;
}
.testimonials-page__identity .testimonials-page__eyebrow { color: #edc276; }
.testimonials-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.1vw, 5.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.testimonials-page__divider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: min(66%, 60rem);
  margin: 2rem auto;
  color: var(--gold);
}
.testimonials-page__divider > span { flex: 1; height: 1px; background: currentColor; opacity: .6; }
.testimonials-page__divider img { filter: invert(58%) sepia(56%) saturate(470%) hue-rotate(357deg); flex: 0 0 2rem; width: 2rem; height: 2rem; }
.testimonials-page__identity .testimonials-page__divider { width: 23rem; max-width: 55%; margin-block: 1.1rem 3rem; }
.client-reflection {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: clamp(2.1rem, 3.5vw, 3.3rem) clamp(1.7rem, 3vw, 2.8rem) clamp(1.8rem, 2.7vw, 2.6rem);
  color: var(--charcoal);
}
.client-reflection::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 2rem solid transparent;
  border-image: url("../img/testimonials/testimonial-parchment.webp") 28% 28% fill / 2rem / 0 stretch;
  content: "";
  pointer-events: none;
}
.client-reflection__quote-mark {
  position: absolute;
  top: .35rem;
  left: 1.9rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: #b38a4a;
  opacity: .85;
}
.client-reflection blockquote { margin: 0; }
.client-reflection blockquote p {
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-style: italic;
  line-height: 1.38;
  text-wrap: pretty;
}
.client-reflection blockquote p + p { margin-top: .7em; }
.client-reflection figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .55rem;
  margin-top: 1.3rem;
  line-height: 1.45;
}
.client-reflection__name { font-family: var(--font-body); font-size: 1rem; letter-spacing: .025em; }
.client-reflection__source {
  color: #605546;
  font-family: var(--font-interface);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.client-reflection__source-link {
  display: inline-block;
  margin-top: .8rem;
  color: var(--green-deep);
  font-family: var(--font-interface);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
  text-transform: uppercase;
  text-underline-offset: .3em;
}
.client-reflection--featured { width: min(52%, 48rem); margin: 0 auto; }
.client-reflection--featured blockquote p { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.client-reflection--featured figcaption { justify-content: center; }
.testimonials-page__stories { position: relative; isolation: isolate; margin-top: 1.7rem; }
.testimonials-page__stories::before {
  position: absolute;
  z-index: -1;
  inset: 8% 0 -5%;
  content: "";
  background: url("../img/testimonials/temperance-background.webp") center / cover;
  opacity: .18;
  mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent);
  pointer-events: none;
}
.testimonials-page__botanical-left,
.testimonials-page__botanical-right {
  position: absolute;
  z-index: 0;
  top: -.5rem;
  width: min(22vw, 20rem);
  height: 38rem;
  object-fit: contain;
  opacity: .74;
  pointer-events: none;
}
.testimonials-page__botanical-left { left: -4.7rem; transform: rotate(18deg); }
.testimonials-page__botanical-right { right: -4.7rem; top: 5rem; transform: scaleX(-1) rotate(18deg); }
.testimonials-page__group { position: relative; z-index: 2; width: min(84.5%, 81rem); margin-inline: auto; }
.testimonials-page__group--a { width: min(76%, 73rem); }
.testimonials-page__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem; align-items: start; }
.client-reflection[hidden] { display: none; }
.testimonials-page__cards[data-visible-count="1"] { grid-template-columns: minmax(0, 1fr); }
.testimonials-page__cards[data-visible-count="1"] .client-reflection { width: min(100%, 40rem); justify-self: center; }
.testimonials-page__interlude-art { width: min(23vw, 20rem); aspect-ratio: .94; margin: 2rem auto; }
.testimonials-page__interlude-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.testimonials-page__group--b.is-enhanced .testimonials-page__composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.testimonials-page__group--b.is-enhanced .testimonials-page__cards { display: contents; }
.testimonials-page__group--b.is-enhanced .client-reflection { grid-row: 1; }
.testimonials-page__group--b.is-enhanced .client-reflection[data-visible-position="0"] { grid-column: 1; }
.testimonials-page__group--b.is-enhanced .client-reflection[data-visible-position="1"] { grid-column: 3; }
.testimonials-page__group--b.is-enhanced .testimonials-page__interlude-art { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
.testimonials-page__group--b .client-reflection { padding-inline: 2rem; }
.testimonials-page__group--b blockquote p,
.testimonials-page__group--c blockquote p { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
.testimonials-page__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.05rem;
}
.testimonials-page__controls[hidden] { display: none; }
.testimonials-page__controls button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #71624e;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--charcoal);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.testimonials-page__controls button:hover { transform: translateY(-2px); box-shadow: 0 3px 6px rgb(39 36 31 / .12); }
.testimonials-page__controls button:focus-visible,
.testimonials-page__main a:focus-visible,
.testimonials-page__main button:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 4px; }
.testimonials-page__count { min-width: 6rem; margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-align: center; color: #605546; }
.testimonials-page__closing {
  position: relative;
  isolation: isolate;
  margin-top: 1.5rem;
  padding: 2rem var(--gutter) 4rem;
  text-align: center;
}
.testimonials-page__lower-landscape {
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  width: 100%;
  height: 30rem;
  object-fit: cover;
  object-position: center bottom;
  opacity: .7;
  mask-image: linear-gradient(transparent, #000 42%);
  pointer-events: none;
}
.testimonials-page__closing::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse 35% 85% at 50% 35%, var(--paper) 25%, transparent);
}
.testimonials-page__lower-foreground { position: absolute; z-index: -1; inset: auto 0 0; height: 14rem; pointer-events: none; }
.testimonials-page__closing-content { position: relative; z-index: 2; }
.testimonials-page__closing .testimonials-page__eyebrow { color: #66522f; }
.testimonials-page__closing h2 { margin: 0 0 1.3rem; color: #0b2c38; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 3.8vw, 4rem); line-height: 1.1; }
.testimonials-page__booking { border-radius: 999px; min-width: 15.5rem; background: #163b49; border-color: #163b49; color: var(--paper-pale); gap: 1rem; }
.testimonials-page__closing .testimonials-page__divider { width: min(22rem, 70%); margin-block: 1.4rem; }
.testimonials-page__closing .testimonials-page__divider img { width: 1rem; height: 1rem; flex-basis: 1rem; }
.testimonials-page__patreon { border-radius: 999px; min-width: 15.5rem; border-color: #71624e; color: var(--charcoal); background: rgb(243 236 223 / .65); gap: 1rem; }
@media (min-width: 64.001rem) {
  .testimonials-page .site-header { position: absolute; margin-block-end: 0; background: transparent; }
}
@media (max-width: 64rem) {
  .testimonials-page__opening { padding-top: 8.4rem; }
  .client-reflection--featured { width: 68%; }
  .testimonials-page__group--a { width: 84.5%; }
  .testimonials-page__cards { gap: 1.5rem; }
  .testimonials-page__group--b.is-enhanced .testimonials-page__composition { grid-template-columns: 1fr .5fr 1fr; gap: .9rem; }
  .testimonials-page__group--b .client-reflection { padding-inline: 1.5rem; }
  .testimonials-page__botanical-left { left: -4rem; }
  .testimonials-page__botanical-right { right: -4rem; }
}
.testimonials-page__group.is-enhanced .client-reflection { transition: opacity 200ms ease-in-out; }
.testimonials-page__group.is-enhanced.is-fading .client-reflection { opacity: 0; }
.testimonials-page__group.is-enhanced.is-immediate .client-reflection { transition: none; }
/* Paired layouts share one intrinsic grid row: inactive reviews reserve their
   real height without becoming visible or interactive. Phone stays natural-height. */
@media (min-width: 48rem) {
  .testimonials-page__group.is-enhanced .testimonials-page__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonials-page__group.is-enhanced .client-reflection {
    grid-row: 1;
    align-self: start;
  }
  .testimonials-page__group.is-enhanced .client-reflection[hidden] {
    display: block;
    visibility: hidden;
  }
  .testimonials-page__group.is-enhanced .client-reflection:nth-child(odd) { grid-column: 1; }
  .testimonials-page__group.is-enhanced .client-reflection:nth-child(even) { grid-column: 2; }
  .testimonials-page__group--b.is-enhanced .client-reflection:nth-child(even) { grid-column: 3; }
  .testimonials-page__group.is-enhanced:not(.testimonials-page__group--b) .client-reflection:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 40rem);
    justify-self: center;
  }
}
@media (max-width: 47.999rem) {
  .testimonials-page__opening { padding-top: 8.2rem; }
  .testimonials-page__opening-environment { height: 28rem; }
  .testimonials-page__opening-celestial { top: 5rem; width: 10rem; opacity: .4; }
  .testimonials-page__opening-horizon { top: 16rem; height: 18rem; opacity: .32; }
  .testimonials-page__identity { padding-inline: 1.25rem; }
  .testimonials-page h1 { font-size: clamp(2.65rem, 11vw, 3.9rem); }
  .testimonials-page__eyebrow { font-size: .68rem; letter-spacing: .25em; }
  .testimonials-page__identity .testimonials-page__divider { margin-bottom: 1.8rem; }
  .client-reflection--featured,
  .testimonials-page__group,
  .testimonials-page__group--a { width: calc(100% - 2rem); }
  .client-reflection { padding: 2.55rem 1.65rem 1.9rem; }
  .client-reflection__quote-mark { left: 1.4rem; font-size: 3.8rem; }
  .client-reflection blockquote p,
  .client-reflection--featured blockquote p,
  .testimonials-page__group--b blockquote p,
  .testimonials-page__group--c blockquote p { font-size: clamp(1.12rem, 4.8vw, 1.28rem); line-height: 1.48; }
  .client-reflection__name { font-size: .98rem; }
  .client-reflection__source { font-size: .6rem; }
  .client-reflection figcaption { gap: .25rem .5rem; }
  .testimonials-page__cards { grid-template-columns: minmax(0, 1fr); }
  .testimonials-page__stories { margin-top: 1.8rem; }
  .testimonials-page__botanical-left,
  .testimonials-page__botanical-right { width: 7rem; height: 26rem; opacity: .25; }
  .testimonials-page__botanical-left { left: -3.6rem; }
  .testimonials-page__botanical-right { right: -3.6rem; }
  .testimonials-page__divider { width: 75%; margin-block: 1.9rem; }
  .testimonials-page__divider img { width: 1.5rem; height: 1.5rem; flex-basis: 1.5rem; }
  .testimonials-page__group--b.is-enhanced .testimonials-page__composition { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .testimonials-page__group--b.is-enhanced .testimonials-page__interlude-art { grid-column: 1; grid-row: 1; width: 9rem; margin-inline: auto; }
  .testimonials-page__group--b.is-enhanced .client-reflection[data-visible-position="0"] { grid-column: 1; grid-row: 2; width: 100%; padding-inline: 1.65rem; }
  .testimonials-page__controls { margin-top: .9rem; }
  .testimonials-page__closing { padding: 2.2rem 1rem 3rem; }
  .testimonials-page__lower-landscape { height: 26rem; opacity: .45; }
  .testimonials-page__lower-foreground { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-page__group.is-enhanced .client-reflection { transition: none; }
  .testimonials-page__controls button { transition: none; }
  .testimonials-page__controls button:hover { transform: none; }
}
