/** * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * Neanderthal Ancestry Product Page - Cinematic Redesign
 * A reverent, narrative-driven experience emphasizing survival, deep time, and shared humanity.
 */

/* ========================================
   CSS Custom Properties - Earth, Stone, Ice
   ======================================== */
:root {
    /* Primary palette */
    --nth-cave-dark: #1a1a1a;
    --nth-cave-deep: #0f0f0f;
    --nth-stone-dark: #2a2a2a;
    --nth-stone-mid: #3d3d3d;
    --nth-stone-light: #5a5a5a;
    
    /* Accent colors */
    --nth-ochre: #C4A35A;
    --nth-ochre-dim: #9A8048;
    --nth-ochre-glow: rgba(196, 163, 90, 0.15);
    --nth-glacier: #7B9AA8;
    --nth-glacier-dim: #5C7A88;
    --nth-glacier-glow: rgba(123, 154, 168, 0.15);
    --nth-bone: #8B7355;
    
    /* Text colors */
    --nth-text-primary: #F5F2EB;
    --nth-text-secondary: rgba(245, 242, 235, 0.9);
    --nth-text-muted: rgba(245, 242, 235, 0.7);
    
    /* Functional */
    --nth-border: rgba(245, 242, 235, 0.1);
    --nth-border-hover: rgba(245, 242, 235, 0.2);
    
    /* Typography */
    --nth-font-display: 'Cormorant Garamond', Georgia, serif;
    --nth-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --nth-section-padding: 120px;
    --nth-section-padding-mobile: 80px;
    
    /* Transitions */
    --nth-transition-slow: 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    --nth-transition-medium: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --nth-transition-fast: 0.3s ease;
}

/* ========================================
   Base & Reset
   ======================================== */
body:has(.nth-main) {
    background-color: var(--nth-cave-dark) !important;
    background-image: none !important;
}

#wrapper, #content-wrapper, #content-fluid {
    background: transparent !important;
}

body:has(.nth-main) footer {
    background-color: var(--nth-cave-deep) !important;
}

.nth-main {
    font-family: var(--nth-font-body);
    color: var(--nth-text-primary);
    line-height: 1.7;
    background-color: var(--nth-cave-dark);
}

/* ========================================
   Skip Link (Accessibility)
   ======================================== */
.nth-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--nth-ochre);
    color: var(--nth-cave-dark);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 4px;
    transition: top var(--nth-transition-fast);
}

.nth-skip-link:focus {
    top: 16px;
    outline: 2px solid var(--nth-text-primary);
    outline-offset: 2px;
}

/* ========================================
   Scroll Progress Indicator
   ======================================== */
.nth-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--nth-ochre), var(--nth-glacier));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ========================================
   Page Navigation Dots
   ======================================== */
.nth-page-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}

@media (min-width: 1200px) {
    .nth-page-nav {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

.nth-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 242, 235, 0.2);
    border: 1px solid var(--nth-border);
    transition: all var(--nth-transition-fast);
    position: relative;
    cursor: pointer;
}

.nth-nav-dot:hover,
.nth-nav-dot.active {
    background: var(--nth-ochre);
    border-color: var(--nth-ochre);
    transform: scale(1.3);
}

.nth-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nth-stone-dark);
    color: var(--nth-text-primary);
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--nth-transition-fast);
    font-size: 0.8125rem;
    font-family: var(--nth-font-body);
}

.nth-nav-dot:hover::after {
    opacity: 1;
}

/* ========================================
   Back to Top Button
   ======================================== */
.nth-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nth-stone-dark);
    border: 1px solid var(--nth-border);
    color: var(--nth-text-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--nth-transition-fast);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nth-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.nth-back-to-top:hover {
    background: var(--nth-ochre);
    border-color: var(--nth-ochre);
    transform: translateY(-4px);
}

.nth-back-to-top:focus {
    outline: 2px solid var(--nth-ochre);
    outline-offset: 2px;
}

