:root {
  --ink: #171027;
  --ink-deep: #0d0820;
  --purple: #8448ff;
  --purple-dark: #6423e5;
  --green: #16dfa5;
  --yellow: #f1f000;
  --orange: #ff642b;
  --paper: #f5f2ef;
  --white: #fff;
  --line: rgba(255,255,255,.22);
  --display: "Archivo Black", Arial Black, sans-serif;
  --body: "Space Grotesk", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(#aliados:target) { scroll-behavior: auto; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 98px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #180f2a; border-bottom: 1px solid rgba(255,255,255,.08); transition: min-height .25s; }
.site-header.scrolled { min-height: 82px; background: #180f2a; box-shadow: 0 10px 30px rgba(8,4,20,.18); }
.brand { width: clamp(280px, 27vw, 390px); display: block; position: relative; z-index: 2; }
.brand img { width: 100%; height: auto; display: block; clip-path: inset(2px); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav a { text-decoration: none; position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -5px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 13px 18px; background: var(--green); color: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; color: white; font-weight: 700; cursor: pointer; position: relative; z-index: 2; }
.menu-icon { width: 22px; height: 12px; margin-left: 9px; display: inline-block; border-top: 2px solid; border-bottom: 2px solid; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: center; padding: 150px var(--pad) 72px; background: #180f2a; isolation: isolate; }
.hero-photo, .hero-shade { position: absolute; top: 98px; right: 0; bottom: 0; left: 0; }
.hero-photo { z-index: -3; background: url("../images/hero-panorama.png") left center/cover no-repeat; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(24,15,42,.98) 0%, rgba(24,15,42,.94) 29%, rgba(24,15,42,.7) 43%, rgba(24,15,42,.28) 55%, rgba(24,15,42,0) 70%), linear-gradient(0deg, rgba(24,15,42,.58), transparent 50%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg,var(--green) 0 35%,var(--purple) 35% 70%,var(--yellow) 70%); }
.hero-meta { display: flex; gap: 10px; margin-bottom: 28px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.hero-meta span { border: 1px solid rgba(255,255,255,.5); padding: 7px 10px; }
.hero-copy { width: min(650px, 48vw); position: relative; z-index: 1; }
.hero-copy.reveal { opacity: 1; transform: none; }
.eyebrow { margin: 0 0 18px; font-size: .75rem; line-height: 1.2; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1,h2,h3,p { overflow-wrap: break-word; }
h1,h2 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: -.045em; line-height: .94; }
h1 { font-size: clamp(3.4rem, 6.4vw, 7rem); }
h1 em { color: var(--green); font-style: normal; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; gap: 32px; justify-content: space-between; align-items: center; min-width: 230px; padding: 17px 20px; text-decoration: none; font-weight: 800; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--green); color: var(--ink); }
.text-link { text-transform: uppercase; font-size: .75rem; letter-spacing: .09em; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--green); margin-left: 8px; }
.hero-stamp { position: absolute; right: var(--pad); bottom: 60px; display: grid; transform: rotate(-90deg) translateX(100%); transform-origin: bottom right; font-size: .56rem; letter-spacing: .42em; text-transform: uppercase; }
.hero-stamp strong { color: var(--green); font-size: 1.8rem; letter-spacing: -.03em; font-family: var(--display); }

.ticker { height: 74px; background: var(--yellow); color: var(--ink); overflow: hidden; display: flex; align-items: center; }
.ticker-track { width: max-content; min-height: 74px; display: flex; align-items: center; gap: 30px; animation: ticker 28s linear infinite; font-family: var(--display); font-size: 1rem; line-height: 1; }
.ticker-track span, .ticker-track i { display: inline-flex; align-items: center; height: 74px; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 1.2rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(80px, 10vw, 160px) var(--pad); }
.section-number { margin-bottom: clamp(52px, 7vw, 100px); padding-bottom: 13px; border-bottom: 1px solid currentColor; font-size: .7rem; letter-spacing: .18em; font-weight: 700; }
.intro { background: var(--ink); }
.intro-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(40px, 8vw, 120px); align-items: end; }
.intro-heading h2, .audience h2, .experience-head h2, .launch h2, .future h2, .contact h2 { font-size: clamp(2.7rem, 6vw, 6.5rem); }
.intro-heading h2 span, .audience h2 span, .experience-head h2 span, .launch h2 span, .future h2 span, .contact h2 span { color: var(--green); }
.intro-copy { font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.55; }
.intro-copy p:last-child { color: rgba(255,255,255,.65); }
.wide-image { margin: clamp(60px, 8vw, 120px) 0 0; position: relative; }
.wide-image img { height: min(58vw, 680px); object-fit: cover; object-position: center 45%; }

.audience { background: var(--yellow); color: var(--ink); }
.audience h2 span { color: var(--purple-dark); }
.audience-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); align-items: center; }
.audience-copy > p:last-child { max-width: 580px; margin-top: 28px; line-height: 1.6; }
.generation-stack { border-top: 2px solid var(--ink); }
.generation-stack div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.generation-stack span { font-size: .68rem; font-weight: 700; }
.generation-stack strong { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 3.5rem); line-height: .95; }
.audience-photo { margin-top: clamp(60px, 8vw, 110px); position: relative; }
.audience-photo img { max-height: 700px; object-fit: cover; }
.photo-tag { position: absolute; top: 0; right: 0; background: var(--purple); color: white; padding: 24px; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 3rem); }

