/*
Theme Name: Sonome Sounds
Theme URI: https://sonomesounds.com
Author: Sonome Sounds
Author URI: https://sonomesounds.com
Description: Custom theme for Sonome Sounds - Premium audio software and sound design tools.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sonomesounds
*/

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

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

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Static Grain/Noise Texture Overlay (two layers, no animation, no blend-mode for scroll performance) */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    background-size: 600px 600px;
    /* Promote to its own GPU layer to avoid re-compositing on scroll */
    transform: translateZ(0);
    will-change: transform;
}

/* Dark grain reads on light/yellow surfaces.
   Uses plain opacity (no mix-blend-mode) so the GPU doesn't re-read the
   pixels beneath it on every scroll frame — this is the key scroll-perf fix. */
body::before {
    opacity: 0.07;
}

/* Light grain adds a subtle highlight on dark/black surfaces */
body::after {
    opacity: 0.05;
    filter: invert(1);
}

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

input,
button,
textarea,
select {
    font: inherit;
}

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

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   CSS Custom Properties - Sonome Sounds Brand
   ========================================================================== */

:root {
    /* Brand Colors - Yellow/Black Palette */
    --color-black: #0d0d0d;
    --color-yellow: #eedb3a;
    --color-yellow-dark: #d9c72e;
    --color-yellow-light: #f3e45c;
    --color-yellow-muted: #e6d44a;
    
    /* Legacy mappings */
    --color-blue: var(--color-yellow);
    --color-blue-dark: var(--color-yellow-dark);
    --color-blue-light: var(--color-yellow-light);
    --color-cream: var(--color-yellow-muted);
    --color-cream-dark: var(--color-yellow-dark);
    --color-cream-light: var(--color-yellow-light);
    --color-ice: var(--color-yellow-muted);
    --color-ice-dark: var(--color-yellow-dark);
    --color-ice-light: var(--color-yellow-light);
    --color-white: var(--color-yellow-light);
    
    /* Neutral Grays */
    --color-gray-900: #0d0d0d;
    --color-gray-800: #2d2d2d;
    --color-gray-700: #404040;
    --color-gray-600: #525252;
    --color-gray-500: #737373;
    --color-gray-400: #a3a3a3;
    --color-gray-300: #d4d4d4;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #f5f5f5;
    
    /* Typography */
    --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Instrument Serif', 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Layout */
    --container-max: 1400px;
    --container-narrow: 800px;
    --container-tight: 600px;
    --container-padding: var(--space-6);
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-product: 0 30px 60px -15px rgb(0 0 0 / 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
    letter-spacing: normal;
    text-transform: uppercase;
}

h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--color-black);
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.container--narrow {
    max-width: var(--container-narrow);
}

.container--tight {
    max-width: var(--container-tight);
}

.page-excerpt {
    max-width: 42ch;
    margin: var(--space-4) auto 0;
    text-align: center;
    font-size: var(--text-lg);
    color: var(--color-black);
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Header - Minimal, Logo Only
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-6) 0;
    background-color: var(--color-yellow);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
    background-color: rgba(238, 219, 58, 0.96);
    box-shadow: 0 1px 0 rgba(13, 13, 13, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__spacer,
.site-header__cart {
    flex: 1;
}

.site-header__cart {
    display: flex;
    justify-content: flex-end;
}

/* Language dropdown (flag + name) */
.lang-dropdown {
    position: relative;
    display: inline-flex;
}

.lang-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1;
    transition: background-color 0.2s ease;
}

.lang-dropdown__trigger:hover {
    background-color: rgba(13, 13, 13, 0.08);
}

.lang-dropdown__current {
    white-space: nowrap;
}

.lang-dropdown__chevron {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
    transform: rotate(180deg);
}

/* Flag chip - fixed-width slot keeps the menu labels aligned */
.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 16px;
    flex: none;
}

.lang-flag__svg {
    height: 13px;
    width: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(13, 13, 13, 0.12);
}

/* Dropdown menu */
.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background-color: var(--color-black);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1100;
}

.lang-dropdown.is-open .lang-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown__option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-dropdown__option:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lang-dropdown__option.is-active {
    color: var(--color-yellow);
    font-weight: 600;
}