/* ========================================
   Typography
   ======================================== */
.nth-display-title {
    font-family: var(--nth-font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nth-section-title {
    font-family: var(--nth-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    color: var(--nth-text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.nth-section-subtitle {
    font-family: var(--nth-font-body);
    font-size: 1.125rem;
    color: var(--nth-text-secondary);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.nth-chapter-number {
    display: inline-block;
    font-family: var(--nth-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nth-ochre);
    margin-bottom: 1rem;
}

/* ========================================
   Section Base
   ======================================== */
.nth-section {
    padding: var(--nth-section-padding) 0;
    position: relative;
}

@media (max-width: 768px) {
    .nth-section {
        padding: var(--nth-section-padding-mobile) 0;
    }
}

.nth-chapter-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ========================================
   HERO SECTION - "Before History Had a Name"
   ======================================== */
.nth-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.nth-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nth-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(30%);
}

.nth-hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center bottom, transparent 0%, var(--nth-cave-dark) 70%),
        linear-gradient(180deg, var(--nth-cave-deep) 0%, transparent 30%, transparent 70%, var(--nth-cave-dark) 100%),
        linear-gradient(135deg, rgba(196, 163, 90, 0.05) 0%, transparent 50%, rgba(123, 154, 168, 0.05) 100%);
}

.nth-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.nth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 242, 235, 0.08);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nth-text-secondary);
    margin-bottom: 2rem;
    border: 1px solid var(--nth-border);
}

.nth-hero-title {
    font-family: var(--nth-font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--nth-text-primary);
}

.nth-title-prelude {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--nth-text-secondary);
    margin-bottom: 0.25em;
}

.nth-title-accent {
    display: block;
    color: var(--nth-ochre);
    font-style: italic;
}

.nth-hero-lead {
    font-family: var(--nth-font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--nth-text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Hero Stats */
.nth-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.nth-stat-item {
    text-align: center;
}

.nth-stat-value {
    display: block;
    font-family: var(--nth-font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--nth-text-primary);
}

.nth-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--nth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.nth-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--nth-border);
}

@media (max-width: 576px) {
    .nth-stat-divider {
        display: none;
    }
    .nth-hero-stats {
        gap: 1.5rem;
    }
}

/* Hero CTA */
.nth-hero-cta {
    margin-bottom: 2rem;
}

.nth-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--nth-ochre) 0%, var(--nth-ochre-dim) 100%);
    color: var(--nth-cave-dark);
    font-family: var(--nth-font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--nth-transition-fast);
    border: none;
    cursor: pointer;
}

.nth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(196, 163, 90, 0.3);
    color: var(--nth-cave-dark);
    text-decoration: none;
}

.nth-btn-primary:focus {
    outline: 2px solid var(--nth-text-primary);
    outline-offset: 2px;
}

.nth-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: transparent;
    color: var(--nth-text-primary);
    font-family: var(--nth-font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--nth-border);
    transition: all var(--nth-transition-fast);
    margin-left: 1rem;
}

.nth-btn-secondary:hover {
    background: rgba(245, 242, 235, 0.05);
    border-color: var(--nth-border-hover);
    color: var(--nth-text-primary);
    text-decoration: none;
}

@media (max-width: 576px) {
    .nth-btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Hero Trust Badges */
.nth-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nth-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--nth-text-muted);
}

.nth-trust-item i {
    color: var(--nth-glacier);
}

/* Scroll Indicator */
.nth-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--nth-text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: nth-float 3s ease-in-out infinite;
}

.nth-scroll-indicator i {
    font-size: 1rem;
}

@keyframes nth-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
    .nth-scroll-indicator {
        display: none;
    }
}

/* ========================================
   CHAPTER I - WHO THEY WERE
   ======================================== */
.nth-story {
    background: var(--nth-cave-dark);
}

.nth-story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .nth-story-content {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

.nth-story-text {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--nth-text-primary);
}

