/* Lucid Instinct × Aaron King — shared base for all three concepts.
   One committed dark world (festival at night), so no light theme by design. */
@font-face { font-family: "Rajdhani"; src: url(../assets/fonts/rajdhani-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url(../assets/fonts/rajdhani-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Michroma"; src: url(../assets/fonts/michroma.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Blackletter"; src: url(../assets/fonts/blackletter.woff2) format("woff2"); font-display: swap; }

:root {
  --void: #050507;        /* ground */
  --ink: #0d0d12;         /* raised surface */
  --line: #ffffff1f;      /* hairlines */
  --bone: #f2f2ec;        /* text */
  --dim: #a6a6b4;         /* secondary text */
  --lime: #c7ff16;        /* Lucid fluoro (Entity/AEON theme value) */
  --uv: #7445ff;          /* AEON ultraviolet */
  --sun: #ffc400;         /* smiley yellow */
  --f-display: "Michroma", "Eurostile", "Arial Narrow", sans-serif;
  --f-body: "Rajdhani", "Eurostile", "Arial Narrow", Arial, sans-serif;
  --f-black: "Blackletter", "UnifrakturMaguntia", serif;
  --thumb: 64px;          /* minimum target: drunk-thumb proof */
  --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--void); color: var(--bone); font: 500 18px/1.35 var(--f-body); overflow: hidden; overscroll-behavior: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
.mono { width: 1em; height: auto; display: inline-block; }
.mono svg { width: 100%; height: auto; display: block; }
.eyebrow { font: 700 12px/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.disp { font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; line-height: 1.05; margin: 0; }
.gut { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }

/* Primary action: big, bottom-reachable, impossible to miss */
.go { min-height: var(--thumb); width: 100%; border: 0; border-radius: 999px; background: var(--lime); color: #071000;
  font: 700 20px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; cursor: pointer; box-shadow: 0 0 0 0 #c7ff1666, 0 10px 40px -8px #c7ff1688; transition: transform .15s, box-shadow .3s; }
.go:active { transform: scale(.97); }
.go.ghost { background: transparent; color: var(--bone); border: 1.5px solid #ffffff44; box-shadow: none; }
.go.uv { background: var(--uv); color: #fff; box-shadow: 0 10px 40px -8px #7445ffaa; }
.go:focus-visible, .chip:focus-visible, .ico:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.go[aria-disabled="true"] { background: #ffffff14; color: var(--dim); box-shadow: none; }
.go .arr { font-size: 1.1em; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  font: 700 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; background: #ffffff0a; }
.chip.lime { color: var(--lime); border-color: #c7ff1655; }
.chip.uv { color: #b9a6ff; border-color: #7445ff77; }
.chip.sun { color: var(--sun); border-color: #ffc40055; }

/* Fixed top bar: sound + exit to everything, always */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; pointer-events: none; }
.bar > * { pointer-events: auto; }
.ico { min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #05050799; backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; }
.brandmark .mono { width: 34px; }
.pre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; text-align: center; font: 700 10px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: #ffffff66;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); pointer-events: none; }
.pre b { color: var(--lime); }

/* Bottom sheet (shared by all concepts) */
.scrim { position: fixed; inset: 0; z-index: 60; background: #000a; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 88%; overflow: auto; background: linear-gradient(#111118, #08080c);
  border-radius: 28px 28px 0 0; border-top: 1px solid #ffffff26; transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.9,.2,1);
  padding-block: 10px calc(env(safe-area-inset-bottom, 0px) + 28px); overscroll-behavior: contain; }
.sheet.on { transform: none; }
.sheet .grab { width: 48px; height: 5px; border-radius: 9px; background: #ffffff33; margin: 4px auto 14px; }
.sheet .shead { position: sticky; top: 0; height: 0; z-index: 5; display: flex; justify-content: flex-end; }
.sheet .shead .close { margin-top: -4px; }
.sheet .stack > :first-child { margin-right: 60px; justify-self: start; }

/* Content blocks reused inside sheets/panels */
.stack { display: grid; gap: 14px; }
.tracks { list-style: none; margin: 0; padding: 0; display: grid; }
.tracks a { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: center; gap: 10px; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; }
.tracks .n { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 14px; }
.tracks .t { font-weight: 700; font-size: 18px; min-width: 0; }
.tracks .t small { display: block; font-weight: 500; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tracks .y { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socials a { min-height: 64px; border-radius: 16px; border: 1px solid var(--line); background: #ffffff08; display: grid; align-content: center; padding: 10px 14px; text-decoration: none; }
.socials a b { font-size: 17px; }
.socials a span { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.fine { font-size: 13px; color: var(--dim); line-height: 1.45; }
.fine a { color: var(--bone); }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 90px); transform: translate(-50%, 20px); z-index: 80; opacity: 0;
  background: var(--lime); color: #071000; font: 700 15px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 14px 20px; border-radius: 999px; transition: .35s; pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.flash { position: fixed; inset: 0; z-index: 90; background: #fff; opacity: 0; pointer-events: none; }
.flash.on { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0 } 8% { opacity: .95 } 100% { opacity: 0 } }
.grain { position: fixed; inset: -50%; z-index: 30; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } }
/* Motion layer */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), #ffffffaa, transparent 55%); opacity: .55; z-index: 3; }
.sheet.on .stack > * { animation: rise-in .6s cubic-bezier(.2,.9,.2,1) both; }
.sheet.on .stack > *:nth-child(2) { animation-delay: .05s } .sheet.on .stack > *:nth-child(3) { animation-delay: .1s }
.sheet.on .stack > *:nth-child(4) { animation-delay: .15s } .sheet.on .stack > *:nth-child(5) { animation-delay: .2s }
.sheet.on .stack > *:nth-child(n+6) { animation-delay: .25s }
.sheet.on .tracks li { animation: rise-in .5s both; animation-delay: calc(var(--i, 0) * 30ms + .3s); }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(6px) } }
.go { position: relative; overflow: hidden; }
.go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff88 50%, transparent 70%); transform: translateX(-120%); animation: sheen 3.2s ease-in-out infinite; pointer-events: none; }
.go.ghost::after { opacity: .25; }
@keyframes sheen { 60%, 100% { transform: translateX(120%) } }
.beatglow { box-shadow: 0 0 calc(10px + var(--beat, 0) * 50px) calc(var(--beat, 0) * 6px) #c7ff1677; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
/* Back to the concept hub + centred sheet on wide screens */
.barl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ico.back { padding: 0 16px; font-size: 13px; }
@media (max-width: 360px) { .barl .brandmark { display: none; } }
.sheet { max-width: 640px; margin-inline: auto; }
@media (min-width: 680px) { .sheet { border-left: 1px solid #ffffff26; border-right: 1px solid #ffffff26; } }
.ico { white-space: nowrap; }
@media (max-width: 420px) { .barl .brandmark { font-size: 0; letter-spacing: 0; gap: 0; } .barl .brandmark .mono { width: 30px; } .ico { padding: 0 12px; font-size: 12px; } }
/* Partner cut, tonight's pick and the ecosystem row */
.cut { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; border: 1px solid #c7ff1655; background: linear-gradient(135deg, #c7ff1614, #7445ff14); }
.cut .cut-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #071000; font-size: 18px; }
.cut b { display: block; font-size: 18px; line-height: 1.2; }
.cut span { display: block; font-size: 14px; color: var(--dim); margin-top: 4px; }
.pick { display: grid; gap: 4px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #ffffff08; text-decoration: none; min-height: 64px; }
.pick b { font: 400 22px/1.1 var(--f-display); text-transform: uppercase; }
.pick span:last-child { font-size: 14px; color: var(--dim); }
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eco a { min-height: 64px; border-radius: 16px; border: 1px solid var(--line); background: #ffffff08; display: grid; align-content: center; padding: 10px 14px; text-decoration: none; }
.eco a b { font-size: 16px; } .eco a span { font-size: 13px; color: var(--dim); }
