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

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400;500&display=swap');

:root {
    --primary-color: #000;
    --secondary-color: #666;
    --background-color: #fff;
    --light-gray: #f5f5f5;
    --border-color: #e5e5e5;
    --font-primary: 'M PLUS 1p', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    letter-spacing: 0.05em;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.main-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

main {
    margin-top: 90px;
    padding-top: 0;
}

.hero {
    position: relative;
    height: calc(100vh - 90px);
    overflow: hidden;
    margin-top: 0;
    background-color: #f5f5f5;
}

.hero-image {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 13px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-content {
    position: absolute;
    bottom: var(--spacing-xl);
    left: var(--spacing-xl);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.works-preview,
.news-section {
    padding: var(--spacing-xl) 0;
}

.works-grid { 
display: grid; 
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }

.work-item {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.work-link {
    display: block;
    cursor: pointer;
}

.work-image {
    position: relative;
    width: 100%;
aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: var(--spacing-sm) 0;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
}

.work-year {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.works-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.category-title {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-align: center;
    margin: var(--spacing-xl) 0;
    padding-top: 75px;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
}

.lightbox-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close {
    top: 20px;
    right: 40px;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.site-footer {
    background-color: #fafafa;
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-xl);
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-artist-name {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-sm);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}
.illustration-page .work-image,
.zine-page .work-image {
    aspect-ratio: auto;
}

.illustration-page .work-image img,
.zine-page .work-image img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero { margin-top: -90px; height: 100vh; }
    .hero-image { padding-top: 90px; }
    .hero-title { font-size: 2rem; }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .works-full-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: var(--spacing-md); text-align: center; }
    .footer-info { align-items: center; }
    .social-links { justify-content: center; }
    .lightbox-close, .lightbox-prev, .lightbox-next { font-size: 2rem; }
    .lightbox-close { top: 10px; right: 20px; }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
}

.instagram-embed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    max-width: 450px;
    margin: 0 auto;
}

.instagram-embed-container blockquote.instagram-media {
    max-width: 450px !important;
    min-width: unset !important;
}

.instagram-embed-container iframe {
    max-width: 100% !important;
    margin: 0 auto !important;
}

.about-content {
    display: flex; 
    flex-wrap: wrap; 
    align-items: flex-start; 
    gap: 40px;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-info {
    flex: 1; 
    min-width: 300px;
}


.profile-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* 
}