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

:root {
    --primary: #dc2626;
    --primary-dark: #991b1b;
    --secondary: #f97316;
    --secondary-dark: #c2410c;
    --bg: #150e0d;
    --surface: #251815;
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
    --border: #45302a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    /* Faint grid for a bit of game-dev texture. */
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ambient color glows that slowly drift behind the content. */
body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 65vmax;
    height: 65vmax;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    top: -22vmax;
    left: -18vmax;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.22), transparent 65%);
    animation: drift-a 26s ease-in-out infinite alternate;
}

body::after {
    bottom: -26vmax;
    right: -18vmax;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 65%);
    animation: drift-b 32s ease-in-out infinite alternate;
}

@keyframes drift-a {
    to { transform: translate(9vmax, 7vmax) scale(1.15); }
}

@keyframes drift-b {
    to { transform: translate(-9vmax, -7vmax) scale(1.1); }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.nav {
    margin-bottom: 3rem;
}

.nav-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.nav-back:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.content {
    animation: fadeIn 0.5s ease;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, var(--primary), var(--secondary), #fbbf24, var(--primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 9s linear infinite;
}

@keyframes shimmer {
    to { background-position: 300% 0; }
}

.tagline {
    margin: -0.5rem 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Little animated equalizer used next to voice-related headings. */
.eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 2.1rem;
    margin-left: 0.9rem;
}

.eq span {
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    animation: eq-bounce 1.2s ease-in-out infinite;
}

.eq span:nth-child(1) { animation-delay: 0s; }
.eq span:nth-child(2) { animation-delay: 0.25s; }
.eq span:nth-child(3) { animation-delay: 0.5s; }
.eq span:nth-child(4) { animation-delay: 0.15s; }
.eq span:nth-child(5) { animation-delay: 0.4s; }

@keyframes eq-bounce {
    0%, 100% { height: 28%; }
    50% { height: 100%; }
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

h3 {
    font-size: 1.25rem;
    color: var(--text);
}

.bio {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    gap: 0.75rem;
    min-height: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1));
    border-color: var(--primary);
    color: var(--text);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.2));
    border-color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(109, 40, 217, 0.1));
    border-color: var(--secondary);
    color: var(--text);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(109, 40, 217, 0.2));
    border-color: var(--secondary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.2);
}

.btn-icon {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: scale(1.15) rotate(-6deg);
}

.btn-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.section {
    margin-bottom: 3rem;
}

.section ul {
    list-style: none;
    margin-left: 0;
}

.section li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.section li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.projects {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.1);
    transform: translateY(-3px);
}

.project-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.project-card h3 a {
    color: inherit;
    text-decoration: none;
}

.project-card h3 a:hover {
    text-decoration: underline;
}

.project-card h3 a::after {
    content: " \2197";
    font-size: 0.75em;
    opacity: 0.75;
}

/* Steam seal of approval: glowing logo pinned to the card's corner. */
.project-card {
    position: relative;
}

.project-card.has-seal h3 {
    padding-left: 2.75rem;
}

.steam-seal {
    position: absolute;
    top: -18px;
    left: -18px;
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    transform: rotate(-14deg);
    animation: seal-glow 4s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.steam-seal img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.steam-seal:hover {
    transform: rotate(-14deg) scale(1.12);
}

@keyframes seal-glow {
    0%, 100% { box-shadow: 0 0 14px 3px rgba(220, 38, 38, 0.55); }
    50%      { box-shadow: 0 0 22px 6px rgba(249, 115, 22, 0.65); }
}

/* Screenshot carousel: one large image at a time, arrows to browse
   (screenshots.js adds the arrows and counter when there are 2+). */
.project-shots {
    position: relative;
    margin: 1rem 0 0.9rem;
}

.project-shots a {
    display: none;
}

.project-shots a.active {
    display: block;
}

.project-shots img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.project-shots a:hover img {
    border-color: var(--primary);
}

.shot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shot-nav:hover {
    background: rgba(220, 38, 38, 0.5);
    border-color: var(--primary);
}

.shot-nav.prev { left: 0.6rem; }
.shot-nav.next { right: 0.6rem; }

.shot-counter {
    position: absolute;
    right: 0.75rem;
    bottom: 0.6rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 999px;
    color: var(--text-muted);
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.project-tech {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.credits-list {
    display: grid;
    gap: 1.5rem;
}

.credit-item {
    background-color: var(--surface);
    border-left: 3px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    background-color: rgba(30, 41, 59, 0.8);
    border-left-color: var(--primary);
}

.credit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.credit-project {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.credit-description {
    color: var(--text-muted);
}

.section-note {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    max-width: 640px;
}

.reels {
    display: grid;
    gap: 1.25rem;
    max-width: 640px;
}

.reel-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.reel-card.reel-featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(249, 115, 22, 0.12)), var(--surface);
}

.reel-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.reel-heading h3 {
    margin: 0;
}

.reel-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.reel-audio {
    width: 100%;
    display: block;
    border-radius: 8px;
    background-color: var(--surface);
}

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.player-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.player-wrap iframe,
#yt-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#showcase-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(249, 115, 22, 0.25)), var(--bg);
    border: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease;
}

#showcase-overlay:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.4), rgba(249, 115, 22, 0.4)), var(--bg);
}

