/* Participants' stories page. Page-scoped; base styles come from magazine.css. */
.thead{ padding-bottom:30px; }
.thead .tcount{ color:var(--mint); }
/* two slow ribbons of short phrases, moving in opposite directions */
.ribs{ direction:ltr; display:grid; justify-items:start; gap:10px; padding:10px 0 54px; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rib__t{ display:flex; gap:10px; width:max-content; animation:rib 150s linear infinite; }
.rib--b .rib__t{ animation-direction:reverse; animation-duration:190s; }
.rib span{ flex:none; padding:6px 16px; border-radius:999px; border:1.5px solid var(--line); font-weight:700; font-size:15px; white-space:nowrap; color:var(--txt2); }
.rib--a span:nth-child(3n+1){ border-color:var(--gold); color:var(--gold); }
.rib--b span:nth-child(3n+2){ border-color:rgba(160,206,111,.6); color:var(--mint); }
.rib--a span:nth-child(4n+3){ background:var(--txt); border-color:var(--txt); color:var(--page); }
.ribs:hover .rib__t{ animation-play-state:paused; }
@keyframes rib{ to{ transform:translateX(-50%); } }

.spot{ position:relative; display:grid; gap:26px; padding:56px 64px 44px; border-radius:28px; background:var(--gold); color:#1f1a0b; overflow:hidden; }
.spot::after{ content:""; position:absolute; inset-inline-end:-90px; top:-90px; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.16); pointer-events:none; }
.spot__q{ width:46px; fill:#1f1a0b; opacity:.55; position:relative; z-index:1; }
.spot__stage{ display:grid; position:relative; z-index:1; }
.spot__s{ grid-area:1/1; margin:0; display:flex; flex-direction:column; gap:26px; justify-content:space-between; pointer-events:none; }
.spot__s.is-on{ pointer-events:auto; }
.spot blockquote{ margin:0; }
.spot blockquote p{ margin:0; max-width:920px; font-family:var(--display); font-weight:900; font-size:clamp(26px,3.6vw,50px); line-height:1.16; letter-spacing:-.01em; }
/* the quote changes word by word: old words drop out and blur, new ones rise in one after another */
.spot blockquote span{ display:inline-block; opacity:0; transform:translateY(-.5em) rotate(-3deg); filter:blur(8px); transition:opacity .3s ease, transform .3s ease, filter .3s ease; }
.spot__s.is-on blockquote span{ opacity:1; transform:none; filter:none; transition:opacity .55s ease, transform .7s cubic-bezier(.2,1.3,.4,1), filter .55s ease; transition-delay:calc(.3s + var(--k) * 55ms); }
.spot__s:not(.is-on) blockquote span{ transform:translateY(.6em) rotate(3deg); }
.spot figcaption{ display:flex; align-items:center; gap:14px; opacity:0; transform:translateX(24px); transition:opacity .3s, transform .3s; }
.spot__s.is-on figcaption{ opacity:1; transform:none; transition:opacity .6s ease .8s, transform .7s cubic-bezier(.2,.7,.2,1) .8s; }
.spot figcaption img{ width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:50% 20%; border:2px solid #1f1a0b; }
.spot figcaption > span{ display:flex; flex-direction:column; line-height:1.35; }
.spot figcaption b{ font-size:18px; }
.spot figcaption span span{ color:inherit; opacity:.7; font-size:15px; font-weight:700; }
.spot__dots{ display:flex; gap:8px; position:relative; z-index:1; }
.spot__dots button{ width:28px; height:6px; padding:0; border:0; border-radius:3px; background:rgba(31,26,11,.22); cursor:pointer; transition:background .3s, width .4s; }
.spot__dots button[aria-current]{ width:60px; background:#1f1a0b; }

.tlist{ padding-top:84px; }
.tlist .filt button i{ font-style:normal; font-weight:400; opacity:.6; margin-inline-start:4px; }
.tgrid{ columns:3; column-gap:24px; }
.tq{ break-inside:avoid; display:flex; flex-direction:column; gap:14px; margin:0 0 24px; padding:28px 28px 24px; border-radius:20px; background:var(--page2); border:1px solid transparent; }
.tq{ transition:opacity .9s cubic-bezier(.2,.7,.2,1) var(--d,0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d,0ms), border-color .4s, box-shadow .4s; }
.tq[data-reveal]:not(.in){ transform:translateY(34px) scale(.96); }
.tq.in:hover{ transform:translateY(-5px); border-color:rgba(203,170,93,.55); box-shadow:0 18px 40px -22px rgba(0,0,0,.6); transition-delay:0s; }
.tq mark{ color:inherit; padding:.02em .22em; margin:0 -.22em; border-radius:.3em; -webkit-box-decoration-break:clone; box-decoration-break:clone; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M2.500 4.800C22 3.600 61 4.400 97 3.900C99 3.900 99.500 6.500 99.100 10C99.400 13.800 98.600 16.300 96.600 16.400C60 17.200 25 16.300 3.200 16.900C1.200 16.900.700 14 1 10C.800 7 1.200 5 2.500 4.800Z' fill='%23F3D55B' fill-opacity='.82'/%3E%3Cpath d='M4 6.200C30 5.400 70 5.900 96 5.500C97.500 5.500 97.800 8 97.600 10.400C97.700 12.800 97.200 14.600 95.800 14.700C65 15.300 30 14.800 4.600 15.200C3.200 15.200 2.800 13 3 10.400C2.900 8.200 3.200 6.400 4 6.200Z' fill='%23F7DE6E' fill-opacity='.55'/%3E%3C/svg%3E") no-repeat 100% 55% / 0 88%; transition:background-size .9s cubic-bezier(.5,0,.2,1) calc(var(--d,0ms) + .7s); }
.tq.in mark{ background-size:100% 88%; }
.tq:not(.tq--gold):not(.tq--cream) mark{ color:#1D2D32; }
/* short quotes are set large, and every other one gets a colour */
.tq--big blockquote p{ font-family:var(--display); font-weight:900; font-size:24px; line-height:1.3; }
.tq--gold{ background:var(--gold); color:#231d0c; }
.tq--gold blockquote::before, .tq--cream blockquote::before{ color:inherit; opacity:.45; }
.tq--gold figcaption, .tq--cream figcaption{ border-top-color:rgba(35,29,12,.2); }
.tq--gold figcaption span span, .tq--cream figcaption span span{ color:inherit; opacity:.7; }
.tq--gold .tq__av--i, .tq--cream .tq__av--i{ background:rgba(35,29,12,.14); color:inherit; }
.tq--gold mark{ filter:brightness(1.12) saturate(.75); }
.tq--cream{ background:var(--txt); color:var(--page); }
.tq--mint{ background:rgba(160,206,111,.1); border-color:rgba(160,206,111,.45); }
.tq--mint blockquote::before{ color:var(--mint); }
.tq[hidden]{ display:none; }
.tq blockquote{ margin:0; position:relative; }
.tq blockquote::before{ content:"״"; display:block; height:34px; margin-bottom:8px; font-family:var(--display); font-weight:900; font-size:54px; line-height:1; color:var(--gold); }
.tq blockquote[dir="ltr"]::before{ content:"“"; }
.tq blockquote p{ margin:0 0 12px; font-size:17px; line-height:1.7; }
.tq blockquote p:last-child{ margin-bottom:0; }
.tq--long:not(.is-open) blockquote{ max-height:236px; overflow:hidden; -webkit-mask-image:linear-gradient(#000 62%, transparent); mask-image:linear-gradient(#000 62%, transparent); }
.tq__more{ align-self:flex-start; padding:0 0 2px; border:0; border-bottom:1.5px solid var(--gold); background:none; color:var(--txt); font:inherit; font-size:15px; font-weight:700; cursor:pointer; }
.tq__more:hover{ color:var(--gold); }
.tq figcaption{ display:flex; align-items:center; gap:12px; margin-top:6px; padding-top:16px; border-top:1px solid var(--line); }
.tq figcaption > span{ display:flex; flex-direction:column; line-height:1.35; }
.tq figcaption b{ font-size:16px; }
.tq figcaption span span{ color:var(--txt2); font-size:14px; }
.tq__av{ flex:none; width:46px; height:46px; border-radius:50%; object-fit:cover; object-position:50% 20%; }
.tq__av--i{ display:grid; place-items:center; background:rgba(160,206,111,.14); color:var(--mint); font-family:var(--display); font-weight:900; font-size:20px; }

.tcta{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:28px; margin-top:72px; padding:48px 56px; border-radius:24px; border:1.5px solid var(--gold); }
.tcta .mono{ color:var(--gold); font-size:20px; }
.tcta h2{ margin:10px 0 8px; font-family:var(--display); font-weight:900; font-size:clamp(28px,3.4vw,44px); line-height:1.1; }
.tcta p{ margin:0; color:var(--txt2); }
.tcta__b{ display:flex; flex-wrap:wrap; gap:12px; }

@media (max-width:1000px){ .tgrid{ columns:2; } .spot{ padding:40px 36px 34px; } }
@media (max-width:640px){ .tgrid{ columns:1; } .tlist{ padding-top:56px; } .tq{ padding:22px 20px 20px; } .tcta{ padding:32px 24px; } .spot{ padding:30px 22px 26px; border-radius:22px; } .rib span{ font-size:15px; padding:7px 16px; } .tq--big blockquote p{ font-size:21px; } }
@media (prefers-reduced-motion: reduce){ .rib__t{ animation:none; } .spot blockquote span, .spot figcaption{ transition:none !important; } .tq mark{ background-size:100% 88%; transition:none; } .tq[data-reveal]:not(.in){ transform:none; } }
.tgrid--js{ columns:auto; display:flex; align-items:flex-start; gap:24px; }
.tcol{ flex:1 1 0; min-width:0; }
.tq--big blockquote[dir="ltr"] p, .spot blockquote[dir="ltr"] p{ font-family:var(--sans); font-weight:700; letter-spacing:0; }
