:root {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --accent-color: #8e8e93;
    --serif-font: 'Noto Serif SC', serif;
    --sans-font: 'Outfit', sans-serif;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--sans-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(29, 29, 31, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--easing), background 0.3s;
}

.cursor-hover .cursor-follower {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(29, 29, 31, 0.05);
    border-color: transparent;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: white;
    /* Visible on both light/dark due to difference blend mode */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

/* Hero Section - Text Focused */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #f5f5f7;
}

/* Subtle Grainy Gradient Background Animation */
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(240, 240, 245, 0.5) 50%, #e8e8ed 100%);
    opacity: 0.8;
    animation: rotateBg 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    mix-blend-mode: normal;
}

.hero-title {
    font-size: 15vw;
    /* Larger visual impact */
    line-height: 0.8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.06em;
    color: #1d1d1f;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.japanese-subtitle {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.8em;
    margin-top: -1rem;
    color: #8e8e93;
    opacity: 0;
    animation: fadeIn 2s 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        margin-top: 1rem;
    }
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    font-family: var(--sans-font);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.meta-item .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #86868b;
    margin-bottom: 0.5rem;
}

.meta-item .value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1d1d1f;
}

/* Journal Feed - Minimal List Style */
.feed {
    padding: 10rem 2rem;
    background: #fff;
    min-height: 100vh;
}

.feed-header {
    margin-bottom: 6rem;
    text-align: center;
}

.feed-header h2 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--sans-font);
    color: #86868b;
}

.article-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-card {
    cursor: pointer;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s var(--easing);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* group: item; Removed invalid property */
}

.article-card:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    border-color: #1d1d1f;
}

.article-info {
    flex: 1;
}

.article-title {
    font-size: 2.5rem;
    font-family: var(--serif-font);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
    transition: color 0.3s;
}

.article-date {
    font-family: var(--sans-font);
    font-size: 0.9rem;
    color: #86868b;
    margin-left: 2rem;
    white-space: nowrap;
}

.article-desc {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    color: #86868b;
    max-width: 500px;
}

/* Removed images from list view as requested */
.article-cover {
    display: none;
}

/* Overlay / Article Detail */
.article-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.6s var(--easing);
    overflow-y: auto;
}

.article-overlay.active {
    transform: translateY(0);
}

.close-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 201;
    mix-blend-mode: difference;
    color: #fff;
}

.article-content-wrapper {
    max-width: 800px;
    margin: 6rem auto;
    padding: 0 2rem 4rem;
}

.detail-title {
    font-size: 4rem;
    font-family: var(--serif-font);
    margin-bottom: 2rem;
    text-align: center;
}

.detail-date {
    text-align: center;
    display: block;
    margin-bottom: 5rem;
    opacity: 0.5;
    font-family: var(--sans-font);
    letter-spacing: 0.1em;
}

.content-block {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text {
    font-size: 1.2rem;
    line-height: 2;
    font-family: var(--serif-font);
    color: #444;
    margin-bottom: 4rem;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.image-caption {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.6;
    font-style: italic;
}

/* Animations included in global styles or specific keyframes */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--easing);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.reveal-text {
    display: inline-block;
    animation: slideInUp 1s var(--easing) forwards;
    transform: translateY(100%);
}

.reveal-item {
    opacity: 0;
    animation: fadeInUp 0.8s var(--easing) forwards;
}

.reveal-item:nth-child(1) {
    animation-delay: 0.2s;
}

.reveal-item:nth-child(2) {
    animation-delay: 0.3s;
}

.reveal-item:nth-child(3) {
    animation-delay: 0.4s;
}

/* Ensure the hero title doesn't overflow during animation */
.hero-title {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 18vw;
    }

    .nav-container {
        padding: 1.5rem;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    /* Disable custom cursor on touch */
    .article-list {
        grid-template-columns: 1fr;
    }
}