.nth-story-lead {
    font-family: var(--nth-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--nth-text-primary);
    margin-bottom: 1.5rem;
}

.nth-story-text p {
    margin-bottom: 1.5rem;
    color: var(--nth-text-primary);
}

.nth-story-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--nth-ochre-glow);
    border-left: 3px solid var(--nth-ochre);
    border-radius: 0 4px 4px 0;
}

.nth-story-quote p {
    font-family: var(--nth-font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--nth-text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Identity Cards */
.nth-identity-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nth-identity-card {
    background: var(--nth-stone-dark);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--nth-transition-fast);
}

.nth-identity-card:hover {
    border-color: var(--nth-border-hover);
    transform: translateX(8px);
}

.nth-identity-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nth-ochre-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.nth-identity-icon i {
    font-size: 1.25rem;
    color: var(--nth-ochre);
}

.nth-identity-card h3 {
    font-family: var(--nth-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--nth-text-primary);
    margin-bottom: 0.5rem;
}

.nth-identity-card p {
    font-size: 0.9375rem;
    color: var(--nth-text-primary);
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   CHAPTER II - THE MEETING
   ======================================== */
.nth-meeting {
    background: var(--nth-cave-dark);
    position: relative;
}

.nth-meeting::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(42, 42, 42, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.nth-meeting-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nth-meeting-narrative {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--nth-text-primary);
    margin-bottom: 3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nth-meeting-narrative p {
    margin-bottom: 1.5rem;
    color: var(--nth-text-primary);
    font-weight: 400;
}

.nth-meeting-emphasis {
    font-family: var(--nth-font-display);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--nth-text-primary);
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

/* Timeline */
.nth-timeline {
    position: relative;
    max-width: 600px;
    margin: 4rem auto 0;
    padding-left: 2rem;
}

.nth-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--nth-glacier), var(--nth-ochre));
}

.nth-timeline-item {
    position: relative;
    padding: 0 0 3rem 2rem;
    text-align: left;
}

.nth-timeline-item:last-child {
    padding-bottom: 0;
}

.nth-timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--nth-cave-dark);
    border: 2px solid var(--nth-ochre);
}

