/* Fuentes alojadas en el propio sitio (licencia SIL OFL), subconjunto latin. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Portada Nova Studios: negro y morado. Solo la carga index.html. */
:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --surface: #13111c;
  --surface-2: #1b1828;
  --ink: #f1eefb;
  --soft: #d9d3ec;
  --muted: #a29cb6;
  --faint: #8b85a0;
  --line: rgba(241, 238, 251, .12);
  --violet: #8b5cf6;
  --violet-strong: #7c3aed;
  --violet-deep: #5b21b6;
  --violet-light: #c4b5fd;
  --violet-pale: #ede9fe;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 45% at 78% -5%, rgba(124, 58, 237, .22), transparent 70%),
    radial-gradient(ellipse 50% 35% at 0% 30%, rgba(91, 33, 182, .14), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
html, body { overflow-x: clip; }
.page-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.site-header { position: relative; z-index: 5; display: flex; width: min(1440px, calc(100% - 96px)); height: 86px; align-items: center; justify-content: space-between; margin: auto; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 14px var(--display); letter-spacing: .04em; text-decoration: none; }
.wordmark b { font-weight: 400; }
.wordmark-mark { position: relative; display: inline-flex; width: 26px; height: 26px; align-items: flex-end; gap: 3px; padding: 4px; overflow: hidden; border-radius: 7px; background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .25); transform: skew(-8deg); }
.wordmark-mark i { display: block; width: 5px; background: var(--violet-light); }
.wordmark-mark i:nth-child(1) { height: 9px; }
.wordmark-mark i:nth-child(2) { height: 15px; background: var(--violet); }
.wordmark-mark i:nth-child(3) { height: 11px; }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a, .header-cta { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .18s ease, border-color .18s ease; }
.main-nav a:hover, .header-cta:hover { color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; border: 1px solid rgba(196, 181, 253, .3); border-radius: 4px; color: var(--ink); font-weight: 700; }
.header-cta:hover { border-color: var(--violet-light); }
.header-cta span { color: var(--violet-light); font-size: 16px; }

