:root {
    /* Color Palette */
    --ink: #0e0d0b;
    --paper: #f2efe9;
    --warm-mid: #b8b0a4;
    --accent: #163255;
    --accent-light: #486E9A;
    --accent-green: #164024;
    --grid: #e2ddd6;

    /* Typography */
    --mono: 'Space Mono', monospace;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', 'Helvetica Neue', Helvetica, sans-serif;
}

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

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Grain Noise Filter Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
}

/* Typography Helpers */
h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 1.1;
}

.mono-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    display: block;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Primary Link with Arrow */
.link-primary {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 2rem;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.link-primary:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Navigation */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4vw;
    font-family: var(--sans);
    position: sticky;
    top: 0;
    background: rgba(242, 239, 233, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
}

.brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    z-index: 102;
    /* Stay above mobile menu */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
    /* Stay above mobile menu */
}

.menu-toggle span {
    width: 100%;
    height: 1px;
    background-color: var(--ink);
    transition: all 0.3s ease;
}

/* Animate hamburger to X */
.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.nav-links a:hover {
    opacity: 1;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-trigger {
    opacity: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--paper);
    padding: 0.5rem 0;
    border: 1px solid var(--grid);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 101;
    margin-top: 1rem;
}

/* Bridge the hover gap to provide a 0.5s grace period */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Add a tiny delay when hovering out for smoothness */
.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 10px !important;
    white-space: nowrap;
    opacity: 0.6;
}

.dropdown-content a:hover {
    opacity: 1;
    background: rgba(22, 50, 85, 0.05);
}

/* Dropdown trigger indicator - Red Blinking Plus */
.dropdown-trigger::before {
    content: "+";
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: #ff3333;
    opacity: 1;
    animation: blink-red 1.2s infinite alternate ease-in-out;
    vertical-align: baseline;
    margin-right: 4px;
}

@keyframes blink-red {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 2px rgba(255, 51, 51, 0.5));
    }

    100% {
        opacity: 0.2;
        filter: drop-shadow(0 0 0px rgba(255, 51, 51, 0));
    }
}

/* Active Page Highlighting */
.nav-links a.active,
.dropdown-trigger.active,
.brand.active {
    color: var(--accent) !important;
    opacity: 1 !important;
    animation: blink-active 1.5s infinite alternate ease-in-out;
}

@keyframes blink-active {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3.5vw 4vw 0 4vw;
    /* Adjusted for better balance (approx 50% of original) */
    align-items: center;
}

