/* Festival Duro - sistema grafico */

@font-face {
    font-family: "Bungee Inline";
    src: url("../fonts/bungee-inline.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Rubik Mono One";
    src: url("../fonts/rubik-mono-one.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
    --yellow: #ffd400;
    --black: #050505;
    --bone: #f5f1e6;
    --grey: #898989;
    --line: rgba(5, 5, 5, .18);
    --display: "Rubik Mono One", Impact, sans-serif;
    --decor: "Bungee Inline", "Rubik Mono One", Impact, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max: 1160px;
    --gutter: clamp(1rem, 4vw, 2rem);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--black);
    background: var(--yellow);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
    margin: 0 0 1rem;
    font-family: var(--display);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    padding: .75rem 1rem;
    background: var(--black);
    color: var(--yellow);
}
.skip-link:focus { left: 0; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--black);
    color: var(--yellow);
    border-bottom: 4px solid var(--yellow);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .75rem;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand__logo {
    width: auto;
    max-width: min(38vw, 340px);
    max-height: 50px;
    height: auto;
    object-fit: contain;
}

.brand__logo--stack { display: none; }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.2rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--yellow);
    font-family: var(--display);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-nav a:hover,
.social-list a:hover,
.legal-links a:hover,
.credits a:hover {
    color: var(--bone);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: .65rem;
    height: 42px;
    padding: 0 .8rem;
    color: var(--yellow);
    background: transparent;
    border: 2px solid currentColor;
    font-family: var(--display);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle__icon {
    width: 24px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle__icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: currentColor;
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(460px, calc(72svh - 76px));
    display: grid;
    align-items: center;
    overflow: hidden;
    padding-block: clamp(2.5rem, 4vw, 3.75rem);
    background: var(--yellow);
    border-bottom: 5px solid var(--black);
}

.hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(.85rem, 1.7vw, 1.3rem);
    text-align: center;
}

.hero__kicker {
    display: inline-flex;
    max-width: 100%;
    padding: .55rem .95rem;
    background: var(--black);
    color: var(--yellow);
    font-family: var(--display);
    font-size: .78rem;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero__title {
    width: 100%;
    margin: 0;
}

.hero__logo {
    width: min(100%, 860px);
    margin-inline: auto;
}

.hero__meta {
    width: min(100%, 860px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.hero__meta > div {
    min-height: 96px;
    padding: 1rem 1.15rem;
    background: rgba(5, 5, 5, .96);
    color: var(--yellow);
}

.hero__meta span {
    display: block;
    font-family: var(--display);
    font-size: .68rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero__meta strong {
    display: block;
    margin-top: .25rem;
    font-family: var(--display);
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    line-height: 1.12;
    letter-spacing: .07em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

/* Buttons */
.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 1.45rem;
    background: var(--black);
    color: var(--yellow);
    border: 3px solid var(--black);
    font-family: var(--display);
    font-size: .88rem;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    color: var(--yellow);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--black);
}

.btn--ghost:hover {
    background: var(--black);
    color: var(--yellow);
}

/* Sections */
.section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 8vw, 6.75rem);
    background: var(--yellow);
}

.section::before {
    display: none;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section--dark {
    background: var(--black);
    color: var(--bone);
}

.section--dark::before {
    display: none;
}

.section--festival {
    background: #fff;
    color: var(--black);
}

.page-home .section,
.page-lineup .section,
.page-info .section {
    background: #fff;
    color: var(--black);
}

.page-home .hero + .section,
.page-lineup .hero + .section,
.page-info .hero + .section,
.page-info .divider + .section {
    border-top: 10px solid #fff;
    padding-top: clamp(3rem, 5vw, 4.5rem);
}

.section__title {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 1.4rem;
}

.section__title::after {
    content: "";
    display: block;
    height: 5px;
    margin-top: .45rem;
    background: currentColor;
}

.section__lead {
    max-width: 620px;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    font-weight: 700;
}

.festival-panel {
    position: relative;
    overflow: hidden;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .68fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    background: #fff;
    border: 5px solid var(--black);
}

.festival-panel > * {
    position: relative;
    z-index: 1;
}

.festival-panel__copy {
    max-width: 620px;
}

.festival-panel__copy .btn {
    margin-top: .75rem;
}

.festival-panel__media {
    width: min(100%, 380px);
    margin: 0;
    justify-self: end;
    background: var(--yellow);
    border: 5px solid var(--black);
    box-shadow: 14px 14px 0 var(--black);
}

.festival-panel__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: contain;
}

.divider { display: none !important; }

/* Cards */
.lineup-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.band-card,
.info-card {
    position: relative;
    overflow: hidden;
    background: var(--bone);
    color: var(--black);
    border: 4px solid var(--black);
}

.band-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    transition: transform 180ms ease;
}

.band-card:hover {
    transform: translateY(-3px);
}