.hero { position: relative; display: grid; min-height: 620px; grid-template-columns: 1fr .84fr; align-items: center; gap: 7%; padding-block: 74px 78px; }
.hero-copy { position: relative; z-index: 2; padding-block: 16px; }
.eyebrow { margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2), 0 0 14px rgba(139, 92, 246, .7); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 27px 0 20px; font: 600 clamp(46px, 6.7vw, 88px)/.99 var(--display); letter-spacing: -.075em; }
h1 span { background: linear-gradient(95deg, var(--violet-light), var(--violet) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 17px; padding: 0 18px; border-radius: 4px; font-size: 11px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--violet-strong); color: #fff; box-shadow: 0 10px 28px rgba(124, 58, 237, .35); }
.button-dark:hover { background: var(--violet-deep); }
.text-link { color: var(--muted); font-size: 10px; text-decoration: none; }
.text-link:hover { color: var(--ink); }
.text-link span { margin-left: 7px; color: var(--violet-light); }
.hero-footnote { display: flex; max-width: 440px; justify-content: space-between; margin-top: 76px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--faint); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.hero-footnote span:first-child { color: var(--violet-light); }
.hero-art { position: relative; min-height: 405px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 70% 25%, #2a1650, #120d1f 65%); box-shadow: 16px 18px 0 rgba(124, 58, 237, .18); }
.art-sun { position: absolute; top: 11%; right: 14%; width: 95px; aspect-ratio: 1; border-radius: 50%; background: var(--violet-pale); box-shadow: 0 0 70px rgba(196, 181, 253, .55); }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(120deg, transparent 5%, #000 65%); }
.block { position: absolute; width: 125px; height: 125px; transform: rotate(45deg) skew(-8deg,-8deg); }
.block-back { top: 16%; left: 28%; width: 84px; height: 84px; background: linear-gradient(135deg, #ddd6fe, #a78bfa); opacity: .82; }
.block-left { top: 33%; left: 18%; background: linear-gradient(135deg, #c4b5fd 0 49%, #7c3aed 50%); }
.block-right { top: 33%; left: 47%; background: linear-gradient(135deg, #a78bfa 0 49%, #6d28d9 50%); }
.block-front { top: 54%; left: 32%; width: 140px; height: 140px; background: linear-gradient(135deg, #8b5cf6 0 49%, #4c1d95 50%); }
.art-orbit { position: absolute; z-index: -1; width: 330px; height: 120px; border: 1px solid rgba(196, 181, 253, .42); border-radius: 50%; transform: rotate(-32deg); }
.orbit-a { top: 40%; left: -5%; }
.orbit-b { top: 45%; left: 13%; transform: rotate(38deg); }
.art-caption { position: absolute; right: 22px; bottom: 20px; left: 22px; display: flex; align-items: flex-end; justify-content: space-between; color: var(--ink); }
.art-caption span, .art-index { font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.art-caption strong { font: 600 10px/1.5 var(--display); letter-spacing: .08em; text-align: right; }
.art-index { position: absolute; top: 20px; left: 20px; color: rgba(241, 238, 251, .67); }
.hero-side-note { position: absolute; right: -37px; bottom: 86px; color: var(--faint); font-size: 7px; font-weight: 700; letter-spacing: .13em; line-height: 1.7; writing-mode: vertical-rl; transform: rotate(180deg); }

.intro { display: grid; grid-template-columns: .55fr 1.2fr .85fr; gap: 35px; align-items: start; padding-block: 63px 47px; border-top: 1px solid var(--line); }
.section-index { display: flex; align-items: center; gap: 10px; padding-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.section-index > span:first-child { color: var(--violet-light); }
.index-rule { width: 28px; height: 1px; background: rgba(196, 181, 253, .35); }
.intro-copy .eyebrow { color: var(--violet-light); }
.intro h2 { margin: 13px 0 0; font: 600 clamp(34px, 4vw, 53px)/1.02 var(--display); letter-spacing: -.065em; }
.intro h2 span { color: var(--muted); }
.intro-description { max-width: 330px; margin: 31px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.projects { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding-bottom: 108px; }
.project-card { min-width: 0; }
.project-feature { grid-row: span 2; }
.project-art { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); }
.launcher-art { display: grid; min-height: 498px; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, .38), transparent 60%), var(--surface); }
.launcher-window { position: relative; z-index: 1; width: 74%; max-width: 480px; padding: 10px; transform: rotate(-4deg); background: #0e0c14; box-shadow: 0 25px 55px rgba(0, 0, 0, .5), 0 0 0 1px rgba(196, 181, 253, .12); }
.window-top { display: flex; height: 22px; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }
.window-top span { width: 5px; height: 5px; border-radius: 50%; background: #a78bfa; }
.window-top span:nth-child(2) { background: #f0abfc; }
.window-top span:nth-child(3) { background: #e8ad73; }
.window-top b { margin-left: auto; font: 600 7px var(--display); letter-spacing: .12em; }
.window-world { position: relative; display: flex; height: 245px; align-items: flex-end; overflow: hidden; padding: 20px; background: linear-gradient(165deg, #2e1065 0%, #7c3aed 54%, #3b2a5a 54%, #1a1328 100%); }
.window-world::before { position: absolute; top: 26px; right: 39px; width: 47px; height: 47px; border-radius: 50%; background: var(--violet-pale); box-shadow: 0 0 40px rgba(237, 233, 254, .45); content: ""; }
.window-world::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 28px 28px; content: ""; }
.window-world > span { position: relative; z-index: 1; color: white; font: 700 18px/1.1 var(--display); letter-spacing: -.04em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.voxel { position: absolute; z-index: 1; bottom: 30px; display: block; width: 43px; height: 43px; background: linear-gradient(135deg,#a78bfa 0 50%,#6d28d9 50%); }
.voxel-one { left: 50%; bottom: 39px; }.voxel-two { left: 60%; bottom: 70px; width: 32px; height: 32px; }.voxel-three { left: 72%; bottom: 36px; width: 56px; height: 56px; }.voxel-four { left: 65%; bottom: 26px; width: 35px; height: 35px; background: linear-gradient(135deg,#9b765c 0 50%,#72543e 50%); }
.window-bottom { display: flex; height: 33px; align-items: center; justify-content: space-between; padding-inline: 8px; color: var(--muted); font-size: 6px; letter-spacing: .1em; }
.window-bottom b { padding: 7px 10px; background: var(--violet-strong); color: #fff; font-size: 6px; }
.window-bottom i { margin-left: 8px; font-style: normal; }
.art-sticker { position: absolute; right: 7%; bottom: 13%; display: grid; width: 65px; height: 65px; place-content: center; border-radius: 50%; background: var(--violet-light); color: #1e1533; font: 700 8px/1.25 var(--display); text-align: center; transform: rotate(12deg); }
.community-art { min-height: 254px; background: #1a1428; }
.community-sky { position: absolute; inset: 0; background: linear-gradient(160deg, #1e1333, #4c1d95 66%, #8b5cf6 100%); }
.pixel-moon { position: absolute; top: 19%; right: 15%; width: 48px; height: 48px; background: var(--violet-pale); box-shadow: 0 0 50px rgba(237, 233, 254, .45); }
.pixel-hill { position: absolute; right: -5%; bottom: -28%; left: -5%; height: 65%; transform: rotate(-8deg); }
.hill-back { background: #3b2f5c; }
.hill-front { bottom: -45%; left: 28%; background: #1f1832; transform: rotate(11deg); }
.pixel-house { position: absolute; z-index: 1; bottom: 20%; left: 25%; width: 82px; height: 74px; background: #6d5a9a; clip-path: polygon(0 30%,50% 0,100% 30%,100% 100%,0 100%); }
.pixel-house i { position: absolute; right: 15px; bottom: 0; width: 18px; height: 34px; background: #2a2140; }
.pixel-house b { position: absolute; top: 32px; left: 16px; width: 15px; height: 14px; background: #fde68a; box-shadow: 0 0 12px rgba(253, 230, 138, .6); }
.community-art-label { position: absolute; z-index: 2; right: 18px; bottom: 17px; color: white; font: 600 8px/1.5 var(--display); letter-spacing: .1em; text-align: right; }
.pixel-star { position: absolute; z-index: 2; color: var(--violet-pale); }.star-a { top: 19%; left: 19%; font-size: 17px; }.star-b { top: 37%; left: 54%; font-size: 11px; }
.events-art { min-height: 254px; background: linear-gradient(145deg, #8b5cf6, #4c1d95); }
.event-number { position: absolute; top: -40px; right: 12px; color: rgba(255, 255, 255, .16); font: 700 230px/.9 var(--display); letter-spacing: -.1em; }
.event-number span { font-size: .4em; vertical-align: top; }
.event-lines { position: absolute; top: 40px; right: 43px; bottom: 40px; left: 43px; border: 1px solid rgba(255, 255, 255, .3); transform: rotate(-12deg); }
.event-lines::before, .event-lines::after { position: absolute; top: 50%; left: -15%; width: 130%; height: 1px; background: rgba(255, 255, 255, .3); content: ""; transform: rotate(24deg); }
.event-lines::after { transform: rotate(-24deg); }
.event-card-label { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; display: grid; gap: 11px; color: #fff; }
.event-card-label span { font-size: 7px; font-weight: 700; letter-spacing: .15em; }
.event-card-label strong { font: 700 18px/.98 var(--display); letter-spacing: -.05em; }
.event-spark { position: absolute; top: 16px; left: 19px; color: var(--violet-pale); font-size: 29px; }
.project-info { padding: 16px 2px 4px; }
.project-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.project-meta span:first-child { color: var(--violet-light); }
.project-info h3 { margin: 11px 0 5px; font: 600 22px var(--display); letter-spacing: -.05em; }
.project-info p { max-width: 400px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.project-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--soft); font-size: 9px; font-weight: 700; text-decoration: none; }
.project-link:hover { color: #fff; }
.project-link span { color: var(--violet-light); font-size: 13px; transition: transform .18s ease; }
.project-link:hover span { transform: translate(2px,-2px); }

.community-banner { position: relative; display: grid; min-height: 280px; grid-template-columns: .65fr 1.2fr .8fr; align-items: center; gap: 30px; padding: 42px 55px; overflow: hidden; border: 1px solid rgba(196, 181, 253, .18); background: linear-gradient(120deg, #1a1030, #2e1065 60%, #4c1d95); color: var(--ink); }
.community-banner::before { position: absolute; top: -145px; right: 17%; width: 380px; height: 380px; border: 1px solid rgba(196, 181, 253, .18); border-radius: 50%; content: ""; }
.community-banner::after { position: absolute; top: -95px; right: 25%; width: 280px; height: 280px; border: 1px solid rgba(196, 181, 253, .12); border-radius: 50%; content: ""; }
.banner-mark { position: relative; z-index: 1; display: grid; width: 118px; height: 118px; place-content: center; gap: 4px; border: 1px solid rgba(196, 181, 253, .35); border-radius: 50%; transform: rotate(-25deg); }
.banner-mark span { display: block; width: 55px; height: 10px; background: var(--violet-light); clip-path: polygon(0 50%,18% 0,100% 0,82% 50%,100% 100%,18% 100%); }
.banner-mark span:nth-child(2) { width: 43px; margin-left: 8px; opacity: .75; }.banner-mark span:nth-child(3) { width: 30px; margin-left: 15px; opacity: .5; }
.banner-copy, .banner-action { position: relative; z-index: 1; }
.banner-copy .eyebrow { color: var(--violet-light); }
.banner-copy h2 { margin: 12px 0 0; font: 600 clamp(34px,4vw,52px)/.98 var(--display); letter-spacing: -.065em; }
.banner-action p { max-width: 250px; margin: 0 0 17px; color: #cfc8e3; font-size: 10px; line-height: 1.75; }
.button-lime { background: var(--violet-light); color: #1e1533; }
.button-lime:hover { background: var(--violet-pale); }
.banner-coordinate { position: absolute; right: 17px; bottom: 15px; color: rgba(237, 233, 254, .7); font-size: 7px; letter-spacing: .12em; }
.site-footer { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.footer-wordmark { font-size: 11px; }
.footer-wordmark .wordmark-mark { width: 22px; height: 22px; }
.site-footer > p { color: var(--faint); font-size: 9px; }
.footer-links { display: flex; gap: 20px; color: var(--faint); font-size: 8px; }
.footer-links a { color: var(--soft); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--violet-light); }
:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; }
/* ---------- Paginas legales ---------- */
.legal { max-width: 820px; padding-block: 56px 90px; }
.legal h1 { margin: 16px 0 10px; font-size: clamp(40px, 6vw, 68px); }
.legal-updated { margin: 0 0 30px; color: var(--faint); font-size: 13px; }
.legal h2 { margin: 0 0 14px; font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--display); letter-spacing: -.03em; }
.legal h3 { margin: 22px 0 8px; color: var(--violet-light); font: 600 16px var(--display); }
.legal p, .legal li { color: var(--soft); font-size: 15px; line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--violet); }
.legal a { color: var(--violet-light); text-underline-offset: 3px; }
.legal a:hover { color: var(--violet-pale); }
.legal strong { color: var(--ink); }
.legal code { padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--violet-pale); font-size: .9em; }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.legal-summary { margin-bottom: 26px; padding: 22px 24px; border: 1px solid rgba(196, 181, 253, .22); border-radius: 16px; background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(91, 33, 182, .06)); }
.legal-summary h2 { font-size: 20px; }
.legal-summary ul { margin-bottom: 0; }
.legal-toc { margin-bottom: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.legal-toc p { margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; margin: 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-table-wrap { margin: 0 0 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--soft); text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-notice { padding: 14px 16px; border-left: 3px solid var(--violet); border-radius: 0 10px 10px 0; background: rgba(139, 92, 246, .1); }
@media (max-width: 640px) {
  .legal { padding-block: 36px 64px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-summary, .legal-toc { padding: 18px; }
}

/* ---------- 404: agujero negro ---------- */
.not-found { display: grid; min-height: calc(100vh - 86px); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-block: 48px; }
.not-found-copy h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 76px); }
.void-scene { position: relative; width: min(480px, 90vw); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.void-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .35), rgba(91, 33, 182, .12) 45%, transparent 70%); animation: void-breathe 6s ease-in-out infinite; }
.void-swirl { position: absolute; top: 50%; left: 50%; border: 2px solid transparent; border-radius: 50%; transform: translate(-50%, -50%); }
.swirl-1 { width: 56%; height: 56%; border-top-color: rgba(196, 181, 253, .75); border-right-color: rgba(139, 92, 246, .45); animation: void-spin 7s linear infinite; }
.swirl-2 { width: 74%; height: 74%; border-top-color: rgba(167, 139, 250, .5); border-left-color: rgba(139, 92, 246, .3); animation: void-spin 12s linear infinite reverse; }
.swirl-3 { width: 94%; height: 94%; border-bottom-color: rgba(196, 181, 253, .35); border-right-color: rgba(124, 58, 237, .25); animation: void-spin 19s linear infinite; }
.void-hole { position: absolute; top: 50%; left: 50%; z-index: 2; width: 38%; height: 38%; border-radius: 50%; background: radial-gradient(circle, #000 62%, #07040d 76%, #1a0b33 100%); box-shadow: 0 0 0 2px rgba(196, 181, 253, .28), 0 0 36px 6px rgba(139, 92, 246, .55), 0 0 110px 28px rgba(91, 33, 182, .35), inset 0 0 26px rgba(0, 0, 0, .9); transform: translate(-50%, -50%); }

/* Bloques cayendo en espiral: giran mientras el radio se reduce a cero. */
.void-blocks i { position: absolute; top: 50%; left: 50%; z-index: 1; width: 3.4cqw; height: 3.4cqw; margin: -1.7cqw 0 0 -1.7cqw; border-radius: 2px; background: var(--c, #a78bfa); box-shadow: 0 0 10px rgba(139, 92, 246, .5); opacity: 0; animation: void-spiral var(--dur, 6s) cubic-bezier(.45, 0, .85, .45) var(--delay, 0s) infinite; }
.void-blocks i:nth-child(1) { --a: 0deg; --dur: 6.5s; --delay: 0s; --c: #c4b5fd; }
.void-blocks i:nth-child(2) { --a: 70deg; --dur: 7.5s; --delay: -1.2s; --c: #8b5cf6; }
.void-blocks i:nth-child(3) { --a: 145deg; --dur: 6s; --delay: -2.6s; --c: #ddd6fe; }
.void-blocks i:nth-child(4) { --a: 210deg; --dur: 8s; --delay: -3.4s; --c: #7c3aed; }
.void-blocks i:nth-child(5) { --a: 260deg; --dur: 6.8s; --delay: -4.8s; --c: #a78bfa; }
.void-blocks i:nth-child(6) { --a: 320deg; --dur: 7.2s; --delay: -5.6s; --c: #c4b5fd; }
.void-blocks i:nth-child(7) { --a: 30deg; --dur: 9s; --delay: -6.4s; --c: #6d28d9; }
.void-blocks i:nth-child(8) { --a: 185deg; --dur: 8.4s; --delay: -7.3s; --c: #ede9fe; }

/* Lo que sale del agujero: preguntas. */
.void-questions b { position: absolute; top: 50%; left: 50%; z-index: 3; margin: -.6em 0 0 -.3em; color: var(--violet-light); font: 700 clamp(14px, 5cqw, 26px) var(--display); text-shadow: 0 0 12px rgba(139, 92, 246, .8); opacity: 0; animation: void-escape 4.8s ease-out var(--delay, 0s) infinite; }
.void-questions b:nth-child(1) { --a: -60deg; --delay: 0s; }
.void-questions b:nth-child(2) { --a: 20deg; --delay: -1s; }
.void-questions b:nth-child(3) { --a: 110deg; --delay: -2s; }
.void-questions b:nth-child(4) { --a: 195deg; --delay: -2.9s; }
.void-questions b:nth-child(5) { --a: 250deg; --delay: -3.8s; }

/* Bloque senalado con "404 / No encontrado", como en el boceto. */
.void-callout { position: absolute; inset: 0; z-index: 4; }
.callout-block { position: absolute; top: calc(36.6% - 1.9cqw); left: calc(63.4% - 1.9cqw); width: 3.8cqw; height: 3.8cqw; border: 2px solid var(--violet-light); border-radius: 3px; box-shadow: 0 0 14px rgba(196, 181, 253, .6); transform: rotate(-12deg); animation: void-wobble 3.2s ease-in-out infinite; }
.callout-line { position: absolute; top: 12.5%; left: 65.5%; width: 12%; height: 22.5%; overflow: visible; }
.callout-line path { stroke: var(--violet-light); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 160; stroke-dashoffset: 160; animation: void-draw 1.2s .4s ease-out forwards; }
.callout-label { position: absolute; top: 5%; left: 78%; display: grid; color: var(--violet-light); font: 600 clamp(10px, 3.1cqw, 15px)/1.15 var(--display); letter-spacing: .02em; white-space: nowrap; opacity: 0; animation: void-fade .6s 1.3s ease-out forwards; }
.callout-label strong { color: var(--ink); font-size: 2em; letter-spacing: -.04em; }

@keyframes void-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes void-breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes void-spiral {
  0% { transform: rotate(var(--a)) translateX(46cqw) rotate(0deg) scale(1); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: .9; }
  100% { transform: rotate(calc(var(--a) + 560deg)) translateX(0) rotate(420deg) scale(.08); opacity: 0; }
}
@keyframes void-escape {
  0% { transform: rotate(var(--a)) translateX(4cqw) rotate(calc(-1 * var(--a))) scale(.3); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: rotate(var(--a)) translateX(40cqw) rotate(calc(-1 * var(--a))) scale(1.15); opacity: 0; }
}
@keyframes void-wobble { 50% { transform: rotate(8deg) translateY(-3px); } }
@keyframes void-draw { to { stroke-dashoffset: 0; } }
@keyframes void-fade { to { opacity: 1; } }

@media (max-width: 900px) {
  .not-found { grid-template-columns: 1fr; gap: 12px; padding-block: 28px 56px; text-align: center; }
  .not-found .hero-actions { justify-content: center; }
  .not-found .hero-description { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .void-glow, .void-swirl, .callout-block { animation: none; }
  .void-blocks, .void-questions { display: none; }
  .callout-line path { animation: none; stroke-dashoffset: 0; }
  .callout-label { animation: none; opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-side-note { display: none; }
}
@media (max-width: 900px) {
  .page-wrap, .site-header { width: min(100% - 48px, 700px); }
  .hero { min-height: 560px; grid-template-columns: 1fr .75fr; gap: 4%; }
  .hero-art { min-height: 350px; }
  .intro { grid-template-columns: .45fr 1fr; }
  .intro-description { grid-column: 2; margin-top: 0; }
  .community-banner { grid-template-columns: .5fr 1fr 1fr; padding-inline: 32px; }
}
@media (max-width: 640px) {
  .page-wrap, .site-header { width: calc(100% - 36px); }
  .site-header { height: 68px; }
  .wordmark { font-size: 11px; }
  .wordmark-mark { width: 23px; height: 23px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 9px; }
  .main-nav a:first-child { display: none; }
  .header-cta { gap: 6px; padding: 9px 10px; font-size: 9px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 38px; padding-block: 60px 45px; }
  h1 { margin-top: 22px; font-size: clamp(47px, 13vw, 74px); }
  .hero-description { max-width: 370px; font-size: 12px; }
  .hero-actions { flex-wrap: wrap; gap: 15px; }
  .hero-footnote { margin-top: 40px; }
  .hero-art { min-height: 320px; }
  .hero-side-note { display: none; }
  .intro { grid-template-columns: 1fr; gap: 22px; padding-block: 35px 28px; }
  .intro-description { grid-column: auto; margin: 0; }
  .projects { grid-template-columns: 1fr; gap: 31px; padding-bottom: 65px; }
  .project-feature { grid-row: auto; }
  .launcher-art { min-height: 330px; }
  .window-world { height: 180px; }
  .community-art, .events-art { min-height: 250px; }
  .community-banner { grid-template-columns: 70px 1fr; gap: 22px 18px; padding: 32px 23px 42px; }
  .banner-mark { width: 66px; height: 66px; }.banner-mark span { width: 34px; height: 7px; }.banner-mark span:nth-child(2) { width: 27px; }.banner-mark span:nth-child(3) { width: 19px; }
  .banner-action { grid-column: 2; }
  .banner-copy h2 { font-size: 36px; }
  .site-footer { min-height: 130px; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding-block: 21px; }
  .site-footer > p { order: 3; width: 100%; margin: 0; }
  .footer-links { gap: 12px; }
}
/* Movil: texto legible (Lighthouse pide la mayoria del texto en 12px o mas). */
@media (max-width: 640px) {
  .main-nav a { font-size: 12px; }
  .header-cta { font-size: 12px; }
  .eyebrow { font-size: 11px; }
  .hero-description { font-size: 15px; }
  .text-link { font-size: 13px; }
  .button { font-size: 13px; }
  .hero-footnote { font-size: 10px; }
  .section-index { font-size: 10px; }
  .intro-description { font-size: 15px; }
  .project-meta { font-size: 10px; }
  .project-info p { font-size: 14px; }
  .project-link { font-size: 13px; }
  .banner-action p { font-size: 14px; max-width: none; }
  .banner-coordinate { font-size: 9px; }
  .site-footer > p { font-size: 12px; }
  .footer-links { font-size: 12px; }
  .art-caption span, .art-index { font-size: 10px; }
  .art-caption strong { font-size: 12px; }
}
@media (max-width: 380px) {
  .main-nav { gap: 10px; }
  .header-cta { padding: 8px; }
  .header-cta span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