.family-moment { position: relative; min-height: min(72vw, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-deep); isolation: isolate; }
.family-moment-image { position: absolute; inset: 0; margin: 0; z-index: -2; }
.family-moment-image img { height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
.family-moment::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,8,32,.97) 0%, rgba(13,8,32,.83) 30%, rgba(13,8,32,.35) 56%, rgba(13,8,32,.05) 78%), linear-gradient(0deg, rgba(13,8,32,.82), transparent 58%); }
.family-moment-copy { width: min(760px, 58vw); padding: clamp(80px, 10vw, 150px) var(--pad); }
.family-moment h2 { font-size: clamp(2.7rem, 6vw, 6.5rem); }
.family-moment h2 span { color: var(--green); }
.family-moment-copy > p:last-child { max-width: 580px; margin: 28px 0 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }

.experiences { background: var(--purple); }
.experience-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 70px; margin-bottom: 60px; }
.experience-head h2 span { color: var(--yellow); }
.experience-head p { margin: 0; font-size: 1.12rem; line-height: 1.55; max-width: 480px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, 28vw); }
.topic { padding: 24px; position: relative; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.22); overflow: hidden; }
.topic span { font-size: .7rem; letter-spacing: .15em; font-weight: 700; }
.topic h3 { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.05vw, 2.55rem); line-height: .98; text-transform: uppercase; position: relative; z-index: 1; overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
.topic p { margin: 12px 0 0; line-height: 1.4; }
.topic-purple { background: var(--purple-dark); }
.topic-green { background: var(--green); color: var(--ink); }
.topic-dark { background: var(--ink); }
.topic-yellow { background: var(--yellow); color: var(--ink); }
.topic-photo { background-size: cover; background-position: center; isolation: isolate; }
.topic-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(13,8,32,.94),transparent 75%); z-index: -1; }
.topic-gaming { background-image: url("../images/gaming.png"); grid-column: span 2; }
.topic-art { background-image: url("../images/skate.png"); grid-column: span 2; }
.topic-family { background-image: url("../images/familia.png"); grid-column: span 1; }

