:root {
    --bg: #05060a;
    --bg-2: #0a0e1a;
    --bg-3: #0e1424;
    --blue: #1863dc;
    --blue-light: #5b9bff;
    --white: #f4f6fb;
    --muted: #8a92ab;
    --line: rgba(244, 246, 251, 0.09);
    --font-display: 'Anton', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: #fff; }

/* Grano/textura sutil sobre toda la página */
.grain {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px clamp(20px, 5vw, 56px);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav-solid {
    background: rgba(5, 6, 10, 0.82);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
}
.nav-logo {
    grid-column: 2;
    display: flex;
    align-items: center;
}
.nav-logo-img { height: clamp(26px, 6vw, 36px); width: auto; display: block; }
.nav-link { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.nav-link svg { width: 14px; height: 14px; }
.nav-link:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 100px;
    overflow: hidden;
}
.hero-inner {
    width: 100%;
    max-width: 760px;
}
.hero-bg {
    position: absolute;
    inset: -10% 0 0 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(24, 99, 220, 0.35), transparent 60%),
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(24, 99, 220, 0.12), transparent 60%),
        var(--bg);
}
.hero-tear {
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 70px;
    background: var(--bg);
    clip-path: polygon(0% 40%, 4% 60%, 9% 35%, 15% 65%, 21% 30%, 27% 58%, 33% 38%, 39% 70%, 45% 42%, 51% 62%, 57% 32%, 63% 66%, 69% 40%, 75% 60%, 81% 35%, 87% 64%, 93% 38%, 100% 55%, 100% 100%, 0% 100%);
}
.hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--blue-light);
    margin-bottom: 22px;
}
.hero-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.88;
    font-size: clamp(42px, calc(14px + 8.5vw), 165px);
    letter-spacing: 0.01em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > * { display: inline-block; }
.line-outline {
    -webkit-text-stroke: 1.5px var(--white);
    color: transparent;
}
.hero-sub {
    max-width: 560px;
    margin: 30px auto 0;
    font-size: clamp(16px, 3.4vw, 19px);
    color: var(--muted);
    font-weight: 500;
}
.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--muted);
    transition: opacity 0.3s ease;
    animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- Manifiesto ---------- */
.manifesto {
    padding: clamp(80px, 14vw, 160px) 20px;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.manifesto-quote {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(26px, 5vw, 48px);
    line-height: 1.18;
    letter-spacing: 0.005em;
}
.manifesto-quote .w { opacity: 0.22; transition: none; }
.manifesto-quote .hl { color: var(--blue-light); }
.manifesto-sign {
    margin-top: 26px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 600;
}

/* ---------- Muro de la Crew ---------- */
.wall { padding: clamp(90px, 14vw, 150px) clamp(20px, 5vw, 56px) 40px; }
.wall-head { text-align: center; max-width: 640px; margin: 0 auto clamp(48px, 8vw, 80px); }
.wall-head h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(38px, 8vw, 72px);
    line-height: 0.95;
    margin-bottom: 18px;
}
.wall-head p { color: var(--muted); font-size: 16px; }

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2vw, 20px);
    max-width: 1320px;
    margin: 0 auto;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg-2);
    border: 1px solid var(--line);
}
.card-media { position: absolute; inset: 0; background: var(--bg-2); }
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.55) contrast(1.08) brightness(0.82);
    transform: scale(1.02);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1), filter 0.6s ease, opacity 0.5s ease;
}
.card-media img.img-lista { opacity: 1; }
.card-media::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(5,6,10,0.92) 0%, rgba(5,6,10,0.25) 42%, rgba(24,99,220,0.18) 100%);
}
.card-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.card-tag {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--blue-light);
    font-weight: 700;
}
.card-name {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(14px, 2vw, 17px);
    letter-spacing: 0.01em;
}
@media (hover: hover) {
    .card:hover .card-media img { transform: scale(1.1); filter: grayscale(0.15) contrast(1.1) brightness(0.92); }
}

/* ---------- CTA ---------- */
.cta {
    padding: clamp(90px, 14vw, 160px) 20px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(34px, 7vw, 60px);
    line-height: 0.98;
    margin-bottom: 18px;
}
.cta > p { color: var(--muted); font-size: 16px; margin-bottom: 36px; }
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 16px 30px;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 0 rgba(24,99,220,0.5);
}
.cta-btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.cta-btn:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 10px 30px -6px rgba(24,99,220,0.6); }
.cta-btn:hover svg { transform: translateX(3px); }

/* ---------- Footer ---------- */
.footer {
    padding: 40px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}
.footer-logo { height: 30px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.03em; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: #4b5169; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-scroll { animation: none; }
    .manifesto-quote .w { opacity: 1; }
}
