/* Planet JQ holding page. Brand: black #231F20, gold #D4AF37, Dolce Vita Heavy
   for titles, Archivo Narrow for everything else. Square corners, like the logo. */

@font-face { font-family: "Dolce Vita"; src: url("/fonts/dolce-vita-heavy.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #231F20;
  --gold: #D4AF37;
  --gold-hi: #f3dc8a;
  --cream: #F6F1E7;
  --dim: #cfc6b8;
  --display: "Dolce Vita", "Futura", "Century Gothic", sans-serif;
  --body: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; min-height: 100vh; background: radial-gradient(120% 80% at 50% 30%, #3a2f22 0%, var(--ink) 55%, #141112 100%); color: var(--cream); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sky: three star layers drifting at different speeds, plus the odd shooting star. */
.sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sky i { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; background: transparent; }
.sky .s1 { animation: drift 160s linear infinite, twinkle 4s ease-in-out infinite alternate; opacity: .55; }
.sky .s2 { width: 2px; height: 2px; animation: drift 110s linear infinite, twinkle 6s ease-in-out infinite alternate-reverse; opacity: .75; }
.sky .s3 { width: 3px; height: 3px; animation: drift 70s linear infinite, twinkle 3s ease-in-out infinite alternate; filter: drop-shadow(0 0 4px var(--gold)); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-1000px); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.comet { position: absolute; top: 12%; left: -20%; width: 180px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi)); transform: rotate(18deg); opacity: 0; animation: comet 11s ease-in 3s infinite; }
.comet--2 { top: 48%; animation-delay: 8.5s; animation-duration: 15s; }
@keyframes comet { 0% { opacity: 0; transform: translate(0, 0) rotate(18deg); } 3% { opacity: 1; } 12% { opacity: 0; transform: translate(130vw, 42vw) rotate(18deg); } 100% { opacity: 0; transform: translate(130vw, 42vw) rotate(18deg); } }

/* Stage */
.stage { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(40px, 8vh, 80px) 16px 40px; max-width: 760px; margin: 0 auto; width: 100%; overflow-x: clip; }

.mlogo { display: inline-block; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mlogo--planet { --m: url("/img/planet.svg"); aspect-ratio: 861 / 429; }
.mlogo--wordmark { --m: url("/img/wordmark.svg"); aspect-ratio: 688 / 285; }

.planet-wrap { position: relative; width: min(66vw, 380px); aspect-ratio: 861 / 429; display: grid; place-items: center; margin-bottom: 6px; animation: enter 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.planet { position: relative; width: 100%; background: linear-gradient(110deg, var(--gold) 0%, var(--gold) 40%, var(--gold-hi) 50%, var(--gold) 60%, var(--gold) 100%) 0 0 / 250% 100%; animation: float 8s ease-in-out infinite, sheen 6s ease-in-out 1.5s infinite; }
.halo { position: absolute; inset: -40% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 175, 55, .38), rgba(212, 175, 55, .08) 60%, transparent 75%); animation: pulse 5s ease-in-out infinite; }
.orbit { position: absolute; inset: -18% -14%; border: 1px solid rgba(212, 175, 55, .35); border-radius: 50%; transform: rotate(-14deg); }
.moon { position: absolute; left: 50%; top: 50%; width: 1em; height: 1em; margin: -.5em 0 0 -.5em; color: var(--gold); font-size: 15px; line-height: 1; text-shadow: 0 0 10px var(--gold); offset-path: ellipse(50% 50% at 50% 50%); offset-rotate: 0deg; animation: orbit 12s linear infinite; }
@supports not (offset-path: ellipse(50% 50% at 50% 50%)) { .moon { display: none; } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes enter { from { opacity: 0; transform: scale(.7) translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.brand { margin: 8px 0 6px; line-height: 0; }
.wordmark { width: min(70vw, 300px); background: linear-gradient(110deg, var(--cream) 0%, var(--cream) 42%, var(--gold) 50%, var(--cream) 58%, var(--cream) 100%) 0 0 / 250% 100%; animation: enter 1.2s cubic-bezier(.2, .8, .2, 1) .25s both, sheen 7s ease-in-out 2.5s infinite; }

.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 10px 0 0; }
.hearts { white-space: nowrap; }
.hearts i { font-style: normal; display: inline-block; margin-left: .25em; animation: beat 1.8s ease-in-out infinite; }
.hearts i:nth-child(2) { animation-delay: .2s; }
.hearts i:nth-child(3) { animation-delay: .4s; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }

.soon { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 5.6rem); line-height: .95; letter-spacing: .02em; margin: 14px 0 18px; color: var(--gold); }
.soon span { display: inline-block; animation: letter .8s cubic-bezier(.2, .9, .3, 1.3) both, glint 5s ease-in-out infinite; animation-delay: calc(.8s + var(--i) * .06s), calc(3s + var(--i) * .12s); }
@keyframes letter { from { opacity: 0; transform: translateY(.6em) rotate(8deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes glint { 0%, 88%, 100% { color: var(--gold); text-shadow: none; } 94% { color: var(--gold-hi); text-shadow: 0 0 18px rgba(243, 220, 138, .8); } }

.her { font-size: clamp(1.1rem, 2.4vw, 1.3rem); max-width: 34em; margin: 0 0 28px; color: var(--cream); }

.rise { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Sign-up */
.join { width: 100%; max-width: 520px; padding: 22px; border: 1px solid rgba(212, 175, 55, .45); background: rgba(35, 31, 32, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-align: left; position: relative; animation: rise .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both, glow 5s ease-in-out 3s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); } 50% { box-shadow: 0 0 34px rgba(212, 175, 55, .28); } }
.join__row { display: flex; gap: 0; }
.join input[type="email"] { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--gold); border-right: 0; border-radius: 0; padding: 12px 14px; }
.join input[type="email"]::placeholder { color: #6b625e; }
.join button { font: 700 1rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--gold); border: 2px solid var(--gold); border-radius: 0; padding: 12px 20px; cursor: pointer; transition: background .2s, transform .2s; }
.join button:hover { background: var(--gold-hi); }
.join button:active { transform: scale(.97); }
.join button[disabled] { opacity: .7; cursor: progress; }
.tick { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 14px; font-size: .95rem; color: var(--dim); }
.tick input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); }
.tick a { color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.msg { margin: 14px 0 0; font-weight: 700; }
.msg--ok { color: var(--gold); }
.msg--err { color: #ffb4a8; }
.join.done .join__row, .join.done .tick { display: none; }
.join.done .msg { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; text-align: center; margin: 4px 0; }

/* A burst of gold sparks when someone signs up. */
.spark { position: fixed; z-index: 5; pointer-events: none; color: var(--gold); font-size: 14px; animation: spark 1.1s ease-out forwards; }
@keyframes spark { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4) rotate(160deg); } }

/* Social */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.social a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(212, 175, 55, .5); text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.social svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.social span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.social small { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .85rem; color: var(--dim); }
.social a:hover small { color: var(--ink); }

/* Ticker of JQ's phrases */
.ticker { position: relative; z-index: 1; background: var(--gold); color: var(--ink); overflow: hidden; white-space: nowrap; padding: 10px 0; }
.ticker__track { display: inline-flex; animation: ticker 34s linear infinite; }
.ticker span { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; padding: 0 28px; position: relative; }
.ticker span::after { content: "\2726"; position: absolute; right: -6px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 18px 16px 22px; font-size: .85rem; color: var(--dim); }
.foot p { margin: 0; }
.credit a { color: var(--dim); }

/* Privacy page */
.page { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 40px 16px 60px; flex: 1; }
.page h1, .page h2 { font-family: var(--display); text-transform: uppercase; color: var(--gold); line-height: 1.05; }
.page h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin: 10px 0 18px; }
.page h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.page .back { color: var(--gold); text-decoration: none; font-weight: 700; }
.page .small { font-size: .9rem; color: var(--dim); margin-top: 32px; }
.need { background: #ffe066; color: #000; padding: 0 4px; font-weight: 700; }

@media (max-width: 480px) {
  .join { padding: 16px; }
  .join__row { flex-direction: column; }
  .join input[type="email"] { border-right: 2px solid var(--gold); border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .comet, .moon { display: none; }
}