.lang-dropdown__option .lang-flag__svg {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--color-black);
    transition: all var(--transition-fast);
}

.cart-icon:hover {
    background-color: rgba(13, 13, 13, 0.08);
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: var(--color-blue);
    background-color: var(--color-black);
    border-radius: var(--radius-full);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-logo__text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn--primary {
    background-color: var(--color-black);
    color: var(--color-blue);
    border-color: var(--color-black);
}

.btn--primary:hover {
    background-color: var(--color-gray-800);
    border-color: var(--color-gray-800);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
}

.btn--primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: rgba(13, 13, 13, 0.45);
}

.btn--secondary:hover {
    background-color: var(--color-black);
    color: var(--color-blue);
    border-color: var(--color-black);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.btn--secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn--large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-base);
}

.btn--small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

/* ==========================================================================
   Hero Section - Clean & Centered
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-32) var(--space-6) var(--space-16);
    overflow: hidden;
    background-color: var(--color-blue);
    color: var(--color-black);
}

/* Hero Video Background — covers the hero only */
.hero__video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Scrim for text legibility over the video */
.hero__video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__title {
    margin-bottom: var(--space-8);
    font-size: clamp(3.25rem, 10vw, 7.5rem);
    line-height: 1.05;
    color: var(--color-white);
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    color: var(--color-white);
    max-width: 550px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}

.hero__cta {
    display: inline-flex;
}

/* Hero EQ Bars Animation */
.hero__eq-bars {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    opacity: 0.15;
    pointer-events: none;
}

.hero__eq-bars span {
    width: 6px;
    background-color: var(--color-black);
    border-radius: 3px;
    animation: eqBounce 1.2s ease-in-out infinite;
}

.hero__eq-bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.hero__eq-bars span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.hero__eq-bars span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.hero__eq-bars span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.hero__eq-bars span:nth-child(5) { height: 50%; animation-delay: 0.4s; }
.hero__eq-bars span:nth-child(6) { height: 70%; animation-delay: 0.5s; }
.hero__eq-bars span:nth-child(7) { height: 35%; animation-delay: 0.6s; }

@keyframes eqBounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* ==========================================================================
   Audio Demo Section
   ========================================================================== */

.demos-section {
    padding: var(--space-24) 0;
    background-color: var(--color-blue);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.08;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-black);
    max-width: 500px;
    margin: 0 auto;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .demos-grid { grid-template-columns: 1fr; }
}

.demo-card {
    background-color: var(--color-black);
    border: 1px solid rgba(238, 219, 58, 0.35);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-blue);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.demo-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.demo-card__info { flex: 1; min-width: 0; }

.demo-card__title {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-card__artist {
    font-size: var(--text-sm);
    color: rgba(238, 219, 58, 0.72);
}

.player-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: var(--color-blue);
    border: 1px solid var(--color-blue-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.player-btn:hover {
    background-color: var(--color-blue-light);
    transform: scale(1.08);
    box-shadow: 0 8px 20px -8px rgba(238, 219, 58, 0.45);
}

.player-btn:active { transform: scale(0.95); }

.player-btn svg { width: 22px; height: 22px; color: var(--color-black); }

.player-time {
    font-family: var(--font-mono, var(--font-sans));
    font-size: var(--text-sm);
    color: rgba(238, 219, 58, 0.76);
    min-width: 45px;
    text-align: right;
}

.player-waveform {
    position: relative;
    width: 100%;
    height: 48px;
    margin-top: var(--space-4);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: rgba(238, 219, 58, 0.08);
    border: 1px solid rgba(238, 219, 58, 0.25);
}

.waveform-canvas { width: 100%; height: 100%; display: block; }

.waveform-progress {
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: rgba(238, 219, 58, 0.25);
    pointer-events: none;
    transition: width 0.1s linear;
}

.demo-card.is-playing .player-btn { background-color: var(--color-blue-dark); }
.demo-card audio { display: none; }

/* ==========================================================================
   Coming Soon / Teaser Section
   ========================================================================== */

.teaser-section {
    padding: var(--space-32) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 60% at 25% 80%, rgba(13, 13, 13, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 45% 50% at 75% 20%, rgba(13, 13, 13, 0.05) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(13, 13, 13, 0.03) 0%, transparent 50%),
        var(--color-blue);
}

.teaser-section::before {
    content: '';
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(238, 219, 58, 0.12) 0%, transparent 65%);
    pointer-events: none;
    animation: teaserGlow 8s ease-in-out infinite;
}

@keyframes teaserGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.teaser__content { max-width: 700px; margin: 0 auto; }

.teaser__icon {
    width: 100px; height: 100px;
    margin: 0 auto var(--space-8);
    background-color: transparent;
    border-radius: var(--radius-2xl);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 50px -15px rgba(13, 13, 13, 0.35);
    animation: floatIcon 4s ease-in-out infinite;
    overflow: hidden;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.teaser__icon img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.teaser__label {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: var(--space-4);
}

.teaser__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: var(--space-6);
    line-height: 1.08;
}

.teaser__text {
    font-size: var(--text-lg);
    color: var(--color-black);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.teaser__form {
    display: flex;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto;
}

.teaser__input {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    color: var(--color-black);
    transition: all var(--transition-fast);
}

.teaser__input::placeholder { color: var(--color-black); }

.teaser__input:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-blue-dark);
}

