/* ==========================================================================
   MANUEL DE TEFFÉ - DESIGN SYSTEM & STYLESHEET (CINEMATIC NUCLEAR WESTERN)
   ========================================================================== */

/* 
   GDPR (DSGVO) COMPLIANCE NOTE:
   No external connections are made to third-party CDNs or Google Fonts.
   All typography uses locally hosted font assets (.woff2) defined below.
*/

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-display-regular.woff2') format('woff2'),
        local('Playfair Display'), local('PlayfairDisplay-Regular'),
        Georgia, serif;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-display-italic.woff2') format('woff2'),
        local('Playfair Display Italic'), local('PlayfairDisplay-Italic'),
        Georgia, serif;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-700.woff2') format('woff2'),
        local('Playfair Display Bold'), local('PlayfairDisplay-Bold'),
        Georgia, serif;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-regular.woff2') format('woff2'),
        local('Inter'), local('Inter-Regular'),
        system-ui, -apple-system, sans-serif;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-600.woff2') format('woff2'),
        local('Inter SemiBold'), local('Inter-SemiBold'),
        system-ui, -apple-system, sans-serif;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-700.woff2') format('woff2'),
        local('Inter Bold'), local('Inter-Bold'),
        system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   CSS CUSTOM PROPERTIES (THEME TOKENS)
   ========================================================================== */
:root {
    /* Color Palette - Outlaw Frontier Theme (#000000, #e09f00, #b83d26) */
    --color-bg-base: #000000;
    /* Deep Frontier Coal Black (#000000) */
    --color-bg-surface: #121212;
    /* Weathered Charcoal Leather (#121212) */
    --color-bg-elevated: #1a1a1a;
    /* Dark Plank Grey (#1a1a1a) */

    --color-accent-amber: #e09f00;
    /* Golden Ochre / Gold Ink (#e09f00) */
    --color-accent-amber-glow: rgba(224, 159, 0, 0.15);
    --color-accent-rust: #b83d26;
    /* Outlaw Barn Rust / Crimson Red (#b83d26) */
    --color-accent-rust-dark: #8c2514;
    /* Fiery Crimson Shadow */
    --color-accent-green: #e09f00;
    /* Match Yellow Gold for Badge accent */
    --color-accent-green-bg: rgba(224, 159, 0, 0.08);

    /* Text Colors */
    --color-text-primary: #eae4d5;
    /* Weathered Parchment Off-White */
    --color-text-secondary: #b5ad9b;
    /* Sandstone Grey */
    --color-text-muted: #8c826e;
    /* Aged Dust Sepia */
    --color-text-inverse: #000000;
    /* Pure Black Ink contrast */

    /* Typography Definitions */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    /* Shadows & Glows - Flat Woodblock Offset Shadows instead of Gaussian Blurs */
    --shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.9);
    --shadow-md: 4px 4px 0px rgba(0, 0, 0, 0.9);
    --shadow-lg: 6px 6px 0px rgba(0, 0, 0, 0.9);
    --glow-amber: 3px 3px 0px rgba(224, 159, 0, 0.25);
    --glow-rust: 3px 3px 0px rgba(184, 61, 38, 0.25);

    /* Animation Transitions */
    --transition-fast: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout Dimensions - Redesign to sharp edges */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
}

/* ==========================================================================
   RESET & BASE ELEMENT STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-rust) var(--color-bg-base);
}

body {
    font-family: var(--font-body);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-surface);
    border: 2px solid var(--color-bg-base);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-rust);
}

/* Base Typographical Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent-amber);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--color-accent-rust);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus styling for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--color-accent-amber);
    outline-offset: 4px;
}

/* ==========================================================================
   LAYOUT CONTAINERS (BLOCK STRUCTURES)
   ========================================================================== */
.site-wrapper {
    position: relative;
    z-index: 1;
}

/* Subtle background radiation grid (ambient canvas) */
.ambient-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, var(--color-text-primary) 1px, transparent 1px),
        linear-gradient(to bottom, var(--color-text-primary) 1px, transparent 1px);
}