.launch { background: var(--green); color: var(--ink); }
.launch-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.launch h2 span { color: var(--purple-dark); }
.date-card { width: clamp(280px, 28vw, 420px); aspect-ratio: 1; background: var(--ink); color: white; padding: clamp(30px, 4vw, 62px); display: flex; flex-direction: column; justify-content: center; }
.date-card strong { font-family: var(--display); font-size: clamp(3.5rem, 6.5vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.date-card span { color: var(--green); font-size: .75rem; letter-spacing: .18em; margin-top: 12px; }
.venues-heading { max-width: 900px; margin: 70px 0 34px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.venues-heading p { margin: 0; }
.venues-heading > p:last-child { font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.55; }
.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.venue-grid article { min-height: 260px; padding: 24px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; }
.venue-grid article:last-child { border-right: 0; }
.venue-grid span { font-size: .7rem; }
.venue-grid h3 { margin: auto 0 5px; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 2.2rem); line-height: 1; overflow-wrap: normal; word-break: normal; }
.venue-grid p { margin: 0; }
.stats-label { min-height: 58px; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--purple); color: white; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.stats-label strong { font-family: var(--display); font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); background: var(--ink); color: white; }
.stats div { min-height: 210px; padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.stats strong { font-family: var(--display); font-size: clamp(3rem, 6vw, 6rem); color: var(--green); }
.stats span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.festival-image { margin: 0; position: relative; }
.festival-image img { max-height: 750px; object-fit: cover; }
.festival-image figcaption { position: absolute; inset: auto 0 0; background: var(--purple); color: white; padding: 16px 22px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }

.future { background: var(--ink); }
.future > h2 { max-width: 1100px; }
.future-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.future-card { min-height: 340px; padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s, color .25s; }
.future-card:last-child { border: 0; }
.future-card:hover { background: var(--purple); }
.future-card span { color: var(--green); font-weight: 700; letter-spacing: .12em; }
.future-card h3 { margin: auto 0 16px; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 3rem); text-transform: uppercase; line-height: 1; }
.future-card p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.5; }

