/* Lyftory landing. One page: the logo is the navigation. */
:root {
  --bg: #0d0a13;
  --bg-2: #110d19;
  --card: rgba(20, 17, 29, .78);
  --line: #241e30;
  --line-2: #2f2840;
  --text: #efe9df;
  --mute: #9a9089;
  --mute-2: #6f6760;
  --gold: #d4af5a;
  --gold-2: #e9c877;
  --orange: #f2762e;
  --red: #e8382f;
  --pink: #e83e8c;
  --grad: linear-gradient(90deg, #e8382f 0%, #f2762e 50%, #e83e8c 100%);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: Italiana, "Cormorant Garamond", Georgia, serif;
  --caps: Cinzel, "Cormorant Garamond", Georgia, serif;
  --lead: Fraunces, "Cormorant Garamond", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --frame: 16px;
  --logo-w: min(640px, 86vw);
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { position: relative; margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
button { font: inherit; color: inherit; }
::selection { background: rgba(212, 175, 90, .35); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── atmosphere ────────────────────────────────────────────────── */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
.glow { position: fixed; left: 50%; top: 38%; width: min(80vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(242, 118, 46, .22) 0%, rgba(232, 56, 47, .12) 30%, rgba(232, 62, 140, .06) 50%, transparent 68%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; transition: top 1.1s var(--ease), width 1.1s var(--ease), opacity 1.1s var(--ease); }
body.is-open .glow { top: 16%; width: min(50vw, 360px); opacity: .55; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.06); } }

/* the frame: a thin gold inset with corner marks, like a plate around a print */
.frame { position: absolute; inset: var(--frame); pointer-events: none; z-index: 5; border: 1px solid rgba(212, 175, 90, .22); border-radius: 6px; }
.frame .c { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(212, 175, 90, .75); }
.frame .tl { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.frame .tr { right: -1px; top: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.frame .bl { left: -1px; bottom: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.frame .br { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

main { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: calc(var(--frame) + 28px) calc(var(--frame) + 12px) 24px; }

/* ── hero ──────────────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 980px; flex: 1; justify-content: center; gap: 22px; transition: gap .8s var(--ease); }
.eyebrow { margin: 0; font-family: var(--caps); font-weight: 400; font-size: clamp(13px, 1.5vw, 17px); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); opacity: 0; text-shadow: 0 0 24px rgba(212, 175, 90, .35); }
.lead { margin: 0; max-width: 600px; font-family: var(--lead); font-weight: 300; font-variation-settings: "SOFT" 50, "opsz" 24; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: #d6cdbf; opacity: 0; }
.lead em { font-style: italic; font-weight: 400; color: var(--gold-2); }

/* The logo is built from its own layers: the boy and sun, then each letter as its own image placed
   exactly where it sits in the lettering (positions measured against the master artwork, 1753x663).
   Nothing is clipped, so a lifted letter keeps its whole swash. */
.logo { position: relative; width: var(--logo-w); aspect-ratio: 1000 / 825; user-select: none; -webkit-user-select: none; transition: width .9s var(--ease); container-type: inline-size; }
.word { position: absolute; left: 0; top: 54.2%; width: 100%; height: 45.8%; }
.hot { position: absolute; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; pointer-events: none; }
.logo.boxes .hot { pointer-events: auto; }
.logo.hit { cursor: pointer; }
.hot.letter { left: calc(var(--x) / 1753 * 100%); top: calc(var(--y) / 663 * 100%); width: calc(var(--w) / 1753 * 100%); height: calc(var(--h) / 663 * 100%); }
.hot.icon { left: 27.5%; top: 0; width: 55.3%; height: 67%; }
.hot:focus-visible { outline: 1px dashed rgba(212, 175, 90, .7); outline-offset: 4px; border-radius: 14px; }
.glyph { display: block; width: 100%; height: 100%; pointer-events: none; transform-origin: 50% 85%; filter: drop-shadow(0 14px 30px rgba(232, 56, 47, .22)); transition: transform .6s var(--ease), filter .6s var(--ease), opacity .5s var(--ease); will-change: transform, filter; }
body.intro .glyph { opacity: 0; }
/* lift: the hovered letter rises with a thin rim of light and a sweep of light through it; the others step back */
.hot.letter:hover .glyph, .hot.letter.hover .glyph, .hot.letter:focus-visible .glyph, .hot.letter.lit .glyph { transform: translateY(-4.5%) scale(1.04); filter: drop-shadow(0 0 1px rgba(255, 236, 210, .85)) drop-shadow(0 14px 30px rgba(242, 118, 46, .42)) brightness(1.08) saturate(1.08); }
.hot.letter.active .glyph { transform: translateY(-2%) scale(1.02); filter: drop-shadow(0 0 1px rgba(255, 236, 210, .7)) drop-shadow(0 12px 28px rgba(212, 175, 90, .35)) brightness(1.08); }
.logo:has(.hot:hover) .hot:not(:hover) .glyph, .logo:has(.hot.hover) .hot:not(.hover) .glyph, .logo:has(.hot.active) .hot:not(.active) .glyph { opacity: .5; filter: drop-shadow(0 14px 30px rgba(232, 56, 47, .1)) saturate(.8); }
.hot.icon:hover .glyph, .hot.icon.hover .glyph, .hot.icon:focus-visible .glyph, .hot.icon.active .glyph, .logo.icon-hot .hot.icon .glyph { transform: translateY(-1.5%) scale(1.02); filter: drop-shadow(0 0 1px rgba(255, 230, 190, .75)) drop-shadow(0 18px 44px rgba(242, 118, 46, .32)) brightness(1.05); }
/* the shine: a band of light sweeps through the ink itself (the glyph is the mask) */
.shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transform-origin: 50% 85%; -webkit-mask: var(--img) center / 100% 100% no-repeat; mask: var(--img) center / 100% 100% no-repeat; background: linear-gradient(112deg, transparent 38%, rgba(255, 246, 222, .55) 47%, rgba(255, 255, 255, .95) 50%, rgba(255, 246, 222, .55) 53%, transparent 62%); background-size: 320% 100%; background-position: 130% 0; mix-blend-mode: screen; transition: transform .6s var(--ease); }
.hot.letter:hover .shine, .hot.letter.hover .shine, .hot.letter:focus-visible .shine, .hot.letter.lit .shine { transform: translateY(-4.5%) scale(1.04); }
.hot:hover .shine, .hot.hover .shine, .hot:focus-visible .shine, .hot.lit .shine, .logo.icon-hot .hot.icon .shine { animation: shine 1.5s cubic-bezier(.3, .5, .3, 1) both; }
@keyframes shine { 0% { opacity: 0; background-position: 130% 0; } 12% { opacity: 1; } 100% { opacity: 0; background-position: -130% 0; } }
/* the sun: faint slow rays turn behind it and the glow breathes, never a flat halo */
.hot.icon::before, .hot.icon::after { content: ""; position: absolute; left: 14%; top: 33%; width: 72%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: -1; opacity: 0; mix-blend-mode: screen; }
.hot.icon::after { background: radial-gradient(circle, rgba(255, 196, 110, .32), rgba(242, 118, 46, .16) 45%, transparent 70%); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.hot.icon::before { transform: scale(1.9); background: repeating-conic-gradient(from 0deg, transparent 0deg 7deg, rgba(255, 210, 140, .11) 9deg 11deg, transparent 13deg 20deg); -webkit-mask: radial-gradient(circle, transparent 24%, #000 36%, transparent 70%); mask: radial-gradient(circle, transparent 24%, #000 36%, transparent 70%); transition: opacity 1.2s var(--ease); animation: rays 60s linear infinite; }
.hot.icon:hover::after, .hot.icon.hover::after, .hot.icon:focus-visible::after, .logo.icon-hot .hot.icon::after { opacity: 1; transform: scale(1.1); animation: sunbreathe 3.2s ease-in-out infinite; }
.hot.icon:hover::before, .hot.icon.hover::before, .hot.icon:focus-visible::before, .logo.icon-hot .hot.icon::before { opacity: 1; }
@keyframes rays { to { transform: scale(1.9) rotate(360deg); } }
@keyframes sunbreathe { 0%, 100% { transform: scale(1.1); } 50% { transform: scale(1.16); } }
/* sparks rise from the boy's hand toward the stars while he is hovered */
.sparks { position: absolute; left: 53.5%; top: 36%; width: 0; height: 0; pointer-events: none; }
.sparks i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: #fff3d6; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; filter: drop-shadow(0 0 4px rgba(255, 220, 150, .9)); transform: scale(0); }
.hot.icon:hover .sparks i, .hot.icon.hover .sparks i, .hot.icon:focus-visible .sparks i, .logo.icon-hot .hot.icon .sparks i { animation: sparkrise var(--st) var(--sd) ease-out infinite; }
@keyframes sparkrise { 0% { opacity: 0; transform: translate(0, 0) scale(0) rotate(0deg); } 12% { opacity: 1; transform: translate(calc(var(--sx) * .15), -16px) scale(var(--ss)) rotate(40deg); } 70% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--sx), -150px) scale(calc(var(--ss) * .35)) rotate(220deg); } }

/* the splash: on hover the theme words burst out of the top of the letter and settle in a fan above it */
.splash { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; font-size: clamp(20px, 4.4cqw, 34px); z-index: 3; }
.hot.icon .splash { top: 30%; }
.hot.letter[data-key="L"] .splash { left: 58%; }
.hot.letter[data-key="Y2"] .splash { left: 44%; }
.hot.letter[data-key="F"] .splash, .hot.letter[data-key="T"] .splash { top: 4%; }
.splash small { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) translateY(.6em); white-space: nowrap; font-family: var(--caps); font-size: .46em; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); opacity: 0; transition: opacity .35s var(--ease), transform .5s var(--ease); text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.splash i { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) translateY(1.2em) scale(.4); white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1em; line-height: 1; color: var(--gold-2); opacity: 0; transition: transform .75s cubic-bezier(.2, .9, .3, 1.15), opacity .35s var(--ease); text-shadow: 0 0 16px rgba(233, 200, 119, .5), 0 2px 10px rgba(0, 0, 0, .95), 0 0 30px rgba(0, 0, 0, .9); }
.splash i::before { content: "\2726"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); font-style: normal; font-size: .9em; color: #fff; opacity: 0; }
.hot:hover .splash small, .hot.hover .splash small, .hot:focus-visible .splash small, .hot.active .splash small { opacity: 1; transform: translate(-50%, -50%) translateY(-.9em); }
.hot:hover .splash i, .hot.hover .splash i, .hot:focus-visible .splash i, .hot.active .splash i { opacity: 1; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) rotate(var(--r)); transition-delay: var(--d), var(--d); }
.hot:hover .splash i::before, .hot.hover .splash i::before { animation: spark .7s var(--d) var(--ease) both; }
@keyframes spark { 0% { opacity: 1; transform: translate(-50%, -50%) scale(0) rotate(0deg); } 45% { opacity: 1; transform: translate(-50%, -50%) scale(1.3) rotate(90deg); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(180deg); } }
/* when a letter's door is open the words rest quietly next to the small logo */
body.is-open .splash { display: none; }

/* ── call to action ────────────────────────────────────────────── */
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: #fff; color: #0d0a13; border: 1px solid rgba(255, 255, 255, .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 10px 40px rgba(242, 118, 46, .25); }
.store:hover { color: #0d0a13; transform: translateY(-2px); box-shadow: 0 16px 50px rgba(242, 118, 46, .4); }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store small { font-size: 11px; letter-spacing: .02em; font-weight: 500; opacity: .75; }
.store b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.store[data-live="0"] { pointer-events: none; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store.play svg { width: 26px; height: 26px; }
.sfoot-get { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 430px) {
  .stores { gap: 10px; }
  .stores .store { padding: 8px 14px 8px 11px; gap: 9px; }
  .stores .store svg, .stores .store.play svg { width: 23px; height: 23px; }
  .stores .store small { font-size: 10px; }
  .stores .store b { font-size: 17px; }
}
.cta-note { margin: 0; max-width: 560px; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
.cta-note b { color: var(--gold-2); font-weight: 600; }

/* ── open state: the logo becomes a header, the stream fills the page ─ */
body.is-open .hero { flex: 0; justify-content: flex-start; gap: 6px; }
body.is-open main { padding-top: calc(var(--frame) + 10px); }
body.is-open .logo { width: min(176px, 46vw); }
body.is-open .eyebrow, body.is-open .lead, body.is-open .cta, body.is-open .foot { display: none; }
body.is-open main { padding-bottom: calc(var(--frame) + 18px); }

.stream { width: 100%; max-width: 1180px; min-width: 0; margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.stream[hidden] { display: none; }
.stream-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 6px 6px 0; }
.mark { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(242, 118, 46, .35)); }
.stream-title h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; }
.stream-title h2 em { font-style: italic; color: var(--gold); }
.stream-title p { margin: 4px 0 0; color: var(--mute); font-size: 14px; font-variant-numeric: lining-nums tabular-nums; }
.back { border: 1px solid var(--line-2); background: rgba(20, 17, 29, .7); color: var(--text); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .2s, border-color .2s; white-space: nowrap; }
.back:hover { background: #221c30; border-color: #3b3350; }

/* the stream: one sheet of cards in aligned rows, rolling upward and looping; an even soft band at both edges */
.columns { --h: 480px; --fade: 72px; position: relative; height: var(--h); overflow: hidden; transition: height .55s var(--ease); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); }
.roll { will-change: transform; animation: rise var(--dur, 60s) linear infinite; }
.columns:hover .roll { animation-play-state: paused; }
.set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-bottom: 18px; }
@keyframes rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.qcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid rgba(212, 175, 90, .16); border-radius: 18px; padding: 22px 22px 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.qcard:hover { transform: translateY(-5px); border-color: rgba(212, 175, 90, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(242, 118, 46, .12); }
.qcard::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: var(--serif); font-size: 50px; line-height: 1; color: rgba(212, 175, 90, .28); }
.qcard p { flex: 1; margin: 0 0 14px; overflow-wrap: anywhere; font-family: var(--lead); font-weight: 400; font-variation-settings: "SOFT" 50, "opsz" 18; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--text); font-variant-numeric: lining-nums; }
.qcard.long p { font-size: 15.5px; }
.qcard .who { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.qcard .who span:last-child { color: var(--mute-2); letter-spacing: .08em; text-transform: none; font-size: 12px; }
.qcard.poem p { white-space: pre-line; font-size: 15.5px; }
.qcard.poem h3 { margin: 0 0 8px; font-family: var(--lead); font-weight: 500; font-variation-settings: "SOFT" 50, "opsz" 24; font-size: 19px; color: var(--gold-2); }
.qcard.locked p { color: transparent; text-shadow: 0 0 9px rgba(239, 233, 223, .55); user-select: none; }
.qcard.locked::after { content: "In the app"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 175, 90, .5); border-radius: 999px; padding: 7px 14px; background: rgba(13, 10, 19, .85); }

.stream-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; padding: 6px 0 14px; text-align: center; color: var(--mute); font-family: var(--lead); font-weight: 400; font-variation-settings: "SOFT" 50, "opsz" 18; font-size: 16px; font-variant-numeric: lining-nums tabular-nums; }
.stream-foot p { margin: 0; }
.btn-gold { display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: transform .3s var(--ease), filter .3s; }
.btn-gold:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }

