/* THE EVENING · «Questions» (fx «faq», e-faq.js; the owner's pick of 2026-11-26: 1 «Нить посередине» of
   faq-thread.html). A gold thread down the middle: «Pulse is» left of it, «Pulse is not» right of it, then the four
   other questions on the same thread. Green for «is», rose for «is not», gold for the thread and the numbers.
   Where the page has its lamp, the block stands on the section's own colour, so the lamp's screens show only around
   it and never behind its text (owner, 2026-11-23). */

.wq-box { position: relative; isolation: isolate; }
.is-lamp .has-dark .wq-box::before { content: ""; position: absolute; z-index: -1; inset: -22px -28px; border-radius: 22px; background: var(--ed-c0, #020304); box-shadow: 0 0 14px 6px var(--ed-c0, #020304); pointer-events: none; }
.wq { position: relative; }
.wq-r, .wq-head { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); grid-template-areas: "is n not"; }
.wq-c--is, .wq-h--is { grid-area: is; }
.wq-c--not, .wq-h--not { grid-area: not; }
.wq-n { grid-area: n; }

/* the thread, and its fill down to the middle of the window */
.wq-line { position: absolute; left: calc(50% - 1px); top: 62px; bottom: 18px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .07); }
.wq-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#f3d89f, #d6b15c 50%, #a8792f); box-shadow: 0 0 14px rgba(214, 177, 92, .5); transform: scaleY(0); transform-origin: top; }

.wq-head { align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--border-faint); }
.wq-h { display: flex; align-items: center; gap: 10px; font: 750 clamp(22px, 1.3vw + 12px, 32px)/1 var(--font-display); letter-spacing: -.03em; }
.wq-h svg { width: 24px; height: 24px; flex: none; }
.wq-h--is svg, .wq-c--is .wq-lab { color: #27e0a2; }
.wq-h--not svg, .wq-c--not .wq-lab { color: #ff6b86; }
.wq-h--is, .wq-c--is { justify-content: flex-end; padding-right: 20px; text-align: right; }
.wq-h--not, .wq-c--not { padding-left: 20px; }

.wq-r { position: relative; align-items: start; padding: 14px 0; }
.wq-c { display: grid; gap: 4px; align-content: start; }
/* each half is named for a screen reader; the names show on a phone, where the headings above are gone */
.wq-lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wq-c b, .wq-q { margin: 0; color: var(--text-secondary); font: 650 clamp(17px, .6vw + 12px, 20px)/1.3 var(--font-display); letter-spacing: -.01em; transition: color .35s; }
.wq-st { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 107, 134, .7); }
.wq-c p { margin: 0; color: var(--text-tertiary); font-size: 14px; line-height: 1.5; transition: color .35s; }
.wq-r.is-now :is(.wq-c b, .wq-q) { color: var(--text-primary); }
.wq-r.is-now .wq-c p { color: var(--text-secondary); }
/* a question's answer is the content itself: it reads at full strength */
.wq-r--q .wq-c--not p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.55; }
.wq-r--q.is-now .wq-c--not p { color: var(--text-primary); }

/* the number stands on the thread, its own dark ground breaking the line; the gold rises into it when its line is
   read, and stays once the thread has passed it */
.wq-n { position: relative; display: block; justify-self: center; width: 64px; padding: 4px 0; background: var(--ed-c0, #020304); font: 800 30px/.9 var(--font-display); letter-spacing: -.05em; text-align: center; }
.wq-o { color: rgba(235, 229, 216, .05); -webkit-text-stroke: 1px rgba(235, 229, 216, .3); }
.wq-f { position: absolute; left: 50%; top: 4px; translate: -50% 0; background: linear-gradient(180deg, #fbe7bd, #e3bd6f 45%, #b07f33); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-out); }
.wq-lit:is(.is-now, .is-done) .wq-f { clip-path: inset(0 0 0 0); }

/* «Four more questions» sits on the thread, a label the line passes behind */
.wq-sep { position: relative; display: flex; justify-content: center; margin: 14px 0 4px; }
.wq-sep span { padding: 7px 14px; border-radius: 999px; background: var(--ed-c0, #020304); box-shadow: inset 0 0 0 1px var(--accent-line); color: var(--accent); font: 600 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }

.wq-ask { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.4; text-decoration: none; transition: color .2s; }
.wq-ask svg { width: 16px; height: 16px; flex: none; color: var(--accent); transition: transform .2s var(--ease-out); }
.wq-ask:hover { color: var(--text-primary); }
.wq-ask:hover svg { transform: translateX(3px); }

/* the lines come in anew each time they are shown (live-cards.js replay(#faq), .lc-anim) */
:is(.wq-head, .wq-r, .wq-sep, .wq-ask).lc-anim { opacity: 0; translate: 0 14px; transition: opacity .55s ease, translate .7s var(--ease-out); }
:is(.wq-head, .wq-r, .wq-sep, .wq-ask).lc-anim.is-on { opacity: 1; translate: none; }

/* a phone: one column beside the thread on the left; each half named where it stands */
@media (max-width: 760px) {
  .wq-head { display: none; }
  .wq-r { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "n is" "n not"; column-gap: 14px; row-gap: 10px; }
  .wq-line { left: 23px; top: 0; }
  .wq-n { width: 48px; font-size: 24px; }
  .wq-c--is, .wq-c--not { justify-content: start; padding: 0; text-align: left; }
  .wq-lab { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font: 600 10.5px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
  .wq-r:not(.wq-r--q) .wq-c--not { padding-top: 10px; border-top: 1px dashed var(--border-subtle); }
  .wq-sep { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .wq-c b, .wq-q, .wq-c p, .wq-f { transition: none; } }
