/* Hallmark · genre: custom · macrostructure: monumental-hero + 16-feature-stack · nav: N5 · footer: Ft1 · theme: tuned-monochrome */

:root {
    /* Colors (Pure Monochrome for App parity) */
    --color-paper: #000000;
    --color-paper-2: #111111;
    --color-ink: #ffffff;
    --color-ink-2: #a3a3a3;
    --color-rule: #333333;
    --color-accent: #ffffff;
    --color-accent-ink: #000000;
    --color-focus: #e5e5e5;

    /* Typography */
    --font-display: "SF Pro Rounded", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-outlier: "SF Pro Rounded", "Inter", system-ui, sans-serif;

    /* Spacing (4pt scale) */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 7rem;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1.125rem;
    --text-lg: 1.375rem;
    --text-xl: 1.75rem;
    --text-2xl: 2.25rem;
    --text-3xl: 3rem;
    --text-display: clamp(2.75rem, 5vw + 1rem, 4.5rem);

    /* Animation & Layout */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-short: 220ms;
    --radius-card: 12px;
    --radius-pill: 9999px;
}

[data-theme="light"] {
    --color-paper: #ffffff;
    --color-paper-2: #f5f5f5;
    --color-ink: #000000;
    --color-ink-2: #737373;
    --color-rule: #e5e5e5;
    --color-accent: #000000;
    --color-accent-ink: #ffffff;
    --color-focus: #404040;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-paper);
    color: var(--color-ink);
    line-height: 1.6;
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-xl { margin-top: var(--space-xl); }

.type-small {
    font-size: var(--text-sm);
    color: var(--color-ink-2);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    font-style: normal;
}

h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

p {
    color: var(--color-ink-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-card);
    transition: background-color var(--dur-short) var(--ease-out), transform 100ms var(--ease-out);
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    white-space: nowrap;
    padding: 10px 20px;
}

.btn:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.btn-sm { padding: 8px 16px; font-size: var(--text-sm); }
.btn-lg { padding: 12px 24px; font-size: var(--text-md); }
.btn-xl { padding: 16px 32px; font-size: var(--text-md); border-radius: var(--radius-pill); }

.btn-primary {
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.btn-primary:hover {
    background: var(--color-focus);
}

.btn-outline {
    background: transparent;
    color: var(--color-ink);
    border: 1px solid var(--color-rule);
}

.btn-outline:hover {
    background: var(--color-paper-2);
}

.btn-icon {
    background: transparent;
    color: var(--color-ink);
    padding: 8px;
    border-radius: var(--radius-pill);
}

.btn-icon:hover {
    background: var(--color-paper-2);
}

/* Nav (N5 Floating Pill) */
.navbar {
    position: fixed;
    top: var(--space-md);
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: rgba(18, 18, 22, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 10px 6px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}

[data-theme="light"] .nav-pill {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-name {
    font-family: var(--font-outlier);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-ink);
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--color-ink-2);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--dur-short) var(--ease-out);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--color-ink);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-cta .btn {
    border-radius: var(--radius-pill);
}

.nav-cta .btn-primary {
    padding: 8px 20px;
    font-weight: 600;
    font-size: var(--text-sm);
}

.nav-cta .btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--color-ink-2);
    border-radius: var(--radius-pill);
    transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}

.nav-cta .btn-icon:hover {
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-cta .btn-icon:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Monumental Hero */
.monumental-hero {
    position: relative;
    padding-top: calc(var(--space-3xl) * 1.5);
    padding-bottom: var(--space-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-paper);
    background-image: 
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center top;
    overflow: hidden;
}

.monumental-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center 30%, transparent 0%, var(--color-paper) 70%);
    pointer-events: none;
    z-index: 0;
}

.monumental-hero > * {
    position: relative;
    z-index: 1;
}

/* 3D Desktop DAC Audio Visualizer Unit (Interactive Hybrid Composition) */
.hero-dac-container {
    position: relative;
    width: clamp(320px, 46vw, 620px);
    aspect-ratio: 16 / 9;
    margin: calc(-1 * var(--space-xs)) auto var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6));
    user-select: none;
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dac-container:hover {
    filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.75));
}

.dac-ambient-glow {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 35%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.5) 0%, rgba(14, 165, 233, 0.15) 50%, transparent 75%);
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    transition: opacity 0.5s ease;
}

.hero-dac-container.is-active .dac-ambient-glow {
    opacity: 1;
}

.hero-dac-chassis {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    filter: contrast(1.06) brightness(1.02);
}

.hero-dac-screen-frame {
    position: absolute;
    left: 39.06%;
    top: 46.94%;
    width: 21.88%;
    height: 20.83%;
    border-radius: 3px;
    overflow: hidden;
    z-index: 2;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
    background: #04080e;
}

