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

:root {
    --bg-color: #f9f7f2;
    --text-color: #1a1a1a;
    --accent-color: #c96d4d; /* Terracotta */
    --secondary-color: #4a5d4e; /* Sage Green */
    --neutral-grey: #e8e6e1;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Customization */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-img-container {
    position: absolute;
    right: 5%;
    top: 15%;
    width: 50%;
    height: 70%;
    overflow: hidden;
    box-shadow: 50px 50px 100px rgba(0,0,0,0.1);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 2s ease-out;
}

.hero:hover .hero-img {
    transform: scale(1);
}

/* Section Layouts */
section {
    padding: 10rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > div {
    direction: ltr;
}

.image-box {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Content Sections */
.intro-text {
    max-width: 800px;
    margin: 0 auto 10rem;
    text-align: center;
}

.intro-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.long-read-section {
    max-width: 900px;
    margin: 0 auto;
    column-count: 2;
    column-gap: 4rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 5rem 5%;
    background: var(--neutral-grey);
    text-align: center;
}

@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-img-container {
        position: static;
        width: 100%;
        height: 50vh;
        margin-top: 2rem;
    }
    .long-read-section {
        column-count: 1;
    }
}
