/* The founding-phase homepage (3 Nov 2026): the sky tonight, three short moments, the deal,
   the first hundred, and two doors. Loads after home.css and shell.css; tokens come from styles.css. */

/* ---- Tonight's sky, above the mark -------------------------------------- */
.fs-sky {
    margin: 0 auto var(--space-sm);
    font-size: var(--text-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(224, 230, 237, 0.6);
    text-align: center;
    min-height: 1.2em;
}
.fs-sky[hidden] { display: block; visibility: hidden; }

/* The opening is the mark alone, so it can be big. */
.thesis .t-mark { margin-top: 0; }
.thesis .t-logo { width: clamp(130px, 22vh, 240px); }
.thesis .t-word-mark { width: clamp(220px, 40vw, 420px); margin-top: var(--space-sm); }
.thesis .t-lines { display: flex; justify-content: center; }
.thesis .t-enter { margin-top: var(--space-sm); text-align: center; }
/* Return to ritual is a statement now, not a way in; the manifesto is the one button. */
.thesis .t-ritual { margin: var(--space-lg) 0 0; text-align: center; }
.thesis .thesis-more {
    margin-top: var(--space-lg);
    padding: 0.85em 2.4em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    font-size: var(--text-sm);
    letter-spacing: 0.24em;
    color: #fff;
}
.thesis .thesis-more:hover, .thesis .thesis-more:focus-visible { border-color: var(--color-turquoise); color: var(--color-turquoise); }

/* The plain facts, under the mark: what this is, and where it stands. */
.fs-facts {
    margin: var(--space-md) auto 0;
    max-width: 52ch;
    text-wrap: balance;
    text-align: center;
    font-size: var(--text-sm);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}
.fs-facts strong { font-weight: var(--weight-light, 300); color: #fff; }
.fs-facts { max-width: min(100%, 1040px); }
.fs-facts p { margin: 0 auto; max-width: 52ch; }
.fs-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 3rem;
    margin: var(--space-md) auto 0;
    padding: 0;
    max-width: 720px;
    list-style: none;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}
.fs-points li { display: inline-flex; align-items: center; }

/* ---- Shared beat type ----------------------------------------------------- */
.fs-beat { max-width: 1060px; margin: 0 auto; padding: var(--space-2xl) var(--space-sm); text-align: center; }
.fs-big {
    font-size: clamp(1.6rem, 4.6vw, 3rem);
    font-weight: var(--weight-thin);
    line-height: 1.25;
    color: #fff;
    text-wrap: balance;
    margin: 0 auto var(--space-sm);
    max-width: 24ch;
}
.fs-line {
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    font-weight: var(--weight-light, 300);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    text-wrap: balance;
    margin: 0 auto var(--space-sm);
    max-width: 40ch;
}
.fs-quiet { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.55); }
.fs-turq { color: var(--color-turquoise); }
.fs-lilac { color: var(--color-lilac); }

/* ---- Align: the pyramid, then the idea in a few lines ----------------------- */
#doors { scroll-margin-top: var(--site-bar-height, 60px); }

