/* =========================================================
   VÉRTIGO — style.css
   Solo 2 tipografías:
     --f-title  -> TÍTULOS GRANDES (Titan One, redonda y gorda tipo All Together Now)
     --f-body   -> TEXTOS / CUERPO (Poppins)
   Para cambiar la tipografía de títulos: cambia --f-title aquí
   y el nombre en el <link> de Google Fonts dentro de index.html.
   ========================================================= */

:root {
  --purple: #2a1747;
  --hot: #ff3ea5;
  --yellow: #ffc400;
  --orange: #ff4f0f;
  --green: #00f02a;
  --blue: #0a2cff;
  --gold: #c48a00;
  --teal: #1f7a96;
  --cream: #f3eadb;
  --soft: #faf7f2;
  --ink: #0b0b12;

  --f-title: 'Titan One', 'Baloo 2', 'Arial Black', sans-serif;
  --f-body: 'Poppins', system-ui, sans-serif;

  --grad: linear-gradient(90deg, #ff2fb0 0%, #ff7a59 55%, #ffc400 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--ink); color: #fff; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
.container { width: min(1200px, 92%); margin-inline: auto; position: relative; z-index: 2; }

/* Emojis tipo iPhone (los pone main.js) */
img.emoji { display: inline-block; height: 1em; width: 1em; vertical-align: -0.14em; margin: 0 .03em; }

/* colores utilitarios */
.c-pink { background: var(--hot); } .c-green { background: var(--green); } .c-orange { background: var(--orange); }
.c-blue { background: var(--blue); } .c-gold { background: var(--gold); } .c-gray { background: #d9d9d9; } .c-black { background: var(--ink); }

/* ---------- Botones ---------- */
.pill {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform .2s ease, filter .2s ease;
}
.pill--grad { background: #00f029; }
.pill--lg { font-size: 1.2rem; padding: 18px 46px; }
.pill:hover { transform: scale(1.06) rotate(-1deg); filter: brightness(1.08); }

/* ---------- Franja multicolor ---------- */
.stripe { display: flex; height: 12px; width: 100%; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: #1f7a96; } .stripe i:nth-child(2) { background: #14a3a8; }
.stripe i:nth-child(3) { background: #6aa51f; } .stripe i:nth-child(4) { background: #ff5a1f; }
.stripe i:nth-child(5) { background: #ff7fae; } .stripe i:nth-child(6) { background: #e1262a; }
.stripe i:nth-child(7) { background: #ffb400; }
.stripe--small { max-width: 780px; margin: 22px auto 0; height: 10px; }

/* ---------- Curvas entre secciones ---------- */
.curve { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 8vw, 120px); line-height: 0; z-index: 3; pointer-events: none; }
.curve svg { width: 100%; height: 100%; fill: var(--next); }

/* ---------- Títulos de sección ---------- */
.h-cream, .h-white, .h-dark {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: .5px;
  text-align: center;
  overflow-wrap: break-word;
}
.h-cream { color: #1b3a2a; }
.h-white { color: #fff; }
.h-dark { color: var(--purple); }

/* =========================================================
   NAVBAR — pastilla flotante, con espacio para el LOGO al centro
   ========================================================= */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 200; padding: 0 clamp(10px, 2vw, 28px); }
.nav__pill {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  align-items: center;
  height: 78px;
  background: rgba(42, 23, 71, .88);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0 14px 0 34px;
}
.nav__links { display: flex; gap: 16px; align-items: center; }
.nav__links a {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color .2s;
}
.nav__links a:hover { color: var(--yellow); }
.nav__mobile-cta { display: none; }

/* ESPACIO DEL LOGO (assets/logo/logo-vertigo.png) */
.nav__logo {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 200px; height: 104px;
  display: grid; place-items: center;
  padding: 0 22px 8px;
  background: var(--purple);
  border-radius: 0 0 100px 100px / 0 0 80px 80px;
}
.nav__logo img { max-height: 66px; max-width: 100%; width: auto; height: auto; transition: transform .3s; }
.nav__logo:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__logo-fallback { font-family: var(--f-title); font-size: 1.8rem; letter-spacing: 1px; }

.nav__right { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav__icon { width: 30px; height: 30px; color: var(--yellow); transition: transform .2s; }
.nav__icon:nth-of-type(2) { color: #ff7a59; }
.nav__icon:hover { transform: scale(1.2) rotate(-6deg); }
.nav__icon svg { width: 100%; height: 100%; }
.nav__cta { margin-left: 6px; font-size: 1rem; padding: 18px 38px; }

.nav__burger { display: none; background: none; border: none; width: 46px; height: 46px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 28px; height: 3px; background: #fff; border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================
   HERO (video de fondo)
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #2a1747, #ff3ea5 60%, #ffc400);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, rgba(42,23,71,.55) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding: 170px 18px 110px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__where { font-family: var(--f-body); font-weight: 600; font-size: clamp(.85rem, 1.7vw, 1.15rem); letter-spacing: .5px; }
.hero__title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(3.8rem, 17vw, 16rem);
  line-height: .98;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero__slogan { font-family: var(--f-title); font-size: clamp(1.1rem, 3.2vw, 2.4rem); line-height: 1.2; margin-bottom: 18px; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--f-body); font-weight: 600; font-size: .85rem; letter-spacing: 1px; color: #ff9b5e;
}
.hero__scroll span { text-decoration: underline; text-underline-offset: 5px; }
.hero__scroll svg { width: 26px; height: 26px; animation: bounce 1.5s infinite; }

/* =========================================================
   QUIEN ES VÉRTIGO
   ========================================================= */
.about {
  position: relative;
  background: #f0f0f0; color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  padding: 0 0 clamp(90px, 12vw, 160px) 0;
  overflow: hidden;
}
.about__side {
  position: absolute; left: 0; top: 0; bottom: 0; width: 70px;
  border-right: 1px solid #cfcfcf;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .72rem; letter-spacing: 4px; color: #777; z-index: 2;
}
.about__ghost {
  position: absolute; left: 12%; top: 4%;
  font-family: var(--f-title); font-size: 52vw; line-height: .8; color: #e6e6e6; z-index: 0; pointer-events: none;
}
.about__left { position: relative; z-index: 2; padding: clamp(60px, 8vw, 110px) 4vw 20px calc(70px + 4vw); }
.about__title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 5.4rem);
  line-height: 1.08;
  margin-bottom: 36px;
  overflow-wrap: anywhere;
}
.about__lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; max-width: 640px; border-top: 1px solid #bbb; padding-top: 24px; margin-bottom: 16px; }
.about__text { font-size: 1rem; color: #444; max-width: 640px; margin-bottom: 14px; }
.about__tags { margin-top: 26px; font-size: .72rem; letter-spacing: 2px; color: #888; }

.about__art { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; min-height: 100%; }
.t { position: relative; min-height: 120px; overflow: hidden; }
.sh { position: absolute; display: block; }
.sh-circle { width: 66%; height: 66%; left: 17%; top: 17%; border-radius: 50%; }
.sh-quarter { width: 100%; height: 100%; right: 0; bottom: 0; border-radius: 100% 0 0 0; }
.sh-quarter2 { width: 100%; height: 100%; left: 0; top: 0; border-radius: 0 0 100% 0; }
.sh-half { width: 100%; height: 50%; left: 0; bottom: 0; border-radius: 100% 100% 0 0; }
.sh-ring { width: 76%; height: 76%; left: 12%; top: 12%; border-radius: 50%; background: transparent !important; border: 22px solid; }
.t .sh-ring.c-green { border-color: var(--green); }
.t .sh-ring.c-pink { border-color: var(--hot); }
.sh-steps { width: 60%; height: 60%; right: 0; top: 0; clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 0 70%, 40% 70%); }
.sh-puzzle { position: absolute; inset: 8%; width: 84%; height: 84%; color: var(--ink); }
.about__badge {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--f-title); font-size: clamp(1.3rem, 3vw, 2.8rem);
  text-align: center; color: var(--ink); z-index: 3;
}

/* =========================================================
   EVENTOS ANTERIORES
   ========================================================= */
.events { position: relative; background: var(--cream); color: #1b3a2a; padding: clamp(60px, 9vw, 120px) 0 clamp(110px, 14vw, 180px); }
.event-list { margin-top: 56px; border-top: 2px solid #1b3a2a; }
.event {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 20px 10px; border-bottom: 2px solid #1b3a2a;
  transition: background .25s, color .25s, padding .25s;
}
.event__name { font-family: var(--f-title); font-size: clamp(1.4rem, 3.6vw, 3rem); line-height: 1.1; }
.event__date { font-family: var(--f-body); font-weight: 600; letter-spacing: 3px; font-size: clamp(.85rem, 1.5vw, 1.2rem); white-space: nowrap; }
.event:nth-child(7n+1):hover { background: #1f7a96; }
.event:nth-child(7n+2):hover { background: #14a3a8; }
.event:nth-child(7n+3):hover { background: #6aa51f; }
.event:nth-child(7n+4):hover { background: #ff5a1f; }
.event:nth-child(7n+5):hover { background: #ff7fae; }
.event:nth-child(7n+6):hover { background: #e1262a; }
.event:nth-child(7n+7):hover { background: #ffb400; }
.event:hover { color: var(--ink); padding-left: 30px; }

/* =========================================================
   GALERÍA — 9 fotos, 3 por fila (estilo KIKK)
   Sin cursor encima: foto en blanco y negro y casi transparente.
   Con el cursor encima: la foto se pone normal.
   ========================================================= */
.gallery { position: relative; background: var(--purple); padding: clamp(60px, 9vw, 120px) 0 clamp(120px, 15vw, 190px); }
.gallery__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(1200px, 92%); margin: 56px auto 0;
  background: #fff;
}
.tile { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #f2f2f2; border: 1px solid #e4e4e4; color: var(--ink); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); opacity: .25;
  transition: opacity .45s ease, filter .45s ease, transform .7s ease;
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(11,11,18,.85) 0%, rgba(11,11,18,.15) 60%, rgba(11,11,18,0) 100%);
  opacity: 0; transition: opacity .45s ease;
}
.tile__num, .tile__date { position: absolute; top: 20px; z-index: 2; font-size: .78rem; letter-spacing: 3px; color: #777; transition: color .3s; }
.tile__num { left: 24px; }
.tile__date { right: 24px; }
.tile__text { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.tile__title { font-family: var(--f-title); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.1; margin-bottom: 8px; transition: color .3s; }
.tile__cap { font-size: .92rem; line-height: 1.45; color: #555; transition: color .3s; }
.tile__file { display: none; position: absolute; inset: 0; place-items: center; z-index: 0; font-weight: 600; font-size: .9rem; color: #b5b5b5; transition: color .3s; }
.tile.missing .tile__file { display: grid; }

.tile:hover img, .tile.is-active img { filter: none; opacity: 1; transform: scale(1.05); }
.tile:hover::after, .tile.is-active::after { opacity: 1; }
.tile:hover .tile__num, .tile:hover .tile__date, .tile.is-active .tile__num, .tile.is-active .tile__date { color: rgba(255,255,255,.8); }
.tile:hover .tile__title, .tile.is-active .tile__title { color: #fff; }
.tile:hover .tile__cap, .tile.is-active .tile__cap { color: rgba(255,255,255,.88); }
.tile.missing:hover, .tile.missing.is-active { background: var(--purple); }
.tile.missing:hover .tile__file, .tile.missing.is-active .tile__file { color: rgba(255,255,255,.7); }

/* cursor brillante (solo con mouse) */
.orb {
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle, #fff 0 16%, #ffc36b 34%, #ff3ea5 62%, #4a5bff 100%);
  box-shadow: 0 0 18px rgba(255,62,165,.7);
}
@media (hover: hover) and (pointer: fine) { .gallery__grid { cursor: none; } }

/* =========================================================
   PROXIMOS EVENTOS — sobrio, casi sin color
   ========================================================= */
.next { position: relative; background: var(--soft); padding: clamp(70px, 10vw, 130px) 0 clamp(120px, 15vw, 190px); }
.next__list { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.next__pill {
  font-family: var(--f-title);
  font-size: clamp(1.4rem, 5.4vw, 4.4rem);
  line-height: 1.1;
  color: var(--purple);
  border: 3px solid var(--purple);
  padding: .22em .8em;
  border-radius: 999px;
  text-align: center;
  max-width: 100%;
  transition: background .25s, color .25s, transform .25s;
}
.next__pill:hover { background: var(--purple); color: #fff; transform: scale(1.03); }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { background: var(--ink); padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px); }
.cards { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; }
.card { position: relative; aspect-ratio: 1; padding: 28px; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s; }
.card:hover { transform: scale(1.03); z-index: 3; }
.card__n { font-family: var(--f-body); font-weight: 700; font-size: 1rem; }
.card h3 { font-family: var(--f-title); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.1; position: relative; z-index: 2; }
.card .sh { width: 42%; height: 42%; right: 0; top: 0; bottom: auto; left: auto; z-index: 1; }
.card .sh-quarter { border-radius: 0 0 0 100%; }
.card .sh-half { width: 48%; height: 24%; border-radius: 0 0 100% 100%; right: 10%; }
.card .sh-ring { width: 34%; height: 34%; right: 10%; top: 10%; border: 14px solid var(--ink); background: transparent; }

/* =========================================================
   CTA
   ========================================================= */
.cta { background: linear-gradient(180deg, #ff7a2f 0%, #c4456f 55%, #2a1747 100%); text-align: center; }
.cta__inner { padding: clamp(70px, 10vw, 130px) 5vw clamp(80px, 11vw, 140px); display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta__title { font-family: var(--f-title); font-weight: 400; font-size: clamp(2.2rem, 6.8vw, 6rem); line-height: 1.08; max-width: 1100px; }
.torn { position: relative; display: inline-block; padding: 24px 56px; isolation: isolate; transition: transform .2s; }
.torn::before { content: ''; position: absolute; inset: 0; background: var(--teal); filter: url(#rough); z-index: -1; }
.torn span { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: #fff; }
.torn:hover { transform: rotate(-2deg) scale(1.06); }
.cta__num { font-family: var(--f-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 3px; }

/* =========================================================
   MARCAS
   ========================================================= */
.brands { background: var(--cream); padding: clamp(60px, 9vw, 110px) 0; }
.brands__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; background: #0b0b12; border-radius: 22px; transition: transform .2s, background .2s; position: relative; }
.brand:hover { background: #2a1747; transform: translateY(-5px) rotate(-1.5deg); }
.brand img { max-height: 56px; max-width: 82%; object-fit: contain; }
.brand.missing::after { content: 'marca-' attr(data-n); font-family: var(--f-body); font-weight: 600; color: #b8b0a0; font-size: .9rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--purple); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 70px 0 50px; }
.footer__brand > img { height: 84px; width: auto; margin-bottom: 10px; }
.footer__big { font-family: var(--f-title); font-size: clamp(3rem, 10vw, 8rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-family: var(--f-body); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; color: var(--yellow); margin-bottom: 6px; }
.footer__col a:hover { color: var(--yellow); text-decoration: underline; }
.footer__bottom { background: var(--ink); padding: 20px 4vw; text-align: center; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }

/* =========================================================
   ANIMACIONES
   ========================================================= */
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE (tablet y celular)
   ========================================================= */
@media (max-width: 1320px) {
  .nav { top: 10px; }
  .nav__pill { display: flex; justify-content: flex-end; align-items: center; padding: 0 12px; height: 66px; backdrop-filter: none; background: rgba(42, 23, 71, .97); } /* sin blur: así el menú móvil ocupa toda la pantalla */
  .nav__logo { left: 12px; top: 0; transform: none; width: 128px; height: 86px; padding: 0 14px 6px; border-radius: 0 0 64px 64px / 0 0 50px 50px; }
  .nav__logo img { max-height: 52px; }
  .nav__logo-fallback { font-size: 1.3rem; }
  .nav__right { grid-column: auto; }
  .nav__cta { display: none; }
  .nav__icon { display: block; width: 28px; height: 28px; }
  .nav__burger { display: flex; position: relative; z-index: 230; }
  .nav__links--left {
    position: fixed; inset: 0; z-index: 220;
    background: var(--purple);
    flex-direction: column; justify-content: center; gap: 24px;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .nav__links--left.open { transform: translateX(0); }
  .nav__links--left a { font-family: var(--f-title); font-weight: 400; font-size: 1.8rem; letter-spacing: 0; text-transform: none; }
  .nav__mobile-cta { display: inline-block; background: var(--grad); color: var(--purple); padding: 8px 30px; border-radius: 999px; }
}
@media (max-width: 1000px) {

  .about { grid-template-columns: 1fr; }
  .about__left { padding: 130px 6vw 30px calc(46px + 4vw); }
  .about__side { width: 46px; }
  .about__art { margin-top: 20px; }
  .about__title { font-size: clamp(1.8rem, 8vw, 3.4rem); }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 1fr; gap: 4px; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .pill--lg { padding: 16px 36px; font-size: 1.05rem; }
  .torn { padding: 20px 34px; }
  .hero__content { padding-top: 140px; }
  .sh-ring { border-width: 14px; }
}

/* =========================================================
   TÍTULOS CON TEXTURA GRANULADA (estilo All Together Now)
   El grano es una máscara de ruido; el filtro #wobble le da
   el borde irregular. Para quitarlo: borra este bloque.
   ========================================================= */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 -0.5'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
.h-cream, .h-white, .h-dark, .hero__title, .hero__slogan, .about__title, .event__name,
.next__pill, .card h3, .cta__title, .footer__big, .tile__title, .nav__logo-fallback {
  -webkit-mask-image: var(--grain); mask-image: var(--grain);
  -webkit-mask-size: 240px 240px; mask-size: 240px 240px;
  filter: url(#wobble);
}

/* galería responsive */
@media (max-width: 1000px) {
  .tile__text { left: 18px; right: 18px; bottom: 16px; }
  .tile__num { left: 18px; } .tile__date { right: 18px; }
  .tile__cap { font-size: .8rem; }
}
@media (max-width: 640px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3; }
  .tile__cap { font-size: .9rem; }
}
