@font-face {
    font-family: "Azeret Mono";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("src/azeret-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Azeret Mono";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("src/azeret-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Azeret Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("src/azeret-normal-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Azeret Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("src/azeret-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "wom";
    src: url("src/wom.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "braille";
    src: url("src/braille.woff2") format("woff2");
    font-display: swap;
}

:root {
    --color-1: #010102;
    --color-2: #ce4f48;
    --color-3: #f49319;
    --color-4: #1044ef;
    --color-5: #1b93c7;
    --color-6: #25dbb7;
    --color-7: #85e45e;
    --color-8: #b6b496;

    --color-bg: var(--color-8); --color-fg: var(--color-1); --color-accent: var(--color-4);
    --color-link: var(--color-4); --color-muted: var(--color-6); --color-border: var(--color-5);
    --color-elev-bg: color-mix(in srgb,var(--color-1) 92%,var(--color-5)); --color-overlay: var(--color-1);
    --alt-bg: var(--color-1); --alt-fg: var(--color-7);
    --footer-img-desk: 150px; --footer-img-mobile: 100px; --brand-size: clamp(26px, 6vw, 50px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; margin: 0 auto; overflow-x: hidden; }
body { background: var(--color-bg); color: var(--color-fg); font-family: "Azeret Mono", serif; font-weight: 300; font-style: normal; }

h1 { font-family: "wom", serif; font-weight: 400; font-style: normal; font-size: clamp(30px, 6vw, 75px); }
h1, h2, h3, nav a, nav p { text-transform: uppercase; font-weight: normal; }
p, a { line-height: 120%; }
a, a:visited { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-fg); text-decoration: underline; }
a.headerlink { color: var(--color-fg); text-decoration: none; }
ul { list-style: none; padding-left: 16px; }
hr { border: none; border-bottom: 1px solid var(--color-fg); color: var(--color-bg); }

header, main, footer { padding: 1rem; }
header { top: 0; background: transparent; z-index: 1000; }
header h1 { margin: 0 0 1rem; display: inline-block; position: relative; z-index: 10; view-transition-name: site-header; }
main, nav { overflow-y: auto; }
footer { margin-bottom: 10px; }

.homenavcontainer { display: flex; justify-content: space-between; flex-direction: row; align-items: flex-start; position: relative; z-index: 10; }
.homenavcontainer > header { flex: 1; min-width: 0; }
.homenavcontainer > img { height: clamp(50px, 12vw, 100px); width: auto; padding: .5rem .5rem 0 0; }
.navsection { display: inline-block; }
.navsection a { font-size: clamp(12px, 3.5vw, 16px); white-space: nowrap; position: relative; z-index: auto; }
nav .navsection a[aria-current="page"] { color: var(--color-fg); text-decoration: none; pointer-events: none; cursor: default; }

.homenavcontainer .vidimage-wrapper, .homenavcontainer .vidimage-wrapper img { display: block; }
.homenavcontainer .vidimage-wrapper img { height: clamp(50px, 12vw, 100px); width: auto; padding: .5rem .5rem 0 0; }

.grid-container { max-width: 100%; display: flex; flex-wrap: wrap; justify-content: space-evenly; }
.grid-container > a { text-decoration: none; }
.grid-container > a > div > img { width: 200px; }
.grid-container > a:hover .image-hover { opacity: 1; }

.image-wrapper, .vidimage-wrapper, .footer-card__imgwrap { position: relative; }
.start-image { width: 100%; max-width: unset; border: 1px solid var(--color-bg); }
.image-hover, .vidimage-hover { position: absolute; inset: 0 auto auto 0; opacity: 0; pointer-events: none; }
.image-hover { transition: opacity 1s ease-out; border: 1px solid var(--color-fg); }
.vidimage-hover { inset: 0; animation: myfade 3s 1s reverse forwards; }

.aboutcontainer, .vidaboutcontainer, #about-contact-container { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
#about-contact-container { display: grid; grid-template-columns: auto 1fr; }
.vidaboutcontainer { display: grid; grid-template-columns: 1fr auto; }
.about.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }

.aboutcontainer > img, #about-contact-container img, .vidaboutcontainer > img,
.aboutcontainer .vidimage-wrapper img, #about-contact-container .vidimage-wrapper img,
.vidaboutcontainer .vidimage-wrapper img, .footer-card__img, .footer-card__imgwrap img {
    width: auto; height: var(--footer-img-desk);  margin: .25rem 0; max-width: 100%; object-fit: cover; display: block;
}
.aboutcontainer > img { padding-left: .5rem; }

.audio-player { background: var(--color-bg); padding: 1rem; text-align: center; max-width: 80%; margin: 2rem auto; }
.audio-player h2 { font-family: "wom", serif; color: var(--color-fg); margin-bottom: 1rem; overflow: hidden; }
audio { width: 80%; padding: 10px 15px; }
audio::-webkit-media-controls-panel { background-color: var(--color-bg); }
audio::-webkit-media-controls-current-time-display, audio::-webkit-media-controls-time-remaining-display { color: var(--color-fg); }

.vidheader, .vidbody { animation: myvidtrans 3s 1s forwards; }
.vidhr { animation: myhrtrans 3s 1s forwards; }
.page-v .vidheaderlink { animation: mytexttrans 3s 1s forwards; }

.linkscontainer > li { margin-bottom: 1rem; }
.linkscontainer > li > a > img { max-height: 100px; max-width: 100px; margin-right: 1rem; }

.article { width: inherit; height: auto; margin: 2rem 0; text-align: justify; text-justify: inter-word; padding-top: 10px; }
.article > h1, .article > h5 { text-align: center; }
.articleFlex { display: flex; justify-content: center; }
.articleImg { display: inline-block; margin: 0 auto; max-height: 300px; max-width: 90%; cursor: pointer; }
.article-content { display: flex; flex-direction: row; align-items: center; column-gap: 2rem; }
.article-text { flex: 1 1 auto; max-width: 60ch; }
.article-text p { margin: 0; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.footer-card { display: grid; grid-template-columns: auto auto; align-items: start; column-gap: 1rem; }

#gifwrap { display: flex; justify-content: center; align-items: center; margin: 0 auto; padding: 0; max-width: 100%; overflow: hidden; background-size: cover; background-position: center; }
#gifwrap img, #gifwrap video { width: auto !important; height: auto; max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; image-rendering: auto; }
.hidden { display: none !important; }

.b { font-family: "braille", system-ui; }
.normal { font-family: system-ui, sans-serif; }
.article h5 { font-family: "braille", system-ui, "Segoe UI", sans-serif; margin-bottom: 1.5rem; }

.status-stack {
    display: flex;
    flex-direction: row;
    gap: 0;
    flex-shrink: 0;
    align-self: flex-start;
    z-index: 10;
}

.media-widget {
    border: 1px solid var(--color-fg);
    color: var(--color-fg);
    font-family: "Azeret Mono", serif;
    padding: 1rem;
    width: 250px;
    box-sizing: border-box;
    background: var(--color-bg);
}

.widget-header {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-fg);
    padding-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
}

.media-content { display: flex; align-items: flex-start; gap: 1rem; overflow: hidden; }

.media-art {
    width: auto; max-width: 80px; height: auto; max-height: 80px;
    min-width: unset; object-fit: contain;
    border: 1px solid var(--color-fg); display: block;
}

.media-details {
    display: flex; flex-direction: column; justify-content: center;
    min-height: 0; flex: 1; min-width: 0;
}

.media-title {
    color: var(--color-fg) !important; font-weight: 700; text-transform: uppercase;
    text-decoration: none; font-size: 1rem; line-height: 1; margin-bottom: 0.25rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; word-break: normal;
}

.media-artist { font-size: 0.85rem; opacity: 0.8; text-transform: uppercase; line-height: 1.2; }
.marquee { width: 100%; overflow: visible; white-space: normal; text-overflow: clip; }

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
}
.history-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted var(--color-fg);
    padding-bottom: 2px;
}
.history-item:last-child { border-bottom: none; margin-bottom: 0; }
.history-track {
    font-weight: bold; margin-right: 5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    min-width: 0; flex: 1;
}
.history-artist {
    opacity: 0.7; text-align: right;
    flex-shrink: 0; max-width: 45%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.live-tag {
    color: var(--color-2);
    font-weight: 900;
    animation: softPulse 2s infinite ease-in-out;
}

.header-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 1.5rem auto 2.5rem auto;
    width: fit-content;
    max-width: 90vw;
}

.normal-info {
    text-align: left;
    font-family: system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

.braille-info {
    text-align: right;
    font-family: "braille", system-ui;
    display: flex;
    flex-direction: column;
}

.info-line {
    line-height: 1.4;
    font-size: 1rem;
    white-space: normal;
}

.info-title {
    font-weight: bold;
    text-transform: uppercase;
}

.review-layout { display: flex; gap: 20px; align-items: flex-start; }
.art-col { width: 150px; flex-shrink: 0; }
.art-col img { width: 100%; height: auto; border: 1px solid var(--color-fg); display: block; }
.text-col { flex-grow: 1; }

.sort-controls {
    margin: 2rem 0 1rem 0;
    padding: 0.5rem;
    border: 1px dashed var(--color-fg);
    font-family: "Azeret Mono", monospace;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.sort-group { display: flex; gap: 0.5rem; }

.sort-btn {
    background: none;
    border: none;
    color: var(--color-fg);
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    padding: 2px 4px;
    opacity: 0.6;
}

.sort-btn:hover { opacity: 1; text-decoration: underline; }

.sort-btn.active {
    opacity: 1;
    font-weight: bold;
    background: var(--color-fg);
    color: var(--color-bg);
}

.direction-btn {
    font-size: 1.1em;
    cursor: pointer;
    padding: 0 5px;
}

@keyframes softPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes myfade { from { opacity: 1; } to { opacity: 0; } }
@keyframes myvidtrans { from { background-color: var(--color-bg); } to { background-color: var(--alt-bg); } }
@keyframes myhrtrans { from { border-bottom: 1px solid var(--color-fg); } to { border-bottom: 1px solid var(--alt-fg); } }
@keyframes mytexttrans { from { color: var(--color-fg); } to { color: var(--alt-fg); } }
::view-transition-group(root) { animation-duration: .666s; }
::view-transition-old(root) { animation: pixel-glitch-out .666s steps(8,end) both; }
::view-transition-new(root) { animation: pixel-glitch-in .666s steps(8,end) both; mix-blend-mode: plus-lighter; }
@keyframes pixel-glitch-out {
    0% { clip-path: inset(0 0 0 0); transform: translate(0); } 10% { clip-path: inset(10% 0 88% 0); transform: translate(-5px, 2px); }
    30% { clip-path: inset(88% 0 10% 0); transform: translate(5px, -2px); filter: hue-rotate(90deg); } 50% { clip-path: inset(45% 0 53% 0); transform: translate(-5px, 0); filter: invert(1); }
    70% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; transform: translate(0); }
}
@keyframes pixel-glitch-in {
    0% { opacity: 0; transform: translateX(20px); } 20% { opacity: 1; clip-path: inset(20% 0 78% 0); transform: translate(-5px, 0); }
    40% { clip-path: inset(60% 0 38% 0); transform: translate(5px, 5px); filter: hue-rotate(-90deg); } 60% { clip-path: inset(5% 0 92% 0); transform: translate(-2px, -2px); }
    80% { clip-path: inset(0 0 0 0); } 100% { opacity: 1; transform: translate(0); }
}

@media (max-width: 800px) {
    header, main, footer { padding: .5rem; }
    .image-hover { opacity: 1; animation: 2s myfade infinite alternate; }
    .article-content { flex-direction: column; align-items: center; row-gap: 1rem; column-gap: 0; width: 100%; }
    .article-text { width: 100%; max-width: none; flex: none; }
    .article-text p { line-height: 1.4; font-size: 14px; }
    .grid-2, .grid-4 { display: grid; grid-gap: 1rem; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .homenavcontainer { padding: .5rem .75rem; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .5rem; }
    .homenavcontainer > header { display: contents; }
    .homenavcontainer header h1 { grid-column: 1; grid-row: 1; font-size: var(--brand-size); line-height: 1.05; margin: 0; }
    .homenavcontainer > img, .homenavcontainer .vidimage-wrapper { grid-column: 2; grid-row: 1; height: calc(var(--brand-size) + 4px); width: auto; justify-self: end; padding: 0; }
    .homenavcontainer .vidimage-wrapper img { height: calc(var(--brand-size) + 4px); padding: 0; }
    .homenavcontainer header nav { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .status-stack { grid-column: 1 / -1; }
    .homenavcontainer header .navsection { display: flex; flex-wrap: nowrap; gap: 0 .5rem; overflow-x: auto; }
    .homenavcontainer header .navsection a { font-size: clamp(12px, 3vw, 15px); white-space: nowrap; }
    .about.grid-2 { display: block; }
    .aboutcontainer, .vidaboutcontainer { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .5rem; align-items: start; }
    .aboutcontainer > img, .vidaboutcontainer > img, .aboutcontainer .vidimage-wrapper, .vidaboutcontainer .vidimage-wrapper { grid-column: 2; justify-self: end; }
    .aboutcontainer > img, .vidaboutcontainer > img, .aboutcontainer .vidimage-wrapper img, .vidaboutcontainer .vidimage-wrapper img, .footer-card__img, .footer-card__imgwrap img {
        height: var(--footer-img-mobile); margin: .25rem 0;
    }
    .aboutcontainer .vidimage-wrapper .vidimage-hover, .vidaboutcontainer .vidimage-wrapper .vidimage-hover { animation: myfade 3s 1s reverse forwards; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-card { grid-template-columns: 1fr auto; column-gap: .75rem; }
}

@media (max-width: 900px) {
    .homenavcontainer {
        flex-wrap: wrap;
    }
    .status-stack {
        width: 100%;
        flex-direction: column;
    }
    .media-widget {
        width: 100%;
        max-width: 100%;
    }
    .media-art {
        max-width: 100px;
        max-height: 100px;
    }
    .history-item {
        font-size: 0.7rem;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .header-info-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        margin: 1rem auto 1.5rem auto;
    }
    .normal-info, .braille-info {
        text-align: center;
        width: 100%;
    }
    .braille-info {
        text-align: center;
    }
    .info-line {
        font-size: 0.85rem;
    }

    .review-layout {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .art-col {
        width: 100%;
        max-width: 180px;
    }
    .text-col {
        width: 100%;
    }
    .text-col p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .article {
        margin: 1.25rem 0;
        padding-top: 6px;
    }
    .article h1 {
        font-size: clamp(22px, 5vw, 40px);
    }

    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    .sort-group {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .sort-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .media-widget {
        padding: 0.75rem;
    }
    .widget-header {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    .media-art {
        max-width: 80px;
        max-height: 80px;
    }
    .media-title {
        font-size: 0.9rem;
    }
    .media-artist {
        font-size: 0.75rem;
    }
}


#hydra-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: var(--color-8) url("bg-still.webp") center / cover no-repeat;
}


.wobble-viewport {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    filter: url(#wobble);
}

@media (prefers-reduced-motion: reduce) {
    #hydra-bg { display: none; }
    .wobble-viewport { filter: none; }
}