/* Home page styles — extracted from index.astro */
body {
    flex-direction: column;
    align-items: stretch;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

.hero-left {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: var(--line-weight) solid var(--ink-color);
    position: relative;
    z-index: 2;
    background-color: rgba(226, 224, 214, 0.85);
}

.publication-title {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: clamp(60px, 12vw, 180px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.title-hyphen {
    margin-left: -0.05em;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 480px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

.subscribe-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.subscribe-form {
    display: flex;
    gap: 0;
}

.subscribe-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 14px;
    font-family: var(--font-main);
    border: var(--line-weight) solid var(--ink-color);
    border-right: none;
    background: var(--bg-color);
    color: var(--ink-color);
    outline: none;
}

.subscribe-input::placeholder {
    color: var(--ink-color);
    opacity: 0.4;
}

.subscribe-button {
    background-color: var(--ink-color);
    color: var(--bg-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    border: var(--line-weight) solid var(--ink-color);
    cursor: pointer;
    font-family: var(--font-main);
    transition: opacity 0.15s ease;
}

.subscribe-button:hover {
    opacity: 0.8;
}

.hero-right {
    position: static;
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scaleX(-1);
    z-index: 1;
}

.image-caption {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
}

.nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 24px;
    z-index: 10;
}

.nav-link {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.15s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.archive-section {
    padding: 60px;
    background-color: var(--bg-color);
}

.section-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    display: block;
    border-bottom: var(--line-weight) solid var(--ink-color);
    padding-bottom: 10px;
}

/* --- Featured Post (most recent) ----------------------------------- */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: var(--line-weight) solid var(--ink-color);
}

.featured-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post:hover .featured-image {
    transform: scale(1.03);
}

.featured-post-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
}

.featured-post h2 {
    font-family: var(--font-main);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.featured-post .meta {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.5;
}

.featured-post p {
    font-size: 17px;
    line-height: 1.5;
}

/* --- Post Grid (remaining posts) ----------------------------------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.post-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 16px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-image img {
    transform: scale(1.03);
}

.post-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.post-card-excerpt {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.4;
    margin-top: 4px;
}

.post-card-meta span:not(:last-child)::after {
    content: "\00b7";
    margin-left: 8px;
}

@media (max-width: 1100px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hero-image {
        position: relative;
        height: auto;
        object-fit: contain;
    }
    .hero-left {
        border-right: none;
        border-bottom: var(--line-weight) solid var(--ink-color);
        background-color: rgba(226, 224, 214, 0.92);
        padding: 60px 20px 30px;
        overflow: hidden;
    }
    .nav-link {
        color: var(--ink-color);
    }
    .publication-title {
        word-break: break-all;
    }
    .title-hyphen {
        display: none;
    }
    .publication-title br {
        display: none;
    }
    .hero-description {
        padding-top: 24px;
    }
    .image-caption {
        position: absolute;
    }
    .archive-section {
        padding: 40px 20px;
    }
    .featured-post {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    .featured-post h2 {
        font-size: 28px;
    }
    .post-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .post-card {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 16px;
    }
    .post-card-image {
        margin-bottom: 0;
        aspect-ratio: 1;
    }
}
