/* Homepage: after the solid campaigns / websites section, the tile background from "Built by NVISION" comes back,
   with room to add more projects later. */
:root { --tile-bg: #050508; --tile-end: #000; --tile-grid: rgba(255,255,255,0.045); }
html.lights-on { --tile-bg: #f7f6f4; --tile-end: #fdfcfe; --tile-grid: rgba(20,20,40,0.055); }

/* the tiles again, below */
.nv-field { position: relative; height: clamp(220px, 32svh, 300px); overflow: hidden; background: linear-gradient(var(--tile-bg) 55%, var(--tile-end)); isolation: isolate; }
.nv-field::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--tile-grid) 1px, transparent 1px), linear-gradient(90deg, var(--tile-grid) 1px, transparent 1px); background-size: 64px 64px; background-position: center; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent); }
.nv-field::after { content: ""; position: absolute; z-index: -2; left: 50%; top: 46%; width: 80vw; height: 14vh; translate: -50% -50%; border-radius: 50%; background: linear-gradient(90deg, #38bdf8, #6366f1, #d946ef, #f97316); filter: blur(110px); opacity: 0.18; }
.nv-field i { position: absolute; translate: calc(-50% + var(--dx, 0px) * var(--d, 0)) calc(-50% + var(--dy, 0px) * var(--d, 0)); transition: translate 0.35s ease-out; animation: nv-twinkle 5s ease-in-out infinite; }
@keyframes nv-twinkle { 50% { opacity: 0.12; } }
@media (prefers-reduced-motion: reduce) { .nv-field i { animation: none; } }
