/* (the night of 2026-11-28) css/pages-pass.css — FAMILY 1, THE PASS (js/pages-pass.js).
   Nine pages in the hand of the join pages: see-through over the one night sky, the pass card as the hero, big light
   lower-case type, the script once, house buttons. Phone first; one breakpoint at 900 px. Colours only through the
   settings. Nothing here changes a rule another page uses: every rule is scoped to .psp / .psh or a piece only these
   pages draw. */

/* ---------- the page: one screen, the pass and its words ---------- */
.psp{--pw:206px;min-height:var(--vh);padding:calc(var(--top) + 12px) 0 calc(var(--bar) + 30px);overflow:hidden;display:flex;align-items:center}
.psp__in{width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "head" "body";justify-items:center;text-align:center}
.psp__head{grid-area:head;min-width:0;width:100%;position:relative;z-index:3}
.psp__stage{grid-area:stage;position:relative;display:grid;place-items:center;width:100%;min-width:0}
.psp__stage:empty{display:none}
.psp__body{grid-area:body;min-width:0;width:100%;position:relative;z-index:3}
.psp__pass{position:relative;z-index:2;width:var(--pw)}
.psp .pass{text-align:left;border-radius:calc(var(--pw) * .09)}
.psp__halo{position:absolute;left:50%;top:50%;width:calc(var(--pw) * 2);height:calc(var(--pw) * 2);margin:calc(var(--pw) * -1) 0 0 calc(var(--pw) * -1);pointer-events:none;overflow:visible}
.psp__halo circle{fill:none;stroke:var(--rose);stroke-width:1;opacity:.3}

/* the words */
.psp__h{font-size:clamp(58px,17.5vw,84px);color:var(--text);margin:30px 0 10px;filter:drop-shadow(0 10px 30px rgba(0,0,0,.5))}
.psp__h .a{color:var(--rose)}
.psp__h--long{font-size:clamp(46px,14.2vw,84px)}
.psp__say{font-family:var(--f-house);font-weight:200;font-size:clamp(36px,10vw,58px);line-height:.98;letter-spacing:-.035em;color:var(--text);margin:20px 0 14px;text-wrap:balance}
.psp__say--long{font-size:clamp(26px,7.2vw,40px);line-height:1.06;letter-spacing:-.025em}
.psp .lede{max-width:34ch;margin:0 auto 18px}
.psp .lede b{color:var(--text);font-weight:400;overflow-wrap:anywhere}
.psp__sum{font-size:16px;line-height:1.5;color:var(--soft);max-width:46ch;margin:0 0 16px}
.psp__kick{font-size:17px;font-weight:400;color:var(--rose);margin:0 0 2px}
.psp__note{font-size:17px;color:var(--rose);margin:-4px 0 12px}
.psp__blank{font-style:normal;font-family:var(--f-script);color:var(--rose);font-size:1.5em;line-height:.8;letter-spacing:0;padding:0 .08em}
.psp__status{font-size:18px;line-height:1.45;color:var(--rose);margin:0 auto 14px;max-width:34ch}
.psp__status.is-err{color:var(--err)}
.psp__fine{font-size:14px;line-height:1.45;color:var(--faint);max-width:42ch;margin:14px auto 0}
.psp__acts{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center;align-items:center;margin:0}
.psp__acts .link-btn{color:var(--text)}
.psp__mail{text-decoration:underline;text-decoration-color:var(--rose);text-underline-offset:5px;color:var(--text)}
.psp__hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.psp__facts{margin:0 0 18px;display:flex;flex-direction:column;gap:2px}
.psp__facts b{font-size:26px;font-weight:300;line-height:1.2;color:var(--text)}
.psp__facts span{font-size:17px;color:var(--soft);overflow-wrap:anywhere}
.psp__form{margin-top:0}
.psp .jf .psp__fine{margin:0}
.psp .btn.is-busy,.psp__status.is-busy{animation:psp-busy 1s ease-in-out infinite alternate}
@keyframes psp-busy{from{opacity:1}to{opacity:.55}}
.calm .psp .btn.is-busy,.calm .psp__status.is-busy{animation:none}
.psp__linkbox{display:block;max-width:400px;margin:0 auto 16px;text-align:left}
.psp__linkbox input{font-size:17px!important;text-overflow:ellipsis}

