/*
  Questions + responses: the section shared by the pages that carry it (Walk, About), built by jw_faq_section() in
  _faq.php and opened and closed by faq.js. The homepage has its own, in index.php.
*/
.qr-wrap { width: min(100% - 2 * var(--gutter), var(--text-measure, 40rem)); margin: 0 auto; text-align: left; }   /* About: the column of its three parts, read from the left */
@keyframes qr-soft-in { from { opacity: 0; filter: blur(12px); } }

.wk-faq { padding-bottom: clamp(4rem, 10vh, 6rem); }
.wk-faq__h { margin: 0 0 clamp(2.5rem, 6vh, 3.5rem); font-family: var(--font-display); font-weight: 400; font-size: min(clamp(3.2rem, 2rem + 5vw, 6.5rem), 12vh); line-height: 1; letter-spacing: -.01em; }   /* the size of the homepage's Questions */
.wk-faq__sub { display: block; margin-top: .35rem; font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem); line-height: 1.2; letter-spacing: 0; opacity: .82; }   /* + responses, as on the homepage */
.wk-faq__list { }
/* the quiet label over each group of questions; its rule is the top edge of the group's first question */
.wk-faq__group { margin: 0 !important; padding: clamp(2rem, 5vh, 2.8rem) 0 .7rem; border-bottom: 1px dashed rgb(31 36 42 / .3); font-family: var(--font-body); font-size: .82rem; letter-spacing: .17em; text-transform: uppercase; opacity: .75; }
.wk-faq__group:first-child { padding-top: 0; }
.wk-faq__item { border-bottom: 1px dashed rgb(31 36 42 / .3); }
.wk-faq__q { margin: 0; font: inherit; }
.wk-faq__q button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.15rem 0; border: 0; background: none; color: inherit; text-align: left; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.35; cursor: pointer; }
.wk-faq__mark { position: relative; flex: none; width: 13px; height: 13px; opacity: .7; transition: transform 600ms var(--ease-soft), opacity 400ms var(--ease-soft); }
.wk-faq__mark::before, .wk-faq__mark::after { content: ""; position: absolute; left: 0; top: 50%; width: 13px; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; }
.wk-faq__mark::after { transform: rotate(90deg); }
.wk-faq__q button[aria-expanded="true"] .wk-faq__mark { transform: rotate(45deg); opacity: 1; }
.wk-faq__q button:hover .wk-faq__mark { opacity: 1; }
.wk-faq__q button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.wk-faq__a { padding: 0 2rem 1.4rem 0; animation: qr-soft-in 700ms var(--ease-soft) both; }
.wk-faq__a p { margin: 0 !important; }
.wk-faq__a p + p { margin-top: .9em !important; }   /* a response in more than one paragraph */
.wk-faq__a p.wk-faq__more { margin-top: 1.1em !important; font-family: var(--font-body); font-style: normal; font-size: 1rem; letter-spacing: .02em; }
.wk-faq__more a { display: inline-flex; align-items: center; gap: .55em; text-decoration: none !important; }
.wk-faq__more span { text-decoration: underline 1px; text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color 300ms var(--ease-soft); }
.wk-faq__more a:hover span, .wk-faq__more a:focus-visible span { text-decoration-color: currentColor; }
.wk-faq__more svg { width: 1.5em; height: auto; flex: none; opacity: .7; transition: transform 400ms var(--ease-soft), opacity 400ms var(--ease-soft); }
.wk-faq__more a:hover svg, .wk-faq__more a:focus-visible svg { transform: translateX(3px); opacity: 1; }
.wk-faq__a a { color: inherit; text-decoration: underline 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.wk-faq__a a:hover { text-decoration-color: currentColor; }
.wk-faq__a p { font-style: italic; }   /* the responses in italics, set apart from the questions */
.wk-faq__mark::before { display: none; }
.wk-faq__mark::after { left: 50%; top: 50%; width: 9px; height: 9px; margin: -6px 0 0 -4.5px; background: none; border-radius: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: none; rotate: 45deg; transition: rotate 600ms var(--ease-soft), margin 600ms var(--ease-soft); }
.wk-faq__q button[aria-expanded="true"] .wk-faq__mark { transform: none; }
.wk-faq__q button[aria-expanded="true"] .wk-faq__mark::after { rotate: 225deg; margin-top: -1.5px; }
.wk-faq__q button:hover .wk-faq__mark { translate: 0 2px; }
.wk-faq__q button[aria-expanded="true"]:hover .wk-faq__mark { translate: 0 -2px; }
.wk-faq__mark { transition: translate 500ms var(--ease-soft), opacity 400ms var(--ease-soft); }

/* ---- a response that is a poem (Some Questions You Might Ask, on the Questions page): typed out line by line ---- */
.wk-faq__a .wk-faq__poem { display: block; line-height: 1.6; }
.wk-faq__poem > span, .wk-faq__st > span { display: block; padding-left: 1.4em; text-indent: -1.4em; }
.wk-faq__poem > .wk-faq__st { padding-left: 0; text-indent: 0; }   /* a line too long for the column turns under itself, so each line still reads as one */
.wk-faq__a .wk-faq__by { display: block; margin-top: .3em; font-style: normal; font-size: .8em; letter-spacing: .01em; opacity: .8; }
.wk-faq__st { display: block; }
.wk-faq__st + .wk-faq__st { margin-top: .9em; }
.wk-faq__a .wk-faq__by cite { font-style: italic; }

/* ---- and the film it first opens with (faq-film.js): the whole screen, and the poem built over it ---- */
html.qf-open { overflow: hidden; }
.qf { position: fixed; z-index: 9000; inset: 0; background: #0b0f13; color: var(--paper, #f6f2ea); opacity: 0; transition: opacity 700ms var(--ease-soft, ease); overscroll-behavior: contain; touch-action: none; }
.qf.is-in { opacity: 1; }
.qf.is-leaving { opacity: 0; transition-duration: var(--qf-out, 900ms); transition-timing-function: cubic-bezier(.45, 0, .55, 1); }
.qf__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a dusk over the film, deepest behind the words, so they read over leaves, sky and breaking water alike;
*/
.qf__veil { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgb(11 15 19 / .5) 0%, rgb(11 15 19 / .3) 60%, rgb(11 15 19 / .18) 100%), rgb(11 15 19 / .12);
  transition: opacity 2600ms var(--ease-soft, ease); }

.qf__poem { position: absolute; inset: 0; margin: 0; pointer-events: none; text-align: center; font-family: var(--font-display); font-weight: var(--weight-display, 400);
  text-shadow: 0 1px 3px rgb(11 15 19 / .55), 0 2px 26px rgb(11 15 19 / .8), 0 0 70px rgb(11 15 19 / .5); }
.qf__sts { position: absolute; left: var(--gutter, 1.25rem); right: var(--gutter, 1.25rem); top: 50%; transition: transform 2400ms var(--ease-soft, ease); }
/* the newest stanza centred; older ones risen above it (faq-film.js sets how far) */
.qf__st { position: absolute; left: 0; right: 0; top: 0; width: min(100%, var(--qf-w, 52rem)); margin: 0 auto;   /* one left edge for every stanza, as the typed response has */
  font-size: clamp(1.45rem, .95rem + 1.9vw, 2.6rem); line-height: 1.28; letter-spacing: -.01em; text-align: left;
  transform: translateY(calc(-50% - 1px * var(--y, 0)));
  transition: transform 1600ms var(--ease-soft, ease), opacity 1600ms var(--ease-soft, ease), filter 1600ms var(--ease-soft, ease); }
/* each line rises out of a blur from below, and comes clear at the centre */
.qf__l { display: block; padding: .5em 0 .5em 1.2em; text-indent: -1.2em; margin: -1em 0 0;   /* a line too long for the screen turns under itself */
  opacity: 0; filter: blur(12px); translate: 0 1.1em;
  transition: opacity 1300ms var(--ease-soft, ease), filter 1600ms var(--ease-soft, ease), translate 1600ms var(--ease-soft, ease); }
.qf__l:first-child { margin-top: -.5em; }
.qf__l:last-child { margin-bottom: -.5em; }
.qf__l.is-in { opacity: 1; filter: blur(0); translate: 0 0; }
.qf__st.is-past { opacity: .5; filter: blur(1.5px); }
.qf__st.is-past2 { opacity: .2; filter: blur(4px); }
.qf__st.is-out { opacity: 0; filter: blur(10px); }
.qf__by { position: absolute; left: var(--gutter, 1.25rem); right: var(--gutter, 1.25rem); bottom: clamp(4.5rem, 14vh, 8rem); width: min(100% - 2 * var(--gutter, 1.25rem), var(--qf-w, 52rem)); margin: 0 auto; text-align: left;
  font-size: clamp(1.1rem, .75rem + 1vw, 1.65rem); letter-spacing: .01em; opacity: 0; filter: blur(10px); translate: 0 .8em;   /* about two-thirds the poem's size */
  transition: opacity 1500ms var(--ease-soft, ease), filter 1800ms var(--ease-soft, ease), translate 1800ms var(--ease-soft, ease); }
.qf__by cite { font-style: italic; }
.qf.is-by-in .qf__by { opacity: .85; filter: blur(0); translate: 0 0; }

/* at the end: the stanzas still showing all come clear where they rose to, and linger until the film fades */
.qf.is-final .qf__st.is-past, .qf.is-final .qf__st.is-past2, .qf.is-final .qf__st:not(.is-out) { opacity: 1; filter: blur(0); transition-duration: 2400ms; }

/* the way back, always there: centred at the top, the word and a quiet return arrow */
.qf__back { position: absolute; z-index: 1; top: calc(env(safe-area-inset-top, 0px) + clamp(1rem, 2.6vh, 1.6rem)); left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 0; background: none; color: inherit; cursor: pointer;
  font-family: var(--font-body); font-size: clamp(.95rem, .85rem + .3vw, 1.1rem); letter-spacing: .2em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgb(11 15 19 / .55), 0 0 18px rgb(11 15 19 / .6);
  opacity: .8; transition: opacity 400ms var(--ease-soft, ease); }
.qf__back:hover, .qf__back:focus-visible { opacity: 1; }
.qf__back:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.qf__back svg { width: 1.55em; height: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgb(11 15 19 / .55)); transition: translate 400ms var(--ease-soft, ease); }
.qf__back:hover svg { translate: -2px 0; }
.wk-faq__a p.wk-faq__again { margin-top: 1.4em !important; }
@media (max-width: 899px) {
  .qf__st { font-size: min(6.2vw, 1.75rem); line-height: 1.34; }
  .qf__by { font-size: min(4.3vw, 1.15rem); }
  .qf__veil { background: radial-gradient(ellipse 95% 50% at 50% 50%, rgb(11 15 19 / .55) 0%, rgb(11 15 19 / .32) 70%, rgb(11 15 19 / .2) 100%), rgb(11 15 19 / .12); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .qf__st { font-size: min(1.6rem, 6.6vh); line-height: 1.26; }
  .qf__by { bottom: 1.4rem; }
}

/* ---- a one-line form beneath a response (the rap rumor's source): Send small, at the end of the same line ---- */
.wk-faq__src { display: flex; align-items: flex-end; max-width: 32rem; margin-top: 1.3rem; }
.wk-faq__a .wk-faq__src p { font-style: normal; }
.wk-faq__a .wk-faq__src .iv-field { flex: 1 1 auto; min-width: 0; margin: 0 !important; }
.wk-faq__src .iv-field label { font-size: .78rem; white-space: nowrap; }   /* one line, running on over the space above Send */
.wk-faq__a .wk-faq__src .iv-form__go { flex: none; margin: 0 !important; }
/* the button sits on the field's own underline, its words on the same line as the name typed */
.wk-faq__src .iv-send { gap: .45em; padding: .55rem 0 .45rem .9rem; border-bottom: 1px solid var(--line); font-family: var(--font-body); font-size: .78rem; line-height: calc(1rem * 1.5);
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .8; transition: opacity 400ms var(--ease-soft), border-color 500ms var(--ease-soft); }
.wk-faq__src .iv-send:hover, .wk-faq__src .iv-send:focus-visible { opacity: 1; }
.wk-faq__src:focus-within .iv-send { border-bottom-color: currentColor; }
.wk-faq__src .iv-send .ab-arrow { width: 1.6em; height: auto; }
.wk-faq__a .wk-faq__src .iv-form__thanks { margin: 0 !important; font-size: 1.15rem; font-style: italic; }
.wk-faq__src > * { transition: opacity 600ms var(--ease-soft), filter 600ms var(--ease-soft); }
.wk-faq__src.is-sending > :not(.iv-form__thanks) { opacity: 0; filter: blur(6px); pointer-events: none; }   /* the line fades as it sends */

/* Walk's abbreviated set: the way on to every question, beneath the last */
.wk-faq .wk-faq__all { margin: clamp(1.8rem, 4vh, 2.6rem) 0 0 !important; font-family: var(--font-body); font-size: 1rem; letter-spacing: .02em; }

/* Walk: "Have questions?", the same size as What brings you here? and Ready to start a conversation?, with an italic
   line beneath it that leads on to the Questions page */
.wk-faq__h--ask { margin-bottom: 1rem; font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); line-height: 1.1; text-wrap: balance; }
.wk-faq__intro { max-width: 34rem; margin: 0 auto clamp(2.5rem, 6vh, 3.5rem) !important; text-align: center; font-style: italic; font-size: clamp(1.15rem, 1rem + .5vw, 1.375rem); line-height: 1.5; text-wrap: pretty; opacity: .9; }
.wk-faq__intro a { color: inherit; text-decoration: underline 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 300ms ease; }
.wk-faq__intro a:hover, .wk-faq__intro a:focus-visible { text-decoration-color: currentColor; }
.wk-faq--ask { text-align: center; }
.wk-faq--ask .wk-faq__intro { margin-bottom: 0 !important; }
/* "Ask", on to the Questions page: styled as Send above it (.iv-send) */
.wk-faq__go { margin: clamp(1.6rem, 4vh, 2.4rem) 0 0 !important; text-align: center !important; }
.wk-faq__go .iv-send { text-decoration-line: underline; }
/* "Have more questions?" on one line wherever there's room: it reaches wider than the column beneath it */
@media (min-width: 900px) { .wk-faq__h--ask { margin-left: -14rem; margin-right: -14rem; white-space: nowrap; } }
/* About: "Have more questions?" below the three parts; Ask styled as Send is on the invitation pages */
.ab-ask { padding: clamp(1rem, 4vh, 2.5rem) 0 clamp(5rem, 14vh, 9rem); text-align: center; }
.ab-ask .wk-faq__h--ask { font-size: clamp(1.85rem, 1.3rem + 3vw, 4rem); }
.ab-ask .iv-send { display: inline-flex; align-items: center; padding: .55rem 0; color: inherit; font-size: 1.2em; text-decoration: underline 1px; text-underline-offset: .32em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color 500ms var(--ease-soft); }
.ab-ask .iv-send:hover, .ab-ask .iv-send:focus-visible { text-decoration-color: currentColor; }

