/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #E5DED6;
    --bg-dark: #2B2C1F;
    --text: #2B2C1F;
    --text-light: #E5DED6;
    --accent: #F15A16;
    --accent-gold: #F1CC4C;
    --muted: #CAC5BD;
    --white: #FFFFFF;

    --font-logo: 'Erode', Georgia, serif;
    --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Sentient', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg);
    padding: 80px 24px;
}

.hero .container {
    max-width: 900px;
}

.hero-wordmark {
    font-family: var(--font-logo);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 96px;
    line-height: 1;
    white-space: nowrap;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-divider {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ===== Subscribe Form ===== */
.subscribe-form {
    display: flex;
    gap: 0;
    max-width: 460px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 15px;
    border: 2px solid var(--text);
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: transparent;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text);
    opacity: 0.4;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--accent);
}

.subscribe-form button {
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}

.subscribe-form button:hover {
    background: #d94e12;
    border-color: #d94e12;
}

.subscribe-form button:active {
    transform: scale(0.98);
}

/* Dark variant */
.subscribe-form--dark input[type="email"] {
    border-color: var(--text-light);
    color: var(--text-light);
}

.subscribe-form--dark input[type="email"]::placeholder {
    color: var(--text-light);
    opacity: 0.4;
}

.subscribe-form--dark input[type="email"]:focus {
    border-color: var(--accent);
}

/* ===== Sample Issue ===== */
.sample {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 24px;
}

.sample .container {
    max-width: 640px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 16px;
}

.excerpt-title {
    font-family: var(--font-logo);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

.excerpt-title a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.excerpt-title a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.excerpt {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 300;
}

.excerpt p {
    margin-bottom: 24px;
}

.excerpt p:last-child {
    margin-bottom: 0;
}

.excerpt .pivot {
    font-style: italic;
    font-weight: 400;
    margin-top: 32px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--accent-gold);
}

.continue-link {
    display: inline-block;
    margin-top: 40px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.continue-link:hover {
    opacity: 0.7;
}

/* ===== About ===== */
.about {
    background: var(--bg);
    padding: 100px 24px;
}

.about .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.about-photo {
    flex-shrink: 0;
    width: 180px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(20%);
}

.about-text h2 {
    font-family: var(--font-logo);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.5;
}

.about-text p {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--text);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-text a:hover {
    opacity: 0.7;
}

/* ===== Footer CTA ===== */
.footer-cta {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 24px;
    text-align: center;
}

.footer-cta .container {
    max-width: 520px;
    margin: 0 auto;
}

.footer-hook {
    font-family: var(--font-logo);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 300;
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 24px;
    text-align: center;
    border-top: 1px solid rgba(229, 222, 214, 0.1);
}

.footer .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-wordmark {
    font-family: var(--font-logo);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    opacity: 0.4;
}

.footer-copy {
    font-family: var(--font-sans);
    font-size: 12px;
    opacity: 0.3;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero {
        min-height: 90vh;
    }

    .about-inner {
        gap: 32px;
    }

    .about-photo {
        width: 140px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 85vh;
        padding: 60px 20px;
    }

    .hero-wordmark {
        font-size: 38px;
        letter-spacing: 0.5px;
        margin-bottom: 48px;
    }

    .sample {
        padding: 64px 20px;
    }

    .excerpt {
        font-size: 16px;
    }

    .excerpt .pivot {
        font-size: 18px;
    }

    .about {
        padding: 64px 20px;
    }

    .about-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo {
        width: 140px;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form input[type="email"] {
        border-right: 2px solid var(--text);
        border-radius: 4px;
    }

    .subscribe-form--dark input[type="email"] {
        border-right: 2px solid var(--text-light);
    }

    .subscribe-form button {
        border-radius: 4px;
    }

    .footer-cta {
        padding: 64px 20px;
    }

    .footer .container {
        flex-direction: column;
        gap: 8px;
    }
}
