/* Quoting follows packaging's white frame so existing quote links land on a real section.
   The photo and copy own their motion rather than sharing the page's text reveal. */
.qt {
  --qt-x: calc(var(--frame) + var(--pad-x));
  --qt-grey: #f2f4f5;
  --qt-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --qt-duration: 6s;
  position: relative; z-index: 3; background: var(--white);
  padding: clamp(72px, 9svh, 112px) var(--qt-x); overflow-x: clip;
  font-family: var(--font-sans);
}
.qt:focus { outline: none; }
.qt__head { margin-bottom: clamp(28px, 4svh, 44px); }
.qt__title {
  margin: 0; font-size: clamp(2.125rem, 0.9rem + 2.7vw, 4.25rem); font-weight: 600;
  line-height: 1.04; letter-spacing: -0.045em; color: var(--navy-900);
}
.qt__title em { font-style: normal; color: var(--teal-700); }
.qt .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.qt__panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; gap: 32px clamp(32px, 5vw, 80px);
  padding: clamp(28px, 3.3vw, 48px); border-radius: var(--radius-panel); background: var(--qt-grey);
}
.qt__tabs { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.qt__tab {
  position: relative; display: block; max-width: 100%; min-height: 44px; padding: 0 0 10px;
  border: 0; background: none; text-align: left; cursor: pointer;
  font: inherit; font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.1; color: var(--neutral-500);
  transition: color 0.25s ease;
}
.qt__tab[aria-selected="true"], .qt__tab:hover { color: var(--navy-900); }
.qt__tab:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; }
.qt__label { display: block; overflow: hidden; }
.qt__label-in { display: flex; align-items: center; gap: 8px; transform: translateX(-24px); transition: transform 0.45s var(--qt-ease); }
.qt__label-in svg { width: 16px; height: 20px; flex: none; }
.qt__tab[aria-selected="true"] .qt__label-in, .qt__tab:hover .qt__label-in { transform: none; }
.qt__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(15 35 64 / 0.15); visibility: hidden; }
.qt__fill { display: block; width: 100%; height: 100%; background: var(--navy-900); transform: scaleX(0); transform-origin: left; }
.qt__tab[aria-selected="true"] .qt__progress { visibility: visible; }
.qt__tab[aria-selected="true"] .qt__fill { animation: qt-progress var(--qt-duration) linear both; animation-play-state: paused; }
.qt.is-running .qt__tab[aria-selected="true"] .qt__fill { animation-play-state: running; }
.qt.is-static .qt__tab[aria-selected="true"] .qt__fill { animation: none; transform: scaleX(1); }
@keyframes qt-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.qt__details { align-self: end; min-width: 0; }
.qt__badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill); background: var(--white); color: var(--navy-900);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em;
  box-shadow: inset 0 0 0 1px rgb(15 35 64 / 0.10), 0 6px 18px -10px rgb(15 35 64 / 0.25);
}
.qt__badge svg { width: 14px; height: 14px; flex: none; color: var(--teal-700); }
/* Reserve three lines so copy changes do not bounce the CTA or the photo. */
.qt__copy { min-height: 4.78125rem; margin-bottom: 24px; max-width: 30em; }
.qt__paragraph { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-body); animation: qt-copy 0.45s var(--qt-ease) both; }
@keyframes qt-copy { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qt__photo {
  grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end;
  width: min(100%, calc((100svh - 280px) * 0.8), 496px); aspect-ratio: 4 / 5;
  min-width: 0; overflow: hidden; border-radius: 18px; background: var(--neutral-200);
}
.qt__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; transition: transform 0.9s var(--qt-ease); }
.qt__slide { min-width: 0; height: 100%; overflow: hidden; }
.qt__slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 0.9s var(--qt-ease); }
.qt__slide.is-active img { transform: scale(1); }
@media (max-width: 899px) {
  .qt__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 24px; padding: 20px; }
  .qt__photo { grid-column: 1; grid-row: 1; width: 100%; }
  .qt__tabs {
    grid-row: 2; flex-direction: row; align-items: stretch; gap: 20px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 4px; margin: -4px; scrollbar-width: thin;
  }
  /* Compact text needs normal-text contrast; the desktop muted token is only for large type. */
  .qt__tab { flex: none; font-size: 1.0625rem; letter-spacing: -0.02em; white-space: nowrap; color: var(--neutral-600); scroll-snap-align: start; }
  .qt__label-in { transform: none; }
  .qt__label-in svg { display: none; }
  .qt__details { grid-row: 3; }
}
/* Tablet: a full-width 4:5 photo would push the tabs below the fold, so it crops wider. */
@media (min-width: 600px) and (max-width: 899px) {
  .qt__photo { aspect-ratio: 4 / 3; }
  .qt__slide img { object-position: 50% 62%; }
}
@media (max-width: 759px) {
  .qt { --qt-x: calc(var(--frame) + 16px); padding-block: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .qt__tab, .qt__label-in, .qt__track, .qt__slide img, .qt .btn__dot svg { transition: none; }
  .qt__label-in { transform: none; }
  .qt__slide img, .qt .btn:hover .btn__dot svg { transform: none; }
  .qt__paragraph { animation: none; }
  .qt__tab[aria-selected="true"] .qt__fill { animation: none; transform: scaleX(1); }
}