/* ── footer ────────────────────────────────────────────────────── */
.foot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px calc(var(--frame) + 12px) calc(var(--frame) + 18px); color: var(--mute-2); font-size: 12px; text-align: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.foot nav a, .foot p a { color: var(--mute); }
.foot nav a:hover, .foot p a:hover { color: var(--gold); }
.foot p { margin: 0; }

/* ── responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) { .set { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  :root { --frame: 10px; --logo-w: 92vw; }
  main { padding-top: calc(var(--frame) + 22px); }
  .hero { gap: 16px; }
  .set { grid-template-columns: 1fr; }
  .stream-head { grid-template-columns: auto minmax(0, 1fr); }
  .stream-foot { grid-template-columns: 1fr; justify-items: center; }
  .back { grid-column: 1 / -1; justify-self: start; }
  .splash { font-size: 15px; }
  body.is-open .logo { width: 44vw; }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .eyebrow, .lead, .cta { opacity: 1 !important; }
  .roll { animation: none; }
  .columns { height: auto !important; -webkit-mask-image: none; mask-image: none; }
  .set.dup { display: none; }
  .glyph, .splash i, .splash small, .qcard, .logo, .glow, .shine { transition: none; }
  .shine, .sparks i, .hot.icon::before, .hot.icon::after { animation: none !important; }
  body.intro .glyph { opacity: 1; }
}