.ambient-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
    background: radial-gradient(circle at 80% 20%, hsla(16, 82%, 50%, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 70%, hsla(43, 100%, 50%, 0.06) 0%, transparent 60%);
}

.section-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 24px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 70px 20px;
    }
}

/* Flex / Grid Grid Utilities */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: hsla(214, 28%, 7%, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(210, 14%, 80%, 0.08);
    z-index: 100;
}

.header-inner {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    color: var(--color-accent-amber);
    filter: drop-shadow(var(--glow-amber));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--color-accent-amber);
}

.lang-selector {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.lang-select {
    background-color: var(--color-bg-surface);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--color-accent-amber);
    color: var(--color-accent-amber);
}

.lang-select option {
    background-color: var(--color-bg-surface);
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .lang-selector {
        margin-left: auto;
        margin-right: 15px;
    }
}

.theme-toggle-container {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--color-accent-amber);
    background-color: rgba(255, 255, 255, 0.05);
}

html:not([data-theme="light"]) .moon-icon {
    display: none;
}

html[data-theme="light"] .sun-icon {
    display: none;
}

html[data-theme="light"] .theme-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .theme-toggle-container {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-surface);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 24px;
        margin-bottom: 40px;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    }
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-text-primary);
    cursor: pointer;
    transition: transform var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn:active {
    transform: translate(3px, 3px);
}

.btn-primary,
a.btn-primary,
.btn-primary a {
    background-color: var(--color-accent-amber);
    color: var(--color-text-inverse) !important;
    box-shadow: 4px 4px 0px var(--color-text-primary);
}

.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus,
.btn-primary:hover a,
.btn-primary:focus a {
    background-color: #ffb700;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-text-primary);
}

.btn-secondary,
a.btn-secondary,
.btn-secondary a {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
    box-shadow: 4px 4px 0px var(--color-accent-amber);
}

.btn-secondary:hover,
.btn-secondary:focus,
a.btn-secondary:hover,
a.btn-secondary:focus,
.btn-secondary:hover a,
.btn-secondary:focus a {
    background-color: rgba(224, 159, 0, 0.08);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-accent-amber);
}

.btn-rust,
a.btn-rust,
.btn-rust a {
    background-color: var(--color-accent-rust);
    color: #ffffff !important;
    box-shadow: 4px 4px 0px var(--color-text-primary);
}

.btn-rust:hover,
.btn-rust:focus,
a.btn-rust:hover,
a.btn-rust:focus,
.btn-rust:hover a,
.btn-rust:focus a {
    background-color: #c9462e;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-text-primary);
}

/* Status & Warning Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--color-accent-green-bg);
    border: 1px solid var(--color-accent-green);
    color: var(--color-accent-green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
}

.badge-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-green);
    display: inline-block;
}

/* ==========================================================================
   SECTION 1: HERO BANNER (DJANGO BEGINS)
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 40px);
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('Cover 1_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-banner-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 55vh;
    padding-top: clamp(200px, 35vw, 420px);
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.hero-actions {
    position: absolute;
    bottom: -3%;
    left: 74%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    z-index: 10;
}

@media (max-width: 1024px) {
    .hero-actions {
        bottom: 8%;
    }
}

.hero-actions .btn {
    white-space: nowrap;
}

#hero .btn-secondary {
    color: #000000 !important;
    border-color: #000000 !important;
}

#hero .btn-secondary:hover,
#hero .btn-secondary:focus {
    color: #000000 !important;
    border-color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: var(--header-height);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 60px;
    }

    .hero-banner-layout {
        padding-top: 0;
        min-height: auto;
        justify-content: center;
        align-items: center;
    }

    .hero-actions {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 40px auto 0 auto;
        z-index: 10;
    }
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent-rust);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.mockup-3d-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    perspective: 1500px;
    animation: ambientFloat 6s ease-in-out infinite;
}

.mockup-3d-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.5;
    transform-style: preserve-3d;
    transform: rotateY(-22deg) rotateX(10deg);
    transition: transform var(--transition-slow);
}

.mockup-3d-container:hover .mockup-3d-wrapper {
    transform: rotateY(-8deg) rotateX(5deg) translateY(-8px);
}

.mockup-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 2;
    border-radius: 2px 10px 10px 2px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 100%;
    background: #0f1013;
    transform: rotateY(-90deg);
    transform-origin: left;
    z-index: 1;
    box-shadow: inset -10px 0 16px rgba(0, 0, 0, 0.85);
}

.mockup-shadow {
    position: absolute;
    bottom: -40px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    transform: rotateX(90deg) translateZ(-40px);
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   SECTION 2: ABOUT THE AUTHOR & ACCOLADES
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* Asymmetrical columns: 40% portrait, 60% text */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.author-frame {
    position: relative;
    border: 1px dashed var(--color-accent-rust);
    padding: 12px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.01);
}