/* words on the left (the pages with a form) */
.psp--left .psp__in{justify-items:start;text-align:left}
.psp--left .lede,.psp--left .psp__status,.psp--left .psp__fine{margin-left:0}
.psp--left .psp__acts{justify-content:flex-start}

/* phones, the pages with a form: the heading across the top, then the pass at the right with the first words wrapped
   beside it, so the pass is in view while its form is filled in */
.psp--split{--pw:142px;align-items:flex-start}
.psp--split .psp__in{grid-template-columns:minmax(0,1fr) var(--pw);grid-template-areas:none;column-gap:16px;align-items:start}
.psp--split .psp__head{grid-area:auto;grid-column:1 / -1;grid-row:1}
.psp--split .psp__stage{grid-area:auto;grid-column:2;grid-row:2;z-index:2}
.psp--split .psp__body{grid-area:auto;grid-column:1 / -1;grid-row:2 / span 2}
.psp--split .psp__body > p:first-child{padding-right:calc(var(--pw) + 16px);min-height:calc(var(--pw) / .64 + 16px);margin-bottom:0;max-width:none}
.psp--split .psp__h{font-size:clamp(54px,16vw,72px);margin:6px 0 14px}
.psp--short .psp__h span{display:block;white-space:nowrap}
.psp--split .psp__say{margin:6px 0 16px}
.psp--split .psp__say--big{font-size:clamp(40px,11.6vw,54px)}
.psp--split .psp__halo{display:none}
.psp--split .psp__acts{margin-top:4px}

/* a line of phrases rolling through one at a time */
.psp__roll{font-family:var(--f-house);font-weight:200;font-size:clamp(40px,11.4vw,66px);line-height:.98;letter-spacing:-.04em;color:var(--text);margin:0 0 18px;min-height:1.96em;display:flex;align-items:flex-end;justify-content:center;text-wrap:balance}
.psp__roll-w{display:block;overflow:hidden;padding:.1em .04em .12em}
.psp__roll-w > span{display:block}
.psp__roll.is-still{font-size:clamp(24px,6.6vw,34px);line-height:1.15;letter-spacing:-.02em}
.psp__roll--small{font-family:var(--f-house);font-weight:400;font-size:17px;line-height:1.3;letter-spacing:0;color:var(--rose);min-height:1.6em;margin:0 0 2px;justify-content:flex-start;align-items:center}
.psp__roll--small .psp__roll-w{padding:.1em 0}
.psp__roll--small.is-still{font-size:16px;min-height:0}

@media (min-width:900px){
  .psp{--pw:320px;padding:calc(var(--top) + 16px) 0 44px}
  .psp__in{grid-template-columns:minmax(0,520px) minmax(0,1fr);grid-template-areas:"head stage" "body stage";column-gap:70px;justify-items:start;text-align:left;align-content:center}
  .psp__head{align-self:end}
  .psp__body{align-self:start}
  .psp__stage{align-self:center}
  .psp .lede,.psp__status,.psp__fine{margin-left:0}
  .psp__acts{justify-content:flex-start}
  .psp__linkbox{margin-left:0}
  .psp__h{font-size:clamp(84px,8.6vw,132px);margin:0 0 30px}
  .psp__say{font-size:clamp(50px,5.4vw,84px);margin:0 0 20px}
  .psp__say--long{font-size:clamp(32px,3.2vw,48px)}
  .psp__roll{font-size:clamp(60px,6.2vw,96px);justify-content:flex-start;margin:0 0 26px}
  .psp__roll--small{font-size:18px;margin:0 0 6px}
  .psp__sum{font-size:17px}
  .psp--split{--pw:320px;align-items:center}
  .psp--split .psp__in{grid-template-columns:minmax(0,520px) minmax(0,1fr);grid-template-areas:"head stage" "body stage";column-gap:70px;align-items:normal}
  .psp--split .psp__head{grid-area:head}
  .psp--split .psp__stage{grid-area:stage}
  .psp--split .psp__body{grid-area:body}
  .psp--split .psp__body > p:first-child{padding-right:0;min-height:0;margin-bottom:18px;max-width:46ch}
  .psp--split .psp__h{font-size:clamp(76px,7.4vw,112px);margin:0 0 26px}
  .psp--short .psp__h{margin-bottom:14px}
  .psp--split .psp__say{margin:0 0 16px}
  .psp--split .psp__say--big{font-size:clamp(56px,6vw,92px)}
  .psp--split .psp__halo{display:block}
}
@media (min-width:900px) and (max-height:820px){ .psp{--pw:280px} .psp--split{--pw:280px} }

