/* ============================================================
   LAUNCH PLATFORM SHELL — contextual nav, utility bar, gating, join modal
   Loaded on the public "launch" platform pages (Discover et al.)
   ============================================================ */

.launch-head { position: sticky; top: 0; z-index: 60; }

/* utility bar (above the nav) */
.launch-utility { background: var(--ink-0); border-bottom: 1px solid var(--ink-line); }
.launch-utility.lu-hidden { display: none; }
.lu-inner { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; }
.lu-tag { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-100); display: inline-flex; align-items: center; gap: 8px; }
.lu-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-100); box-shadow: 0 0 8px var(--gold-100); }
.lu-links { display: flex; align-items: center; gap: 22px; }
.lu-links a { font-size: 11.5px; color: var(--cream-60); transition: color .2s; cursor: pointer; }
.lu-links a:hover { color: var(--cream-100); }
.lu-links a.lu-login { color: var(--cream-100); font-weight: 600; }
@media (max-width: 760px){ .lu-tag { display: none; } .lu-inner { justify-content: center; } .lu-links { gap: 16px; } }

/* main launch bar */
.launch-bar { background: rgba(7,16,26,0.82); backdrop-filter: blur(20px) saturate(140%); border-bottom: 1px solid var(--ink-line); }
.launch-bar .topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px; }
.launch-bar .tb-mark { display: flex; align-items: center; gap: 12px; }
.launch-bar .wm-img { height: 34px; }
.launch-nav { display: flex; gap: 24px; align-items: center; }
.launch-nav a { font-size: 13px; font-weight: 500; color: var(--cream-80); position: relative; padding: 8px 0; transition: color .2s; }
.launch-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-100); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.launch-nav a:hover { color: var(--cream-100); }
.launch-nav a:hover::after, .launch-nav a.on::after { transform: scaleX(1); }
.launch-nav a.on { color: var(--cream-100); }
.launch-util { display: flex; align-items: center; gap: 12px; }
.launch-exit { font-size: 12.5px; color: var(--cream-60); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.launch-exit:hover { color: var(--cream-100); }
.launch-req { font-size: 12px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--gold-100); color: #050a0e; transition: background .2s; }
.launch-req:hover { background: var(--gold-90); }
.launch-pass { display: none; align-items: center; gap: 9px; padding: 6px 8px 6px 12px; border: 1px solid var(--gold-30); border-radius: 999px; background: var(--gold-08); }
.launch-pass.on { display: inline-flex; }
.launch-pass .lp-h { font-family: var(--f-mono); font-size: 10px; color: var(--gold-100); letter-spacing: 0.04em; }
.launch-pass .lp-av { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-100); color: #050a0e; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 11px; }
@media (max-width: 860px){ .launch-nav { display: none; } .launch-exit span { display: none; } }

/* launch-platform "you're previewing" strip under the hero (lead-magnet framing) */
.launch-strip { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 20px; margin: 0 auto; border: 1px dashed var(--gold-30); border-radius: 999px; background: var(--gold-08); width: fit-content; }
.launch-strip span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-60); }
.launch-strip b { color: var(--gold-100); }
.launch-strip.lu-hidden { display: none; }

/* GATING — soft wall on deeper content */
.gate { position: relative; }
.gate-veil { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 40px 24px; gap: 14px;
  background: linear-gradient(180deg, transparent, rgba(7,16,26,0.55) 35%, rgba(7,16,26,0.96) 80%); }
.gate.unlocked .gate-veil { display: none; }
.gate.unlocked .gate-rows { filter: none; pointer-events: auto; }
.gate-rows { transition: filter .4s var(--ease); }
.gate.locked .gate-rows { filter: blur(7px) saturate(0.7); pointer-events: none; user-select: none; }
.gate-veil .gv-eyebrow { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-100); }
.gate-veil h3 { font-family: var(--f-display); font-weight: 300; font-size: 26px; letter-spacing: -0.02em; margin: 0; color: var(--cream-100); }
.gate-veil h3 em { font-family: var(--f-serif); font-style: italic; color: var(--gold-100); }
.gate-veil p { font-size: 13.5px; color: var(--cream-60); margin: 0; max-width: 42ch; }

