/* --- RESET & BASE --- */
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #666;
    --border: #e5e5e5;
    --accent: #000000;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.date-display {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    display: none;
}

@media(min-width: 768px) {
    .date-display {
        display: block;
    }
}

.menu-trigger {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.menu-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: black;
    transition: transform 0.3s;
}

/* --- OVERLAY MENU --- */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-menu.active {
    transform: translateY(0);
}

.menu-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

@media(min-width: 768px) {
    .menu-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.menu-column a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    transition: color 0.2s;
}

.menu-column a:hover {
    color: var(--text-light);
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
}

/* --- HERO SECTION --- */
.editorial-wrapper {
    padding-top: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
}

.hero-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .hero-story {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    padding-right: 2rem;
}

.issue-no {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--text-light);
}

.quick-menu {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-menu a {
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.quick-menu a:hover {
    color: var(--text-light);
    border-color: var(--text-light);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-item {
    border: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.item-no {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #e5e5e5;
}

.grid-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.grid-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.item-link {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
}

/* --- FOOTER --- */
.minimal-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.minimal-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.minimal-footer p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- SHARED PAGE HEADER --- */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.page-header h1 em {
    font-style: italic;
    color: var(--text-light);
}

.page-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
}