#showcase-overlay.hidden {
    display: none;
}

.overlay-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-sub {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.showcase-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.showcase-controls button {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-controls button:hover {
    border-color: var(--primary);
    background-color: rgba(220, 38, 38, 0.15);
}

#btn-auto.off {
    color: var(--text-muted);
    border-style: dashed;
}

.now-playing {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.now-playing:empty {
    display: none;
}

.np-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.now-playing strong {
    font-size: 1.1rem;
}

.np-role {
    color: var(--secondary);
    font-weight: 500;
}

.np-by {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.now-playing a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.now-playing a:hover {
    text-decoration: underline;
}

.playlist {
    list-style: none;
    margin: 0;
    padding: 0.25rem;
    max-height: 480px;
    overflow-y: auto;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.playlist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.playlist li:hover {
    background-color: rgba(220, 38, 38, 0.15);
}

.playlist li.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(249, 115, 22, 0.25));
}

.pl-num {
    flex-shrink: 0;
    width: 1.5rem;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.pl-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pl-text strong {
    font-size: 0.875rem;
    line-height: 1.35;
}

.pl-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.credit-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(249, 115, 22, 0.35));
    border-radius: 999px;
    vertical-align: middle;
}

.voices-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.voice-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.voice-letter {
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.voice-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.voice-chip {
    padding: 0.3rem 0.85rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
}

.voice-chip.has-audio {
    color: var(--text);
    border-color: var(--secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-chip.has-audio::before {
    content: "\25B6\00A0";
    font-size: 0.7rem;
    color: var(--secondary);
}

.voice-chip.has-audio:hover {
    background-color: rgba(249, 115, 22, 0.2);
}

.voice-chip.playing {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(249, 115, 22, 0.35));
    border-color: var(--primary);
}

.credit-link {
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.contact-home {
    margin-top: 2.5rem;
}

.contact-note {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-link.copied {
    border-color: #22c55e;
}

.contact-link.copied .contact-text {
    color: #22c55e;
}

.contact-link img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}

.contact-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px rgba(220, 38, 38, 0.35);
}

.credit-link:hover {
    text-decoration: underline;
}

/* Jerry from Jerry's Special Day, out for a stroll across the bottom
   of the game dev page. Walks right, flips around, walks back.
   Clicking/tapping him triggers a hop + heart (jerry.js). */
.jerry-walker {
    position: fixed;
    bottom: 4px;
    left: 0;
    width: 72px;
    z-index: -1;
    pointer-events: none;
    animation: jerry-walk 50s linear infinite;
}

.jerry-sprite {
    display: block;
    width: 100%;
    image-rendering: pixelated;
}

.jerry-sprite.hop {
    animation: jerry-hop 0.5s ease;
}

.jerry-boom {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 84px;
    transform: translateX(-50%);
    image-rendering: pixelated;
    pointer-events: none;
}

.jerry-heart {
    position: absolute;
    left: 50%;
    bottom: 100%;
    font-size: 1.3rem;
    color: #f472b6;
    pointer-events: none;
    animation: heart-float 0.9s ease-out forwards;
}

@keyframes jerry-walk {
    0%     { transform: translateX(-80px) scaleX(1); }
    49.99% { transform: translateX(100vw) scaleX(1); }
    50%    { transform: translateX(100vw) scaleX(-1); }
    99.99% { transform: translateX(-80px) scaleX(-1); }
    100%   { transform: translateX(-80px) scaleX(1); }
}

@keyframes jerry-hop {
    0%, 100% { transform: translateY(0); }
    35%      { transform: translateY(-26px) rotate(-6deg); }
    70%      { transform: translateY(0) scaleY(0.9); }
}

@keyframes heart-float {
    from { opacity: 1; transform: translate(-50%, 0); }
    to   { opacity: 0; transform: translate(-50%, -36px); }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    h1,
    .eq span {
        animation: none;
    }

    .jerry-walker {
        display: none;
    }

    .steam-seal {
        animation: none;
        box-shadow: 0 0 14px 3px rgba(220, 38, 38, 0.55);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .buttons {
        grid-template-columns: 1fr;
    }

    .btn {
        min-height: 150px;
        padding: 2rem;
    }

    .showcase {
        grid-template-columns: 1fr;
    }

    .playlist {
        max-height: 300px;
    }
}


/* ============================================================
   DESTROYER3230-SPECIFIC OVERRIDES
   (everything above is copied from the main site's styles.css;
   everything below is unique to this site)
   ============================================================ */

/* Fiery artwork behind everything; the body tint keeps text readable. */
html {
    background: var(--bg) url("Backgrounds/bg.jpg") center / cover no-repeat fixed;
}

body {
    background-color: rgba(21, 14, 13, 0.88);
}

/* Hero: avatar + name + social links. */
.hero {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero h1 {
    margin-bottom: 0.25rem;
}

.hero .tagline {
    margin: 0 0 0.85rem;
}

.pfp {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: seal-glow 4s ease-in-out infinite;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links .contact-link {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
}

/* Easter egg: someone peeks out of the bottom-right corner when the
   visitor reaches the end of the page (easter-egg.js). */
.trash-peek {
    position: fixed;
    right: 1.5rem;
    bottom: 0;
    z-index: 1;
    width: 120px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transform: translateY(105%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trash-peek.peek {
    transform: translateY(14%);
}

.trash-peek img {
    display: block;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .pfp {
        animation: none;
        box-shadow: 0 0 14px 3px rgba(220, 38, 38, 0.55);
    }

    .trash-peek {
        transition: none;
    }
}

/* Mini player bar for voice samples (created by voice-showcase.js). */
.voice-player {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(520px, calc(100vw - 2rem));
    padding: 0.55rem 0.8rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    animation: vp-in 0.25s ease;
}

.voice-player.hidden {
    display: none;
}

.vp-toggle,
.vp-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: none;
    color: var(--text);
    border-radius: 50%;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vp-toggle {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.8rem;
}

.vp-close {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.vp-toggle:hover,
.vp-close:hover {
    border-color: var(--primary);
    background-color: rgba(220, 38, 38, 0.15);
}

.vp-info {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 130px;
    min-width: 0;
}

.vp-name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vp-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.vp-seek {
    flex: 1;
    min-width: 60px;
    accent-color: var(--primary);
    cursor: pointer;
}

.vp-mute {
    flex-shrink: 0;
    border: none;
    background: none;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem;
}

.vp-vol {
    flex-shrink: 0;
    width: 70px;
    accent-color: var(--primary);
    cursor: pointer;
}

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

    .vp-info {
        width: 90px;
    }
}

/* ============================================================
   GRUNGE THEME (adopted 2026-07)
   Rock'n'roll grunge: distressed metal type, film grain, torn
   poster cards, duct-tape badges. Fonts are self-hosted in
   fonts/ (latin subsets from Google Fonts).
   ============================================================ */

@font-face {
    font-family: "Metal Mania";
    src: url("fonts/MetalMania.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Permanent Marker";
    src: url("fonts/PermanentMarker.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Special Elite";
    src: url("fonts/SpecialElite.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #d63a2f;        /* dried-blood red */
    --primary-dark: #a32a22;
    --secondary: #d6a02f;      /* mustard yellow */
    --secondary-dark: #a87c1f;
    --bg: #131110;
    --surface: #1d1a17;
    --text: #e8e2d5;           /* dirty paper */
    --text-muted: #a99f8c;
    --border: #4a4238;
}

body {
    font-family: "Special Elite", "Courier New", monospace;
    background-color: rgba(19, 17, 16, 0.88);
    background-image: none;
}

/* Film grain instead of drifting glows (the fiery art stays behind). */
body::before {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
    opacity: 0.13;
    transform: none;
    animation: none;
}

body::after {
    display: none;
}

h1 {
    font-family: "Metal Mania", cursive;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text);
    text-shadow: 4px 4px 0 var(--primary-dark), 5px 5px 0 rgba(0, 0, 0, 0.9);
    letter-spacing: 0.04em;
    animation: none;
    font-weight: 400;
}

h2 {
    font-family: "Metal Mania", cursive;
    color: var(--secondary);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.85);
    letter-spacing: 0.05em;
    font-weight: 400;
}

h3 {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
}

.tagline {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
}

.pfp {
    border-width: 3px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
}

.reel-card,
.credit-item,
.playlist,
.player-wrap,
.voice-player {
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
}

.reel-card {
    border: 2px solid var(--border);
    transform: rotate(-0.6deg);
}

.reel-card + .reel-card {
    transform: rotate(0.45deg);
}

.reel-card.reel-featured {
    border-color: var(--primary);
    background: var(--surface);
}

.reel-audio {
    border-radius: 0;
}

.credit-item {
    border-left: 6px double var(--primary);
    transform: rotate(0.35deg);
}

.credit-item:nth-child(even) {
    transform: rotate(-0.4deg);
}

.credit-item:hover {
    border-left-color: var(--secondary);
}

.credit-badge {
    background: var(--secondary);
    color: #16120e;
    border-radius: 0;
    font-family: "Permanent Marker", cursive;
    transform: rotate(-2deg);
    letter-spacing: 0.08em;
}

#showcase-overlay {
    background: repeating-linear-gradient(45deg, rgba(214, 58, 47, 0.14) 0 14px, rgba(0, 0, 0, 0) 14px 28px), var(--bg);
    font-family: "Metal Mania", cursive;
    letter-spacing: 0.06em;
}

#showcase-overlay:hover {
    background: repeating-linear-gradient(45deg, rgba(214, 58, 47, 0.28) 0 14px, rgba(0, 0, 0, 0) 14px 28px), var(--bg);
}

.overlay-icon {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
}

.overlay-sub {
    font-family: "Special Elite", "Courier New", monospace;
}

.showcase-controls button {
    border-radius: 0;
    font-family: "Special Elite", "Courier New", monospace;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.showcase-controls button:hover {
    border-color: var(--primary);
    background-color: rgba(214, 58, 47, 0.18);
}

.playlist li {
    border-radius: 0;
}

.playlist li:hover {
    background-color: rgba(214, 58, 47, 0.18);
}

.playlist li.active {
    background: var(--primary);
}

.playlist li.active strong {
    color: #16120e;
}

.playlist li.active .pl-role,
.playlist li.active .pl-num {
    color: rgba(22, 18, 14, 0.75);
}

.np-role {
    color: var(--secondary);
}

.voice-chip {
    border-radius: 0;
    background-color: #221e1a;
}

.voice-chip.has-audio {
    border-color: var(--secondary);
}

.voice-chip.has-audio::before {
    color: var(--primary);
}

.voice-chip.has-audio:hover {
    background-color: rgba(214, 58, 47, 0.2);
}

.voice-chip.playing {
    background: var(--primary);
    border-color: var(--primary);
    color: #16120e;
}

.voice-letter {
    font-family: "Metal Mania", cursive;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
}

.voice-player {
    border: 2px solid var(--border);
}

.vp-toggle,
.vp-close {
    border-radius: 0;
}

.vp-toggle:hover,
.vp-close:hover {
    border-color: var(--primary);
    background-color: rgba(214, 58, 47, 0.18);
}

.vp-name {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
}

.contact-link {
    border: 2px dashed var(--border);
    border-radius: 0;
    font-family: "Special Elite", "Courier New", monospace;
}

.contact-link:hover {
    border-color: var(--primary);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

/* Keeps the translateX centering during the player bar entrance —
   plain fadeIn would drop it and make the bar snap sideways. */
@keyframes vp-in {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   STAGE LAYOUT (band-site redesign, 2026-07)
   Nav bar, hero, setlist rack, filter knobs, poster wall intro,
   backstage passes, booking paper, footer. Section titles are
   "tape" labels; grunge base theme above still does the rest.
   ============================================================ */

.stage-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 0.65rem 1.25rem;
    background: #0c0a09;
    border-bottom: 2px solid #2c2622;
}

.stage-logo {
    font-family: "Metal Mania", cursive;
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: 0.03em;
}

.stage-logo em,
.stage-footer em {
    font-style: normal;
    color: var(--primary);
}

.stage-links {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin: 0 auto;
}

.stage-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.stage-links a:hover {
    color: var(--secondary);
}

.stage-socials {
    display: flex;
    gap: 0.5rem;
}

.stage-socials a {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.stage-socials a:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.container {
    padding-top: 5.5rem;
}

/* Hero. */
.stage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.rec-line {
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.rec-dot {
    display: inline-block;
    width: 0.65em;
    height: 0.65em;
    margin-right: 0.5em;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(214, 58, 47, 0.9);
}

.stage-hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-pitch {
    font-size: 1.15rem;
    margin: 1rem 0;
    letter-spacing: 0.04em;
}

.hero-pitch em {
    font-style: normal;
    color: var(--primary);
}

.hero-tags {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.hit-play {
    font-family: "Special Elite", "Courier New", monospace;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.8rem 2.2rem;
    color: var(--text);
    background: #221e1a;
    border: 3px solid var(--border);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px #0c0a09;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hit-play:hover {
    border-color: var(--primary);
    color: var(--secondary);
}

.hit-play:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px #0c0a09;
}

.hero-note {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 0.9rem;
}

.hero-photo {
    text-align: center;
}

.hero-photo .pfp {
    width: min(280px, 100%);
    height: auto;
    border-radius: 3px;
    border: 10px solid #e8e2d5;
    border-bottom-width: 42px;
    transform: rotate(2deg);
    animation: none;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.photo-caption {
    display: block;
    margin-top: -2.2rem;
    font-family: "Permanent Marker", cursive;
    color: #16120e;
    font-size: 0.95rem;
    transform: rotate(2deg);
    position: relative;
}

/* Tape section labels. */
.tape-label {
    display: inline-block;
    padding: 0.25rem 1.4rem;
    background: #e8e2d5;
    color: #16120e;
    font-family: "Permanent Marker", cursive;
    text-transform: uppercase;
    text-shadow: none;
    letter-spacing: 0.08em;
    transform: rotate(-1.2deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.tape-label.tape-red {
    background: #b3271e;
    color: #f2eadd;
}

.tape-label.tape-yellow {
    background: var(--secondary);
    color: #16120e;
}

.tape-label.tape-small {
    font-size: 0.8rem;
    padding: 0.1rem 0.9rem;
}

/* The Setlist rack. */
.rack {
    background: #14110f;
    border: 3px solid #2c2622;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px #0c0a09;
    padding: 0.75rem;
    display: grid;
    gap: 0.6rem;
    max-width: 720px;
}

.rack-row {
    display: grid;
    grid-template-columns: 2.2rem 10rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #1b1815;
    border: 1px solid #2c2622;
}

.rack-num {
    color: var(--secondary);
    font-size: 0.85rem;
}

.rack-name {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.rack-row .reel-audio {
    width: 100%;
}

/* Filter knobs. */
.knob-panel {
    margin-top: 1.25rem;
    background: #14110f;
    border: 3px solid #2c2622;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px #0c0a09;
    padding: 1rem 1.25rem 1.1rem;
    max-width: 720px;
}

.knobs {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.4rem;
}

.knob-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.knob-unit span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.knob {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 3px solid #0c0a09;
    background: radial-gradient(circle at 35% 30%, #35302b, #17130f 70%);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.knob::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 40%;
    margin-left: -1.5px;
    background: var(--text);
    transform-origin: 50% calc(31px - 6px);
    transform: rotate(var(--angle, -135deg));
}

.knob:hover {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6), 0 0 12px rgba(214, 160, 47, 0.35);
}

.knob.maxed {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6), 0 0 16px rgba(214, 58, 47, 0.8);
}

.knob.maxed::after {
    background: var(--primary);
}

.knob-note {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Behind the Noise. */
.behind-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.6fr);
    gap: 2rem;
    align-items: start;
}

.behind-copy p {
    margin-bottom: 0.9rem;
    color: var(--text-muted);
}

.behind-copy em.red,
.book-copy em.red,
em.red {
    font-style: normal;
    color: var(--primary);
}

.marker-line {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
}

.marker-line.red {
    color: var(--primary);
}

.polaroid {
    background: #e8e2d5;
    padding: 10px 10px 2.4rem;
    transform: rotate(-2.5deg);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
    text-align: center;
}

.polaroid img {
    display: block;
    width: 100%;
}

.polaroid .photo-caption {
    margin-top: 0.4rem;
    transform: none;
}

/* Backstage passes. */
.passes-heading {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
    margin: 2.25rem 0 1rem;
    font-size: 1.15rem;
}

.passes .credit-item {
    position: relative;
    padding-right: 3rem;
}

.passes .credit-item::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: inset 0 0 0 3px #4a4238;
}

/* Book the Gig. */
.book-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
    gap: 2rem;
    align-items: start;
}

.book-copy p {
    margin-bottom: 0.75rem;
}

.book-list {
    color: var(--text-muted);
}

.book-paper {
    background: #e8e2d5;
    color: #16120e;
    padding: 1.5rem;
    transform: rotate(1.2deg);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
    position: relative;
}

.book-paper::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 110px;
    height: 26px;
    margin-left: -55px;
    background: rgba(214, 160, 47, 0.85);
    transform: rotate(-2deg);
}

.book-hint {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.book-paper .contact-link {
    background: #f2eadd;
    color: #16120e;
    border-color: #16120e;
}

.book-paper .contact-link:hover {
    border-color: var(--primary);
}

.book-fineprint {
    margin-top: 0.9rem;
    font-size: 0.75rem;
    color: #4a4238;
}

/* Footer. */
.stage-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 2px solid #2c2622;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-shout {
    grid-column: 2;
    text-align: center;
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
    font-size: 1rem;
    text-transform: none;
}

@media (max-width: 768px) {
    .stage-links {
        margin: 0;
    }

    .stage-hero,
    .behind-grid,
    .book-grid {
        grid-template-columns: 1fr;
    }

    .stage-hero h1 {
        font-size: 2.75rem;
    }

    .hero-photo {
        order: -1;
    }

    .rack-row {
        grid-template-columns: 2rem 1fr;
    }

    .rack-row .reel-audio {
        grid-column: 1 / -1;
    }

    .container {
        padding-top: 7.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rec-dot {
        animation: none;
    }
}

/* ============================================================
   RUST 1:1 LAYER (mockup adoption, 2026-07-13)
   Warm rust/cream palette, city hero with the ON AIR artwork,
   polaroid, reel panels with real waveforms, icon strip, quote
   card with skull art, testimonial scraps, richer footer.
   ============================================================ */

:root {
    --primary: #c8502e;
    --primary-dark: #9c3c20;
    --secondary: #d9a05b;
    --secondary-dark: #a87c3f;
    --bg: #14100c;
    --surface: #201812;
    --text: #e9dcc3;
    --text-muted: #b3a288;
    --border: #4d3d2c;
}

html {
    background: var(--bg);
}

body {
    background-color: var(--bg);
}

/* City hero. */
.city-hero {
    /* Testing "Nostalgic Nightly city v3" — to revert, swap the url back
       to Backgrounds/city.jpg and restore the heavier top gradient. */
    background:
        linear-gradient(180deg, rgba(20, 16, 12, 0.1), rgba(20, 16, 12, 0.25) 55%, var(--bg) 97%),
        url("Backgrounds/city-v3.jpg") center 38% / cover no-repeat var(--bg);
    border-bottom: 2px solid #2c2117;
    padding: 6.5rem 2rem 3.5rem;
}

.city-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 2.5rem;
    align-items: center;
}

.city-hero .hero-copy {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.city-hero h1 {
    font-size: 4.25rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.4rem 0 0;
}

.hit-play {
    background: var(--primary);
    border: 2px solid #7c2f18;
    color: #f6ead2;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.hit-play:hover {
    background: #d95c36;
    border-color: #7c2f18;
    color: #fff;
}

.book-cta {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--border);
    color: var(--text);
    background: rgba(20, 16, 12, 0.55);
    text-decoration: none;
    font-family: "Special Elite", "Courier New", monospace;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.15s ease;
}

.book-cta:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.hero-photo {
    position: relative;
}

.hero-polaroid {
    width: min(360px, 100%);
    transform: rotate(2deg);
    filter: drop-shadow(8px 10px 14px rgba(0, 0, 0, 0.65));
}

.booth-tape {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding: 0.22rem 0.85rem;
    background: #d8c9a8;
    color: #2b2015;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(-1.5deg);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.booth-tape .rec-dot {
    box-shadow: none;
}

.container {
    padding-top: 2.5rem;
}

/* Reel panels with waveforms. */
.reel-panels {
    display: grid;
    gap: 1.4rem;
}

.reel-panel {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: var(--surface);
    border: 2px solid #2c2117;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
}

.reel-cover {
    position: relative;
}

.reel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 12, 0.75);
    border: 2px solid #e9dcc3;
    color: #e9dcc3;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reel-play:hover {
    background: var(--primary);
}

.reel-body {
    min-width: 0;
    padding: 1.1rem 1.4rem 1.15rem;
}

.reel-body h3 {
    font-family: "Special Elite", "Courier New", monospace;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.15rem;
}

.reel-tags {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

.wave-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wave {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 46px;
    display: block;
    cursor: pointer;
}

.reel-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.reel-year {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.reel-panel audio {
    display: none;
}

/* Strips. */
.bring-strip,
.heard-strip {
    border-top: 1px solid #2c2117;
    border-bottom: 1px solid #2c2117;
    padding: 1.6rem 0;
    margin: 2.75rem 0;
}

.heard-strip {
    margin-top: -1.4rem;
    border-top: none;
    text-align: center;
}

.strip-title {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.bring-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 1.25rem;
}

.bring-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.bring-item svg {
    width: 42px;
    height: 42px;
    color: var(--primary);
}

.bring-item strong {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bring-item span {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.heard-names {
    font-family: "Special Elite", "Courier New", monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Behind the Noise + quote card. */
.behind-grid.two-cards {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
}

.behind-copy .tape-label {
    margin-bottom: 1.1rem;
}

.quote-card {
    position: relative;
    overflow: hidden;
    background: #1a130e;
    border: 2px solid #2c2117;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
    padding: 1.75rem;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("Pictures/skull.jpg") right center / cover no-repeat;
    opacity: 0.32;
}

.quote-card > * {
    position: relative;
}

.quote-heading {
    font-family: "Permanent Marker", cursive;
    color: var(--secondary);
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.quote-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.quote-btn {
    background: var(--primary);
    border: 2px solid #7c2f18;
    color: #f6ead2;
    padding: 0.7rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.quote-btn:hover {
    background: #d95c36;
    border-color: #7c2f18;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.quote-direct {
    font-size: 0.8rem;
    margin-top: 1.1rem;
}

.quote-email {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
}

.quote-card .book-fineprint {
    color: var(--text-muted);
    margin-top: 0.9rem;
}

/* Testimonial scraps (placeholders until real quotes land). */
.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.quote-scrap {
    background: #1a130e;
    border: 2px solid #2c2117;
    padding: 1.25rem;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transform: rotate(-0.5deg);
}

.quote-scrap:nth-child(2) {
    transform: rotate(0.6deg);
}

.quote-scrap::before {
    content: "\201C";
    display: block;
    font-family: "Metal Mania", cursive;
    font-size: 2.2rem;
    line-height: 0.5;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.quote-scrap p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.quote-scrap cite {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Footer. */
.footer-id {
    display: flex;
    flex-direction: column;
    font-family: "Metal Mania", cursive;
    font-size: 1.15rem;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.03em;
}

.footer-id small {
    font-family: "Special Elite", "Courier New", monospace;
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-tuned {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
    border: 1px solid #2c2117;
    padding: 0.45rem 0.9rem;
    font-size: 0.68rem;
}

@media (max-width: 768px) {
    .city-hero {
        padding: 7.5rem 1.25rem 2.5rem;
    }

    .city-inner,
    .behind-grid.two-cards {
        grid-template-columns: 1fr;
    }

    .city-hero h1 {
        font-size: 2.9rem;
    }

    .reel-panel {
        grid-template-columns: 1fr;
    }

    .reel-cover img {
        height: 170px;
    }

    .footer-tuned {
        justify-self: start;
    }
}

/* Headline font: Anton (condensed poster sans, per concept 2 mockup).
   DESTROYER in cream, 3230 in rust via the <em>. */
@font-face {
    font-family: "Anton";
    src: url("fonts/Anton.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: "Anton", "Arial Narrow", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.85);
}

h1 em {
    font-style: normal;
    color: var(--primary);
}

.city-hero h1 {
    font-size: 4.6rem;
    line-height: 1.05;
    margin-bottom: 0.35rem;
}

.stage-logo,
.footer-id {
    font-family: "Anton", "Arial Narrow", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Painted-sign wordmark and real tape texture (from Miguel's art). */
.wordmark-h1 {
    margin-bottom: 0.75rem;
    text-shadow: none;
    line-height: 0;
}

.wordmark {
    display: block;
    width: min(560px, 100%);
    height: auto;
    filter: drop-shadow(6px 7px 10px rgba(0, 0, 0, 0.75));
}

.tape-label,
.booth-tape {
    background: url("Pictures/tape-texture.jpg") center / cover;
    color: #2b2015;
    box-shadow: none;
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.55));
    clip-path: polygon(1.5% 10%, 0.4% 48%, 2% 94%, 14% 100%, 82% 96%, 98% 100%, 99.6% 52%, 98% 6%, 84% 0%, 16% 4%);
}

.tape-label.tape-red {
    background: url("Pictures/tape-texture.jpg") center / cover #a82318;
    background-blend-mode: multiply;
    color: #f6ead2;
}

.tape-label.tape-yellow {
    background: url("Pictures/tape-texture.jpg") center / cover #c98f2a;
    background-blend-mode: multiply;
    color: #241a10;
}

/* Footer wordmark on one line (flex-column was splitting DESTROYER
   and the em onto separate rows) and untinted tape labels. */
.footer-id {
    display: block;
}

.footer-id small {
    display: block;
}

.tape-label.tape-red,
.tape-label.tape-yellow {
    background: url("Pictures/tape-texture.jpg") center / cover;
    background-blend-mode: normal;
    color: #2b2015;
}

/* Textless polaroid with a randomized handwritten caption, and the
   new tape textures (tape2 default, tape3 for the red/yellow slots). */
.polaroid-wrap {
    position: relative;
    display: inline-block;
}

.hero-polaroid {
    transform: none; /* the new artwork has its tilt baked in */
}

.polaroid-caption {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 6.5%;
    text-align: center;
    font-family: "Permanent Marker", cursive;
    font-size: 1.05rem;
    color: #3a2a1c;
    transform: rotate(-2deg);
    pointer-events: none;
}

.tape-label,
.booth-tape {
    background: url("Pictures/tape2-texture.jpg") center / cover;
}

.tape-label.tape-red,
.tape-label.tape-yellow {
    background: url("Pictures/tape3-texture.jpg") center / cover;
    background-blend-mode: normal;
    color: #2b2015;
}

/* Caption tilt (matches the polaroid's baked-in angle) and no-wrap
   Play button (its width is locked in stage.js). */
.polaroid-caption {
    transform: rotate(2deg);
}

.hit-play {
    white-space: nowrap;
}

/* Polaroid caption nudge (up and left) and the now-playing bar
   (reuses the voice-player bar styling; title flexes). */
.polaroid-caption {
    left: 6%;
    right: 14%;
    bottom: 8.5%;
}

.now-bar .nb-title {
    flex: 1;
    width: auto;
    min-width: 0;
}

/* Character of the Day link line + booth poster easter egg. */
#cod-note a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#cod-note a:hover {
    color: var(--primary);
}

.booth-tape {
    cursor: pointer;
}

.poster-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 7, 4, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    cursor: pointer;
}

.poster-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.poster-overlay img {
    max-width: min(92vw, 560px);
    max-height: 88vh;
    border: 10px solid var(--text);
    border-bottom-width: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75);
    transform: rotate(-2.5deg) scale(0.96);
    transition: transform 0.25s ease;
}

.poster-overlay.open img {
    transform: rotate(1.5deg) scale(1);
}

/* The nav is fixed, so anchor jumps need clearance under it. */
#setlist,
#gigs,
#character-day,
#behind,
#book,
#wall,
#saying {
    scroll-margin-top: 84px;
}