.teaser__form .btn--primary {
    background-color: var(--color-black);
    color: var(--color-blue);
    border-color: var(--color-black);
}

.teaser__form .btn--primary:hover {
    background-color: var(--color-gray-800);
    border-color: var(--color-gray-800);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-black);
    color: var(--color-blue);
    border-top: 1px solid rgba(238, 219, 58, 0.35);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    text-align: center;
    padding-bottom: var(--space-10);
    margin-bottom: var(--space-8);
    border-bottom: 1px solid rgba(238, 219, 58, 0.18);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-logo__text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-logo__image { height: 32px; width: auto; filter: none; }

.footer-social { display: flex; gap: var(--space-4); }

.footer-social__link {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(238, 219, 58, 0.4);
    border-radius: var(--radius-md);
    color: rgba(238, 219, 58, 0.86);
    background-color: rgba(238, 219, 58, 0.04);
    transition: all var(--transition-fast);
}

.footer-social__link:hover {
    border-color: var(--color-blue);
    color: var(--color-black);
    background-color: var(--color-blue);
}

.footer-social__link svg { width: 20px; height: 20px; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(238, 219, 58, 0.76);
}

.footer-copyright { color: inherit; margin-bottom: 0; }

.footer-links { display: flex; gap: var(--space-6); }

.footer-links a {
    color: rgba(238, 219, 58, 0.76);
    transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-blue-light); }

/* Footer motto (brand essence closer) */
.footer-motto__text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--color-yellow);
    margin: 0;
}

/* Footer contact lines */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-contact__line {
    font-size: var(--text-sm);
    color: rgba(238, 219, 58, 0.7);
    margin: 0;
    line-height: 1.8;
}

.footer-contact__line a {
    color: var(--color-yellow);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(238, 219, 58, 0.3);
    transition: border-color var(--transition-fast);
}

