@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Oswald"; font-weight: 600; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); font-display: swap; }

:root {
    --bg: #060501;          /* near-black, from the logo */
    --card: #14160f;
    --text: #e6e6df;
    --green: #468c20;       /* logo green */
    --toxic: #8cf23a;       /* bright highlight */
    --headline: "Anton", Impact, sans-serif;
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
    margin: 0;
    background-color: var(--bg);
    /* faint scratches */
    background-image:
        repeating-linear-gradient(115deg, transparent 0 7px, rgba(255,255,255,0.018) 7px 8px),
        repeating-linear-gradient(63deg, transparent 0 19px, rgba(255,255,255,0.014) 19px 20px);
    color: var(--text);
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
}

a { color: var(--toxic); }
a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

h1, h2, .brand, .tagline, .button, .shows time, .site-header nav {
    font-family: var(--headline);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    border-bottom: 4px solid var(--green);
}

.brand { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; text-decoration: none; }
.brand .badge { flex-shrink: 0; }
.brand .wordmark { width: min(15rem, 55vw); height: auto; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover { color: var(--toxic); }

main { max-width: 62rem; margin: 0 auto; padding: 0 1rem; }
section { padding: 2.5rem 0; scroll-margin-top: 1rem; }

.hero {
    text-align: center;
    background: radial-gradient(ellipse at 50% 35%, rgba(70,140,32,0.28), transparent 65%);
}

.hero h1 { margin: 0; }

.hero img {
    width: min(26rem, 80%);
    height: auto;
    filter: drop-shadow(0 0 14px rgba(140,242,58,0.45));
}

.tagline {
    font-size: clamp(1.8rem, 6vw, 3.25rem);
    line-height: 1.15;
    margin: 1.5rem 0 0.5rem;
    transform: skew(-8deg);
    text-shadow: 3px 3px 0 var(--green);
}

.subtagline {
    font-family: var(--headline);
    font-size: clamp(1.15rem, 3.5vw, 1.6rem);
    letter-spacing: 0.04em;
    color: var(--toxic);
    text-wrap: balance;
}

/* caution tape divider */
.hazard {
    height: 14px;
    background: repeating-linear-gradient(-45deg, var(--green) 0 18px, #000 18px 36px);
}

h2 {
    display: table;
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    margin: 0 0 1.5rem;
    padding: 0 1.25rem;
    background: var(--green);
    color: #000;
    transform: skew(-10deg);
    box-shadow: 6px 6px 0 #000;
}

.shows { list-style: none; padding: 0; }

.shows li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(100deg, var(--card), #0b0c08);
    border: 1px solid #2c3123;
    border-left: 8px solid var(--green);
    padding: 1rem 1.25rem;
    margin-bottom: 0.9rem;
    transition: transform 0.15s, border-color 0.15s;
}

.shows li:hover { transform: translateX(6px); border-color: var(--toxic); }
.shows time { min-width: 13rem; font-size: 1.35rem; color: var(--toxic); }
.shows div { flex: 1; min-width: 12rem; display: flex; flex-direction: column; }
.shows strong { font-weight: 600; font-size: 1.3rem; text-transform: uppercase; }

.button {
    display: inline-block;
    background: var(--toxic);
    color: #000;
    padding: 0.4rem 1.4rem;
    text-decoration: none;
    transform: skew(-10deg);
    box-shadow: 4px 4px 0 var(--green);
}

.button:hover { background: #fff; }
.button.big { font-size: 1.4rem; margin-top: 0.5rem; }

#merch { text-align: center; }
#merch h2 { margin-inline: auto; }

.merch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 20rem));
    justify-content: center;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

/* light backdrop so the black clothing stands out */
.merch a {
    display: block;
    padding: 1rem;
    background: #c9cacc;
    border: 3px solid #2c3123;
}

.merch a:hover { border-color: var(--toxic); }
.merch img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.gallery figure { margin: 0; background: #000; border: 3px solid #2c3123; }
.gallery figure:hover { border-color: var(--toxic); }

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: filter 0.2s;
}

/* black and white everywhere; color on hover only on devices with a mouse */
.gallery img { filter: grayscale(1) contrast(1.2); }

@media (hover: hover) {
    .gallery figure:hover img { filter: none; }
}
.gallery figcaption { padding: 0.4rem 0.75rem; text-transform: uppercase; }

.site-footer { text-align: center; padding: 2rem 1rem; background: #000; }
.social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1.25rem; }

.social a {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    background: var(--toxic);
    transform: skew(-10deg);
    box-shadow: 4px 4px 0 var(--green);
}

.social a:hover { background: #fff; }

.social { flex-wrap: wrap; }

.social a.book {
    display: flex;
    gap: 0.6rem;
    width: auto;
    padding: 0 1.25rem;
    color: #000;
    font-family: var(--headline);
    font-size: 1.35rem;
    text-transform: uppercase;
    text-decoration: none;
}

/* each icon file is used as a stencil, filled with the color below */
.icon {
    width: 1.75rem;
    height: 1.75rem;
    background: #000;
    mask: var(--icon) center / contain no-repeat;
}

.facebook { --icon: url("../icons/facebook.svg"); }
.instagram { --icon: url("../icons/instagram.svg"); }
.youtube { --icon: url("../icons/youtube.svg"); }
.envelope { --icon: url("../icons/envelope.svg"); }

.loading { text-align: center; margin-top: 30vh; color: var(--toxic); }

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: lightyellow;
    color: #000;
    padding: 0.75rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .shows li, .gallery img { transition: none; }
    .shows li:hover { transform: none; }
}