.hero-eyebrow {
    display: block;
    font-family: var(--serif);
    font-size: clamp(40px, 5.2vw, 80px);
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero-title {
    font-size: clamp(60px, 8vw, 120px);
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.hero-right {
    max-width: 500px;
    padding-left: 4vw;
}

.hero-statement {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hero-metadata {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.label {
    font-family: var(--mono);
    font-size: 10px;
    background: var(--ink);
    color: var(--paper);
    padding: 4px 8px;
    letter-spacing: 0.1em;
    transition: background 0.3s ease;
}

.label:hover {
    background: var(--accent-green) !important;
}

.label-accent {
    background: var(--accent);
}

/* Banner */
.banner-container {
    width: 100%;
    padding: 0 4vw;
    margin-top: 10px;
    margin-bottom: 10px;
}

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

/* Dividers */
.section-divider {
    height: 1px;
    background-color: var(--grid);
    width: 100%;
}

/* Collection Section */
.collection-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8vw 4vw;
    gap: 6vw;
}

.section-title {
    font-size: clamp(40px, 5vw, 72px);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--serif);
    font-style: italic;
    color: var(--warm-mid);
    margin-bottom: 2rem;
}

.section-desc {
    max-width: 480px;
    margin-bottom: 2rem;
}

.metadata-box {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.metadata-box .label {
    pointer-events: none;
}

.badge {
    border: 1px solid var(--ink);
    padding: 4px 8px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Grid Layouts for images */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    /* Hairline gap */
}

.placeholder-img {
    background-color: #d8d4cd;
    aspect-ratio: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.placeholder-img::after {
    content: "IMG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--warm-mid);
}

.caption {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--warm-mid);
    margin-top: 1rem;
    grid-column: 1 / -1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Biography Section */
.bio-section {
    padding: 8vw 4vw;
}

.bio-grid {
    display: grid;
    grid-template-columns: 200px 1fr 320px;
    gap: 4vw;
}

.bio-content p {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.4;
    max-width: 800px;
}

.placeholder-bio-img {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #e2ddd6;
    display: block;
    position: relative;
}

.placeholder-bio-img::after {
    content: "PORTRAIT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--warm-mid);
}

/* Footer */
.site-footer {
    padding: 3vw 4vw 6vw 4vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.footer-col a {
    text-transform: uppercase;
}

.subscribe-form {
    display: flex;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.5rem;
    margin-top: 1rem;
}

.subscribe-form input {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink);
    text-transform: uppercase;
    flex-grow: 1;
}

.subscribe-form input::placeholder {
    color: var(--warm-mid);
}

.subscribe-form .static-arrow {
    background: transparent;
    border: none;
    color: var(--ink);
    font-family: var(--mono);
    display: inline-flex;
    align-items: center;
}

/* Video Section */
.video-section {
    margin-top: 6vw;
    text-align: center;
}

.manifesto-video {
    width: 100%;
    height: auto;
    border: 1px solid var(--grid);
    margin-bottom: 2rem;
}

.video-metadata {
    text-align: left;
    margin-bottom: 1rem;
    /* Minimized space below minted line */
}

.video-title {
    color: var(--accent);
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 1rem;
    font-family: var(--mono);
}

.video-details p {
    font-family: var(--mono);
    font-size: 14px;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-details a {
    color: var(--accent);
    text-decoration: underline;
}

.audio-metadata {
    text-align: left;
    border-top: 1px solid var(--grid);
    padding-top: 0.5rem;
    /* Minimized space below separation line */
}

.spotify-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    /* Adjusted for tighter feel */
    display: block;
}

.audio-metadata p {
    font-family: var(--mono);
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.audio-metadata a {
    color: var(--accent);
    text-decoration: underline;
}

.copyright-text {
    margin-top: 0.25rem !important;
    /* Minimized space between track line and copyright */
    font-size: 11px !important;
    /* +1 point size */
    font-weight: bold;
    /* Match specification */
    color: var(--warm-mid) !important;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: 1fr 300px;
    }

    .bio-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-nav {
        flex-direction: row;
        /* Keep brand and burger horizontally aligned */
        justify-content: space-between;
        padding: 1.5rem 6vw;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--paper);
        gap: 3rem;
        z-index: 101;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
    }

    .nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a,
    .dropdown-trigger {
        font-size: 14px !important;
        letter-spacing: 0.3em;
    }

    /* Adjust Dropdown for Mobile */
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        /* Hide submenu initially on mobile too */
        width: 100%;
        text-align: center;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }

    .nav-open .dropdown:hover .dropdown-content,
    .nav-open .dropdown.mobile-open .dropdown-content {
        display: block;
    }

    /* Force single column for ALL major containers and sections on mobile */
    .hero,
    .collection-section,
    .bio-grid,
    .footer-grid,
    .label-info-section,
    .release-section,
    .community-tools-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-right {
        padding-left: 0;
        margin-top: 2rem;
    }

    .no-scroll {
        overflow: hidden;
    }

    /* Global safety for mobile widths */
    section,
    div,
    footer,
    main {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}
/* News Ticker */
.ticker-container {
    background: var(--ink);
    color: var(--paper);
    border-top: 1px solid var(--grid);
    border-bottom: 1px solid var(--grid);
    height: 42px; /* Explicit height to prevent vertical block expansion */
    overflow: hidden;
    position: relative;
    z-index: 10;
    font-family: var(--mono);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 0;
}

.ticker-wrap {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap !important;
}

.ticker-content {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: ticker-scroll 224s linear infinite;
    -webkit-animation: ticker-scroll 224s linear infinite;
    padding-right: 0;
    will-change: transform;
    height: 100%;
    line-height: 42px; /* Vertical alignment */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

@media (hover: hover) {
    .ticker-container:hover .ticker-content {
        animation-play-state: paused;
        -webkit-animation-play-state: paused;
    }
}

.ticker-item {
    padding: 0 40px;
    display: inline-block !important;
    vertical-align: middle;
    white-space: nowrap !important;
}

.ticker-header {
    font-weight: 700;
    color: var(--paper);
    margin-right: 20px;
    display: inline-block !important;
    vertical-align: middle;
    white-space: nowrap !important;
}

.ticker-header a {
    text-decoration: underline;
    color: var(--warm-mid);
}

.ticker-divider {
    color: var(--accent-light);
    font-weight: bold;
    margin: 0 15px;
    display: inline-block;
    vertical-align: middle;
}

.ticker-link {
    color: var(--paper);
    transition: color 0.3s ease;
}

.ticker-link:hover {
    color: var(--accent-light);
    opacity: 1;
}

@-webkit-keyframes ticker-scroll {
    0% { -webkit-transform: translate3d(100vw, 0, 0); }
    100% { -webkit-transform: translate3d(-100%, 0, 0); }
}

@keyframes ticker-scroll {
    0% { transform: translate3d(100vw, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@media (max-width: 768px) {
    .ticker-container {
        height: 34px !important;
        padding: 0 !important;
        font-size: 10px;
    }

    .ticker-content {
        max-width: none !important;
        width: max-content !important;
        line-height: 34px !important;
        animation-duration: 165s !important;
        -webkit-animation-duration: 165s !important;
        white-space: nowrap !important;
        display: inline-block !important;
        -webkit-backface-visibility: hidden;
        -webkit-transform-style: preserve-3d;
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }

    .ticker-header {
        margin-right: 15px;
    }

    .ticker-item {
        padding: 0 25px;
    }
}

.ticker-attribution {
    text-align: center;
    padding: 8px 0;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.ticker-attribution a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ticker-attribution a:hover {
    color: var(--accent-light);
}