.footer-contact__line a:hover {
    border-bottom-color: var(--color-yellow);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero {
        padding: var(--space-12) var(--space-4) var(--space-12);
        min-height: auto;
    }
    .hero__subtitle { font-size: var(--text-base); }
    .teaser__form { flex-direction: column; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

/* ==========================================================================
   Announcement Banner
   ========================================================================== */

.announce-bar {
    background-color: var(--color-black);
    color: var(--color-yellow);
    padding: var(--space-3) var(--space-4);
    text-align: center;
    position: relative;
    z-index: 102;
    border-bottom: 1px solid rgba(238, 219, 58, 0.15);
}

.announce-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.announce-bar__text {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.announce-bar__text strong {
    font-weight: 700;
}

.announce-bar__timer {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-yellow);
    background-color: rgba(238, 219, 58, 0.1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
    min-width: 160px;
}

.announce-bar.is-hidden {
    display: none;
}

@media (max-width: 600px) {
    .announce-bar__text { font-size: 10px; }
    .announce-bar__timer { font-size: 10px; min-width: auto; }
}

/* Header sticks to the top via position: sticky (see .site-header); the announce bar scrolls away in normal flow. */

/* ==========================================================================
   Newsletter Popup
   ========================================================================== */

.nl-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.nl-popup__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.nl-popup__modal {
    position: relative;
    background-color: var(--color-yellow);
    color: var(--color-black);
    border-radius: var(--radius-2xl);
    padding: clamp(var(--space-8), 5vw, var(--space-12));
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
    animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nl-popup__close {
    position: absolute;
    top: var(--space-4); right: var(--space-4);
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    opacity: 0.5;
}

.nl-popup__close:hover {
    opacity: 1;
    background-color: rgba(13, 13, 13, 0.08);
}

.nl-popup__logo {
    margin: 0 auto var(--space-6);
}

.nl-popup__logo img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.nl-popup__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, var(--text-3xl));
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.nl-popup__text {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: rgba(13, 13, 13, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.nl-popup__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.nl-popup__input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    border: 2px solid rgba(13, 13, 13, 0.15);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--color-black);
    text-align: center;
    transition: all var(--transition-fast);
}

.nl-popup__input::placeholder {
    color: rgba(13, 13, 13, 0.4);
}

.nl-popup__input:focus {
    outline: none;
    border-color: var(--color-black);
    background-color: rgba(255, 255, 255, 0.6);
}

.nl-popup__btn {
    width: 100%;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }

.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed { opacity: 1; transform: scale(1); }

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

.animate-in { animation: fadeInUp 0.8s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   Easy Digital Downloads - Custom Styles
   ========================================================================== */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
.is-front-page .site-main { display: block; }

.page-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page-header {
    background: transparent;
    padding: clamp(6rem, 10vw, 8rem) 0 var(--space-6);
}

.page-header .page-title {
    text-align: center;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
}

.page-body {
    flex: 1;
    padding: var(--space-6) 0 var(--space-16);
}

.page-body .container--narrow { max-width: 1000px; }

#edd_checkout_wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 900px) {
    #edd_checkout_wrap { grid-template-columns: 1fr; }
}

#edd_checkout_cart {
    grid-column: 2;
    grid-row: 1 / 3;
    position: sticky;
    top: var(--space-8);
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(13, 13, 13, 0.06);
    color: var(--color-black);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(13, 13, 13, 0.1);
}

@media (max-width: 900px) {
    #edd_checkout_cart { grid-column: 1; grid-row: auto; position: relative; top: 0; }
}

#edd_checkout_cart thead {
    display: block;
    padding: var(--space-5) var(--space-5) var(--space-3);
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
}

#edd_checkout_cart thead tr { display: flex; justify-content: space-between; }

#edd_checkout_cart th {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.5);
    padding: 0;
}

#edd_checkout_cart th.edd_cart_actions { display: none; }

#edd_checkout_cart tbody { display: block; }

#edd_checkout_cart tbody tr {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

#edd_checkout_cart tbody tr:last-child { border-bottom: none; }
#edd_checkout_cart td { padding: 0; }
#edd_checkout_cart td.edd_cart_item_name { display: contents; }

#edd_checkout_cart .edd_cart_item_image { grid-column: 1; width: 72px; height: 72px; }

#edd_checkout_cart .edd_cart_item_image img {
    width: 72px; height: 72px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

#edd_checkout_cart .edd_checkout_cart_item_title {
    grid-column: 2;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    line-height: 1.4;
    color: var(--color-black);
}

#edd_checkout_cart td.edd_cart_item_price {
    grid-column: 3;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-black);
    text-align: right;
}

#edd_checkout_cart td.edd_cart_actions { grid-column: 4; }

#edd_checkout_cart .edd_cart_remove_item_btn {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    color: rgba(13, 13, 13, 0.4);
    font-size: 0;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

#edd_checkout_cart .edd_cart_remove_item_btn::before { content: '✕'; font-size: 11px; }
#edd_checkout_cart .edd_cart_remove_item_btn:hover { color: #f87171; background-color: rgba(248, 113, 113, 0.15); }

