/* Client-supplied testimonials, directly after the homepage hero. */
.homeTestimonials {
  position: relative;
  scroll-margin-top: 110px;
  border-top: 1px solid rgba(215,168,79,.24);
  border-bottom: 1px solid rgba(215,168,79,.18);
  background: radial-gradient(ellipse at 65% 0, rgba(174,132,58,.06), transparent 70%), linear-gradient(90deg,#080806,#0e0d09 60%,#080806);
}
html.refinementReady .homeTestimonials[data-refinement-reveal] { opacity: 1; transform: none; transition: none; }
.homeQuoteRail { display: grid; grid-template-columns: 145px minmax(0,1fr) 100px; align-items: center; gap: clamp(26px,3.5vw,54px); padding-top: 24px; padding-bottom: 24px; }
.homeQuoteRule { display: block; width: 32px; height: 1px; background: var(--td-gold,#d7a84f); margin-bottom: 17px; }
.homeQuoteHeading h2 { margin: 0; color: var(--td-gold-bright,#eed49a); font: 600 10px/1.8 Inter,system-ui,sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.homeQuoteStage { min-width: 0; }
.homeQuoteSlide { margin: 0 0 35px; min-width: 0; }
.homeQuoteSlide blockquote { margin: 0 0 14px; }
.homeQuoteSlide blockquote p { margin: 0; color: var(--td-ivory,#fff7ea); font: 500 clamp(19px,1.7vw,23px)/1.45 'Playfair Display',Georgia,serif; letter-spacing: -.015em; }
.homeQuoteBottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; }
.homeQuoteAttribution { display: grid; align-content: center; gap: 5px; min-height: 44px; }
.homeQuoteAttribution strong { color: #eee6d5; font: 600 10px/1.6 Inter,system-ui,sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.homeQuoteAttribution > span { color: #b1a999; font: 400 10px/1.6 Inter,system-ui,sans-serif; }
.homeQuoteRead { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #d7ba7b; font: 500 10px/1.6 Inter,system-ui,sans-serif; cursor: pointer; }
.homeQuoteRead:hover { color: #ffdfa2; }
.homeQuoteRead[hidden], .homeQuoteControls[hidden] { display: none !important; }
.homeQuoteFull { margin: 12px 0 25px; color: #d4ccbd; font-size: 14px; line-height: 1.85; }
.homeQuoteFull summary { color: #ddbd7d; cursor: pointer; }
.homeTestimonials.isEnhanced.hasQuoteDialog .homeQuoteFull { display: none; }
.homeTestimonials.isEnhanced .homeQuoteStage { display: grid; }
.homeTestimonials.isEnhanced .homeQuoteSlide { grid-area: 1/1; display: flex; flex-direction: column; align-self: stretch; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.homeTestimonials.isEnhanced .homeQuoteSlide blockquote { flex: 1; display: flex; align-items: center; }
.homeTestimonials.isEnhanced .homeQuoteSlide.isActive { opacity: 1; visibility: visible; pointer-events: auto; }
.homeTestimonials.isEnhanced.hasQuoteChanged .homeQuoteSlide.isActive { animation: homeQuoteAppear .5s ease both; }
@keyframes homeQuoteAppear { from { opacity: 0; } to { opacity: 1; } }
.homeQuoteControls { display: grid; justify-items: center; gap: 8px; }
.homeQuoteCount { color: #a79f8e; font: 400 10px/1.6 Inter,system-ui,sans-serif; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.homeQuoteCount > span { color: #f5ead4; }
.homeQuoteArrows { display: flex; gap: 8px; }
.homeQuoteArrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(215,168,79,.5); border-radius: 50%; color: #e2c17c; background: transparent; font: 400 22px/1 Inter,system-ui,sans-serif; cursor: pointer; }
.homeQuoteArrows button:hover { color: #fff0cb; border-color: #e1bd75; background: rgba(215,168,79,.08); }
.homeQuotePlayback { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 96px; min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: #b6ad9a; font: 400 10px/1.5 Inter,system-ui,sans-serif; cursor: pointer; }
.homeQuotePlayback:hover { color: #ffe2a7; }
.homeQuoteStatus { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.homeTestimonials :is(button,summary):focus-visible, .homeQuoteDialog button:focus-visible { outline: 2px solid #edcc8a; outline-offset: 5px; }
.homeQuoteDialog { width: min(760px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #8a713f; color: #eee5d5; background: #10100c; box-shadow: 0 30px 100px #000b; overflow: auto; }
.homeQuoteDialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(5px); }
.homeQuoteDialogHeader { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 30px; border-bottom: 1px solid rgba(215,168,79,.22); background: #10100c; }
.homeQuoteDialogHeader h2 { margin: 0 0 6px; color: #f5ead6; font: 500 27px/1.25 'Playfair Display',Georgia,serif; }
.homeQuoteDialogRole { margin: 0; color: #b9ac91; font: 400 12px/1.7 Inter,system-ui,sans-serif; }
.homeQuoteDialogHeader button { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #7c6842; color: #e8cc96; background: transparent; font: 500 12px/1.5 Inter,system-ui,sans-serif; cursor: pointer; }
.homeQuoteDialogBody { padding: 24px 30px 30px; }
.homeQuoteDialogBody p { margin: 0 0 20px; color: #ded6c7; font: 400 16px/1.9 Inter,system-ui,sans-serif; }
.homeQuoteDialogBody p:last-child { margin-bottom: 0; }
@media (max-width:900px) {
  .homeTestimonials { scroll-margin-top: 90px; }
  .homeQuoteRail { grid-template-columns: 1fr auto; gap: 18px 32px; padding-top: 23px; padding-bottom: 21px; }
  .homeQuoteHeading { grid-column: 1/-1; display: flex; align-items: center; gap: 15px; }
  .homeQuoteRule { margin: 0; }
  .homeQuoteHeading h2 { font-size: 9px; }
  .homeQuoteHeading h2 br { display: none; }
  .homeQuoteHeading h2 br::after { content: ' '; }
  .homeQuoteSlide blockquote p { font-size: 21px; }
}
@media (max-width:600px) {
  .homeQuoteRail { grid-template-columns: minmax(0,1fr); gap: 16px; padding-top: 22px; padding-bottom: 14px; }
  .homeQuoteHeading h2 { letter-spacing: .18em; }
  .homeQuoteSlide blockquote { margin-bottom: 12px; }
  .homeQuoteSlide blockquote p { font-size: 18px; line-height: 1.5; }
  .homeQuoteAttribution strong { font-size: 9px; }
  .homeQuoteAttribution > span { font-size: 10px; }
  .homeQuoteBottom { gap: 4px 16px; }
  .homeQuoteControls { grid-template-columns: 1fr auto 1fr; gap: 15px; width: 100%; border-top: 1px solid rgba(215,168,79,.14); padding-top: 12px; }
  .homeQuoteCount { justify-self: start; }
  .homeQuotePlayback { justify-self: end; min-width: 72px; }
  .homeQuoteDialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .homeQuoteDialogHeader { padding: 20px; gap: 14px; }
  .homeQuoteDialogHeader h2 { font-size: 24px; }
  .homeQuoteDialogBody { padding: 20px; }
  .homeQuoteDialogBody p { font-size: 14px; line-height: 1.9; }
}
@media (prefers-reduced-motion:reduce) { .homeTestimonials.isEnhanced.hasQuoteChanged .homeQuoteSlide.isActive { animation: none; } }