.band-card__img {
    aspect-ratio: 16 / 11;
    margin: -1.25rem -1.25rem 1rem;
    overflow: hidden;
    background: var(--black);
    border-bottom: 4px solid var(--black);
}

.band-card__img img,
.band-detail__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-card__name {
    margin-bottom: .35rem;
    font-size: 1.25rem;
    overflow-wrap: anywhere;
}

.band-card__meta {
    margin-top: auto;
    margin-bottom: 0;
    color: var(--grey);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.band-card__headliner {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: .25rem .55rem;
    background: var(--yellow);
    color: var(--black);
    font-family: var(--display);
    font-size: .72rem;
    text-transform: uppercase;
}

.info-card {
    padding: 2rem;
    background: var(--yellow);
}

.info-card h3 {
    margin-top: 0;
}

.faq-list,
.social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-item {
    border-top: 2px solid currentColor;
    padding-block: 1rem;
}

.faq-item:last-child {
    border-bottom: 2px solid currentColor;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--display);
    text-transform: uppercase;
}

.empty-state {
    max-width: 720px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Band detail */
.band-detail {
    min-height: 70vh;
}

.band-detail h1,
.back-link {
    color: var(--yellow);
}

.back-link {
    font-family: var(--display);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero__kicker--inverse {
    background: var(--yellow);
    color: var(--black);
}

.band-detail__grid {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 2rem;
}

.band-detail__photo {
    aspect-ratio: 4 / 3;
    border: 4px solid var(--yellow);
}

.band-detail__links {
    margin-top: 1.25rem;
}

/* Footer */
.site-footer {
    margin-top: 0;
    background: var(--black);
    color: var(--bone);
    border-top: 5px solid var(--black);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(150px, 1fr));
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-block: clamp(2.75rem, 5vw, 4rem);
}

.site-footer__logo {
    width: min(220px, 70vw);
}

.site-footer h3 {
    color: var(--yellow);
    font-size: 1rem;
    letter-spacing: .1em;
}

.social-list a {
    display: inline-block;
    padding-block: .2rem;
    color: var(--bone);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 212, 0, .2);
    padding-block: 1rem;
    color: var(--grey);
    font-size: .85rem;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

.site-footer__bottom-inner p {
    margin: 0;
}

.legal-links {
    display: inline-flex;
    gap: .5rem;
}

.legal-links a,
.credits a {
    color: var(--yellow);
}

/* Legal pages */
.legal-content {
    max-width: 820px;
    font-size: 1.02rem;
}

.legal-content .legal-lead {
    padding-left: 1rem;
    border-left: 4px solid var(--black);
    font-size: 1.1rem;
}

.legal-content h2 {
    margin-top: 2.2rem;
    font-size: 1.35rem;
}

.legal-content ul {
    padding-left: 1.3rem;
}

.cookie-table-wrap {
    overflow-x: auto;
}

.cookie-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: .7rem .75rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.cookie-table th {
    background: var(--black);
    color: var(--yellow);
    font-family: var(--display);
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 820px) {
    .site-header__inner {
        min-height: 68px;
    }

    .brand__logo {
        width: auto;
        max-width: min(52vw, 240px);
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--black);
        border-top: 2px solid var(--yellow);
        transition: max-height 260ms ease;
    }

    .site-nav.is-open {
        max-height: 320px;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: .8rem var(--gutter);
    }

    .site-nav a {
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        padding-block: clamp(2rem, 8vw, 3.25rem);
        background: var(--yellow);
    }

    .hero__inner,
    .hero__title,
    .hero__cta {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero__logo {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .hero__meta {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
    }

    .hero__meta > div {
        min-height: 0;
        text-align: center;
    }

    .festival-panel {
        grid-template-columns: 1fr;
        background: #fff;
    }

    .festival-panel__copy {
        max-width: none;
    }

    .festival-panel__media {
        width: min(100%, 330px);
        justify-self: center;
        box-shadow: 9px 9px 0 var(--black);
    }

    .band-detail__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .brand__logo--wide { display: none; }

    .brand__logo--stack {
        display: block;
        width: min(132px, 38vw);
        max-width: none;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .nav-toggle {
        padding-inline: .65rem;
        font-size: .62rem;
    }

    .nav-toggle__icon {
        width: 22px;
    }

    .hero__logo {
        max-width: 315px;
    }

    .hero__kicker {
        max-width: calc(100vw - 2rem);
        white-space: normal;
        justify-content: center;
        font-size: .68rem;
        letter-spacing: .08em;
    }

    .btn {
        width: 100%;
        max-width: 330px;
        padding-inline: 1rem;
    }

    .festival-panel,
    .info-card {
        padding: 1.35rem;
    }

    .festival-panel__media {
        width: min(100%, 280px);
        border-width: 4px;
        box-shadow: 7px 7px 0 var(--black);
    }

    .site-footer__bottom-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