#edd_checkout_cart tfoot {
    display: block;
    background-color: rgba(13, 13, 13, 0.04);
    padding: var(--space-4) var(--space-5);
}

#edd_checkout_cart tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
}

#edd_checkout_cart tfoot th, #edd_checkout_cart tfoot td { padding: 0; font-family: var(--font-sans); }
#edd_checkout_cart tfoot th { font-size: var(--text-sm); font-weight: 400; color: rgba(13, 13, 13, 0.6); text-align: left; }
#edd_checkout_cart tfoot td { font-size: var(--text-sm); font-weight: 500; color: var(--color-black); text-align: right; }

#edd_checkout_cart tfoot .edd_cart_total {
    border-top: 1px solid rgba(13, 13, 13, 0.12);
    margin-top: var(--space-2);
    padding-top: var(--space-4);
}

#edd_checkout_cart tfoot .edd_cart_total th { font-size: var(--text-base); font-weight: 600; color: var(--color-black); }
#edd_checkout_cart tfoot .edd_cart_total td { font-size: var(--text-2xl); font-weight: 700; color: var(--color-black); }

/* EDD Form Sections */
#edd_checkout_form_wrap { grid-column: 1; }

#edd_checkout_form_wrap fieldset {
    border: none; padding: var(--space-6); margin: 0 0 var(--space-8) 0;
    background-color: rgba(13, 13, 13, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: none;
    border: 1px solid rgba(13, 13, 13, 0.1);
}

#edd_checkout_form_wrap fieldset:last-of-type { margin-bottom: 0; }

#edd_checkout_form_wrap legend {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: var(--space-5);
    width: 100%;
}

#edd_checkout_form_wrap p { margin-bottom: var(--space-4); }
#edd_checkout_form_wrap p:last-child { margin-bottom: 0; }

#edd_checkout_form_wrap label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

#edd_checkout_form_wrap label .edd-required-indicator { color: #dc2626; margin-left: 2px; }

#edd_checkout_form_wrap input[type="text"],
#edd_checkout_form_wrap input[type="email"],
#edd_checkout_form_wrap input[type="tel"],
#edd_checkout_form_wrap input[type="password"],
#edd_checkout_form_wrap select,
#edd_checkout_form_wrap textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    border: 2px solid rgba(13, 13, 13, 0.15);
    border-radius: var(--radius-md);
    background-color: rgba(13, 13, 13, 0.04);
    color: var(--color-black);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#edd_checkout_form_wrap input:focus,
#edd_checkout_form_wrap select:focus,
#edd_checkout_form_wrap textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.1);
    background-color: rgba(13, 13, 13, 0.02);
}

#edd_checkout_form_wrap input::placeholder { color: rgba(13, 13, 13, 0.5); }

#edd_purchase_submit {
    background-color: rgba(13, 13, 13, 0.06);
    border: 1px solid rgba(13, 13, 13, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
}

#edd-purchase-button {
    display: block; width: 100%;
    padding: var(--space-5) var(--space-8);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-blue);
    background-color: var(--color-black);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

#edd-purchase-button:hover {
    background-color: var(--color-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(13, 13, 13, 0.35);
}

#edd-purchase-button:active { transform: translateY(0); }

