@font-face {
    font-family: "Martin";
    src: url("../fonts/Martin-OK.ttf") format("truetype");
    font-display: swap;
}

/* Base */
:root {
    --color-black: #000;
    --color-white: #f8f7f3;
    --color-pink: #ec3c83;
    --page-edge: clamp(1.6rem, 4.5vw, 4.4rem);
    --font-display: "Martin", Arial, sans-serif;
    --font-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--color-black); color: var(--color-white); font-family: var(--font-sans); font-synthesis: none; }
a { color: inherit; }

/* Cabecera */
.site-header { position: absolute; z-index: 10; top: 0; left: 0; display: flex; width: 100%; height: 5.1rem; align-items: center; padding: 0 var(--page-edge); border-top: 1px solid var(--color-pink); }
.logo { flex: 1 1 0; }
.logo a { position: relative; top: .7rem; display: inline-flex; flex-direction: column; color: var(--color-white); font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .035em; line-height: .94; text-decoration: none; transform: rotate(-2deg); }
.logo b { color: var(--color-pink); font-family: var(--font-sans); font-size: 1.65em; line-height: 0; vertical-align: -.07em; }
.main-nav ul { display: flex; gap: clamp(1rem, 2.6vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
.main-nav a, .header-cta { font-size: .69rem; font-weight: 700; letter-spacing: -.015em; text-decoration: none; text-transform: uppercase; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--color-pink); }
.header-cta { margin-left: clamp(1.3rem, 4vw, 5.5rem); padding: .85rem 1rem; border: 1px solid var(--color-pink); color: var(--color-pink); white-space: nowrap; transition: background .2s ease, color .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: var(--color-pink); color: var(--color-black); }

/* Hero */
.hero { position: relative; display: grid; min-height: min(100svh, 56rem); overflow: hidden; background: var(--color-black); isolation: isolate; }
.hero__media, .hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.hero__media { z-index: -2; }
.hero__image { position: absolute; right: 0; bottom: 0; width: 50%; height: 92%; object-fit: contain; object-position: right bottom; filter: contrast(1.06) saturate(1.08); opacity: 1; }
.hero__overlay { z-index: -1; background: linear-gradient(90deg, var(--color-black) 0 37%, rgba(0, 0, 0, .62) 50%, transparent 64%); }
.hero__content { display: flex; width: 100%; min-height: inherit; flex-direction: column; justify-content: flex-end; padding: 8.6rem var(--page-edge) 2.4rem; }
.hero__copy { display: grid; width: min(100%, 74rem); grid-template-columns: minmax(18rem, 30rem) 1fr; align-items: end; transform: translateY(-1.25rem); }
.hero__edition { grid-column: 1; grid-row: 2; margin: 1rem 0 0; color: var(--color-pink); font-family: var(--font-display); font-size: clamp(1.1rem, 1.85vw, 1.75rem); font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.hero__title { grid-column: 1; grid-row: 1; margin: 0; font-family: var(--font-display); font-size: clamp(4.25rem, 7.4vw, 6.9rem); font-weight: 800; letter-spacing: .04em; line-height: .82; text-transform: uppercase; transform: rotate(-1.2deg); }
.hero__meta { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; gap: .75rem; margin-top: 2.4rem; font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.65rem); font-weight: 700; letter-spacing: .075em; line-height: 1.03; text-transform: uppercase; }
.hero__meta p { margin: 0; }
.hero__date { font-size: 1.45em; line-height: .82; }
.hero__scroll { display: flex; width: fit-content; margin-top: clamp(2rem, 5vh, 4rem); align-items: center; gap: .85rem; color: var(--color-white); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.hero__scroll-icon { display: grid; width: 3.15rem; height: 3.15rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.8rem; font-weight: 200; letter-spacing: 0; line-height: 1; transition: background .2s ease, color .2s ease; }
.hero__scroll:hover .hero__scroll-icon, .hero__scroll:focus-visible .hero__scroll-icon { background: var(--color-white); color: var(--color-black); }

/* Módulos editoriales */
.manifesto { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(20rem, 2.1fr) minmax(9rem, .8fr); gap: clamp(1.5rem, 3vw, 4rem); padding: 0 var(--page-edge) clamp(3.5rem, 7vw, 7rem); border-top: 1px solid rgba(248, 247, 243, .45); align-items: stretch; }
.manifesto__image { min-height: 17rem; overflow: hidden; }
.manifesto__image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.manifesto__copy { max-width: 42rem; padding-top: clamp(1.8rem, 4vw, 3.4rem); }
.manifesto h2, .section-header h2, .program h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 2.65vw, 3rem); font-weight: 700; letter-spacing: .035em; line-height: .96; text-transform: uppercase; }
.manifesto__copy p { max-width: 39rem; margin: 1.25rem 0 0; font-size: clamp(.86rem, 1.15vw, 1rem); line-height: 1.45; }
.manifesto__mark { align-self: center; color: var(--color-pink); font-family: var(--font-display); font-size: clamp(7rem, 13vw, 13rem); font-weight: 800; line-height: .6; text-align: center; transform: rotate(-8deg); }
.manifesto__tag { align-self: end; margin: 0; color: var(--color-pink); font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.artists { padding: clamp(1.8rem, 3vw, 3rem) var(--page-edge) clamp(3.5rem, 7vw, 7rem); border-top: 1px solid rgba(248, 247, 243, .45); }
.section-header { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-bottom: 1.35rem; }
.section-header h2::after, .program h2::after { display: block; width: 7.5rem; height: 2px; margin-top: .4rem; background: var(--color-pink); content: ""; }
.section-header a { color: var(--color-pink); font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.section-header a span, .button span { margin-left: .85rem; font-size: 1.7em; line-height: 0; }
.artists__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.artist-card { position: relative; min-width: 0; min-height: 19rem; overflow: hidden; background: #161616; }
.artist-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); content: ""; }
.artist-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: transform .35s ease, filter .35s ease; }
.artist-card:hover img { filter: grayscale(.3) contrast(1.1); transform: scale(1.04); }
.artist-card__copy { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; }
.artist-card__copy p { margin: 0 0 .3rem; color: var(--color-pink); font-family: var(--font-display); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.artist-card h3 { margin: 0; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(1rem, 1.22vw, 1.4rem); font-weight: 700; letter-spacing: .025em; line-height: 1; text-transform: uppercase; }
.program { display: flex; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.6rem) var(--page-edge); border-top: 1px solid rgba(248, 247, 243, .45); border-bottom: 1px solid rgba(248, 247, 243, .45); align-items: center; }
.program p { margin: 1rem 0 0; font-family: var(--font-display); font-size: clamp(.8rem, 1.2vw, 1rem); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.button { display: inline-flex; min-width: 14.5rem; justify-content: center; align-items: center; padding: 1.2rem 1.4rem; border: 1px solid var(--color-pink); color: var(--color-pink); font-family: var(--font-display); font-size: .9rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { background: var(--color-pink); color: var(--color-black); }
.explore { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(2.2rem, 5vw, 4rem) var(--page-edge); }
.explore__item { min-height: 13rem; padding: 0 clamp(1rem, 2.5vw, 3rem); border-left: 1px solid rgba(248, 247, 243, .45); color: var(--color-white); text-align: center; text-decoration: none; }
.explore__item:first-child { border-left: 0; }
.explore__item h2 { margin: 0; color: var(--color-pink); font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.45rem); font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.explore__symbol { display: block; margin: 1.35rem 0 .9rem; color: var(--color-pink); font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: .7; }
.explore__item p { margin: 0; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem var(--page-edge); border-top: 1px solid rgba(248, 247, 243, .45); font-size: .68rem; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer strong { font-family: var(--font-display); font-size: 1.1rem; }
.site-footer nav { display: flex; gap: clamp(1rem, 2.2vw, 2.5rem); align-items: center; }
.site-footer a { color: var(--color-white); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--color-pink); }

@media (max-width: 860px) {
    .site-header { height: auto; min-height: 4.7rem; }
    .main-nav { display: none; }
    .header-cta { margin-left: 0; }
    .hero { min-height: 49rem; }
    .hero__image { right: 0; bottom: 0; width: 76%; height: 84%; opacity: 1; }
    .hero__overlay { background: linear-gradient(90deg, var(--color-black) 0%, rgba(0, 0, 0, .52) 57%, transparent 78%); }
    .manifesto { grid-template-columns: minmax(13rem, .8fr) 1.8fr; }
    .manifesto__mark, .manifesto__tag { display: none; }
    .artists__grid { grid-template-columns: repeat(3, 1fr); }
    .artist-card { min-height: 22rem; }
    .explore { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
    .explore__item:nth-child(3) { border-left: 0; }
}

@media (max-width: 560px) {
    :root { --page-edge: 1.4rem; }
    .logo a { font-size: 1.1rem; }
    .header-cta { padding: .65rem .55rem; font-size: .54rem; }
    .hero { min-height: 44rem; }
    .hero__content { padding-top: 6.5rem; padding-bottom: 1.5rem; }
    .hero__title { font-size: clamp(3.75rem, 19vw, 5.4rem); line-height: .8; }
    .hero__edition { margin-top: 1.25rem; }
    .hero__meta { margin-top: 2.1rem; }
    .hero__scroll { margin-top: 1.8rem; }
    .hero__scroll-icon { width: 2.75rem; height: 2.75rem; }
    .manifesto { display: block; padding-top: 0; }
    .manifesto__image { min-height: 15rem; margin: 0 calc(var(--page-edge) * -1); }
    .manifesto__copy { padding-top: 2rem; }
    .manifesto h2, .section-header h2, .program h2 { font-size: 1.75rem; }
    .artists__grid { grid-auto-columns: minmax(14rem, 76vw); grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
    .artist-card { min-height: 20rem; scroll-snap-align: start; }
    .section-header { align-items: end; }
    .section-header a { font-size: .65rem; text-align: right; }
    .program { display: block; }
    .button { width: 100%; margin-top: 1.75rem; }
    .explore { display: block; padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .explore__item, .explore__item:first-child { display: grid; min-height: 0; grid-template-columns: 1fr 3.4rem 1.2fr; gap: .75rem; padding: 1.3rem 0; border-top: 1px solid rgba(248, 247, 243, .45); border-left: 0; text-align: left; align-items: center; }
    .explore__item:last-child { border-bottom: 1px solid rgba(248, 247, 243, .45); }
    .explore__symbol { margin: 0; font-size: 2.5rem; text-align: center; }
    .explore__item p { font-size: .6rem; }
    .site-footer { display: block; }
    .site-footer nav { flex-wrap: wrap; margin: 1.2rem 0; }
}
