:root {
    --site-brown: #66432c;
    --site-red: #EE1D52;
    --site-dark: #181818;
    --site-grey: #222;
    --text-light: #F8F0E3; /* Original Substack Text Color [13] */
    --client-bg: #ffe0a3;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--site-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .italic {
    font-family: 'Playfair Display', serif;
}

.italic {
    font-style: italic;
}

/* --- Navigation --- */
.navbar {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(24, 24, 24, 0.98);
    border-bottom: 1px solid rgba(238, 29, 82, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--site-red);
}

.nav-cta {
    background: var(--site-brown);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    opacity: 1 !important;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 8%;
    gap: 4rem;
    background: radial-gradient(circle at top left, #222, #181818);
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--site-red);
    font-weight: 600;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 1rem 0;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--site-brown);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.about-punchline {
    font-family: 'Playfair Display', serif; 
    font-size: 1.5rem;
    font-style: italic;
    color: var(--site-red); /* Using the red from your palette */
    text-align: center;
    margin: 2.5rem 0;
    line-height: 1.4;
    border-top: 1px solid rgba(238, 29, 82, 0.3);
    border-bottom: 1px solid rgba(238, 29, 82, 0.3);
    padding: 1rem 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary:hover {
    background: var(--site-red);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid white;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: white;
    color: var(--site-dark);
}

.hero-image img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 25px 25px 0 var(--site-brown);
}

/* --- About Section --- */
.about-section {
    padding: 8rem 5%;
    background: var(--site-grey);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    max-width: 1000px; /* Limits width to prevent lines from being too long, keeping it readable */
    margin: 0 auto;    /* Centers the text block itself on the page */
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.lead-text {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--site-red);
    text-align: center;
}

/* --- Writing Integrated Feed --- */
.writing-section {
    padding: 8rem 5%;
    background-color: var(--client-bg); /* #ffe0a3 */
    color: var(--site-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--site-dark);
}

.feed-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Reader Card */
.featured-reader {
    display: grid;
    grid-template-columns: 45% 55%;
    background: var(--site-dark);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(238, 29, 82, 0.2);
}

.featured-image-wrap {
    height: 650px;
}

.featured-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reader-content {
    padding: 3.5rem;
    color: var(--text-light);
    height: 650px;
    overflow-y: auto;
    background: var(--site-grey);
}

.reader-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-left: 6px solid var(--site-red);
    padding-left: 1.5rem;
    color: white;
}

.reader-text {
    line-height: 1.9;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Fixed embedded image sizing for the Reader */
.reader-text img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

/* Carousel: The Brown Cards [13] */
.posts-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--site-brown);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card-info {
    padding: 1.5rem;
}

.post-card-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* --- Coaching Section --- */
.coaching-section {
    padding: 8rem 5%;
    background: var(--site-dark);
}

.coaching-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6rem;
    align-items: center;
}

.coaching-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.price-tag {
    font-size: 2rem;
    color: var(--site-red);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.coaching-features {
    list-style: none;
    margin: 2rem 0;
}

.coaching-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.coaching-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--site-red);
}

.glass-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: white;
}

/* --- Footer --- */
footer {
    padding: 4rem 5%;
    background: #000;
    text-align: center;
    color: white;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--site-red);
}

.site-info {
    opacity: 0.4;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero, .coaching-grid, .featured-reader {
        grid-template-columns: 1fr;
    }
    .hero-image {
        order: -1;
    }
    .featured-image-wrap {
        height: 350px;
    }
    .reader-content {
        height: auto;
    }
}