.contact { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 9vw, 130px); }
.contact h2 span { color: var(--purple); }
.contact-intro { position: sticky; top: 110px; align-self: start; }
.contact-intro > p:nth-of-type(2) { font-size: 1.1rem; line-height: 1.6; margin: 28px 0; }
.contact-intro > a { color: var(--purple-dark); font-weight: 700; }
.contact-form fieldset { padding: 0; border: 0; margin: 0 0 40px; }
.contact-form legend { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 18px; }
.interest-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.interest-options input { position: absolute; opacity: 0; }
.interest-options span { min-height: 60px; padding: 18px; display: grid; place-items: center; border: 2px solid var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.interest-options span:hover { background: rgba(132,72,255,.1); border-color: var(--purple); }
.interest-options input:checked + span { background: var(--purple); color: white; border-color: var(--purple); }
.interest-options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.form-grid label { display: grid; gap: 8px; font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-grid input, .form-grid textarea { width: 100%; border: 0; border-bottom: 2px solid var(--ink); padding: 12px 0; background: transparent; outline: none; border-radius: 0; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--purple); }
.form-grid textarea { resize: vertical; min-height: 110px; }
.full-width { grid-column: 1 / -1; }
.consent { margin: 28px 0; display: flex; gap: 10px; align-items: flex-start; font-size: .76rem; line-height: 1.4; }
.consent input { accent-color: var(--purple); }
.submit-button { width: 100%; border: 0; padding: 20px; display: flex; align-items: center; justify-content: space-between; background: var(--green); color: var(--ink); font-weight: 800; letter-spacing: .08em; cursor: pointer; transition: background .2s; }
.submit-button:hover { background: var(--yellow); }
.form-note { color: #625b6f; font-size: .72rem; }
.honeypot { position: absolute !important; left: -9999px !important; }

.partners { width: 100%; position: relative; overflow: hidden; background: #05012f; }
.partners-art { width: 100%; height: auto; object-fit: contain; }
.partners-mobile { display: none; }
.partners-support { color: white; }
.partners-support > span, .mobile-brand > span { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.partners-support-desktop { position: absolute; z-index: 2; inset: 62% 0 0; padding: 3.2% var(--pad) 2.4%; background: #05012f; }
.partner-logo-row { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 28px); margin-top: 16px; }
.partner-logo-row svg { display: block; height: clamp(28px, 3.2vw, 50px); width: auto; flex: 1 1 auto; overflow: hidden; }
.partner-logo-row .logo-santo { flex-grow: 1.8; height: clamp(34px, 3.8vw, 58px); }
.partner-logo-row .logo-trillon { height: clamp(38px, 4vw, 62px); }

.footer { min-height: 112px; padding: 18px var(--pad); display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(22px, 4vw, 60px); background: #180f2a; border-top: 1px solid rgba(255,255,255,.08); }
.footer-logo { width: clamp(230px, 23vw, 320px); display: block; }
.footer-logo img { width: 100%; display: block; clip-path: inset(2px); }
.footer-meta { color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.footer-links { display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: .72rem; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

@media (max-width: 980px) {
  .menu-button { display: flex; align-items: center; }
  .nav { position: fixed; inset: 0; padding: 120px var(--pad) 50px; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; transform: translateY(-110vh); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s ease, opacity .2s ease, visibility 0s linear .35s; }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav a { font-family: var(--display); font-size: clamp(1.8rem, 7vw, 4rem); }
  .nav-cta { width: 100%; margin-top: 15px; }
  .intro-grid, .audience-layout, .experience-head, .contact { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-intro { position: static; }
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .venue-grid article:nth-child(2) { border-right: 0; }
  .venue-grid article:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-header { min-height: 76px; padding-inline: 14px; }
  .site-header.scrolled { min-height: 70px; }
  .brand { width: 210px; }
  .hero { min-height: 100svh; align-items: flex-end; padding: 150px var(--pad) 48px; }
  .hero-photo { top: 76px; bottom: 0; background-position: 48% center; }
  .hero-shade { top: 76px; bottom: 0; background: linear-gradient(0deg, rgba(24,15,42,.99) 0%, rgba(24,15,42,.96) 38%, rgba(24,15,42,.5) 57%, rgba(24,15,42,.06) 78%), linear-gradient(90deg, rgba(24,15,42,.6), rgba(24,15,42,.05)); }
  .hero-meta { gap: 6px; margin-bottom: 24px; }
  .hero-meta span { padding: 6px; font-size: .55rem; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-stamp { display: none; }
  .wide-image img { height: 80vw; }
  .family-moment { min-height: 720px; align-items: flex-end; }
  .family-moment-image img { object-position: 52% center; }
  .family-moment::after { background: linear-gradient(0deg, rgba(13,8,32,.98) 0%, rgba(13,8,32,.88) 38%, rgba(13,8,32,.48) 60%, rgba(13,8,32,.05) 82%); }
  .family-moment-copy { width: 100%; padding: 300px var(--pad) 62px; }
  .family-moment h2 { font-size: clamp(2.35rem, 11vw, 4.5rem); }
  .topic-grid { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .topic-gaming, .topic-art, .topic-family { grid-column: auto; }
  .launch-hero { grid-template-columns: 1fr; }
  .date-card { width: min(100%, 380px); }
  .venues-heading { grid-template-columns: 1fr; gap: 12px; }
  .venue-grid { grid-template-columns: 1fr; }
  .venue-grid article { min-height: 150px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .venue-grid article:nth-child(3) { border-bottom: 2px solid var(--ink); }
  .stats-label { align-items: flex-start; flex-direction: column; gap: 4px; }
  .stats, .future-grid, .form-grid, .interest-options { grid-template-columns: 1fr; }
  .stats div { min-height: 165px; border-right: 0; border-bottom: 1px solid var(--line); }
  .future-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: 280px; }
  .full-width { grid-column: auto; }
  .partners { aspect-ratio: auto; padding: 64px var(--pad); }
  .partners-art, .partners-support-desktop { display: none; }
  .partners-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .mobile-brand { display: grid; align-content: start; gap: 9px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.28); }
  .mobile-brand svg { width: 100%; height: 92px; }
  .partners-mobile > .partners-support { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); }
  .partners-mobile .partner-logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
  .partners-mobile .partner-logo-row svg, .partners-mobile .partner-logo-row .logo-santo, .partners-mobile .partner-logo-row .logo-trillon { width: 100%; height: 58px; }
  .partners-mobile .partner-logo-row .logo-santo { grid-column: 1 / -1; height: 70px; }
  .partners-mobile-wide { grid-column: 1 / -1; }
  .footer { min-height: 0; padding-top: 20px; padding-bottom: 20px; grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .footer-logo { width: min(100%, 300px); }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
}
