/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #f5f3f0;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    max-width: 720px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: #1a1a1a; }

.nav-insta-icon { display: none; }
.nav-insta { display: flex; align-items: center; }

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 48px 24px 32px;
    max-width: 720px;
    margin: 0 auto;
}

.hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0dcd7;
    margin: 0 auto 16px;
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-bio {
    font-size: 1rem;
    color: #444;
    margin-bottom: 4px;
}

.hero-desc {
    font-size: 0.85rem;
    color: #888;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== BENTO GRID ===== */
.bento {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    gap: 12px;
}

.bento-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.card-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 12px;
}

/* Status card - full width */
.bento-status {
    grid-column: 1 / -1;
    background: #1a1a1a;
    color: #fff;
}

.bento-status .card-label { color: #888; }

.bento-status p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Link cards */
.bento-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
    cursor: pointer;
}

.link-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f3f0;
    border-radius: 10px;
    flex-shrink: 0;
}

.bento-link span:nth-child(2) {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.arrow {
    color: #ccc;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.bento-link:hover .arrow { transform: translateX(3px); }

.bento-highlight {
    background: #fef3c7;
}

/* Video card - vertical format */
.bento-video {
    grid-column: 2;
    grid-row: 2 / 5;
    padding: 16px;
}

.bento-video .card-label {
    margin-bottom: 10px;
}

.video-container {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

/* Click-to-play poster overlay */
.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-poster-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster-overlay .play-btn {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    backdrop-filter: blur(4px);
}

.video-poster-overlay .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.video-poster-overlay:hover .play-btn {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.75);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #666;
    font-size: 0.85rem;
}

.video-placeholder-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #aaa;
    transition: transform 0.2s;
}

.bento-video:hover .video-placeholder-icon {
    transform: scale(1.1);
}

/* Model 3D card - image card */
.bento-model {
    grid-column: 1 / -1;
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.bento-model picture,
.bento-model img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-model picture {
    aspect-ratio: 3 / 1;
}

.model-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-overlay span:first-child {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.model-overlay .arrow {
    color: rgba(255,255,255,0.7);
    transition: transform 0.2s;
}

.bento-model:hover .model-overlay .arrow {
    transform: translateX(3px);
}

/* Instagram card - full width */
.bento-instagram {
    grid-column: 1 / -1;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.insta-item {
    aspect-ratio: 1;
    background: #f0ece7;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Blog card - full width */
.bento-blog {
    grid-column: 1 / -1;
}

.bento-blog-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.bento-blog-item:hover { opacity: 0.6; }

.blog-item-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.blog-item-date {
    font-size: 0.75rem;
    color: #999;
    min-width: 70px;
}

.blog-item-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.bento-blog-more {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.bento-blog-more:hover { color: #1a1a1a; }

/* ===== BLOG LIST PAGE ===== */
.blog-list-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.blog-list-page h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.blog-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-entry {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.blog-entry-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 16 / 9;
    background: #f0ece7;
}

.blog-entry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-entry:hover .blog-entry-media img {
    transform: scale(1.03);
}

.blog-entry-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.blog-entry-play::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

.blog-entry time {
    font-size: 0.75rem;
    color: #999;
}

.blog-entry h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 6px 0 8px;
}

.blog-entry p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    background: #f5f3f0;
    border-radius: 20px;
    color: #888;
}

/* ===== BLOG POST (SINGLE) ===== */
.blog-post {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.post-header {
    margin-bottom: 40px;
}

.post-header time {
    font-size: 0.8rem;
    color: #999;
}

.post-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 8px 0 12px;
    line-height: 1.3;
}

.post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 40px 0 16px;
}

.post-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 32px 0 12px;
}

.post-content p {
    margin-bottom: 16px;
}

.post-content > div:has(> iframe) {
    margin-bottom: 16px;
}

.post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.post-content blockquote {
    border-left: 3px solid #e0dcd7;
    padding-left: 20px;
    margin: 24px 0;
    color: #666;
    font-style: italic;
}

.post-content code {
    background: #f5f3f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content ul, .post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Post navigation */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.post-nav a {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.post-nav a:hover { color: #1a1a1a; }

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 24px;
    font-size: 0.75rem;
    color: #ccc;
    max-width: 720px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .nav-home { display: none; }
    .nav-insta-text { display: none; }
    .nav-insta-icon { display: block; }

    .bento {
        grid-template-columns: 1fr;
    }

    .hero h1 { font-size: 1.3rem; }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-video {
        grid-column: auto;
        grid-row: auto;
    }

    .video-container {
        max-height: 70vh;
    }

    .bento-model picture {
        aspect-ratio: 1 / 1;
    }
}