/* The pyramid, pinned mid-screen while it unfurls; the title waits until it is open. */
.fs-pyr-stage { position: relative; height: 230svh; }
.fs-pyr-sticky {
    position: sticky;
    top: var(--site-bar-height, 60px);
    height: calc(100svh - var(--site-bar-height, 60px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}
/* home.css hides .scene until the old world scroller activates it; this one is always on. */
.fs-pyr-scene.scene { position: relative; inset: auto; opacity: 1; pointer-events: auto; display: flex; justify-content: center; width: 100%; }
.fs-pyr-sticky { --pyr: min(72vw, 52svh, 440px); }
.fs-pyr-sticky .align-preview { width: var(--pyr); margin: 0; }
/* The canvas is square and the open pyramid sits high in it: pull the title up to its base. */
.fs-pyr-title { margin: calc(var(--pyr) * -0.3) 0 0; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }
.fs-pyr-title.is-on { opacity: 1; transform: none; transition: opacity 0.9s ease 0.2s, transform 1s ease 0.2s; }
html:not(.has-js) .fs-pyr-stage { height: auto; }
.fs-pyr-title .fs-big { margin-bottom: var(--space-xs); }
.fs-pyr-beta { margin: 0; text-align: center; font-size: var(--text-base); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
/* On a phone a screen is short, so the same hold read as the page ending: the stage is
   shorter, the title holds briefly, and the doors follow straight on. */
@media (max-width: 640px) {
    .fs-pyr-stage { height: 165svh; }
    #doors.beat { padding-top: 0; }
    #doors .fs-ways { margin-top: 0; }
}
html:not(.has-js) .fs-pyr-sticky { position: relative; height: auto; padding: var(--space-2xl) 0; }
html:not(.has-js) .fs-pyr-title { opacity: 1; transform: none; }
/* The beats: a held screen, one short paragraph at a time. founding.js sets data-beat and --sun. */
/* 75svh of scroll per beat; founding.js moves on one beat per scroll gesture, however hard the flick. */
.fs-beats { position: relative; height: calc(100svh + 4 * 75svh); }
.fs-beats-stage {
    position: sticky;
    top: var(--site-bar-height, 60px);
    height: calc(100svh - var(--site-bar-height, 60px));
    overflow: hidden;
}
.fs-beats-copy { position: absolute; inset: 14% var(--space-sm) auto; display: grid; justify-items: center; text-align: center; }
.fs-beat-line {
    grid-area: 1 / 1;
    max-width: 40ch;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: var(--weight-thin);
    line-height: 1.5;
    color: #fff;
    text-wrap: balance;
    opacity: 0;
    /* Leaving: the whole paragraph out to black quickly. */
    transition: opacity 0.25s ease;
}
.fs-beat-line p { margin: 0 0 0.6em; opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; }
.fs-beat-line p:last-child { margin-bottom: 0; }
/* Arriving: just after the last paragraph has gone, then each line in turn, so it never lands all at once. */
.fs-beat-line.is-on { opacity: 1; transition: none; }
.fs-beat-line.is-on p { opacity: 1; transform: none; transition: opacity 0.7s ease 0.28s, transform 0.9s ease 0.28s; }
.fs-beat-line.is-on p:nth-child(2) { transition-delay: 1.1s; }
.fs-beat-line.is-on p:nth-child(3) { transition-delay: 1.9s; }
/* The ring: six kinds of moment seated round a circle, arriving one after another. */
.fs-ring {
    --size: min(340px, 70vw, 38svh);
    position: absolute;
    left: 50%;
    top: 67%;
    width: var(--size);
    height: var(--size);
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.fs-ring li {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kind);
    /* Round the circle from the top, sixty degrees apart; each sits upright on the line. */
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(calc(var(--size) / -2)) rotate(calc(var(--i) * -60deg));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.fs-ring li::before { content: ''; position: absolute; inset: -6px -10px; background: #000; z-index: -1; }
.fs-ring svg { color: var(--kind); width: clamp(40px, 6svh, 60px); height: auto; }
.fs-ring li { font-size: var(--text-sm); }
.fs-ring [data-kind="sun"] { --kind: #ffb82e; }
.fs-ring [data-kind="moon"] { --kind: #ccd9ff; }
.fs-ring [data-kind="planets"] { --kind: #a36bfa; }
.fs-ring [data-kind="weather"] { --kind: #47adff; }
.fs-ring [data-kind="place"] { --kind: #5cd980; }
.fs-ring [data-kind="people"] { --kind: #ff946b; }
.fs-beats[data-beat="0"] .fs-ring { opacity: 1; transition: opacity 0.8s ease 1.1s; }
.fs-beats[data-beat="0"] .fs-ring li { opacity: 1; transition: opacity 0.6s ease calc(0.9s + var(--i) * 0.18s); }

/* The picture sits in the middle of the held screen, under the line. */
.fs-feed, .fs-beats-art { position: absolute; left: 0; right: 0; top: 44%; height: 42%; }
.fs-beats-art { width: 100%; opacity: 0; transition: opacity 0.6s ease; }
.fs-beats[data-beat="1"] .fs-beats-art, .fs-beats[data-beat="2"] .fs-beats-art, .fs-beats[data-beat="3"] .fs-beats-art { opacity: 1; transition: opacity 1.2s ease 0.4s; }

/* The infinite feed: three columns of album tiles streaming up. It freezes and fades as Talisman aligns it back. */
.fs-feed {
    left: 50%; right: auto;
    width: 300px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Cg fill='white' stroke='white' stroke-opacity='.18'%3E%3Crect x='8' y='8' width='84' height='84' fill-opacity='.06'/%3E%3Crect x='108' y='8' width='84' height='84' fill-opacity='.12'/%3E%3Crect x='208' y='8' width='84' height='84' fill-opacity='.04'/%3E%3Crect x='8' y='108' width='84' height='84' fill-opacity='.1'/%3E%3Crect x='108' y='108' width='84' height='84' fill-opacity='.03'/%3E%3Crect x='208' y='108' width='84' height='84' fill-opacity='.09'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 300px 200px;
    -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
    mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: fs-feed 0.9s linear infinite;
    animation-play-state: paused;
}
@keyframes fs-feed { to { background-position: 0 -200px; } }
/* In the mini manifesto, under "A weightless feed": always streaming, in the flow of the page. */
.fs-mini-feed { position: relative; top: auto; left: auto; height: 220px; margin: 0 auto var(--space-md); transform: none; opacity: 1; animation-play-state: running; }
.fs-mini-gap { margin-top: var(--space-xl); }

/* Beat 2: what finding it opens. The beach dims behind the row, then returns for the last beat. */
.fs-unlocks {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: min(520px, 92vw);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 2;
    pointer-events: none;
}
.fs-unlocks li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: var(--text-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.fs-unlocks li { font-size: var(--text-sm); gap: 14px; }
.fs-unlocks svg { color: var(--color-turquoise); width: clamp(56px, 9svh, 88px); height: auto; }
/* The key is gold, as in the app, and catches the light. */
.fs-unlock-key svg { color: #d9b359; filter: drop-shadow(0 0 10px rgba(217, 179, 89, 0.45)); }
.fs-beats[data-beat="2"] .fs-unlocks li { opacity: 1; transform: none; transition: opacity 0.6s ease calc(0.6s + var(--i) * 0.15s), transform 0.8s ease calc(0.6s + var(--i) * 0.15s); }
.fs-beats[data-beat="2"] .fs-beats-art { opacity: 0.2; }
@media (max-width: 640px) { .fs-unlocks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-md); } }
html:not(.has-js) .fs-unlocks { display: none; }

/* The compass: rings pulsing from the centre; once found, the centre glows. */
.fs-ping { fill: none; stroke: var(--color-turquoise); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; }
.fs-source { fill: var(--color-turquoise); opacity: 0; transition: opacity 0.8s; }
.fs-beats[data-beat="1"] .fs-source, .fs-beats[data-beat="2"] .fs-source, .fs-beats[data-beat="3"] .fs-source { opacity: 1; }
/* The compass starts with its line, the second of the beach paragraph. */
.fs-beats[data-beat="1"] .fs-ping { animation: fs-ping 2.4s ease-out 1.1s infinite; }
.fs-beats[data-beat="1"] .fs-ping:nth-child(2) { animation-delay: 1.9s; }
.fs-beats[data-beat="1"] .fs-ping:nth-child(3) { animation-delay: 2.7s; }
@keyframes fs-ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(9); opacity: 0; } }
.fs-beats[data-beat="2"] .fs-source, .fs-beats[data-beat="3"] .fs-source { filter: drop-shadow(0 0 10px var(--color-turquoise)); }

/* Without script: every line, stacked, and the beach. */
html:not(.has-js) .fs-beats { height: auto; }
html:not(.has-js) .fs-beats-stage { position: relative; height: auto; padding: var(--space-xl) 0 40svh; }
html:not(.has-js) .fs-beats-copy { position: static; gap: var(--space-md); }
html:not(.has-js) .fs-beat-line, html:not(.has-js) .fs-beat-line p { grid-area: auto; opacity: 1; transform: none; }
html:not(.has-js) .fs-beats-art { opacity: 1; top: auto; bottom: 0; height: 40svh; }
html:not(.has-js) .fs-feed, html:not(.has-js) .fs-ring { display: none; }

/* Two real releases, aligned by their artists. */
.fs-align-more { padding-top: var(--space-sm); }
/* Section lead-ins on /artists: a breath, a small turquoise label, then the heading. */
.fs-align-lead { padding-top: calc(var(--space-2xl) * 1.5); padding-bottom: var(--space-xl); }
.fs-lead { padding-top: calc(var(--space-2xl) * 1.5); }
.fs-align-lead .fs-pyr-beta, .fs-lead > .fs-pyr-beta, .fs-faq > .fs-pyr-beta { margin-bottom: var(--space-sm); color: var(--color-turquoise); }

/* The beats' words are absolutely placed, so .pool (which sets position: relative) can't go on them;
   the same haze as shell.css's .pool, drawn here instead, keeps the network out from behind the type. */
.fs-beats-copy { isolation: isolate; }
.fs-beats-copy::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: -2.5rem -3.5rem;
    background: rgba(0, 0, 0, 0.74);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5rem, #000 calc(100% - 5rem), transparent),
                        linear-gradient(to bottom, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
    mask-image: linear-gradient(to right, transparent, #000 5rem, #000 calc(100% - 5rem), transparent),
                linear-gradient(to bottom, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

/* The invitation: one door, then what to bring, quietly. */
.fs-invite-door { margin: var(--space-xl) 0 0; }
.fs-bring { max-width: 46ch; margin: var(--space-xl) auto 0; padding-top: var(--space-md); border-top: 1px solid rgba(255, 255, 255, 0.13); }
.fs-bring p { margin: 0 0 0.6rem; font-size: var(--text-sm); line-height: 1.7; text-wrap: balance; color: rgba(255, 255, 255, 0.72); }
.fs-bring .fs-bring-label { margin-bottom: var(--space-xs); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }

/* The questions, in the same column as the rest of the story. */
.fs-faq { max-width: 760px; padding-bottom: var(--space-2xl); }
.fs-faq .art-h2 { margin-bottom: var(--space-lg); }
.fs-faq-list { text-align: left; }
.fs-faq .art-threads { justify-content: center; margin-top: var(--space-md); }
.fs-real { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: var(--space-md) var(--space-lg); list-style: none; padding: 0; margin: 0 auto var(--space-lg); text-align: left; }
@media (max-width: 980px) { .fs-real { grid-template-columns: repeat(2, minmax(0, 300px)); } }
.fs-real li { display: flex; gap: var(--space-sm); align-items: center; }
.fs-real img { width: 96px; height: 96px; object-fit: cover; flex: none; border: 1px solid rgba(255, 255, 255, 0.12); }
.fs-real p { margin: 0; line-height: 1.5; }
.fs-real-title { color: #fff; font-size: var(--text-base); }
.fs-real-artist { color: rgba(255, 255, 255, 0.6); font-size: var(--text-sm); }
.fs-real-when { margin-top: 6px !important; color: var(--color-turquoise); font-size: var(--text-xs); letter-spacing: 0.08em; }
@media (max-width: 640px) { .fs-real { grid-template-columns: minmax(0, 320px); } }

.fs-stroke { fill: none; stroke: rgba(224, 230, 237, 0.55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fs-sun { transform: translateY(calc(var(--sun, 0) * 92px)); }
.fs-haze { opacity: calc(0.35 + var(--sun, 0) * 0.65); }
.fs-glint { opacity: calc(0.25 + var(--sun, 0) * 0.75); animation: fs-glint 3.4s ease-in-out infinite; }
.fs-glint:nth-child(2) { animation-delay: 0.7s; }
.fs-glint:nth-child(3) { animation-delay: 1.4s; }
@keyframes fs-glint { 50% { opacity: 0.1; } }
.fs-foam { stroke-opacity: 0.7; animation: fs-foam 5s ease-in-out infinite; }
@keyframes fs-foam { 50% { transform: translateY(5px); stroke-opacity: 0.4; } }

/* The six kinds of moment, names only. Tints match the Portal's condition rings. */
.fs-kinds {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 24px);
    max-width: 760px;
    margin: var(--space-sm) auto var(--space-lg);
    padding: 0;
    list-style: none;
}
.fs-kinds li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kind);
}
.fs-kinds svg { color: var(--kind); }
.fs-kinds [data-kind="sun"] { --kind: #ffb82e; }
.fs-kinds [data-kind="moon"] { --kind: #ccd9ff; }
.fs-kinds [data-kind="planets"] { --kind: #a36bfa; }
.fs-kinds [data-kind="weather"] { --kind: #47adff; }
.fs-kinds [data-kind="place"] { --kind: #5cd980; }
.fs-kinds [data-kind="people"] { --kind: #ff946b; }
@media (max-width: 560px) { .fs-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-md); } }

/* ---- The deal ------------------------------------------------------------- */
.fs-numbers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    max-width: 900px;
    margin: var(--space-lg) auto;
    list-style: none;
    padding: 0;
}
.fs-numbers li { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: var(--space-sm); }
.fs-num {
    display: block;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: var(--weight-thin);
    color: var(--color-turquoise);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}
.fs-num--word { font-size: clamp(1.5rem, 3.4vw, 2.2rem); padding: 0.45em 0 0.2em; }
.fs-numbers p { font-size: var(--text-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.72); margin: 0; }
.fs-proof {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}
.fs-proof time { color: #fff; }
@media (max-width: 680px) { .fs-numbers { grid-template-columns: 1fr; } }

.fs-or-listen { margin-top: var(--space-md); }
.fs-join-after { margin-top: var(--space-xl); }
.fs-real-label { margin: 0 0 var(--space-lg); }
.fs-poem-last { margin-top: var(--space-2xl); padding-top: var(--space-2xl); }.fs-nowrap { white-space: nowrap; }
/* The mesh steps aside for the beach (founding.js sets fs-hush). */
html.fs-hush #mesh-canvas { opacity: 0 !important; }
/* Phones: the five nav links on one row, not two. */
@media (max-width: 760px) {
    :root { --site-bar-height: 60px; }
    .site-doors { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
#waitlist { scroll-margin-top: calc(var(--site-bar-height, 60px) + 24px); }

/* ---- One place: the tools row ----------------------------------------------- */
.fs-tools {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 24px);
    max-width: 940px;
    margin: var(--space-lg) auto 0;
    padding: 0;
    list-style: none;
}
.fs-tools li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: var(--text-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}
.fs-tools svg {
    color: var(--color-turquoise);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fs-tools li { text-align: center; }
@media (max-width: 640px) { .fs-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-md); } }

/* ---- Paid in time ------------------------------------------------------------ */
.fs-time .fs-big + .fs-line { margin-top: var(--space-md); }
.fs-time .fs-proof { margin-top: var(--space-lg); }
.fs-time .fs-proof + p { margin-top: var(--space-md); }

.fs-bars { max-width: 640px; margin: var(--space-xl) auto; text-align: left; }
.fs-bars figcaption { margin-bottom: var(--space-md); text-align: center; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.75); }
.fs-bar { display: grid; grid-template-columns: 8.5rem 1fr 4.5rem; align-items: center; gap: var(--space-sm); margin-bottom: 0.9rem; font-size: var(--text-sm); }
.fs-bar-name { color: rgba(255, 255, 255, 0.7); }
.fs-bar-track { height: 10px; background: rgba(255, 255, 255, 0.06); }
.fs-bar-fill { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, 0.35); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.fs-bar--us .fs-bar-name, .fs-bar--us .fs-bar-val { color: #fff; }
.fs-bar--us .fs-bar-fill { background: var(--color-turquoise); box-shadow: 0 0 14px rgba(64, 224, 208, 0.45); }
.fs-bar-val { text-align: right; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.fs-bars.is-in .fs-bar-fill { width: calc(var(--v) * 100%); }
.fs-bars.is-in .fs-bar:nth-of-type(2) .fs-bar-fill { transition-delay: 0.25s; }
.fs-bars.is-in .fs-bar:nth-of-type(3) .fs-bar-fill { transition-delay: 0.5s; }
html:not(.has-js) .fs-bar-fill { width: calc(var(--v) * 100%); }
.fs-bars-note { margin-top: var(--space-md); font-size: var(--text-xs); line-height: 1.7; color: rgba(255, 255, 255, 0.5); text-align: center; }
.fs-bars-note a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 560px) { .fs-bar { grid-template-columns: 6.5rem 1fr 3.8rem; } }

/* ---- The first hundred ------------------------------------------------------ */
.fs-ledger {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    max-width: 760px;
    margin: var(--space-lg) auto var(--space-md);
    list-style: none;
    padding: 0;
}
.fs-slot {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    overflow: hidden;
}
.fs-slot.is-filled { border-color: transparent; }
.fs-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-slot.is-next { border-color: rgba(255, 255, 255, 0.5); animation: fs-next 2.6s ease-in-out infinite; }
@keyframes fs-next { 50% { border-color: rgba(255, 255, 255, 0.12); } }
.fs-ledger-count { font-size: var(--text-sm); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.fs-ledger-count [data-founding-line] { margin: 0; }
/* The artists: a hundred tessellated triangles (founding.js), point-up and point-down like the app's avatars. */
.fs-faces { max-width: 960px; margin: var(--space-lg) auto var(--space-md); }
.fs-faces svg { display: block; width: 100%; height: auto; overflow: visible; }
.fs-face-shape { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fs-face.is-filled .fs-face-shape { fill: rgba(255, 255, 255, 0.06); stroke: none; }
.fs-face-shape.is-next { stroke: rgba(255, 255, 255, 0.5); animation: fs-next-stroke 2.6s ease-in-out infinite; }
@keyframes fs-next-stroke { 50% { stroke: rgba(255, 255, 255, 0.12); } }
.fs-face-initials { fill: #fff; font-size: 0.42px; text-anchor: middle; dominant-baseline: middle; letter-spacing: 0.02em; }
.fs-faces + .fs-ledger-count + .fs-ledger { margin-top: var(--space-xl); }

/* Filled places open a card: the artist or album, in their own words. */
.fs-face.is-filled { cursor: pointer; outline: none; }
.fs-face.is-filled:hover .fs-face-shape,
.fs-face.is-filled:focus-visible .fs-face-shape { stroke: #fff; stroke-width: 1.5; }
.fs-face.is-filled image { transition: opacity 0.2s ease; }
.fs-face.is-filled:hover image, .fs-face.is-filled:focus-visible image { opacity: 0.85; }
.fs-slot-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.fs-slot-open img { transition: transform 0.3s ease, opacity 0.2s ease; }
.fs-slot-open:hover img, .fs-slot-open:focus-visible img { transform: scale(1.06); }
.fs-slot-open:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }

.fs-card {
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    /* The site's reset zeroes margins, which pins a dialog top-left; auto puts it back in the middle. */
    inset: 0;
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: #000;
    color: #fff;
    overflow: auto;
}
.fs-card::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fs-card[open] { animation: fs-card-in 0.35s ease both; }
@keyframes fs-card-in { from { opacity: 0; transform: translateY(10px); } }
.fs-card-inner { position: relative; padding: var(--space-lg) var(--space-md) var(--space-md); text-align: center; }
.fs-card-close {
    position: absolute; top: 6px; right: 8px;
    width: 40px; height: 40px; padding: 0;
    border: 0; background: none; color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.fs-card-close:hover, .fs-card-close:focus-visible { color: #fff; }
.fs-card-image { display: block; width: 72%; aspect-ratio: 1; object-fit: cover; margin: 0 auto var(--space-md); }
.fs-card-inner.is-artist .fs-card-image { width: 80%; aspect-ratio: 2 / 1.732; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fs-card-kicker { margin: 0 0 0.4rem; font-size: var(--text-sm); letter-spacing: 0.2em; text-transform: uppercase; color: #d9b359; }
.fs-card-title { margin: 0; font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: var(--weight-light, 300); line-height: 1.2; }
.fs-card-meta { margin: 0.5rem 0 0; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.6); }
.fs-card-about { margin: var(--space-md) 0 0; font-size: var(--text-base); font-weight: var(--weight-light, 300); line-height: 1.6; color: rgba(255, 255, 255, 0.85); white-space: pre-line; text-align: left; }
@media (prefers-reduced-motion: reduce) { .fs-card[open] { animation: none; } .fs-slot-open img { transition: none; } }

/* ---- And the rest ------------------------------------------------------------ */
.fs-rest { padding-bottom: var(--space-xl); }
.fs-rest-list { list-style: none; padding: 0; margin: var(--space-md) auto 0; max-width: 640px; display: grid; gap: var(--space-sm); text-align: center; }
.fs-rest-list li { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: var(--weight-light, 300); line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.fs-rest-list strong { font-weight: var(--weight-light, 300); color: #fff; }
.fs-rest-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); margin-top: var(--space-lg); }

/* The poem near the end. */
.fs-poem p { margin-bottom: 1.4rem; }
@media (min-width: 600px) { .fs-poem .line { white-space: nowrap; } }

/* ---- Two doors ------------------------------------------------------------ */
.fs-door-more { margin-top: var(--space-md) !important; }

/* After joining: spread the word. */
.fs-share { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.fs-share-lead { margin: 0 0 var(--space-sm); color: #fff; }
.fs-share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fs-share-buttons button { font: inherit; padding: 0.7rem 1rem; border: 1px solid var(--color-turquoise); border-radius: 0; background: #000; color: var(--color-turquoise); cursor: pointer; }
.fs-share-buttons button[hidden] { display: none; }
.fs-qr:not(:empty) { display: inline-block; margin-top: var(--space-sm); padding: 8px; background: #fff; line-height: 0; }
.fs-qr img, .fs-qr canvas { display: block; width: 128px; height: 128px; }
.fs-share-status { min-height: 1.4em; margin-top: var(--space-xs); font-size: var(--text-xs); color: rgba(255, 255, 255, 0.6); word-break: break-all; }
.fs-doors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
    max-width: 960px;
    margin: var(--space-lg) auto 0;
    text-align: left;
}
.fs-door { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: var(--space-md); }
.fs-door h2 { font-size: clamp(1.3rem, 3.2vw, 1.75rem); font-weight: var(--weight-thin); color: #fff; margin: 0 0 var(--space-sm); }
.fs-door > p { font-size: var(--text-sm); line-height: 1.75; color: rgba(255, 255, 255, 0.75); margin: 0 0 var(--space-md); }
.fs-door .home-waitlist { margin: 0; max-width: none; }
.fs-door .home-waitlist form > label { margin-top: 0; }
@media (max-width: 760px) { .fs-doors { grid-template-columns: 1fr; } }

/* ---- Two ways in, plainly (the founding cut) -------------------------------- */
.fs-ways { display: flex; flex-direction: column; align-items: center; max-width: 520px; margin: var(--space-lg) auto 0; text-align: center; }
/* The artist door: a hard-cornered button, the Manifesto button's twin, a size up. */
.fs-apply {
    display: inline-block;
    padding: 1em 2.6em;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: var(--text-base);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s;
}
.fs-apply:hover, .fs-apply:focus-visible { color: var(--color-turquoise); border-color: var(--color-turquoise); }
.fs-ways .fs-door-more { margin: var(--space-sm) 0 0 !important; font-size: var(--text-xs); }
/* The listener door: one line, like the live waitlist. */
.fs-way-listen { width: 100%; margin-top: var(--space-xl); }
.fs-way-listen .home-waitlist { margin: 0; max-width: none; }
.fs-way-listen .privacy-note { margin-top: var(--space-xs); font-size: var(--text-xs); color: rgba(255, 255, 255, 0.6); }

@media (prefers-reduced-motion: reduce) {
    .fs-slot, .fs-beat-line, .fs-beat-line p, .fs-beats-art, .fs-feed, .fs-ping { animation: none !important; transition: none !important; }
}
.fs-invite .fs-quiet { margin-top: var(--space-lg); }
/* The grid's caption sits above it, so the reader knows the faces open before reaching them. */
.fs-invite .fs-tap { margin: var(--space-lg) 0 0; color: rgba(255, 255, 255, 0.6); }
.fs-invite .fs-tap + .fs-faces { margin-top: var(--space-sm); }
/* On a phone the Apply button keeps to one line. */
@media (max-width: 480px) { .fs-apply { padding: 1em 1.4em; font-size: var(--text-sm); letter-spacing: 0.12em; } }
