/* ==========================================================================
   Version 6. Version 5, with more of Trudy herself: she looks over the page, says a line now and then, lends her
   speech-bubble corner to quotes and cards, and brings more lilac into the light sections. The research centre
   behind the method (GCDIR) shows as a small mark. This file sits on top of site.css, ui.css and v5.css.
   ========================================================================== */

/* ---------- A warmer page: more lilac in the openings, lilac paper for some sections, a green footer ---------- */
.v6 .vhero::before { background: radial-gradient(40% 48% at 50% 44%, rgba(205, 141, 255, .26), transparent 70%), radial-gradient(40% 50% at 84% 72%, rgba(110, 206, 128, .13), transparent 70%), radial-gradient(44% 52% at 12% 22%, rgba(205, 141, 255, .16), transparent 70%); background-size: 150% 150%, 160% 160%, 160% 160%; }
.v6 main > .s.s--lilac { background: var(--lilac-wash) !important; }
.v6 .s--lilac .card, .v6 .s--lilac .spec-card { background: var(--white); }
.v6 .site-footer { background: var(--green); border-top-color: var(--green-line); }

/* ---------- Trudy's corner: quotes, cards and big numbers take the shape of her speech bubble ---------- */
.v6 .card, .v6 .quote-card, .v6 .spec-card, .v6 .vhero-stat, .v6 .hero-stat--epic, .v6 .h-blind--v3 { border-radius: 26px 26px 26px 6px; }
.v6 .feature-quote blockquote { position: relative; }