.author-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.author-portrait:hover {
    transform: scale(1.02);
}

.author-portrait-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-base) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Elegant line details representing a framed camera viewfinder */
.author-portrait-placeholder::before,
.author-portrait-placeholder::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--color-accent-amber);
    border-style: solid;
    pointer-events: none;
}

.author-portrait-placeholder::before {
    top: 20px;
    left: 20px;
    border-width: 2px 0 0 2px;
}

.author-portrait-placeholder::after {
    bottom: 20px;
    right: 20px;
    border-width: 0 2px 2px 0;
}

.author-portrait-svg {
    width: 64px;
    height: 64px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.author-portrait-text {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* Accolades grid below about text */
.accolades-title {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent-amber);
    margin: 48px 0 24px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accolades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Social Media Links under Author Bio */
.social-links-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-text-primary);
    color: var(--color-text-primary);
    background-color: var(--color-bg-base);
    box-shadow: 3px 3px 0px var(--color-text-primary);
    transition: transform var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.social-btn:hover,
.social-btn:focus {
    background-color: var(--color-accent-amber-glow);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px var(--color-text-primary);
    color: var(--color-accent-amber);
}

.social-icon {
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

@media (max-width: 576px) {
    .accolades-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .social-links-row .social-btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .social-links-row .social-btn {
        flex: 1 1 100%;
    }
}

.accolade-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.accolade-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-amber);
    flex-shrink: 0;
    margin-top: 4px;
}

.accolade-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.accolade-text p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   SECTION: AWARDS & HONORS
   ========================================================================== */