.hero-dac-screen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    filter: contrast(1.1) brightness(0.4) grayscale(0.5);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-dac-container.is-active .hero-dac-screen-video {
    opacity: 1;
    filter: contrast(1.15) brightness(1.08);
}

.hero-dac-knob-glow {
    position: absolute;
    left: 31.6%;
    top: 57.0%;
    transform: translate(-50%, -50%);
    width: 14%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(14, 165, 233, 0.12) 45%, transparent 70%);
    filter: blur(8px);
    z-index: 0;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.hero-dac-container.is-active .hero-dac-knob-glow {
    opacity: 1;
    animation: knobPulse 3s ease-in-out infinite;
}

/* Power Indicator LED */
.hero-dac-power-led {
    position: absolute;
    left: 19.38%;
    top: 51.39%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    z-index: 3;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hero-dac-container.is-active .hero-dac-power-led {
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8, 0 0 12px rgba(56, 189, 248, 0.9);
}

/* Dedicated Physical Power Switch Trigger */
.hero-dac-power-btn {
    position: absolute;
    left: 19.38%;
    top: 57.22%;
    transform: translate(-50%, -50%);
    width: 6.5%;
    height: 11.5%;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 4;
    outline: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

/* Tiny circle pulse ping that scales up and fades out */
.hero-dac-power-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.85);
    background: rgba(56, 189, 248, 0.2);
    pointer-events: none;
    animation: dacPingPulse 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dacPingPulse {
    0% {
        transform: scale(0.35);
        opacity: 0.95;
    }
    70%, 100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

.hero-dac-power-btn:hover {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.6);
}

.hero-dac-power-btn:hover::after {
    animation-play-state: paused;
}

.hero-dac-power-btn:active {
    transform: translate(-50%, -50%) scale(0.9);
}

.hero-dac-container.is-active .hero-dac-power-btn {
    box-shadow: none;
}

.hero-dac-container.is-active .hero-dac-power-btn::after {
    display: none;
}

/* Interactive Floating Status Pill */
.hero-dac-status-pill {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #12141a;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-ink, #ffffff);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 4;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: dacPillPulse 2.4s ease-in-out infinite;
}

@keyframes dacPillPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(56, 189, 248, 0);
        border-color: rgba(255, 255, 255, 0.18);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 16px 2px rgba(56, 189, 248, 0.45);
        border-color: rgba(56, 189, 248, 0.75);
        transform: translateX(-50%) scale(1.03);
    }
}

.hero-dac-status-pill:hover {
    animation-play-state: paused;
    background: rgba(26, 26, 32, 0.96);
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.35);
    transform: translateX(-50%) translateY(-2px) scale(1.02);
}

.hero-dac-status-pill:active {
    transform: translateX(-50%) translateY(0) scale(0.96);
}

.hero-dac-status-pill i {
    font-size: 0.95rem;
    color: #38bdf8;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-dac-container.is-active .hero-dac-status-pill {
    animation: none;
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .hero-dac-status-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: #0f172a;
}

[data-theme="light"] @keyframes dacPillPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(14, 165, 233, 0);
        border-color: rgba(0, 0, 0, 0.14);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 14px 2px rgba(14, 165, 233, 0.35);
        border-color: rgba(14, 165, 233, 0.7);
        transform: translateX(-50%) scale(1.03);
    }
}

.hero-dac-container.is-active .hero-dac-status-pill i {
    color: #38bdf8;
    animation: speakerPulse 1.8s ease-in-out infinite;
}

@keyframes speakerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes knobPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

[data-theme="light"] .hero-dac-container {
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.2));
}

[data-theme="light"] .hero-dac-status-pill {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-dac-status-pill:hover {
    background: #ffffff;
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 12px rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .dac-ambient-glow {
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.3) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
}

[data-theme="light"] .hero-dac-chassis {
    filter: contrast(1.06) brightness(1.0);
}

.monumental-hero .badge {
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.monumental-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
    max-width: 1000px;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.monumental-subtitle {
    font-size: var(--text-lg);
    color: var(--color-ink-2);
    max-width: 600px;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .monumental-title {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .monumental-subtitle {
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.9);
}

.monumental-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.hero-app-frame {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-md);
    position: relative;
    z-index: 1;
}

/* Studio Display / Monitor Chassis */
.studio-monitor-chassis {
    position: relative;
    border-radius: 12px;
    padding: 5px 5px 0 5px; /* Narrow top and side bezels */
    background: linear-gradient(180deg, #242428 0%, #151518 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 30px 80px -10px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.monitor-camera-dot {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #08080a;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.25);
    z-index: 10;
}

.monitor-screen-area {
    position: relative;
    border-radius: 8px 8px 3px 3px;
    overflow: hidden;
    background: #030407;
    line-height: 0;
}

.hero-screen-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.22) contrast(1.05);
    transition: filter 0.5s ease, transform 0.5s ease;
    transform: scale(0.995);
}

/* When Audio / Studio Stage is Active */
.studio-monitor-chassis.is-active .hero-screen-img {
    filter: brightness(1) contrast(1);
    transform: scale(1);
}

/* Minimalist Netflix-Style Standby Screen */
.monitor-sleep-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background: #06070a;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
    pointer-events: none;
    user-select: none;
}

