.edge-statement-testimonial,
.edge-statement-testimonial * {
  box-sizing: border-box;
}

.edge-statement-testimonial {
  --edge-statement-bg: #E9EFE8;
  --edge-statement-line: rgba(17, 17, 17, 0.14);
  --edge-statement-quote: #0d0d0d;
  --edge-statement-muted: rgba(17, 17, 17, 0.56);
  --edge-statement-accent: #728A79;
  --edge-statement-logo-surface: rgba(114, 138, 121, 0.10);
  --edge-statement-logo-width: 128px;
  --edge-statement-logo-height: 56px;
  --edge-statement-min-height: 76vh;
  --edge-statement-vertical-align: center;
  --edge-statement-vertical-justify: center;
  --edge-statement-padding-top: clamp(56px, 8vh, 92px);
  --edge-statement-padding-right: 7vw;
  --edge-statement-padding-bottom: clamp(56px, 8vh, 92px);
  --edge-statement-padding-left: 7vw;
  background: var(--edge-statement-bg);
  color: var(--edge-statement-quote);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: var(--edge-statement-vertical-justify, center);
  width: 100%;
  min-height: min(var(--edge-statement-min-height), 100vh);
  max-height: 100vh;
  padding: min(var(--edge-statement-padding-top), 12vh) var(--edge-statement-padding-right) min(var(--edge-statement-padding-bottom), 12vh) var(--edge-statement-padding-left);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.edge-statement-testimonial--dark {
  --edge-statement-bg: #E9EFE8;
  --edge-statement-line: rgba(17, 17, 17, 0.14);
  --edge-statement-quote: #0d0d0d;
  --edge-statement-muted: rgba(17, 17, 17, 0.56);
  --edge-statement-accent: #728A79;
  --edge-statement-logo-surface: rgba(114, 138, 121, 0.10);
}

.edge-statement-testimonial--light {
  --edge-statement-bg: #F2F4EF;
  --edge-statement-line: rgba(17, 17, 17, 0.14);
  --edge-statement-quote: #0d0d0d;
  --edge-statement-muted: rgba(17, 17, 17, 0.52);
  --edge-statement-accent: #728A79;
  --edge-statement-logo-surface: rgba(114, 138, 121, 0.10);
}

.edge-statement-testimonial--sage {
  --edge-statement-bg: #DDE7DC;
  --edge-statement-line: rgba(17, 17, 17, 0.12);
  --edge-statement-quote: #0d0d0d;
  --edge-statement-muted: rgba(17, 17, 17, 0.54);
  --edge-statement-accent: #728A79;
  --edge-statement-logo-surface: rgba(114, 138, 121, 0.12);
}

.edge-statement-testimonial__inner {
  width: 100%;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.edge-statement-testimonial__stack {
  display: grid;
  width: 100%;
  position: relative;
}

.edge-statement-testimonial__item {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: relative;
}

.edge-statement-testimonial__item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.edge-statement-testimonial__item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(22px, 3vw, 46px);
}

.edge-statement-testimonial__topbar {
  align-items: center;
  color: var(--edge-statement-muted);
  display: grid;
  grid-template-columns: max-content minmax(80px, 180px) 1fr;
  min-height: 2.5rem;
  padding-block: 0.75rem;
  position: relative;
}

.edge-statement-testimonial__topbar::before {
  background: var(--edge-statement-line);
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.edge-statement-testimonial__index,
.edge-statement-testimonial__eyebrow {
  color: var(--edge-statement-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.edge-statement-testimonial__eyebrow {
  justify-self: start;
}

.edge-statement-testimonial__logo {
  align-items: center;
  display: inline-flex;
  justify-content: flex-start;
  max-height: var(--edge-statement-logo-height);
  max-width: var(--edge-statement-logo-width);
  min-height: 1.5rem;
  overflow: hidden;
}

.edge-statement-testimonial__logo-img {
  display: block;
  height: auto !important;
  max-height: var(--edge-statement-logo-height) !important;
  max-width: var(--edge-statement-logo-width) !important;
  object-fit: contain;
  width: auto !important;
}

.edge-statement-testimonial__logo-fallback {
  align-items: center;
  background: var(--edge-statement-logo-surface);
  border-radius: 999px;
  color: var(--edge-statement-muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
  letter-spacing: 0.08em;
  padding-inline: 0.85rem;
  text-transform: uppercase;
}

.edge-statement-testimonial__quote {
  color: var(--edge-statement-quote);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 1.02;
  margin: 0;
  padding: 0;
  text-wrap: balance;
}

.edge-statement-testimonial__quote-text {
  display: block;
}

.edge-statement-testimonial__quote-text .char,
.edge-statement-testimonial__quote-text [data-edge-statement-char] {
  display: inline-block;
  will-change: opacity;
}

.edge-statement-testimonial__quote-text .word {
  display: inline-block;
  white-space: nowrap;
}

.edge-statement-testimonial__meta {
  color: var(--edge-statement-muted);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 60rem;
}

.edge-statement-testimonial__person,
.edge-statement-testimonial__company,
.edge-statement-testimonial__company-link {
  color: var(--edge-statement-quote);
  font-weight: 750;
  text-decoration: none;
}

.edge-statement-testimonial__company-link:hover,
.edge-statement-testimonial__company-link:focus {
  color: var(--edge-statement-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.edge-statement-testimonial__progress {
  align-items: center;
  color: var(--edge-statement-muted);
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  gap: 0.8rem;
  letter-spacing: 0.12em;
  margin-top: clamp(22px, 3vw, 44px);
  text-transform: uppercase;
}

.edge-statement-testimonial__progress-line {
  background: var(--edge-statement-line);
  display: block;
  height: 1px;
  width: min(12rem, 34vw);
}

.edge-statement-testimonial__progress-current {
  color: var(--edge-statement-quote);
}

@media (max-width: 1024px) {
  .edge-statement-testimonial__topbar {
    grid-template-columns: max-content minmax(64px, 140px) 1fr;
  }
}

@media (max-width: 767px) {
  .edge-statement-testimonial {
    min-height: auto !important;
    max-height: none !important;
    overflow: visible;
    padding: clamp(42px, 8vh, 72px) 22px !important;
  }

  .edge-statement-testimonial__item-inner {
    gap: 24px;
  }

  .edge-statement-testimonial__topbar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 18px;
  }

  .edge-statement-testimonial__index {
    display: none;
  }

  .edge-statement-testimonial__eyebrow {
    justify-self: auto;
  }

  .edge-statement-testimonial__quote {
    font-size: clamp(2.15rem, 10vw, 3.4rem);
    letter-spacing: -0.06em;
    line-height: 1.04;
  }

  .edge-statement-testimonial__meta {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edge-statement-testimonial *,
  .edge-statement-testimonial *::before,
  .edge-statement-testimonial *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