/* ---------- 1. the short sign-up: a pencil pass that inks in ---------- */
.pssketch__ground{position:absolute;inset:0;border-radius:calc(var(--pw) * .09);
  background:radial-gradient(90% 50% at 100% 100%,rgb(var(--glow-purple) / .7),transparent 70%),linear-gradient(165deg,rgb(var(--c-1b1234)),rgb(var(--sky-ink)) 60%);box-shadow:0 40px 80px -30px rgb(0 0 0)}
.pssketch .pass{background:none;box-shadow:none}
.pssketch .pass__code{transform-origin:50% 60%}
.pssketch__ink{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3}
.pssk{fill:none;stroke:rgb(var(--accent) / .62);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pssk-card{stroke:rgb(var(--accent) / .8)}

/* ---------- 2. making your pass: the pieces fly in from outside the card ---------- */
.psp--making .pass{overflow:visible}
.psp--making .pass__art{overflow:visible}
.psp--making .pass__art::after{border-radius:calc(var(--pw) * .09) calc(var(--pw) * .09) 0 0}
.psp--making .pass__art > img:first-child{border-radius:calc(var(--pw) * .09) calc(var(--pw) * .09) 0 0}
.psmaking__slot{position:absolute;left:50%;bottom:6cqw;width:36cqw;height:36cqw;margin-left:-18cqw;border-radius:3cqw;border:1.5px solid rgb(var(--accent) / .7);pointer-events:none}
.psmaking__slot.is-waiting{animation:psp-wait 1s ease-in-out infinite alternate}
@keyframes psp-wait{from{border-color:rgb(var(--accent) / .25)}to{border-color:rgb(var(--accent) / .9)}}
.calm .psmaking__slot.is-waiting{animation:none}

/* ---------- 3. my pass: a sleeve, and the pass that rises out of it ---------- */
.psp--mine{--pw:164px;--sw:208px;--sh:172px;--tuck:74px}
.psp--mine .psp__stage{padding-top:calc(var(--pw) / .64 - var(--tuck) + 16px)}
.pssleeve{position:relative;width:var(--sw);height:var(--sh)}
.pssleeve__back{position:absolute;left:0;right:0;bottom:0;top:-9px;border-radius:14px;background:linear-gradient(rgb(var(--c-26124c)),rgb(var(--sky-ink)) 46%);box-shadow:0 34px 60px -24px rgb(0 0 0 / .9)}
.pssleeve__slot{position:absolute;inset:0;clip-path:inset(-900px -80px 0 -80px)}
.pssleeve__pass{position:absolute;left:50%;width:var(--pw);margin-left:calc(var(--pw) / -2);bottom:calc(var(--sh) - var(--tuck))}
.pssleeve__front{position:absolute;inset:0;border-radius:14px;overflow:hidden;
  -webkit-mask-image:radial-gradient(circle 30px at 50% -4px,transparent 29px,#000 30px);mask-image:radial-gradient(circle 30px at 50% -4px,transparent 29px,#000 30px)}
.pssleeve__front img{width:124%;max-width:none;height:100%;margin-left:-16%;object-fit:cover;object-position:50% 46%}
.pssleeve__front::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgb(var(--sky-ink) / .7),rgb(var(--sky-ink) / .1) 34%,rgb(var(--sky-ink) / .45));box-shadow:inset 0 1.5px 0 rgb(255 253 252 / .22)}
.psp--mine[data-state="invalid"] .psp__stage{padding-top:30px}
@media (min-width:900px){
  .psp--mine{--pw:250px;--sw:316px;--sh:262px;--tuck:112px}
  .pssleeve__back,.pssleeve__front{border-radius:20px}
  .pssleeve__front{-webkit-mask-image:radial-gradient(circle 44px at 50% -6px,transparent 43px,#000 44px);mask-image:radial-gradient(circle 44px at 50% -6px,transparent 43px,#000 44px)}
}
@media (min-width:900px) and (max-height:820px){ .psp--mine{--pw:220px;--sw:280px;--sh:230px;--tuck:100px} }

/* ---------- 4. the one-tap pass: it turns over ---------- */
.psflip{perspective:1300px;cursor:pointer}
.psflip__in{position:relative;transform-style:preserve-3d}
.psflip__f,.psflip__b{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.psflip__b{position:absolute;inset:0;transform:rotateY(180deg)}
.psflip__b .pass{height:100%}
.pass--back .pass__wm{display:block;height:12cqw;width:auto;margin:6cqw 6cqw 0;align-self:flex-start}
.pass--back .pass__script{font-size:14cqw;padding:5cqw 6cqw 2cqw}
.pass__gets{list-style:none;margin:0;padding:1cqw 6cqw 0;font-size:6.6cqw;line-height:1.22;font-weight:300;color:var(--text)}
.pass__gets li{position:relative;padding:2.1cqw 0 2.1cqw 6cqw}
.pass__gets li::before{content:"";position:absolute;left:0;top:4.6cqw;width:2.4cqw;height:2.4cqw;border-radius:50%;background:var(--rose)}
.pass__foot{margin:auto 6cqw 6cqw;display:flex;flex-direction:column;gap:1.2cqw;font-size:5.2cqw;color:rgba(255,253,252,.6)}
.pass__yours{color:var(--rose)}
.psp--tap .psp__in{grid-template-areas:"head" "stage" "body"}
.psp--tap .psp__body{padding-top:22px}
.psp--tap{--pw:194px}
.psp--tap .psp__h{margin:0 0 26px}
.psp--tap .psp__roll{margin-bottom:14px}
.psp--tap .psp__status{margin:8px auto 0}
.psp--tap .psp__fine{margin-top:8px}
.psp--tap .psp__acts{flex-direction:column;gap:2px}
@media (min-width:900px){
  .psp--tap{--pw:320px}
  .psp--tap .psp__in{grid-template-areas:"head stage" "body stage"}
  .psp--tap .psp__roll{margin-bottom:26px}
  .psp--tap .psp__status,.psp--tap .psp__fine{margin-left:0}
  .psp--tap .psp__body{padding-top:0}
  .psp--tap .psp__acts{flex-direction:row;gap:10px 18px}
}
/* the question that opens on every tap of the button: a whole screen of night, like the menu */
.psp-ask{position:fixed;inset:0;z-index:94;overflow-y:auto;overscroll-behavior:contain;padding:calc(var(--top) + 20px) var(--g) 40px;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(70% 45% at 88% 4%,rgb(var(--glow-purple) / .55),transparent 70%),radial-gradient(60% 40% at 0% 55%,rgb(var(--glow-wine) / .3),transparent 70%),rgb(var(--sky-ink))}
.psp-ask__in{max-width:560px;text-align:left}
.psp-ask .psp__say{margin:0 0 16px}
.psp-ask .lede{margin:0 0 16px;max-width:36ch}
.psp-ask .btn{margin:0 0 30px}
.psp-ask .btn:last-child{margin-bottom:0}

/* ---------- 5. share: a second pass behind yours ---------- */
.psp--share{--pw:150px}
.psp--share .psp__stage{padding:4px 0 14px}
.psp--share .psp__h{margin-top:20px}
.psp--share .psp__status{margin-bottom:10px}
.psp--share .psp__linkbox{margin-bottom:12px}
.psduo{position:relative;width:var(--pw)}
.psduo__a{position:relative;z-index:2}
.psduo__b{position:absolute;inset:0;z-index:1}
@media (min-width:900px){ .psp--share{--pw:262px} }
@media (min-width:900px) and (max-height:820px){ .psp--share{--pw:240px} }

/* ---------- 6. make it yours: the name line, and the pen ---------- */
.pssigner .pass{overflow:visible}
.pssigner .pass__art{border-radius:calc(var(--pw) * .09) calc(var(--pw) * .09) 0 0}
.pssigner .pass__name{position:relative;overflow:visible;font-family:var(--f-script);font-weight:400;font-size:12.5cqw;line-height:1.05;min-height:1.25em;color:var(--text)}
.pssig{display:inline-block;white-space:nowrap}
.pssig__t{display:inline-block;padding-right:.12em}
.pssig__rule{position:absolute;left:6cqw;right:6cqw;bottom:.06em;width:calc(100% - 12cqw);height:3px;overflow:visible}
.pssig__rule path{fill:none;stroke:rgb(var(--accent) / .6);stroke-width:1.5;vector-effect:non-scaling-stroke}
.pspen{position:absolute;z-index:5;left:0;top:0;width:22cqw;height:22cqw;overflow:visible;pointer-events:none;transform-origin:6% 94%;filter:drop-shadow(0 5px 6px rgb(0 0 0 / .45))}
.pspen__body{fill:none;stroke:var(--text);stroke-width:8;stroke-linecap:round}
.pspen__nib{fill:rgb(var(--accent))}
.pspen__band{fill:none;stroke:rgb(var(--accent));stroke-width:2.6;stroke-linecap:round}

/* ---------- 7. welcome from Bandsintown: the city as a giant word with a photo inside ---------- */
.pspw-city{display:block;width:max-content;max-width:none;margin:0 0 10px -.02em;white-space:nowrap;font-size:90px;line-height:.9;
  color:transparent;-webkit-background-clip:text;background-clip:text;background-size:cover;background-position:50% 21%;
  background-image:linear-gradient(var(--lift-wash),var(--lift-wash)),var(--img)}
.pspw-city--plain{font-family:var(--f-house);font-weight:800;letter-spacing:-.04em;line-height:.86;padding-bottom:.08em}
.psp--welcome{align-items:flex-start}
.psp--welcome .psp__in{grid-template-areas:"head" "body" "stage"}
.psp--welcome .psp__say{font-size:clamp(32px,8.8vw,46px);margin:8px 0 8px}
.psp--welcome .lede{margin-bottom:12px}
.psp--welcome .psp__stage{padding:44px 0 10px}
.psp--welcome[data-state="incomplete"],.psp--welcome[data-state="gone"],.psp--welcome[data-state="later"],.psp--welcome[data-state="throttled"],.psp--welcome[data-state="practice"]{align-items:center}
.psp--welcome:not(:has(.pspw-city)) .psp__say{font-size:clamp(40px,11vw,64px);margin:0 0 16px}
@media (min-width:900px){
  .psp--welcome{align-items:center}
  .psp--welcome .psp__in{grid-template-areas:"head head" "body stage";row-gap:10px}
  .psp--welcome .psp__head{align-self:end}
  .psp--welcome .psp__stage{padding:0;align-self:start}
  .psp--welcome{--pw:230px}
  .psp--welcome .psp__say{font-size:clamp(40px,3.6vw,56px);margin:0 0 10px}
  .psp--welcome:not(:has(.pspw-city)) .psp__in{grid-template-areas:"head" "body";grid-template-columns:minmax(0,760px)}
  .psp--welcome:not(:has(.pspw-city)) .psp__say{font-size:clamp(60px,6.4vw,104px);margin:0 0 22px}
}

/* ---------- 8. the drawing: a pile of passes, and the one drawn out ---------- */
.psp--drawing{--pw:150px;--mw:76px;align-items:flex-start}
.psp--drawing .psp__stage{display:block}
.pstumble{position:relative;width:100%;max-width:520px;height:312px;margin:0 auto 14px}
.pstumble .psp__halo{top:calc(var(--pw) / 1.28)}
.pstumble__m{position:absolute;z-index:1;width:var(--mw);margin-left:calc(var(--mw) / -2)}
.pstumble__m:nth-child(even){z-index:3}
.pstumble__m .pass{border-radius:calc(var(--mw) * .09);box-shadow:0 14px 26px -12px rgb(0 0 0 / .85)}
.pstumble__one{position:absolute;z-index:6;left:50%;top:0;width:var(--pw);margin-left:calc(var(--pw) / -2)}
.pass--mini .pass__script{padding-top:3cqw}
.pass--mini .pass__code svg{fill:none;stroke:rgb(var(--sky-ink));stroke-width:1}
.pass--mini .pass__code .f{fill:rgb(var(--sky-ink))}
.psp--drawing .psp__say{margin:6px 0 12px}
.psp--drawing .psp__ask{margin-bottom:14px}
@media (min-width:900px){
  .psp--drawing{--pw:270px;--mw:128px;align-items:center}
  .pstumble{height:560px;max-width:600px;margin:0 auto}
}
@media (min-width:900px) and (max-height:820px){ .psp--drawing{--pw:236px;--mw:112px} .pstumble{height:500px} }

/* ---------- 9. pass help: quiet. A headline, and answers that open one at a time ---------- */
.view > .psh{padding-top:calc(var(--top) + 46px);padding-bottom:80px}
.psh__h{font-family:var(--f-house);font-weight:200;font-size:clamp(50px,13.6vw,104px);line-height:.9;letter-spacing:-.045em;margin:0 0 22px -.03em;max-width:11ch;text-wrap:balance}
.psh__intro{max-width:44ch;margin:0 0 34px}
.psq{max-width:820px}
.psq__i{border-bottom:1px solid rgb(var(--accent) / .32)}
.psq__h{margin:0}
.psq__q{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:64px;padding:14px 0;background:none;border:0;text-align:left;
  font-family:var(--f-house);font-weight:200;font-size:clamp(26px,7vw,36px);line-height:1.08;letter-spacing:-.02em;color:var(--text);transition:color .3s}
.psq__q:hover,.psq__i.is-open .psq__q{color:var(--text)}
.psq__q span{text-wrap:balance}
.psq__x{position:relative;flex:none;width:20px;height:20px}
.psq__x::before,.psq__x::after{content:"";position:absolute;left:0;right:0;top:50%;height:1.8px;margin-top:-.9px;border-radius:2px;background:var(--rose);transition:rotate .45s cubic-bezier(.2,.8,.2,1),opacity .3s}
.psq__x::after{rotate:90deg}
.psq__i.is-open .psq__x::after{rotate:0deg;opacity:0}
.psq__a{height:0;overflow:hidden}
.psq__in{padding:2px 0 26px;max-width:60ch;font-size:18px;line-height:1.6;color:var(--soft)}
.psq__in p{margin:0 0 14px}
.psq__in p:last-child{margin-bottom:0}
.psq__in b{color:var(--text);font-weight:400}
.psq__in i{font-style:normal;color:var(--text)}
.psq__in ol{margin:0 0 14px;padding:0;list-style:none;counter-reset:qa}
.psq__in ol li{position:relative;counter-increment:qa;padding:5px 0 5px 44px}
.psq__in ol li::before{content:counter(qa);position:absolute;left:0;top:-3px;font-weight:200;font-size:32px;line-height:1.3;color:var(--rose)}
.psh__more{margin-top:36px}
@media (min-width:900px){
  .view > .psh{padding-top:calc(var(--top) + 70px);padding-bottom:110px}
  .psh__h{margin-bottom:28px}
  .psh__intro{font-size:20px;margin-bottom:46px}
  .psq__q{min-height:78px;font-size:38px}
  .psq__in{padding-bottom:34px}
}

/* short phones (and a phone whose own bars are showing): the pass a little smaller, so the page's one button stays clear of the bottom bar */
@media (max-width:899px) and (max-height:780px){
  .psp{--pw:188px}
  .psp--split{--pw:136px}
  .psp--tap{--pw:176px}
  .psp--share{--pw:126px}
  .psp--mine{--pw:150px;--sw:190px;--sh:158px;--tuck:68px}
  .psp--drawing{--pw:140px;--mw:72px}
  .psp--drawing .pstumble{height:292px}
  .psp__h{margin-top:22px}
}
