:root {
    /* Base Variables */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Outfit', sans-serif;

    --container-width: 1000px;
    --sp-sm: 1rem;
    --sp-md: 2rem;
    --sp-lg: 4rem;
    --sp-xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.section-padding {
    padding: var(--sp-xl) 0;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   THEME: SYNTHESIST (Warm, Minimal, Corporate)
   ========================================= */
.theme-synthesist {
    --bg-main: #FDFCF8;
    /* Warm off-white, paper-like */
    --text-primary: #2C2C2C;
    /* Soft black */
    --text-secondary: #6E6D6A;
    /* Warm grey */
    --accent: #D46A4C;
    /* Muted Clay/Rust */
    --card-bg: #F4F2EE;

    background-color: var(--bg-main);
    color: var(--text-primary);
}

.theme-synthesist .nav-header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-synthesist .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.theme-synthesist .dot {
    color: var(--accent);
}

/* Hero */
.hero-synth {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-bottom: 4rem;
}

.hero-synth-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    /* Editorial look */
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-synth-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Philosophy */
.philosophy-synth {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.synth-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.synth-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* Portfolio */
.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.portfolio-card {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 300px;
    align-items: stretch;
}

.portfolio-card:hover:not([style*="cursor: default"]) {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.portfolio-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
}

.link-arrow {
    font-weight: 500;
    color: var(--accent);
}

.portfolio-visual {
    flex: 1;
    background: #EAE8E4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E07A5F, #F2CC8F);
    opacity: 0.8;
}

/* Footer */
.synth-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.synth-footer .container {
    display: flex;
    justify-content: space-between;
}

/* Values Section */
.values-section {
    background-color: var(--card-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #C85840 100%);
    margin: 0;
    border-radius: 0;
}

.cta-content {
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #fff;
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Synthesist Mobile */
    .hero-synth {
        min-height: 70vh;
        padding-bottom: 2rem;
    }

    .hero-synth-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-synth-content p {
        font-size: 1.1rem;
    }

    .synth-text h2 {
        font-size: 2rem;
    }

    .synth-text p {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .portfolio-card {
        flex-direction: column;
    }

    .portfolio-visual {
        min-height: 200px;
    }
}