/* gated action chips (vote / follow / claim) */
.gate-act { cursor: pointer; }

/* ============================================================
   JOIN / WAITLIST MODAL (shared with the launch platform)
   ============================================================ */
.join-ov { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.join-ov.on { display: flex; }
.join-ov .jo-scrim { position: absolute; inset: 0; background: rgba(5,10,14,0.74); backdrop-filter: blur(8px); }
.join-card { position: relative; width: 100%; max-width: 460px; background: linear-gradient(170deg, var(--ink-2), var(--ink-1)); border: 1px solid var(--ink-line-strong); border-radius: var(--radius-lg); box-shadow: 0 40px 120px -30px rgba(0,0,0,0.8); overflow: hidden; animation: joIn .35s var(--ease); max-height: 92vh; overflow-y: auto; }
@keyframes joIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.join-head { padding: 28px 30px 0; }
.join-head .jh-eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-100); display: flex; align-items: center; gap: 8px; }
.join-head h3 { font-family: var(--f-display); font-weight: 300; font-size: 28px; letter-spacing: -0.025em; margin: 14px 0 0; }
.join-head h3 em { font-family: var(--f-serif); font-style: italic; color: var(--gold-100); }
.join-head p { font-size: 13.5px; line-height: 1.55; color: var(--cream-60); margin: 11px 0 0; }
.join-x { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--ink-line); background: transparent; color: var(--cream-60); display: grid; place-items: center; font-size: 15px; transition: all .2s; }
.join-x:hover { border-color: var(--gold-30); color: var(--cream-100); }
.join-body { padding: 24px 30px 30px; }
.join-field { margin-bottom: 14px; }
.join-field label { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-40); margin-bottom: 7px; }
.join-field input, .join-field select { width: 100%; padding: 12px 14px; background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: 10px; color: var(--cream-100); font-family: var(--f-body); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.join-field input:focus, .join-field select:focus { outline: none; border-color: var(--gold-30); box-shadow: 0 0 0 3px var(--gold-08); }
.join-field input::placeholder { color: var(--cream-40); }
.join-handle { display: flex; align-items: center; background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.join-handle:focus-within { border-color: var(--gold-30); box-shadow: 0 0 0 3px var(--gold-08); }
.join-handle .jhp { padding: 12px 0 12px 14px; font-family: var(--f-mono); font-size: 13px; color: var(--cream-40); white-space: nowrap; }
.join-handle input { border: none; box-shadow: none; background: transparent; padding-left: 2px; }
.join-submit { width: 100%; margin-top: 8px; padding: 14px; border: none; border-radius: 999px; background: var(--gold-100); color: #050a0e; font-family: var(--f-display); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s; }
.join-submit:hover { background: var(--gold-90); }
.join-foot { margin-top: 15px; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-40); text-align: center; }
.join-done { padding: 34px 30px; text-align: center; }
.join-done .jd-badge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; background: var(--gold-15); border: 1px solid var(--gold-30); display: grid; place-items: center; color: var(--gold-100); }
.join-done .jd-badge svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.join-done h3 { font-family: var(--f-display); font-weight: 300; font-size: 27px; letter-spacing: -0.02em; margin: 0; }
.join-done h3 em { font-family: var(--f-serif); font-style: italic; color: var(--gold-100); }
.join-queue { margin: 20px auto 0; max-width: 290px; padding: 18px; border: 1px solid var(--ink-line); border-radius: 14px; background: var(--ink-2); }
.join-queue .jq-num { font-family: var(--f-display); font-weight: 200; font-size: 46px; letter-spacing: -0.03em; color: var(--cream-100); line-height: 1; }
.join-queue .jq-num em { font-family: var(--f-serif); font-style: italic; color: var(--gold-100); }
.join-queue .jq-l { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-40); margin-top: 8px; }
.join-done p { font-size: 13.5px; line-height: 1.6; color: var(--cream-60); margin: 18px auto 0; max-width: 320px; }
.join-done p b { color: var(--cream-100); font-weight: 500; }