.awards-section {
    background-color: var(--color-bg-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .awards-section {
    border-bottom: 2px solid #000000;
}

.awards-header {
    text-align: center;
    margin-bottom: 60px;
}

.awards-section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-transform: uppercase;
    margin-top: 16px;
}

.awards-slider-wrapper {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.awards-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.awards-track {
    display: flex;
    gap: 30px;
    transition: transform var(--transition-medium);
}

.awards-track .award-logo-card {
    flex: 0 0 calc((100% - 2 * 30px) / 3);
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .awards-track .award-logo-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .awards-track .award-logo-card {
        flex: 0 0 100%;
    }

    .awards-slider-wrapper {
        position: relative;
        padding: 0 48px;
        gap: 0;
    }

    .awards-slider-wrapper .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .awards-slider-wrapper .awards-prev-btn {
        left: 0px;
    }

    .awards-slider-wrapper .awards-next-btn {
        right: 0px;
    }

    .awards-slider-wrapper .slider-arrow:hover,
    .awards-slider-wrapper .slider-arrow:focus {
        transform: translateY(-50%) translate(1px, 1px);
    }

    .award-logo-card {
        padding: 24px 16px;
    }
}

.slider-arrow {
    background-color: var(--color-bg-surface);
    border: 2px solid var(--color-text-primary);
    color: var(--color-text-primary);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 3px 3px 0px var(--color-text-primary);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    z-index: 10;
    flex-shrink: 0;
}

.slider-arrow:hover,
.slider-arrow:focus {
    background-color: var(--color-accent-amber-glow);
    color: var(--color-accent-amber);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px var(--color-text-primary);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.award-logo-card {
    background-color: var(--color-bg-surface);
    border: 2px solid var(--color-text-primary);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.award-logo-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0px var(--color-accent-amber);
}

html[data-theme="light"] .award-logo-card:hover {
    box-shadow: 6px 6px 0px #000000;
}

.award-logo-wrapper {
    background-color: #eae4d5;
    border: 1px solid #000000;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin-bottom: 20px;
}

.award-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.award-year {
    color: var(--color-accent-rust);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    border: 1px solid var(--color-accent-rust);
    padding: 2px 8px;
    background-color: rgba(184, 61, 38, 0.08);
    margin-right: 6px;
    margin-bottom: 2px;
    vertical-align: middle;
}

/* Position adjustment when the year is at the end of the text (e.g. German, Italian, etc.) */
.award-name .award-year:last-child {
    margin-right: 0;
    margin-left: 6px;
}

/* ==========================================================================
   SECTION 3: UPCOMING BOOK ANNOUNCEMENT (THE TEASER)
   ========================================================================== */
.teaser-section {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(8, 9, 13, 0.75) 100%), url('yjfh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.teaser-card {
    background-color: var(--color-bg-surface);
    border: 3px double var(--color-accent-rust);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .teaser-card {
        padding: 40px 24px;
    }
}

/* Rusty dust glow overlay for dark card */
.teaser-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, hsla(16, 82%, 50%, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.teaser-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .teaser-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Teaser cover graphic container */
.teaser-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1500px;
}

.teaser-mockup {
    width: 100%;
    max-width: 290px;
    aspect-ratio: 1 / 1.5;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 12px 12px 36px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotateY(-12deg) rotateX(4deg);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    transform-style: preserve-3d;
}

.teaser-mockup:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-6px);
    box-shadow: 18px 18px 48px rgba(0, 0, 0, 0.75);
}

.teaser-tag-line {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-rust);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.teaser-badge-row {
    margin-bottom: 20px;
}

.teaser-date {
    color: #b83d26;
    font-weight: 700;
}

.teaser-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.teaser-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* ==========================================================================
   SECTION 4: PREVIOUS WORK SPOTLIGHT (C'ERA UNA VOLTA A ROMA)
   ========================================================================== */
.spotlight-section {
    background-image: linear-gradient(rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.88)), url('Old book_BG copy.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.spotlight-content {
    grid-column: 1;
    grid-row: 1;
}

.spotlight-visual {
    display: flex;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
}

@media (max-width: 992px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .spotlight-content {
        grid-column: auto;
        grid-row: auto;
    }

    .spotlight-visual {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Distinctive 3D Highback Cover style (static, lightweight) */
.spotlight-mockup {
    width: 100%;
    max-width: 290px;
    aspect-ratio: 1 / 1.5;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 12px 12px 36px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotateY(-10deg);
    transition: transform var(--transition-medium);
}

.spotlight-mockup:hover {
    transform: rotateY(-2deg) translateY(-4px);
}

.spotlight-sub {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.spotlight-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.spotlight-book-highlight {
    color: #e09f00;
}

.spotlight-tagline {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-accent-rust);
    margin-bottom: 24px;
}

.retail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

@media (max-width: 576px) {
    .retail-row .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SECTION 5: CRITICS & EDITORIAL REVIEWS
   ========================================================================== */
.reviews-section {
    position: relative;
    background: linear-gradient(180deg, #08090d 0%, var(--color-bg-base) 100%);
}

.reviews-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px auto;
}

.reviews-header .section-badge {
    margin-bottom: 16px;
}

.reviews-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* 3-Card Reviews Layout */
.reviews-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .reviews-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.review-card {
    background-color: var(--color-bg-surface);
    border: 2px solid var(--color-text-muted);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-medium), border-color var(--transition-fast), box-shadow var(--transition-medium);
}

.review-card:hover {
    transform: translate(-4px, -4px);
    border-color: var(--color-accent-amber);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.review-rating {
    display: flex;
    gap: 4px;
    color: var(--color-accent-amber);
    margin-bottom: 24px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    filter: drop-shadow(0 0 2px rgba(255, 183, 0, 0.3));
}

.review-quote {
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.review-quote::before {
    content: '“';
    position: absolute;
    top: -24px;
    left: -20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-accent-rust);
    opacity: 0.15;
    line-height: 1;
}

.review-source {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.review-source h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.review-source p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Highlighted middle card style (Der Spiegel) */
.review-card.featured-card {
    border: 1px solid hsla(43, 100%, 50%, 0.15);
    background: linear-gradient(135deg, var(--color-bg-surface) 0%, hsla(43, 100%, 50%, 0.01) 100%);
    box-shadow: var(--shadow-md);
}

.review-card.featured-card:hover {
    border-color: var(--color-accent-amber);
    box-shadow: var(--shadow-lg), 0 0 25px hsla(43, 100%, 50%, 0.1);
}

/* ==========================================================================
   SECTION 6: NEWSLETTER SUBSCRIPTION & FOOTER
   ========================================================================== */
.newsletter-section {
    background-image: linear-gradient(rgba(18, 18, 18, 0.90), rgba(18, 18, 18, 0.90)), url('BGyjfh copy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

/* Background warning line detail for military frontier feel */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(-45deg,
            var(--color-accent-rust),
            var(--color-accent-rust) 10px,
            var(--color-bg-base) 10px,
            var(--color-bg-base) 20px);
}

.newsletter-container {
    max-width: 680px;
    margin: 0 auto 0 150px;
    text-align: center;
}

@media (max-width: 768px) {
    .newsletter-container {
        margin: 0 auto;
    }
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 44px;
}

.newsletter-highlight {
    color: var(--color-accent-amber);
}

/* Subscription Form Style */
.newsletter-form {
    background-color: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
    .newsletter-form {
        padding: 24px;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--color-bg-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent-amber);
    background-color: hsla(228, 23%, 4%, 0.8);
}

/* Validation visual states */
.form-input.invalid {
    border-color: var(--color-accent-rust);
}

.error-message {
    font-size: 0.8125rem;
    color: var(--color-accent-rust);
    margin-top: 6px;
    display: none;
}

.error-message.active {
    display: block;
}

/* Required DSGVO Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.checkbox-container {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-native {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg-base);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.checkbox-native:focus-visible+.checkbox-custom {
    outline: 2px solid var(--color-accent-amber);
    outline-offset: 2px;
}

.checkbox-native:checked+.checkbox-custom {
    background-color: var(--color-accent-amber);
    border-color: var(--color-accent-amber);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid var(--color-text-inverse);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-native:checked+.checkbox-custom::after {
    display: block;
}

.checkbox-custom.invalid {
    border-color: var(--color-accent-rust);
    box-shadow: 0 0 6px rgba(229, 74, 25, 0.2);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
    cursor: pointer;
    user-select: none;
}

.checkbox-label a {
    color: var(--color-accent-amber);
    text-decoration: underline;
}

.submit-btn-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.newsletter-form .btn {
    width: 100%;
}

/* DOI Status Logs (Mock output for demo validation) */
.doi-status-box {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-family: monospace;
    display: none;
    text-align: left;
}

.doi-status-box.success {
    display: block;
    background-color: rgba(79, 209, 131, 0.08);
    border: 1px solid var(--color-accent-green);
    color: hsl(145, 63%, 80%);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-base);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0 40px 0;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    opacity: 0.85;
}

.footer-legal-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-nav a {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus {
    color: var(--color-text-primary);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ==========================================================================
   MODAL / POPUP (SUCCESS DIALOG)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 7, 10, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: var(--color-bg-surface);
    border: 3px double var(--color-accent-rust);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

@media (max-width: 480px) {
    .modal-card {
        padding: 30px 20px;
        width: calc(100% - 32px);
        margin: 16px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-text {
        font-size: 0.875rem;
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-text-primary);
}

.modal-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-accent-green-bg);
    border: 1px solid var(--color-accent-green);
    color: var(--color-accent-green);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.55;
}

/* ==========================================================================
   CSS HARDWARE-ACCELERATED TRANSITIONS & ENTRY ANIMATIONS
   ========================================================================== */
@keyframes spinClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px hsla(16, 82%, 50%, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px hsla(16, 82%, 50%, 0.65));
    }
}

@keyframes ambientFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Entry Animation Classes (triggered via JS IntersectionObserver or page load) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Animation Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Accessible Settings: Disable animations if preferred by user's OS */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .lock-orbit-1,
    .lock-orbit-2,
    .lock-graphic,
    .mockup-3d-wrapper,
    .mockup-3d-container {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    #ambient-particles {
        display: none !important;
    }
}

/* ==========================================================================
   LIGHT MODE CUSTOM OVERRIDES
   ========================================================================== */
html[data-theme="light"] {
    --color-bg-base: #f6f1e5;
    /* Aged Parchment Cream (#f6f1e5) */
    --color-bg-surface: #eae0cc;
    /* Weathered Card Sand (#eae0cc) */
    --color-bg-elevated: #ddd2b9;
    /* Weathered Clay (#ddd2b9) */

    --color-accent-amber: #c48300;
    /* High-contrast Ochre for Light Mode */
    --color-accent-amber-glow: rgba(196, 131, 0, 0.15);
    --color-accent-rust: #b83d26;
    /* Barn Rust Red (#b83d26) */
    --color-accent-rust-dark: #8c2514;
    /* Dark Rust Shadow */
    --color-accent-green: #b83d26;
    /* Barn Rust for status indicators */
    --color-accent-green-bg: rgba(184, 61, 38, 0.08);

    /* Text Colors */
    --color-text-primary: #000000;
    /* Ink Black (#000000) */
    --color-text-secondary: #2c2820;
    /* Dark Sepia Charcoal */
    --color-text-muted: #5d5442;
    /* Weathered Brown */
    --color-text-inverse: #f6f1e5;
    /* Paper off-white for button text */

    /* Shadows & Glows */
    --glow-amber: 3px 3px 0px rgba(196, 131, 0, 0.25);
    --glow-rust: 3px 3px 0px rgba(184, 61, 38, 0.25);
}

/* Specific Light Theme Elements Overrides */
html[data-theme="light"] .site-header {
    background-color: rgba(246, 241, 229, 0.9);
    border-bottom: 2px solid #000000;
}

html[data-theme="light"] .hero-section {
    background-image: url('Cover 1_1.jpg');
}

html[data-theme="light"] .review-card,
html[data-theme="light"] .accolade-item,
html[data-theme="light"] .teaser-card {
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
}

html[data-theme="light"] .review-card:hover,
html[data-theme="light"] .accolade-item:hover {
    border-color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
}

html[data-theme="light"] .ambient-grid {
    opacity: 0.08;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
}

html[data-theme="light"] .author-frame {
    background-color: rgba(0, 0, 0, 0.03);
    border: 2px dashed #000000;
}

html[data-theme="light"] .social-btn {
    box-shadow: 3px 3px 0px #000000;
}

html[data-theme="light"] .social-btn:hover,
html[data-theme="light"] .social-btn:focus {
    box-shadow: 1px 1px 0px #000000;
    background-color: rgba(196, 131, 0, 0.08);
}

html[data-theme="light"] .site-footer {
    border-top: 2px solid #000000;
}

html[data-theme="light"] .teaser-section {
    background-image: linear-gradient(180deg, rgba(246, 241, 229, 0.85) 0%, rgba(234, 224, 204, 0.85) 100%), url('yjfh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

html[data-theme="light"] .teaser-mockup {
    border: 2px solid #000000;
    box-shadow: 8px 8px 0px #000000;
    transform: none;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

html[data-theme="light"] .teaser-mockup:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000000;
}

html[data-theme="light"] .reviews-section {
    background: linear-gradient(180deg, var(--color-bg-surface) 0%, var(--color-bg-base) 100%);
}

html[data-theme="light"] .spotlight-section {
    background-image: linear-gradient(180deg, rgba(246, 241, 229, 0.88) 0%, rgba(234, 224, 204, 0.88) 100%), url('Old book_BG copy.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

html[data-theme="light"] .newsletter-section {
    background-image: linear-gradient(180deg, rgba(246, 241, 229, 0.90) 0%, rgba(234, 224, 204, 0.90) 100%), url('BGyjfh copy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}