.edd-submit, .edd-add-to-cart {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-blue);
    background-color: var(--color-black);
    border: 2px solid var(--color-black);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.edd-submit:hover, .edd-add-to-cart:hover {
    background-color: var(--color-gray-800);
    border-color: var(--color-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(13, 13, 13, 0.35);
}

.edd-submit:active, .edd-add-to-cart:active { transform: translateY(0); }

.edd_errors {
    background-color: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
}

.edd_errors .edd_error { color: #dc2626; font-size: var(--text-sm); margin: 0; }

.edd-loading { opacity: 0.7; pointer-events: none; }

.edd-loading::after {
    content: '';
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: var(--space-2);
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.sonome-cart-notification {
    position: fixed;
    top: 100px; right: var(--space-6);
    display: flex; align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background-color: var(--color-black);
    color: var(--color-blue);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -12px rgba(13, 13, 13, 0.4);
    z-index: 9999;
    animation: slideInRight 0.4s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sonome-cart-notification .notification-content {
    display: flex; align-items: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
}

.sonome-cart-notification .notification-content svg { color: #4ade80; }

@media (max-width: 900px) {
    #edd_checkout_cart { order: -1; margin-bottom: var(--space-6); }
}

@media (max-width: 768px) {
    .page-header { padding: clamp(5rem, 8vw, 6rem) 0 var(--space-4); }
    .page-header .page-title { font-size: clamp(2rem, 10vw, 3rem); }
    #edd_checkout_cart tbody tr { grid-template-columns: 56px 1fr auto; }
    #edd_checkout_cart td.edd_cart_actions { display: none; }
    #edd_checkout_cart .edd_cart_item_image, #edd_checkout_cart .edd_cart_item_image img { width: 56px; height: 56px; }
    #edd_checkout_form_wrap fieldset { padding: var(--space-5); }
    #edd_checkout_form_wrap legend { font-size: 1.25rem; }
    #edd_purchase_submit { padding: var(--space-5); }
}

/* ==========================================================================
   Showcase Card (Featured On — platinum/portfolio proof)
   ========================================================================== */
.showcase-section {
    /* Inherits demos-section padding & yellow background */
}

.showcase-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
}

.showcase-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.showcase-card__eyebrow {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.55);
}

.showcase-card__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: normal;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}

.showcase-card__artists {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(13, 13, 13, 0.75);
    max-width: 640px;
    margin: var(--space-2) auto 0;
    font-weight: 500;
}

.showcase-card__release {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.45);
    margin: var(--space-1) 0 0;
}

/* --- Video container with same offset-stroke as the brand video --- */
.showcase-card__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-black);
    overflow: hidden;
    /* Offset black stroke: yellow gap (8px) then thin black line (1.5px) */
    box-shadow:
        0 0 0 8px var(--color-yellow),
        0 0 0 9.5px var(--color-black);
    transform: translateZ(0);
    will-change: transform;
    contain: layout style;
    /* Margin to keep room for the surrounding stroke */
    margin: var(--space-2) 0;
}

/* --- YouTube facade (click-to-load) --- */
.yt-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.yt-facade__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.yt-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-yellow);
    color: var(--color-black);
    box-shadow: 0 8px 30px -5px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.yt-facade__play svg {
    width: 32px;
    height: 32px;
    /* Optical centering: triangle's visual center is slightly left of geometric center */
    margin-left: 4px;
}

.yt-facade:hover .yt-facade__thumb {
    transform: scale(1.04);
    filter: brightness(0.95);
}

.yt-facade:hover .yt-facade__play {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: var(--color-yellow-light);
}

.yt-facade:focus-visible {
    outline: none;
}

.yt-facade:focus-visible .yt-facade__play {
    outline: 3px solid var(--color-black);
    outline-offset: 4px;
}

/* When JS replaces the facade with the real iframe, make it fill the container. */
.showcase-card__video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Stats row --- */
.showcase-card__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 640px;
    margin: 0 auto;
}

.showcase-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-2);
    border-top: 1px solid rgba(13, 13, 13, 0.15);
}

.showcase-stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: normal;
    color: var(--color-black);
}

.showcase-stat__label {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.6);
    max-width: 22ch;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .showcase-card { gap: var(--space-6); }
    .showcase-card__video {
        box-shadow:
            0 0 0 5px var(--color-yellow),
            0 0 0 6px var(--color-black);
    }
    .yt-facade__play {
        width: 64px;
        height: 64px;
    }
    .yt-facade__play svg {
        width: 24px;
        height: 24px;
        margin-left: 3px;
    }
    .showcase-card__stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        max-width: 320px;
    }
}

/* ==========================================================================
   Product Feature - Contained Split Layout
   ========================================================================== */
.product-showcase {
    padding: var(--space-16) 0;
    background-color: var(--color-black);
}

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    background-color: var(--color-black);
    position: relative;
    overflow: hidden;
}

