:root {
    /* Color Palette - Indian Earth Tones */
    --color-bg-paper: #FDFBF7;
    /* Cream/Paper */
    --color-bg-alt: #F4F1EA;
    /* Slightly Darker Cream */
    --color-text-primary: #2C2420;
    /* Dark Brown/Charcoal for text */
    --color-text-secondary: #5D5550;
    /* Softer Brown */

    --color-accent-terracotta: #B95C39;
    /* Burnt Orange/Terracotta */
    --color-accent-indigo: #2E4057;
    /* Deep Indigo Blue */
    --color-accent-ochre: #D4A017;
    /* Muted Gold/Ochre */

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;

    --spacing-container: 1200px;
    --spacing-section: 6rem;
}

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

body {
    background-color: var(--color-bg-paper);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Defaults */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

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

/* Hero Section */
.hero-section {
    height: 90vh;
    /* Default height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-paper);
    position: relative;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* This creates the "painted on paper" look */
    mix-blend-mode: multiply;
    opacity: 0.8;
    filter: sepia(0.2) contrast(1.1);
}

/* Hero with Vertical Fade */
.hero-content {
    position: relative;
    z-index: 1;
    /* Removed card styles */
    padding: 0 2rem;
    max-width: 1000px;
    margin-top: 15vh;
    /* Push text down to sit in the faded area */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Strong gradient: Image visible top 40%, fades to solid cream at bottom */
    background: linear-gradient(to bottom,
            rgba(253, 251, 247, 0.2) 0%,
            rgba(253, 251, 247, 0.6) 40%,
            var(--color-bg-paper) 85%);
    mix-blend-mode: normal;
}

/* Subtle grain or texture (kept largely same but moved to pseudo-element on wrapper if needed, 
   or just let the image do the work. The previous before is removed/replaced by this new structure) */

.hero-section h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    color: var(--color-text-primary);
    /* Back to primary dark for elegance */
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-shadow: 0 2px 30px rgba(253, 251, 247, 0.5);
    /* subtle glow to separate from any stray image details */
}

.hero-section .subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent-terracotta);
    font-weight: 400;
    margin-top: 1.5rem;
    display: block;
}

/* Ensure centering */
header.hero-section .container {
    display: flex;
    justify-content: flex-end;
    /* Align towards bottom structurally if needed, or just use margin-top on content */
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding-bottom: 8rem;
    /* Space from bottom */
}

/* Generic Section Styles */
.content-section {
    padding: var(--spacing-section) 0;
}

.content-section.alt-bg {
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-accent-indigo);
    position: relative;
    padding-bottom: 1rem;
}

/* Ornamental underline */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-accent-ochre);
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block.centered {
    text-align: center;
}

.highlight-text {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    line-height: 1.5;
    border-left: 3px solid var(--color-accent-terracotta);
    padding-left: 1.5rem;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    color: var(--color-text-primary);
    margin: 3rem 0;
    line-height: 1.4;
}

/* Via Negativa Section */
.negation-list {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.negation-list h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-accent-terracotta);
    text-align: center;
}

.negation-list ul {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}

.negation-item {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text-secondary);
}

.negation-item:last-child {
    border-bottom: none;
}

.negation-item .marker {
    color: var(--color-accent-terracotta);
    margin-right: 1rem;
    font-weight: bold;
}

/* Requirements Box in Method Section */
.requirements-box {
    background-color: var(--color-bg-paper);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--color-accent-indigo);
}

.requirements-box ul {
    list-style-type: none;
    margin-top: 1rem;
}

.requirements-box li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.requirements-box li::before {
    content: '•';
    color: var(--color-accent-indigo);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
    top: 0.3rem;
}

.emphasis-text {
    font-weight: 500;
    color: var(--color-text-primary);
    text-align: center;
    font-size: 1.25rem;
    margin-top: 2rem;
}

/* Contribution Block */
.contribution-block {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(185, 92, 57, 0.2);
    /* Subtle Terracotta divider */
    text-align: center;
}

.contribution-block h3 {
    font-size: 2rem;
    color: var(--color-accent-indigo);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent-terracotta);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 4px;
    /* Slightly rounded, crisp look */
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background-color: var(--color-accent-indigo);
    transform: translateY(-2px);
}

/* Inquiry Section */
.question-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent-indigo);
    margin: 2rem 0;
}

.pattern-list {
    list-style: none;
    margin-bottom: 3rem;
}

.pattern-list li {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.final-question {
    font-weight: 500;
    color: var(--color-accent-terracotta);
    font-size: 1.4rem;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0 8rem 0;
    text-align: center;
}

.closing-statement {
    margin-top: 4rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-primary);
}

footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--color-bg-alt);
    /* Slightly darker for footer base */
}

.founder-credit {
    margin-bottom: 1.5rem;
}

.founder-credit p {
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-primary);
}

.founder-link {
    color: var(--color-accent-terracotta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.founder-link:hover {
    color: var(--color-accent-indigo);
    text-decoration: underline;
}

.founder-role {
    font-size: 0.9rem !important;
    /* Force smaller size for secondary line */
    color: var(--color-text-secondary) !important;
}

.company-link {
    color: var(--color-text-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
}

.company-link:hover {
    color: var(--color-accent-indigo);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.3s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.6s;
    transition-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    :root {
        --spacing-container: 900px;
        --spacing-section: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .hero-section h1 {
        font-size: 3rem;
        /* Fallback */
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-section .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .text-block {
        padding: 0;
    }

    blockquote {
        font-size: 1.4rem;
        margin: 2rem 0;
    }

    .negation-list {
        padding: 1.5rem;
        margin: 2rem -1rem;
        /* Slightly wider on mobile */
    }

    .negation-item {
        font-size: 1.1rem;
    }

    .closing-statement {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100svh;
        /* Use small viewport height for mobile browsers */
    }

    .section-title::after {
        width: 40px;
    }

    .highlight-text {
        font-size: 1.2rem;
        padding-left: 1rem;
    }
}