/* ---------- Her three dots open the label above a heading ---------- */
.v6 .head > .eyebrow::before, .v6 .h-head .eyebrow::before, .v6 .split .eyebrow::before, .v6 .vhero-text > .eyebrow::before, .v6 .close .eyebrow::before, .v6 .step--hero .eyebrow::before {
  content: ""; display: inline-block; width: 27px; height: 9px; margin-right: 9px; vertical-align: -.5px;
  background: radial-gradient(circle at 4.5px 4.5px, #7D97F4 3.9px, transparent 4.4px), radial-gradient(circle at 13.5px 4.5px, #CD8DFF 3.9px, transparent 4.4px), radial-gradient(circle at 22.5px 4.5px, #F3AE4A 3.9px, transparent 4.4px);
}

/* ---------- Trudy looks over the top of a sheet ---------- */
.v6 .peek { position: absolute; z-index: 2; top: 1px; right: max(calc(var(--gutter) + 34px), calc((100% - var(--wrap)) / 2 + var(--gutter) + 34px)); display: flex; align-items: flex-end; gap: 10px; transform: translateY(-100%); pointer-events: none; }
.v6 .peek--left { right: auto; left: max(calc(var(--gutter) + 34px), calc((100% - var(--wrap)) / 2 + var(--gutter) + 34px)); flex-direction: row-reverse; }
@media (min-width: 900px) { .v6 .peek--mid { right: auto; left: 44%; transform: translate(-50%, -100%); } }
.v6 .peek-win { display: block; flex: none; width: 96px; height: 60px; overflow: hidden; }
.v6 .peek-win img { display: block; width: 96px; height: auto; max-width: none; }
.v6 .peek--left .peek-win img { transform: scaleX(-1); }
.v6 .peek-say { margin: 0 0 16px; padding: 9px 15px 10px; border-radius: 18px 18px 5px 18px; background: #F4F1E7; color: var(--ink); font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 600; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .6); }
.v6 .peek--left .peek-say { border-radius: 18px 18px 18px 5px; }
@media (prefers-reduced-motion: no-preference) {
  .v6 .peek-win img { animation: peekup .9s cubic-bezier(.2, .9, .3, 1.15) 1.1s both; }
  .v6 .peek-say { animation: peeksay .5s ease 1.9s both; }
}
@keyframes peekup { from { transform: translateY(76%); } to { transform: none; } }
.v6 .peek--left .peek-win img { animation-name: peekupl; }
@keyframes peekupl { from { transform: translateY(76%) scaleX(-1); } to { transform: scaleX(-1); } }
@keyframes peeksay { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .v6 .peek { right: 22px; gap: 8px; } .v6 .peek--left { left: 22px; }
  .v6 .peek-win, .v6 .peek-win img { width: 70px; } .v6 .peek-win { height: 44px; }
  .v6 .peek-say { margin-bottom: 11px; padding: 7px 12px 8px; font-size: .88rem; white-space: normal; max-width: 14em; }
  /* the opening's picture band leaves her a strip of her own */
  .v6 .vhero--art { padding-bottom: 388px; }
}

/* ---------- A remark from Trudy ---------- */
.v6 .says { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 18px; max-width: 40rem; }
.v6 .says img { flex: none; width: 46px; height: auto; margin-bottom: 2px; }
.v6 .says span { display: block; padding: 11px 16px 12px; border-radius: 18px 18px 18px 5px; background: var(--lilac-wash); color: var(--ink); font-size: 1rem; line-height: 1.45; }
.v6 .says b { display: block; margin-bottom: 3px; font-family: var(--mono); font-weight: 400; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac-ink); }
.v6 .says--dark span { background: rgba(244, 241, 231, .1); color: var(--on-green); }
.v6 .says--dark b { color: var(--lilac-soft); }
.v6 .s--lilac .says span, .v6 .h-blind .says span { background: var(--white); }
.v6 .protocol + .says { margin-top: 26px; }
.v6 .h-own-head .says { margin-bottom: 14px; }
.v6 .h-own-head .says span { font-family: var(--display); font-variation-settings: var(--fvs); font-weight: 600; font-size: 1.05rem; }
.v6 .breakdown-note { align-items: flex-start; }
.v6 .breakdown-note .says { margin: 0; }
.v6 .breakdown-links { display: grid; gap: 16px; justify-items: start; }

/* ---------- Home: she sits on the big number; the blind test offer is hers ---------- */
.v6 .hero-stat--epic { position: relative; }
.v6 .stat-trudy { position: absolute; right: 22px; bottom: calc(100% - 9px); width: 62px; height: auto; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .v6 .saga.is-live .stat-trudy { animation: peekup .8s cubic-bezier(.2, .9, .3, 1.15) 1.6s both; } }
@media (min-width: 900px) and (max-height: 680px) { .v6 .stat-trudy { width: 48px; } }
@media (max-width: 899px) { .v6 .stat-trudy { width: 46px; right: 10px; } }
.v6 .h-blind--v3 { padding: clamp(24px, 3.4vw, 44px); border: 0; background: var(--lilac-wash); }
.v6 .h-head-badge { align-self: end; justify-self: start; }
.v6 .h-work-gcdir { margin: 26px 0 0; }

/* ---------- The research centre's mark ---------- */
.v6 .gcdir { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.v6 .gcdir:hover { border-color: var(--ink); transform: translateY(-1px); }
.v6 .gcdir svg { flex: none; width: 40px; height: auto; }
.v6 .gcdir span { display: grid; gap: 1px; text-align: left; }
.v6 .gcdir b { font-weight: 600; font-size: .9rem; line-height: 1.2; letter-spacing: -.005em; }
.v6 .gcdir small { font-family: var(--mono); font-size: .6rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.v6 .gcdir--dark { border-color: rgba(233, 239, 236, .22); background: rgba(244, 241, 231, .06); color: #F4F1E7; }
.v6 .gcdir--dark:hover { border-color: #F4F1E7; }
.v6 .gcdir--dark small { color: rgba(233, 239, 236, .62); }
.v6 .vhero-gcdir { margin: clamp(18px, 2.6vh, 28px) 0 0; }
.v6 .vhero:not(.vhero--split) .vhero-gcdir { text-align: center; }
.v6 .pf-gcdir, .v6 .signals-gcdir { margin: 22px 0 0; }
.v6 .site-footer .gcdir { margin: 6px 0 4px; }
.v6 .footer-sign { display: flex; align-items: center; gap: 10px; }
.v6 .footer-sign img { width: 34px; height: auto; }
@media (max-width: 899px) { .v6 .vhero .vhero-gcdir { text-align: left; } }

/* ---------- The closing block is Trudy's own: lilac paper laid over the section before it ---------- */
.v6 .close { position: relative; z-index: 3; margin-top: calc(clamp(22px, 3.4vw, 40px) * -1); border-radius: clamp(22px, 3.4vw, 40px) clamp(22px, 3.4vw, 40px) 0 0; background: var(--lilac-wash); color: var(--ink); }
.v6 .close .eyebrow { color: var(--ink-3); }
.v6 .close h2 { color: var(--ink); }
.v6 .close h2 em { background: linear-gradient(100deg, #7A2FC4 0%, #B26BF2 50%, #5B6FD6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; animation: none; }
.v6 .close p:not(.eyebrow) { color: var(--ink-2); }
.v6 .close .btn-line { border-color: var(--line-2); color: var(--ink); }
.v6 .close .btn-line:hover { border-color: var(--ink); }
.v6 .close .btn-primary { background: var(--ink); color: #F4F1E7; box-shadow: 0 12px 30px -14px rgba(12, 20, 19, .6); }
.v6 .close-trudy { width: clamp(118px, 12vw, 168px); margin-bottom: 22px; }
.v6 .close :focus-visible { outline-color: var(--lilac-ink); }

/* ---------- Trudy is on the team: first card on the About page ---------- */
@media (min-width: 1001px) { .v6 .team { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); } }
.v6 .member--trudy img { filter: none; object-fit: contain; padding: 22% 12% 18%; background: var(--lilac-wash); }
.v6 .member--trudy p { color: var(--lilac-ink); font-weight: 600; letter-spacing: .02em; }

/* ---------- Home, "Meet Trudy": she says in her own words what she takes in ---------- */
.v6 .step--watch .says { max-width: 31rem; margin: 6px 0 0; align-items: flex-start; }
.v6 .step--watch .says img { width: 58px; margin: 4px 0 0; }
.v6 .step--watch .says span { padding: 13px 18px 15px; border-radius: 5px 20px 20px 20px; background: rgba(244, 241, 231, .09); font-size: 1.08rem; line-height: 1.55; color: #E9EFEC; }
.v6 .step--watch .says b { color: var(--lilac-soft); }
@media (max-width: 899px) { .v6 .step--watch .says img { width: 46px; } .v6 .step--watch .says span { font-size: 1rem; } }