.studio-monitor-chassis.is-active .monitor-sleep-overlay {
    opacity: 0;
    visibility: hidden;
}

.sleep-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.sleep-netflix-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

.sleep-brand-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    margin: 16px 0 0 0;
    line-height: 1;
    background: linear-gradient(
        90deg,
        #94a3b8 0%,
        #ffffff 22%,
        #e2e8f0 42%,
        #94a3b8 60%,
        #ffffff 82%,
        #94a3b8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titaniumAurora 6s linear infinite;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.18));
}

@keyframes titaniumAurora {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

[data-theme="light"] .monitor-sleep-overlay {
    background: #f1f5f9;
}

[data-theme="light"] .sleep-brand-title {
    background: linear-gradient(
        90deg,
        #475569 0%,
        #0f172a 24%,
        #334155 45%,
        #0f172a 68%,
        #64748b 88%,
        #475569 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
}

[data-theme="light"] .sleep-netflix-logo {
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

/* Bold / Thicker Bottom Chin */
.monitor-bottom-chin {
    height: 18px;
    background: linear-gradient(180deg, #18181c 0%, #111114 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.monitor-chin-indicator {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.2);
}

/* Light Theme Studio Monitor Chassis (Silver Aluminum) */
[data-theme="light"] .studio-monitor-chassis {
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 30px 70px -10px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .monitor-camera-dot {
    background: #1e293b;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .monitor-bottom-chin {
    background: linear-gradient(180deg, #d8e0e9 0%, #bac7d5 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .monitor-chin-indicator {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0.5px 0 rgba(0, 0, 0, 0.15);
}

/* Studio Monitor Speakers Flanking DAC Unit */
.hero-speaker {
    position: absolute;
    bottom: 14%;
    width: 34%;
    max-width: 210px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.7));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-speaker-left {
    left: -52%;
    transform: scaleX(-1);
}

.hero-speaker-right {
    right: -52%;
    transform: none;
}

.hero-speaker-img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.04) brightness(1.02);
}

.speaker-img-off {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.speaker-img-on {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Base Ambient Desk Glow */
.speaker-ambient-glow {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 30%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.55) 0%, rgba(14, 165, 233, 0.15) 50%, transparent 75%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Active State Enhancements */
.hero-dac-container.is-active .speaker-img-on {
    opacity: 1;
}

.hero-dac-container.is-active .speaker-ambient-glow {
    opacity: 1;
}

[data-theme="light"] .hero-speaker {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

[data-theme="light"] .speaker-ambient-glow {
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.35) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%);
}

@media (max-width: 680px) {
    .hero-speaker {
        display: none;
    }
}

/* Feature Stack (Macrostructure 16) */
.fs-container {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.fs-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-3xl);
    margin-bottom: 24vh;
    align-items: stretch;
}

.fs-section.fs-section-reverse {
    grid-template-columns: 1.4fr 1fr;
}

.fs-section.fs-section-reverse .fs-left {
    order: 2;
}

.fs-section.fs-section-reverse .fs-right {
    order: 1;
}

.fs-left {
    position: relative;
    height: 100%;
}

.fs-sticky {
    position: sticky;
    top: 15vh;
    height: fit-content;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-paper-2);
    color: var(--color-ink-2);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-family: var(--font-outlier);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fs-title {
    font-size: var(--text-display);
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.fs-desc {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    color: var(--color-ink-2);
}

.fs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
}

.fs-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: var(--text-xs);
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-pill);
    background: var(--color-paper-2);
    color: var(--color-ink-2);
    border: 1px solid var(--color-rule);
}

.fs-tag i {
    color: var(--color-ink);
    font-size: 14px;
}

.fs-feature-list {
    list-style: none;
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.fs-feature-item {
    border-left: 2px solid var(--color-rule);
    padding: var(--space-xs) var(--space-md);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    transition: opacity 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    cursor: pointer;
    opacity: 0.45;
}

.fs-feature-item:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .fs-feature-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.fs-feature-item.active {
    opacity: 1;
    border-left-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

[data-theme="light"] .fs-feature-item.active {
    background: rgba(0, 0, 0, 0.04);
}

.fs-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-item-header i {
    font-size: 1.1rem;
    color: var(--color-ink-2);
    transition: color 0.3s var(--ease-out);
    flex-shrink: 0;
}

.fs-feature-item.active .fs-item-header i {
    color: var(--color-ink);
}

.fs-item-title {
    font-size: var(--text-md);
    color: var(--color-ink);
    font-weight: 500;
}

.fs-item-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-out);
}

.fs-feature-item.active .fs-item-collapse {
    grid-template-rows: 1fr;
}

.fs-item-body {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out) 0.05s;
}

