/* Fan-list capture: native form posting to Kit (form 8736209) + the homepage
   card. Shared by /, /join/, /inevitable/, /listen/*. Logic lives in
   assets/js/kit-capture.js. Colors: era magenta only (BAND_REFERENCE §15). */

.fc-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---- Form: one row, input + magenta button ---- */
.fc-form{display:flex;gap:8px;max-width:30em;margin:0 auto}
.fc-form input[type="email"]{flex:1 1 auto;min-width:0;height:50px;padding:0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff;font-family:inherit;font-size:16px;line-height:1.2;-webkit-appearance:none;appearance:none}
.fc-form input::-webkit-input-placeholder{color:rgba(255,255,255,.5)}
.fc-form input::placeholder{color:rgba(255,255,255,.5);opacity:1}
.fc-form input:focus{outline:2px solid #ff5fb0;outline-offset:2px;border-color:#ff5fb0}
.fc-form button{flex:0 0 auto;height:50px;padding:0 20px;border:0;border-radius:10px;background:#E91E8C;color:#fff;font-family:inherit;font-size:.95rem;font-weight:700;letter-spacing:.02em;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fc-form button:hover{filter:brightness(1.08)}
.fc-form button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fc-form button[disabled]{opacity:.7;cursor:default;filter:none}
.fc-msg{margin:10px auto 0;max-width:30em;font-size:.86rem;line-height:1.45;color:rgba(255,255,255,.72)}
.fc-msg:empty{display:none}
.fc-msg[data-state="error"]{color:#ffb3d6}
.fc-msg[data-state="ok"]{color:#fff;font-weight:600}
.fc-fine{margin:10px auto 0;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.42)}
[data-fc-wrap].is-done .fc-form,[data-fc-wrap].is-done .fc-fine{display:none}
@media (max-width:359px){
  .fc-form{flex-direction:column}
  .fc-form button{width:100%}
}

/* ---- Homepage card (#fc-card). Not a modal: nothing is blocked, the page
   keeps scrolling, one tap closes. Appears once the visitor reaches About.
   Phones: a compact sheet above the Listen mini-bar (thumb + headline row,
   one line, form). Desktop: bottom-right card with a photo header.

   Motion. Entrance is a rise from below the viewport on an expo-out curve
   (fast leave, long soft landing), and the contents arrive a few frames
   behind the card in reading order: photo settles from a slight zoom,
   then overline, title, lede, form. Exit is shorter and plain (ease-in
   drop + fade) so a dismissal never feels like it is performing. Only
   transform and opacity animate; visibility is toggled at the ends so the
   hidden card is not focusable. prefers-reduced-motion: no motion, fade only. */
.fc-card{--fc-in:.62s;--fc-ease:cubic-bezier(.16,1,.3,1);--fc-out:.26s;--fc-ease-out:cubic-bezier(.4,0,1,1);position:fixed;left:0;right:0;bottom:0;z-index:998;visibility:hidden;opacity:0;transform:translateY(100%);will-change:transform,opacity;transition:transform var(--fc-out) var(--fc-ease-out),opacity var(--fc-out) var(--fc-ease-out),visibility 0s linear var(--fc-out);background:#141b3d;color:#fff;border-top:1px solid rgba(255,255,255,.14);border-radius:18px 18px 0 0;box-shadow:0 -14px 44px rgba(0,0,0,.5);padding:14px 16px 16px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.fc-card.is-stacked{padding-bottom:16px}
.fc-card.is-open{visibility:visible;opacity:1;transform:none;transition:transform var(--fc-in) var(--fc-ease),opacity .3s ease-out,visibility 0s}
/* Contents: hidden and 12px low until the card opens, then each settles in
   turn. Closing resets them at once (no delay) under the card's own fade. */
.fc-card-close,.fc-card-head,.fc-lede,.fc-card .fc-form,.fc-card .fc-msg{opacity:0;transform:translateY(12px);transition:opacity .2s ease-out,transform .2s ease-out}
.fc-card.is-open .fc-card-close,.fc-card.is-open .fc-card-head,.fc-card.is-open .fc-lede,.fc-card.is-open .fc-form,.fc-card.is-open .fc-msg{opacity:1;transform:none;transition:opacity .5s var(--fc-ease),transform .6s var(--fc-ease)}
.fc-card.is-open .fc-card-head{transition-delay:.12s}
.fc-card.is-open .fc-lede{transition-delay:.19s}
.fc-card.is-open .fc-form,.fc-card.is-open .fc-msg{transition-delay:.26s}
.fc-card.is-open .fc-card-close{transition-delay:.42s}
.fc-card-close{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:rgba(255,255,255,.72);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;z-index:1}
.fc-card-close:hover{color:#fff;background:rgba(255,255,255,.1)}
.fc-card-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fc-card-close svg{width:18px;height:18px}
.fc-card-media{display:none}
.fc-card-head{display:flex;align-items:center;gap:12px;padding-right:44px;margin-bottom:10px}
.fc-card-thumb{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:0 0 auto;display:block}
.fc-overline{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:#ff5fb0;font-weight:700;margin:0 0 3px}
.fc-title{font-size:1.15rem;font-weight:900;letter-spacing:-.01em;line-height:1.15;margin:0;color:#fff}
.fc-lede{font-size:.86rem;line-height:1.4;color:rgba(255,255,255,.7);margin:0 0 12px}
.fc-card .fc-form{max-width:none;margin:0}
.fc-card .fc-form input[type="email"],.fc-card .fc-form button{height:48px}
.fc-card .fc-msg{margin:8px 0 0;max-width:none;font-size:.82rem}
@media (max-height:600px){
  .fc-lede{display:none}
  .fc-card-head{margin-bottom:12px}
}
@media (min-width:769px){
  /* Starts a full card-height below its resting place plus the 20px margin,
     i.e. just off the bottom edge, at 97% scale; lands at rest. */
  .fc-card{left:auto;right:20px;bottom:20px;width:400px;max-width:calc(100vw - 40px);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:0;overflow:hidden;transform:translateY(calc(100% + 20px)) scale(.97);transform-origin:50% 100%;box-shadow:0 24px 64px rgba(0,0,0,.55),0 2px 8px rgba(0,0,0,.35);--fc-in:.7s}
  .fc-card.is-open{opacity:1;transform:none}
  .fc-card-close{top:10px;right:10px;background:rgba(10,14,32,.55);color:#fff}
  .fc-card-close:hover{background:rgba(10,14,32,.8)}
  .fc-card-media{display:block;height:190px;background:#0c1020;overflow:hidden}
  .fc-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%;transform:scale(1.08);transition:transform .2s ease-out}
  .fc-card.is-open .fc-card-media img{transform:none;transition:transform 1.1s var(--fc-ease)}
  .fc-card-body{padding:18px 20px 20px}
  .fc-card-head{padding-right:0;margin-bottom:8px}
  .fc-card-thumb{display:none}
  .fc-title{font-size:1.45rem}
  .fc-lede{font-size:.92rem;margin-bottom:14px}
  .fc-card .fc-form input[type="email"],.fc-card .fc-form button{height:50px}
}
@media (prefers-reduced-motion:reduce){
  .fc-card{transform:none;transition:opacity .2s linear,visibility 0s linear .2s}
  .fc-card.is-open{transition:opacity .2s linear,visibility 0s}
  .fc-card-close,.fc-card-head,.fc-lede,.fc-card .fc-form,.fc-card .fc-msg,.fc-card-media img,.fc-card.is-open .fc-card-close,.fc-card.is-open .fc-card-head,.fc-card.is-open .fc-lede,.fc-card.is-open .fc-form,.fc-card.is-open .fc-msg,.fc-card.is-open .fc-card-media img{transform:none;transition:none;transition-delay:0s}
}