.nth-timeline-date {
    font-family: var(--nth-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--nth-glacier);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.nth-timeline-title {
    font-family: var(--nth-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--nth-text-primary);
    margin-bottom: 0.5rem;
}

.nth-timeline-desc {
    font-size: 0.9375rem;
    color: var(--nth-text-primary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   CHAPTER III - WHAT THE REPORT REVEALS
   ======================================== */
.nth-report {
    background: var(--nth-cave-dark);
}

.nth-revelations-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .nth-revelations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 6-card grid layout for expanded revelations */
.nth-revelations-6 {
    max-width: 1200px;
}

@media (min-width: 768px) {
    .nth-revelations-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .nth-revelations-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nth-revelation-card {
    background: var(--nth-stone-dark);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all var(--nth-transition-fast);
}

.nth-revelation-card:hover {
    border-color: var(--nth-ochre-dim);
    transform: translateY(-4px);
}

.nth-revelation-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--nth-glacier-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nth-revelation-icon i {
    font-size: 1.5rem;
    color: var(--nth-glacier);
}

.nth-revelation-card h3 {
    font-family: var(--nth-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--nth-text-primary);
    margin-bottom: 0.75rem;
}

.nth-revelation-card p {
    font-size: 0.9375rem;
    color: var(--nth-text-primary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   CHAPTER IV - THE LONGER STORY
   ======================================== */
.nth-legacy {
    background: linear-gradient(180deg, var(--nth-cave-dark) 0%, var(--nth-cave-deep) 100%);
    text-align: center;
}

.nth-legacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.nth-legacy-lead {
    font-family: var(--nth-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--nth-text-primary);
    margin-bottom: 2rem;
}

.nth-legacy-text {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--nth-text-primary);
    margin-bottom: 3rem;
}

.nth-legacy-callout {
    background: var(--nth-glacier-glow);
    border: 1px solid rgba(123, 154, 168, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.nth-legacy-callout h3 {
    font-family: var(--nth-font-display);
    font-size: 1.25rem;
    color: var(--nth-text-primary);
    margin-bottom: 0.75rem;
}

.nth-legacy-callout p {
    font-size: 0.9375rem;
    color: var(--nth-text-primary);
    margin: 0;
}

.nth-legacy-callout a {
    color: var(--nth-glacier);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nth-legacy-callout a:hover {
    color: var(--nth-text-primary);
}

/* AI Assistant callout styling */
.nth-ai-callout {
    background: var(--nth-ochre-glow);
    border-color: var(--nth-ochre-dim);
    margin-top: 2rem;
}

.nth-ai-callout h3 {
    color: var(--nth-ochre);
}

.nth-ai-callout h3 i {
    color: var(--nth-ochre);
}

/* ========================================
   CHAPTER V - SCIENTIFIC FOUNDATION
   ======================================== */
.nth-science {
    background: var(--nth-stone-dark);
}

.nth-science-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--nth-text-primary);
}

.nth-science-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

@media (min-width: 768px) {
    .nth-science-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .nth-science-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nth-science-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.nth-science-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--nth-cave-dark);
    border: 1px solid var(--nth-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.nth-science-icon i {
    font-size: 1.5rem;
    color: var(--nth-ochre);
}

.nth-science-card h4 {
    font-family: var(--nth-font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--nth-text-primary);
    margin-bottom: 0.75rem;
}

.nth-science-card p {
    font-size: 0.875rem;
    color: var(--nth-text-primary);
    line-height: 1.7;
    margin: 0;
}

/* Trust Section */
.nth-trust-section {
    border-top: 1px solid var(--nth-border);
    padding-top: 4rem;
    text-align: center;
}

.nth-trust-section h3 {
    font-family: var(--nth-font-display);
    font-size: 1.5rem;
    color: var(--nth-text-primary);
    margin-bottom: 2rem;
}

.nth-trust-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .nth-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nth-trust-badge-large {
    padding: 2rem;
    background: var(--nth-cave-dark);
    border: 1px solid var(--nth-border);
    border-radius: 8px;
}

.nth-trust-badge-large i {
    font-size: 2rem;
    color: var(--nth-glacier);
    margin-bottom: 1rem;
}

.nth-trust-badge-large span {
    display: block;
    font-weight: 600;
    color: var(--nth-text-primary);
    margin-bottom: 0.5rem;
}

.nth-trust-badge-large p {
    font-size: 0.875rem;
    color: var(--nth-text-muted);
    margin: 0;
}

/* ========================================
   CHAPTER VI - FINAL CTA
   ======================================== */
.nth-close {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.nth-close-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nth-close-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(50%);
}

.nth-close-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--nth-cave-dark) 70%),
        linear-gradient(0deg, var(--nth-cave-dark) 0%, transparent 30%);
}

.nth-close-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.nth-close-title {
    font-family: var(--nth-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--nth-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.nth-close-lead {
    font-family: var(--nth-font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--nth-ochre);
    margin-bottom: 3rem;
}

.nth-final-price {
    margin-bottom: 2rem;
}

.nth-final-label {
    display: block;
    font-size: 0.875rem;
    color: var(--nth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.nth-final-amount {
    display: block;
    font-family: var(--nth-font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--nth-text-primary);
}

.nth-final-note {
    display: block;
    font-size: 0.875rem;
    color: var(--nth-text-muted);
    margin-top: 0.5rem;
}

.nth-final-cta {
    margin-bottom: 3rem;
}

.nth-btn-large {
    padding: 20px 48px;
    font-size: 1.0625rem;
}

.nth-final-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.nth-final-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--nth-text-secondary);
}

.nth-final-feature i {
    color: var(--nth-ochre);
}

/* Expanded features grid - 2 columns of 4 items */
.nth-final-features-expanded {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .nth-final-features-expanded {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 1.5rem;
    }
}

.nth-final-tagline {
    font-family: var(--nth-font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--nth-text-muted);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.nth-animate-fade-in {
    opacity: 0;
    animation: nth-fade-in var(--nth-transition-slow) forwards;
}

.nth-animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: nth-fade-in-up var(--nth-transition-slow) forwards;
}

.nth-delay-1 { animation-delay: 0.2s; }
.nth-delay-2 { animation-delay: 0.4s; }
.nth-delay-3 { animation-delay: 0.6s; }
.nth-delay-4 { animation-delay: 0.8s; }

@keyframes nth-fade-in {
    to { opacity: 1; }
}

@keyframes nth-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.nth-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--nth-transition-slow), transform var(--nth-transition-slow);
}

.nth-reveal.nth-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .nth-animate-fade-in,
    .nth-animate-fade-in-up,
    .nth-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .nth-scroll-indicator {
        animation: none;
    }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .nth-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .nth-story-content {
        gap: 3rem;
    }
    
    .nth-identity-card:hover {
        transform: none;
    }
    
    .nth-revelation-card:hover {
        transform: none;
    }
    
    .nth-btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .nth-btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .nth-final-features-expanded {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .nth-hero-bg,
    .nth-close-bg,
    .nth-page-nav,
    .nth-back-to-top,
    .nth-scroll-progress,
    .nth-scroll-indicator,
    .nth-btn-primary,
    .nth-btn-secondary {
        display: none !important;
    }
    
    .nth-main {
        background: white;
        color: black;
    }
    
    .nth-section {
        padding: 40px 0;
    }
    
    .nth-text-primary,
    .nth-section-title,
    .nth-story-lead {
        color: black !important;
    }
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.nth-related-products {
    padding: 60px 0;
    background: var(--nth-cave-dark);
}

.nth-related-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--nth-text-primary);
    margin-bottom: 40px;
    font-family: var(--nth-font-display);
    font-weight: 700;
}

.nth-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .nth-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .nth-related-grid {
        grid-template-columns: 1fr;
    }
}

.nth-related-card {
    background: var(--nth-stone-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--nth-transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--nth-border);
}

.nth-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--nth-ochre);
}

