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

:root {
    --bg: #050505;
    --bg2: #0a0a0a;
    --text: #e8e8e8;
    --text-muted: #666;
    --accent: #fff;
    --border: #1a1a1a;
    --radius: 12px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

::selection {
    background: #fff;
    color: #000;
}

/* NOISE OVERLAY */
.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* NAV */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    mix-blend-mode: difference;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    opacity: 0.5;
    letter-spacing: 0.1em;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2em;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-content { position: relative; }

.hero-kanji {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(6rem, 20vw, 16rem);
    font-weight: 700;
    line-height: 1;
    opacity: 0.03;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    line-height: 1;
    margin-bottom: 32px;
    position: relative;
}

.hero-line {
    width: 48px;
    height: 1px;
    background: var(--text-muted);
    margin: 0 auto 24px;
}

.hero-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* MARQUEE */
.marquee-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    overflow: hidden;
}

.marquee { overflow: hidden; white-space: nowrap; }

.marquee-inner {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.marquee-inner span { padding: 0 16px; }
.marquee-inner .sep { opacity: 0.3; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SECTIONS COMMON */
.section-header {
    margin-bottom: 64px;
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.section-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* WORK */
.work-section {
    padding: 120px 48px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.work-card { position: relative; overflow: hidden; }

.work-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.4);
    transition: all 0.6s ease;
}

.work-card-img:hover img {
    filter: grayscale(0) brightness(0.7);
    transform: scale(1.03);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    pointer-events: none;
}

.work-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.work-card-overlay h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ABOUT */
.about-section {
    padding: 120px 48px;
    border-top: 1px solid var(--border);
}

.about-lead {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    max-width: 640px;
    margin-bottom: 64px;
    letter-spacing: 0.01em;
}

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

.about-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CONTACT */
.contact-section {
    padding: 160px 48px;
    border-top: 1px solid var(--border);
}

.contact-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 16px 0 40px;
}

.contact-email {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    transition: all 0.3s;
}

.contact-email:hover {
    color: var(--text);
    border-color: var(--text);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px 48px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    opacity: 0.5;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar { padding: 16px 24px; }
    .nav-links { display: none; }
    .hero-title { letter-spacing: 0.15em; }
    .work-section, .about-section, .contact-section { padding: 80px 24px; }
    .work-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer { padding: 24px; }
    .footer-inner { flex-direction: column; gap: 8px; }
    .section-header { flex-direction: column; gap: 8px; }
}
