/* -------------------------------------------------------------------------
   Method Quote — Figma 2586:53 (+ text 2586:156)
   Full-bleed textured banner, three centered Inter lines, line 3 bold.
   ------------------------------------------------------------------------- */
:root {
  --vp-method-quote-height: 295px;
  --vp-method-quote-pad-x: 140px;
  --vp-method-quote-pad-y: 101px;
  --vp-method-quote-text-max: 1160px;
  --vp-method-quote-font: 16px;
  --vp-method-quote-lh: 1.295;
  --vp-method-quote-text: #ffffff;
  --vp-method-quote-fallback: #987553;
}

.vp-method-quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-height: 150px;
  padding: var(--vp-method-quote-pad-y) var(--vp-method-quote-pad-x);
  color: var(--vp-method-quote-text);
  background-color: #000000;
}

.vp-method-quote__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--vp-method-quote-fallback);
  background-image: var(--vp-method-quote-bg-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: vp-method-quote-bg-drift 22s ease-in-out infinite alternate;
}

.vp-method-quote__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--vp-method-quote-text-max));
  margin: 0 auto;
  text-align: center;
}

.vp-method-quote__text {
  margin: 0;
  font-family: "Catamaran", sans-serif;
  font-size: var(--vp-method-quote-font);
  font-weight: 400;
  line-height: var(--vp-method-quote-lh);
  color: var(--vp-method-quote-text);
  text-align: center;
  text-wrap: balance;
  animation: vp-method-quote-fade-up 750ms var(--vp-menu-ease) both;
}

.vp-method-quote__line {
  display: block;
}

.vp-method-quote__line--emphasis {
  font-weight: 700;
  animation: vp-method-quote-emphasis 900ms var(--vp-menu-ease) 180ms both;
}

@keyframes vp-method-quote-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vp-method-quote-emphasis {
  from {
    opacity: 0;
    letter-spacing: 0.02em;
  }
  to {
    opacity: 1;
    letter-spacing: 0;
  }
}

@keyframes vp-method-quote-bg-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(0, -1.2%, 0);
  }
}

@media (max-width: 1200px) {
  :root {
    --vp-method-quote-pad-x: 72px;
    --vp-method-quote-pad-y: 88px;
    --vp-method-quote-font: 22px;
  }
}

@media (max-width: 1024px) {
  :root {
    --vp-method-quote-height: 260px;
    --vp-method-quote-pad-x: 48px;
    --vp-method-quote-pad-y: 72px;
    --vp-method-quote-font: 20px;
    --vp-method-quote-text-max: 920px;
  }
}

@media (max-width: 768px) {
  :root {
    --vp-method-quote-height: 0;
    --vp-method-quote-pad-x: 28px;
    --vp-method-quote-pad-y: 56px;
    --vp-method-quote-font: 18px;
    --vp-method-quote-lh: 1.35;
    --vp-method-quote-text-max: none;
  }

  .vp-method-quote {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  :root {
    --vp-method-quote-pad-x: 20px;
    --vp-method-quote-pad-y: 48px;
    --vp-method-quote-font: 16px;
  }
}

@media (max-width: 375px) {
  :root {
    --vp-method-quote-pad-x: 16px;
    --vp-method-quote-pad-y: 44px;
    --vp-method-quote-font: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-method-quote__bg,
  .vp-method-quote__text,
  .vp-method-quote__line--emphasis {
    animation: none;
  }

  .vp-method-quote__bg {
    transform: none;
  }
}