.nth-related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--nth-border);
}

.nth-related-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nth-related-content h4 {
    font-size: 1.2rem;
    color: var(--nth-text-primary);
    margin-bottom: 8px;
    font-family: var(--nth-font-body);
    font-weight: 600;
}

.nth-related-content p {
    font-size: 0.95rem;
    color: var(--nth-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.nth-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nth-ochre);
    font-weight: 600;
    text-decoration: none;
    transition: var(--nth-transition-fast);
    margin-top: auto;
}

.nth-related-link:hover {
    color: var(--nth-ochre-light);
    text-decoration: underline;
}

.nth-related-link i {
    transition: transform 0.2s ease;
}

.nth-related-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   PRICING SECTION - Cinematic Theme Variables
   Layout handled by shared report-pricing-cards.css
   ======================================== */
.nth-pricing-section {
    --rpc-bg: var(--nth-cave-dark);
    --rpc-overlay: rgba(15, 15, 15, 0.75);
    --rpc-text-primary: var(--nth-text-primary);
    --rpc-text-secondary: var(--nth-text-secondary);
    --rpc-text-muted: var(--nth-text-muted);
    --rpc-accent: var(--nth-ochre);
    --rpc-accent-dim: var(--nth-ochre-dim);
    --rpc-cta-bg: var(--nth-ochre);
    --rpc-cta-text: var(--nth-cave-dark);
    --rpc-cta-hover: var(--nth-ochre-dim);
    --rpc-border: var(--nth-border);
    --rpc-font-display: var(--nth-font-display);
    --rpc-font-body: var(--nth-font-body);
}