.fs-feature-item.active .fs-item-body {
    opacity: 1;
    padding-top: 6px;
}

.fs-item-body p {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-ink-2);
    margin: 0;
}

.fs-actions {
    display: flex;
    gap: var(--space-sm);
}

.fs-right {
    display: flex;
    flex-direction: column;
}

.fs-media-stack {
    display: flex;
    flex-direction: column;
    gap: 16vh;
    padding-bottom: 12vh;
}

.fs-image-wrap {
    background: var(--color-paper-2);
    border: none;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    scroll-margin-top: 18vh;
    transition: box-shadow 0.3s var(--ease-out);
}

.fs-image-wrap.in-focus {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .fs-image-wrap.in-focus {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.fs-image-wrap img {
    width: 100%;
    display: block;
}

.fs-image-caption {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    color: var(--color-ink-2);
    background: var(--color-paper-2);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Narrative Workflow (Macrostructure 14) */
.nw-container {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    max-width: 900px;
    margin: 0 auto;
}

.nw-header {
    margin-bottom: var(--space-xl);
}

.nw-stage {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-2xl) 0;
    border-top: 2px solid var(--color-rule);
}

.nw-stage:last-child {
    border-bottom: 2px solid var(--color-rule);
}

.nw-number {
    font-family: var(--font-outlier);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-ink-2);
    line-height: 1;
    min-width: 100px;
}

.nw-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.nw-content p {
    font-size: var(--text-lg);
}

/* Utilitarian Index (Download Table) */
.ui-container {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    max-width: 1000px;
    margin: 0 auto;
}

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

.ui-cards-grid.modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.ui-card.modern {
    position: relative;
    overflow: hidden;
    background: var(--color-paper-2);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-card);
    padding: var(--space-xl);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ui-card.modern:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-ink-2);
    background: var(--color-paper);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.ui-card-bg {
    position: absolute;
    bottom: -20%;
    right: -10%;
    font-size: 200px;
    color: var(--color-ink);
    opacity: 0.03;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.ui-card.modern:hover .ui-card-bg {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.06;
}

.ui-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

.ui-card-header h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.ui-card-header .ui-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-rule);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-ink);
}

.ui-card-bottom-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    align-items: center;
}

.version-text {
    font-size: var(--text-sm);
    color: var(--color-ink-2);
    margin: 0;
}

.ui-footer {
    margin-top: var(--space-xl);
    text-align: center;
}

/* Footer (Ft1) */
.footer {
    border-top: 1px solid var(--color-rule);
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-paper);
}

.footer-index {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: var(--space-sm);
    display: block;
}

.footer-brand-name {
    font-size: var(--text-md);
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: var(--space-3xs);
}

.footer-brand p {
    margin-top: var(--space-xs);
}

.footer-col h4 {
    font-size: var(--text-sm);
    color: var(--color-ink);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--color-ink-2);
    text-decoration: none;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
    transition: color var(--dur-short) var(--ease-out);
    white-space: nowrap;
}

.footer-col a:hover {
    color: var(--color-ink);
}

/* Responsive */
@media (max-width: 992px) {
    .fs-section,
    .fs-section.fs-section-reverse {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-bottom: 12vh;
    }

    .fs-section.fs-section-reverse .fs-left {
        order: 1;
    }

    .fs-section.fs-section-reverse .fs-right {
        order: 2;
    }
    
    .fs-sticky {
        position: relative;
        top: 0;
        margin-bottom: var(--space-md);
    }
    
    .fs-right {
        gap: var(--space-xl);
        padding-bottom: 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .ui-cards-grid.modern {
        grid-template-columns: 1fr;
    }
    
    .footer-index {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .monumental-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-dac-container {
        width: clamp(260px, 85vw, 380px);
        height: clamp(140px, 48vw, 215px);
        margin: 0 auto var(--space-md);
    }
    
    .fs-title { font-size: var(--text-3xl); }
    .footer-index { grid-template-columns: 1fr; }
}

/* Theme Visibility */
.theme-light-only { display: none !important; }
.theme-dark-only { display: block !important; }

[data-theme="light"] .theme-light-only { display: block !important; }
[data-theme="light"] .theme-dark-only { display: none !important; }