.product-feature__artwork {
    position: relative;
    overflow: hidden;
    background-color: #111;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5), 0 8px 20px -8px rgba(0, 0, 0, 0.3);
}

.product-feature__artwork img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.product-feature__artwork:hover img { transform: scale(1.03); }

.product-feature__body {
    padding: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-yellow);
    position: relative;
    z-index: 2;
}

.product-feature__eyebrow {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-3); flex-wrap: wrap;
    margin-bottom: var(--space-2);
}

.product-feature__category {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(238, 219, 58, 0.5);
    margin-bottom: 0;
}

.product-feature__badge {
    display: inline-flex; align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(238, 219, 58, 0.1);
    color: var(--color-yellow);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.product-feature__badge .badge-dot {
    width: 6px; height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.product-feature__title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 800;
    color: var(--color-yellow);
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: normal;
}

.product-feature__description {
    font-size: var(--text-base);
    color: rgba(238, 219, 58, 0.7);
    line-height: 1.8;
    margin-bottom: 0;
    max-width: 54ch;
}

.product-feature__meta {
    display: flex; flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: 0;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(238, 219, 58, 0.12);
}

.product-feature__meta-item { display: flex; flex-direction: column; gap: var(--space-1); }

.product-feature__meta-label {
    font-size: 10px;
    color: rgba(238, 219, 58, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.product-feature__meta-value {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-yellow);
}

.product-feature__footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.product-feature__price {
    font-family: var(--font-sans);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-yellow);
}

.product-feature__price-original {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 500;
    color: rgba(238, 219, 58, 0.35);
    text-decoration: line-through;
    margin-right: var(--space-2);
}

.product-feature__price-note {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: rgba(238, 219, 58, 0.45);
    font-weight: 400;
    margin-left: var(--space-1);
}

.product-feature .btn--buy,
.product-feature .edd-add-to-cart {
    background-color: var(--color-yellow);
    color: var(--color-black);
    border-color: var(--color-yellow);
    flex-shrink: 0;
}

.product-feature .btn--buy:hover,
.product-feature .edd-add-to-cart:hover {
    background-color: var(--color-yellow-dark);
    border-color: var(--color-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(238, 219, 58, 0.3);
}

.product-feature .edd-cart-ajax-alert { display: none; }

/* ==========================================================================
   Product Feature - Sample Previews
   ========================================================================== */

.product-feature__previews {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header__label {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(238, 219, 58, 0.4);
}

.preview-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-height: 170px;
    overflow-y: auto;
    padding-right: var(--space-2);
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 219, 58, 0.2) transparent;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
}

.preview-list::-webkit-scrollbar {
    width: 4px;
}

.preview-list::-webkit-scrollbar-track {
    background: transparent;
}

.preview-list::-webkit-scrollbar-thumb {
    background-color: rgba(238, 219, 58, 0.2);
    border-radius: 4px;
}

.preview-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(238, 219, 58, 0.35);
}

.preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background-color: rgba(238, 219, 58, 0.04);
    border: 1px solid rgba(238, 219, 58, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.preview-item:hover {
    background-color: rgba(238, 219, 58, 0.08);
    border-color: rgba(238, 219, 58, 0.2);
}

.preview-item.is-playing {
    border-color: rgba(238, 219, 58, 0.3);
    background-color: rgba(238, 219, 58, 0.08);
}

.preview-play {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-yellow);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.preview-play:hover {
    color: var(--color-yellow-light);
    transform: scale(1.1);
}

.preview-play svg {
    width: 16px;
    height: 16px;
}

.preview-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.preview-name {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-yellow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-type {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: rgba(238, 219, 58, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.preview-progress {
    width: 60px;
    height: 3px;
    background-color: rgba(238, 219, 58, 0.1);
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.preview-progress__bar {
    width: 0%;
    height: 100%;
    background-color: var(--color-yellow);
    border-radius: 2px;
    transition: width 0.1s linear;
}

@media (max-width: 900px) {
    .product-feature { grid-template-columns: 1fr; }
    .product-feature__artwork { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .product-feature__body { padding: var(--space-8) var(--space-6); }
    .preview-list { max-height: 180px; }
}
