/*
Theme Name: Ikaruga Makibi
Theme URI: https://example.com
Author: Antigravity
Author URI: https://example.com
Description: A minimalist, dark-themed WordPress theme for Ikaruga Makibi.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, minimalist, one-page, vertical-text
Text Domain: ikaruga-makibi
*/

:root {
    --bg-color: #050505;
    --text-color: #f4f4f4;
    --accent-color: #333;
    --font-mincho: 'Shippori Mincho', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mincho);
    overflow-x: hidden;
    /* Remove fixed height to allow scrolling naturally */
    min-height: 100vh;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    padding: 3rem 4rem;
    z-index: 100;
    opacity: 0;
    /* Start hidden */
    animation: fadeInHeader 1.5s ease 2.5s forwards;
    /* Appear after title */
}

@keyframes fadeInHeader {
    to {
        opacity: 1;
    }
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.site-nav a:hover {
    opacity: 1;
}

/* Main Content (Hero Section) */
.main-content {
    height: 100vh;
    /* Occupy full first screen */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.vertical-title-container {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.vertical-title {
    font-family: 'Yuji Syuku', serif;
    font-size: 8.5rem;
    /* Significantly larger */
    font-weight: 500;
    letter-spacing: 0.5rem;
    /* Tighter for a logo-like look */
    line-height: 1.1;
    display: flex;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    /* Subtle glow for 'design' feel */
}

/* Animation */
.char {
    opacity: 0;
    /* Apply to all characters simultaneously for a unified effect */
    animation: floatUpSurface 3s ease-out forwards;
    animation-delay: 0.5s;
    /* Initial pause before starting */
}

/* Remove staggered delays to show as one entity */
.char:nth-child(1),
.char:nth-child(2),
.char:nth-child(3),
.char:nth-child(4) {
    animation-delay: 0.5s;
}

@keyframes floatUpSurface {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(0.9) translateY(30px);
        /* Deep, blurred, slightly smaller/lower */
    }

    40% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1) translateY(0);
        /* Clear, natural size */
    }
}

/* Subtle Noise Texture */
.background-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    /* Slightly more visible */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 2rem;
        /* Simplify nav for mobile if needed, but keeping it visible is fine */
        width: 100%;
        display: flex;
        justify-content: center;
        background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent);
    }

    .site-nav ul {
        gap: 1.5rem;
    }

    .vertical-title {
        font-size: 3.5rem;
        letter-spacing: 1rem;
    }
}

/* Content Sections */
.content-section {
    padding: 6rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    border-left: 1px solid var(--text-color);
    padding-left: 1rem;
}

/* News */
.news-list {
    list-style: none;
}

.news-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 2rem;
    align-items: baseline;
}

.news-list .date {
    font-family: var(--font-sans);
    opacity: 0.6;
    font-size: 0.9rem;
}

.news-list .news-title {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-list .news-title:hover {
    opacity: 0.7;
}

/* Column */
.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.column-item a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.column-img-placeholder {
    width: 100%;
    height: 200px;
    background-color: #1a1a1a;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}

.column-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s;
}

.column-item:hover .column-img-placeholder,
.column-item:hover img {
    opacity: 0.7;
}

.column-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.column-excerpt {
    opacity: 0.6;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact */
.contact-text {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-sans);
    transition: all 0.3s;
}

.contact-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Footer */
.site-footer {
    padding: 3rem;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: auto;
}

/* Responsive for Content */
@media (max-width: 768px) {
    .content-section {
        padding: 4rem 1.5rem;
    }

    .news-list li {
        flex-direction: column;
        gap: 0.5rem;
    }
}