/* A real gathering follows the origin story. All content stays in normal flow. */
.gathering-moments{--gathering-p:1;margin-top:var(--s64)}
.gathering-frames{display:grid;grid-template-columns:1fr 1.35fr 1fr;align-items:center;gap:var(--s24);overflow:clip;padding-block:var(--s32)}
.gathering-photo,.gathering-film{position:relative;min-width:0;overflow:hidden;border-radius:var(--r4)}
.gathering-photo{aspect-ratio:1/1}
.gathering-photo img,.gathering-poster,.gathering-film video{display:block;width:100%;height:100%;object-fit:cover}
.gathering-photo-first{align-self:start;transform:translate3d(calc((1 - var(--gathering-p)) * 32%),calc((1 - var(--gathering-p)) * 48px),0) rotate(calc((1 - var(--gathering-p)) * -4deg))}
.gathering-photo-last{align-self:end;transform:translate3d(calc((1 - var(--gathering-p)) * -32%),calc((1 - var(--gathering-p)) * -40px),0) rotate(calc((1 - var(--gathering-p)) * 4deg))}
.gathering-film{aspect-ratio:4/5;transform:translate3d(0,calc((1 - var(--gathering-p)) * 28px),0) scale(calc(.94 + var(--gathering-p) * .06))}
.gathering-film video{position:absolute;inset:0;opacity:0;transition:opacity var(--normal) var(--ease)}
.gathering-film.has-frame video{opacity:1}
.gathering-moments.is-near .gathering-photo,.gathering-moments.is-near .gathering-film{will-change:transform}
.gathering-playback{position:absolute;right:var(--s12);bottom:var(--s12);display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line-on-navy);border-radius:var(--r4);background:var(--navy);color:var(--white);cursor:pointer}
.gathering-playback[hidden]{display:none}
.gathering-playback svg{width:20px;height:20px;fill:currentColor}
.gathering-pause-icon,.gathering-playback.is-playing .gathering-play-icon{display:none}
.gathering-playback.is-playing .gathering-pause-icon{display:block}
.gathering-moments figcaption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--s12);margin-top:var(--s8);font-size:var(--label);color:var(--muted)}
.about-gathering .gathering-moments .text-link{margin-top:0;font-size:var(--label)}
@media(max-width:760px){
 .gathering-moments{margin-top:var(--s32)}
 .gathering-frames{grid-template-columns:1fr 1fr;gap:var(--s12);padding-block:var(--s16)}
 .gathering-film{grid-column:1/-1;grid-row:1;transform:translate3d(0,calc((1 - var(--gathering-p)) * 16px),0)}
 .gathering-photo{aspect-ratio:4/3;align-self:auto;transform:translate3d(0,calc((1 - var(--gathering-p)) * 24px),0)}
 .gathering-photo-last{transform:translate3d(0,calc((1 - var(--gathering-p)) * 36px),0)}
 .gathering-moments figcaption{font-size:var(--tag)}
}
@media(prefers-reduced-motion:reduce){
 .gathering-photo,.gathering-film{transform:none!important;will-change:auto!important}
 .gathering-film video{transition:none}
}

/* A separate reading page. The founder's original letter remains unabridged. */
.founder-note{padding:var(--s48) var(--gutter) var(--s96)}
.founder-note-inner{width:100%;max-width:720px;margin-inline:auto}
.founder-note-back{display:inline-flex;align-items:center;gap:var(--s12);min-height:44px;font-size:var(--label);font-weight:var(--control);color:var(--link)}
.founder-note-header{padding-block:var(--s40) var(--s40);border-bottom:1px solid var(--line)}
.founder-note-header h1{font-size:clamp(36px,4.8vw,60px);font-weight:var(--bold);line-height:1.15;letter-spacing:-.035em;text-wrap:balance}
.founder-note-byline{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--s4);margin-top:var(--s24);font-size:var(--small);line-height:1.7;color:var(--navy)}
.founder-note-translation{margin-top:var(--s8);font-size:var(--label);line-height:1.6;color:var(--muted)}
.founder-note-body{padding-top:var(--s40)}
.founder-note-body p{font-size:20px;line-height:1.9;font-weight:var(--regular);letter-spacing:-.012em;color:var(--navy);text-wrap:pretty;overflow-wrap:break-word}
.founder-note-body p+p{margin-top:var(--s32)}
.founder-note-body:lang(en) p{line-height:1.85;letter-spacing:0;word-break:normal}
.founder-note-signature{margin-top:var(--s40);padding:0;border:0;background:none}
.founder-note-signature p:first-child{font-size:var(--body);font-weight:var(--control);line-height:1.5;color:var(--navy)}
.founder-note-signature p+p{margin-top:var(--s4);font-size:var(--label);color:var(--muted)}
.founder-note-return{margin-top:var(--s48);padding-top:var(--s24);border-top:1px solid var(--line)}
.founder-note-return a{display:inline-flex;align-items:center;gap:var(--s12);min-height:44px;font-size:var(--small);font-weight:var(--control)}
@media(max-width:760px){
 .founder-note{padding:var(--s24) var(--gutter) var(--s64)}
 .founder-note-header{padding-block:var(--s24) var(--s32)}
 .founder-note-header h1{font-size:clamp(32px,8.4vw,44px);line-height:1.2}
 .founder-note-byline{margin-top:var(--s20);font-size:var(--label)}
 .founder-note-translation{font-size:var(--tag)}
 .founder-note-body{padding-top:var(--s32)}
 .founder-note-body p{font-size:18px;line-height:1.85;letter-spacing:0}
 .founder-note-body p+p{margin-top:var(--s32)}
 .founder-note-signature{margin-top:var(--s32)}
 .founder-note-return{margin-top:var(--s40)}
}
