/* Main-page-only playful accents */
@property --border-turn {syntax:"<angle>";initial-value:0deg;inherits:false;}
.intro a[href="/story/"]{display:inline-block;padding:3px 8px;background:linear-gradient(177deg,transparent 15%,#ffe52b 17%,#fff04e 83%,transparent 85%);border-radius:3px;color:#253345;transition:transform .2s;}
.intro a[href="/story/"]:hover{transform:rotate(-1deg) scale(1.03)}
.cards .card{--tilt:0deg;animation:card-hop 3.8s ease-in-out infinite;will-change:transform;}
.cards .card:nth-child(2){--tilt:2deg;animation-delay:-1.25s;}
.cards .card:nth-child(3){--tilt:-2deg;animation-delay:-2.5s;}
@keyframes card-hop{0%,65%,100%{transform:translateY(0) rotate(var(--tilt))}25%{transform:translateY(-9px) rotate(var(--tilt))}40%{transform:translateY(-2px) rotate(var(--tilt))}50%{transform:translateY(-4px) rotate(var(--tilt))}}
.hero-photo{border-radius:45% 45% 20px 20px;isolation:isolate;}
.hero-photo::before{content:"";position:absolute;inset:-7px;border-radius:inherit;background:conic-gradient(from var(--border-turn),#ff625f,#ffca38,#58dcb2,#4bb6ff,#a776ed,#ff625f);animation:border-orbit 5s linear infinite;z-index:-1;box-shadow:9px 10px 0 #263448;}
.hero-photo img{display:block;border:2px solid #fffdf6;box-shadow:none;}
@keyframes border-orbit{to{--border-turn:360deg}}
@media(max-width:760px){.cards .card:nth-child(n){--tilt:0deg;}}
@media(prefers-reduced-motion:reduce){.cards .card,.hero-photo::before{animation:none;will-change:auto;}}