/* ---- a footnote on a response (the mothwings question): a small number after the attribution, and its note beside the
   response on a wide screen, beneath it otherwise; its first three lines, "more" for the rest (faq.js) ---- */
.wk-faq__a { position: relative; }
.fq-fn__mark { margin-left: .15em; font-size: .72em; font-style: normal; line-height: 0; vertical-align: super; opacity: .85; }
.fq-fn { display: block; margin: 1.2rem 0 0; padding: .1em 0 .1em 1rem; border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  font-family: var(--font-display); font-style: italic; font-size: .92rem; line-height: 1.55; opacity: .86; }
.fq-fn__body { display: block; }
.fq-fn__n { float: left; margin: -.1em .35em 0 0; font-size: .75em; font-style: normal; }
.fq-fn__p { display: block; }
.fq-fn__p + .fq-fn__p { margin-top: .5em; }
.fq-fn.is-long:not(.is-open) .fq-fn__body { max-height: calc(3 * 1.55em); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.fq-fn__more { display: inline-flex; align-items: center; gap: .4em; margin-top: .3rem; padding: .15rem 0; border: 0; background: none; color: inherit; cursor: pointer;
  font-family: var(--font-body); font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.fq-fn__more[hidden] { display: none; }
.fq-fn__more:hover, .fq-fn__more:focus-visible { opacity: 1; }
.fq-fn__more svg { width: .8em; height: auto; transition: transform 500ms var(--ease-soft, ease); }
.fq-fn.is-open .fq-fn__more svg { transform: rotate(180deg); }
.fq-fn.is-open .fq-fn__body { animation: fq-fn-unfold 700ms var(--ease-soft, ease); }
@keyframes fq-fn-unfold { from { opacity: .4; filter: blur(3px); } }
@media (min-width: 1240px) {   /* beside the response, level with the attribution */
  /* folded, it rests level with the middle of the opened question (the question and its response together); opened, it
     stays where its top was and unfolds downward (faq.js pins that top) */
  .fq-fn { position: absolute; left: calc(100% + clamp(2rem, 3.5vw, 4rem)); top: 0; width: clamp(14rem, 18vw, 18rem); margin: 0; }
}
.fq-fn__by { display: block; margin-top: .3em; font-style: normal; font-size: .9em; opacity: .85; }   /* the note's own source, as the attributions are */
.fq-fn__by cite { font-style: italic; }

/* ---- a note on a group label (More beautiful questions), there only while the label is hovered or focused: beside the
   list on a wide screen, level with the label; under the label otherwise ---- */
.wk-faq__group--note { position: relative; cursor: default; outline: none; }
.fq-gn { display: block; max-height: 0; overflow: hidden; opacity: 0; filter: blur(6px); padding-left: 1rem; border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; text-transform: none; line-height: 1.5;
  transition: opacity 600ms var(--ease-soft, ease), filter 700ms var(--ease-soft, ease), max-height 600ms var(--ease-soft, ease), margin 600ms var(--ease-soft, ease); }
.fq-gn__q { display: block; font-style: italic; font-size: 1.08em; }
.fq-gn__by { display: block; margin-top: .3em; font-size: .85em; opacity: .85; }
.fq-gn__by cite { font-style: italic; }
.wk-faq__group--note:hover .fq-gn, .wk-faq__group--note:focus-visible .fq-gn, .wk-faq__group--note:focus .fq-gn { max-height: 10rem; margin-top: .7rem; opacity: 1; filter: none; }
@media (min-width: 1240px) {
  .fq-gn { position: absolute; left: calc(100% + clamp(2rem, 3.5vw, 4rem)); top: calc(100% - 1.25rem); width: clamp(14rem, 18vw, 18rem); max-height: none; translate: 0 calc(-50% + .4em); }   /* centred on the label's line */
  .wk-faq__group--note:hover .fq-gn, .wk-faq__group--note:focus-visible .fq-gn, .wk-faq__group--note:focus .fq-gn { margin-top: 0; translate: 0 -50%; transition: opacity 700ms var(--ease-soft, ease), filter 800ms var(--ease-soft, ease), translate 800ms var(--ease-soft, ease); }
}
