/* Blush base styles (loaded with both the Tailwind CDN build and a compiled build) */
:root { --pink: #E6256F; --berry: #BE1658; --coral: #FF7A45; --ink: #1D1027; }
html { scroll-behavior: smooth; }
body { background:
  radial-gradient(52rem 34rem at 6% -6%, #FFD0E4 0%, transparent 60%),
  radial-gradient(44rem 30rem at 102% 2%, #FFE0D0 0%, transparent 55%),
  radial-gradient(40rem 28rem at 50% 108%, #EBDDFF 0%, transparent 60%), #FFF5F9; background-attachment: fixed; }
.font-display { letter-spacing: -.02em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #BE1658; outline-offset: 2px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .55s cubic-bezier(.2,.7,.2,1) both; }
.no-scrollbar::-webkit-scrollbar { display: none; } .no-scrollbar { scrollbar-width: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-in.revealed[data-tilt] { transition: transform .25s ease-out, box-shadow .25s; transition-delay: 0ms; }
[data-tilt] { transition: transform .25s ease-out, box-shadow .25s; transform-style: preserve-3d; will-change: transform; }
.shine { position: relative; }
.shine::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.32), transparent 45%); }
.shine:hover::after { opacity: 1; }
.glass { background: rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 24px 60px -28px rgba(0,0,0,.5); }
.glass-light { background: rgba(255,255,255,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid #fff; box-shadow: 0 24px 60px -28px rgba(230,37,111,.5); }
@keyframes float3d { 0%,100% { transform: translateY(0) rotateX(0) rotateY(0); } 50% { transform: translateY(-14px) rotateX(5deg) rotateY(-7deg); } }
@keyframes drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(30px,-24px,0) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
.float3d { animation: float3d 6s ease-in-out infinite; transform-style: preserve-3d; }
.orb { position: absolute; border-radius: 9999px; filter: blur(70px); animation: drift 14s ease-in-out infinite; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.flip { perspective: 1400px; }
.flip-inner { position: relative; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.hero3d-fallback { display: grid; place-items: center; }
#hero3d[data-webgl="1"] .hero3d-fallback { display: none; }
.hero-dark { background: radial-gradient(50rem 32rem at 80% 10%, rgba(230,37,111,.55), transparent 60%), radial-gradient(40rem 28rem at 0% 100%, rgba(255,122,69,.35), transparent 60%), radial-gradient(36rem 24rem at 60% 100%, rgba(124,58,237,.35), transparent 60%), #150A1E; }
.prose-blush h2 { font-family: Poppins, system-ui, sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1.25; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
.prose-blush h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.prose-blush p { margin: .85rem 0; line-height: 1.8; }
.prose-blush ul, .prose-blush ol { margin: .85rem 0 .85rem 1.25rem; line-height: 1.8; } .prose-blush ul { list-style: disc; } .prose-blush ol { list-style: decimal; }
.prose-blush a { color: #BE1658; text-decoration: underline; text-underline-offset: 3px; }
.prose-blush blockquote { border-left: 4px solid #FF4D8D; padding: .2rem 0 .2rem 1rem; margin: 1.2rem 0; font-style: italic; color: rgba(29,16,39,.8); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .fade-up, .float3d, .orb, .marquee-track { animation: none; } .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---- Scroll story (pinned 3D heart that changes with each chapter) ---- */
.font-serif-display { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -.01em; }
.story { position: relative; height: 440vh; }
.story-stage { position: sticky; top: 3.6rem; height: calc(100vh - 3.6rem); height: calc(100svh - 3.6rem); overflow: hidden; }
.story-bg { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.story-scrim { position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(21,10,30,.96) 18%, rgba(21,10,30,0)); pointer-events: none; }
.chap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.25rem 2.4rem; will-change: opacity, transform; opacity: 0; }
.chap:first-of-type { opacity: 1; }
@media (min-width: 1024px) {
  .story-scrim { display: none; }
  .chap { top: 0; bottom: 0; left: max(1.25rem, calc((100vw - 72rem) / 2 + 1.25rem)); right: auto; width: 33rem; display: flex; flex-direction: column; justify-content: center; padding: 0; }
}
.story-num { color: rgba(255,255,255,.4); font-weight: 700; font-size: .8rem; letter-spacing: .08em; transition: color .3s; }
.story-num.is-active { color: #fff; }
.story-progress { height: 3px; width: 6rem; background: rgba(255,255,255,.2); border-radius: 9999px; overflow: hidden; }
.story-progress > span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #FF4D8D, #FF7A45); }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(6px); opacity: .5; } }
.story-hint svg { animation: nudge 1.6s ease-in-out infinite; }
.story-fallback { display: none; }
.story-off { height: auto; }
.story-off .story-stage { display: none; }
.story-off .story-fallback { display: grid; }
@media (prefers-reduced-motion: reduce) { .story { height: auto; } .story-stage { display: none; } .story-fallback { display: grid; } }
