/* ============================================
   SOZEN OTSUBO — Near-Future Minimal Design System
   Monotone / ZEN / Artist-Driven
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&family=Space+Mono:wght@400;700&display=swap');

:root {
    /* Monotone Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f0;
    --text-secondary: rgba(240, 240, 240, 0.85);
    --text-tertiary: rgba(240, 240, 240, 0.65);

    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --accent-subtle: rgba(255, 255, 255, 0.08);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing */
    --section-pad: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;
    --nav-width: 240px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-primary);
    font-size: 16px;
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: var(--nav-width);
}

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

/* ---- Particle Canvas ---- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    animation: canvasFadeIn 1.2s ease-out forwards;
}

@keyframes canvasFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Scan Line Overlay ---- */
.scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

/* ============================================
   Navigation
   ============================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--nav-width);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4rem;
    padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    transition: background 0.4s var(--ease-out);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-sz {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-hover);
    letter-spacing: -0.02em;
}

.nav-brand {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(2px, 3px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(2px, -3px);
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 2rem;
}

.mobile-menu a {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Element Card — Periodic Table Style */
.element-card {
    width: 220px;
    height: 260px;
    border: 1px solid var(--border-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.6s var(--ease-out);
}

.element-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.element-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
}

.element-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    position: absolute;
    top: 12px;
    left: 14px;
    letter-spacing: 0.05em;
}

.element-symbol {
    font-family: var(--font-sans);
    font-size: 5rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.element-name {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.element-class {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* Hero Text */
.hero-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    line-height: 2;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.hero-tagline-en {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 300;
    color: var(--text-tertiary);
    margin-top: 1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Hero Scroll Indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-tertiary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--text-tertiary);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    width: 100%;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.section-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
    border-top: 1px solid var(--border);
}

/* Philosophy Hero — Integrated Element Card + Tagline */
.philosophy-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.philosophy-hero .element-card {
    flex-shrink: 0;
}

.philosophy-hero .hero-text {
    flex: 1;
}

.philosophy-hero .hero-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    line-height: 2;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.philosophy-hero .hero-tagline-en {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 300;
    color: var(--text-tertiary);
    margin-top: 1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.philosophy-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.philosophy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.philosophy-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.philosophy-card:hover::after {
    opacity: 1;
}

.card-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.philosophy-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.philosophy-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Ecosystem Section
   ============================================ */
.ecosystem {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01), transparent);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.eco-card {
    padding: 2.5rem 2rem;
    background: var(--bg-primary);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.eco-card:hover {
    background: var(--bg-tertiary);
}

.eco-card.eco-main {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}

.eco-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    display: inline-block;
    width: fit-content;
}

.eco-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.eco-card.eco-main h3 {
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: 0.1em;
}

.eco-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

/* ============================================
   Works Section
   ============================================ */
.works {
    border-top: 1px solid var(--border);
}

.works-list {
    display: flex;
    flex-direction: column;
}

.work-item {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    cursor: default;
}

.work-item:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, var(--bg-card-hover), transparent);
}

.work-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.work-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.work-category {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.work-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

/* ============================================
   Highlight Section
   ============================================ */
.highlight {
    border-top: 1px solid var(--border);
}

.hi-list {
    display: flex;
    flex-direction: column;
}

.hi-item {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.hi-item:first-child {
    border-top: 1px solid var(--border);
}

.hi-item:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, var(--bg-card-hover), transparent);
}

.hi-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.hi-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.hi-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.hi-desc {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hi-meta {
    display: flex;
    flex-shrink: 0;
}

.hi-type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border);
}

/* Highlight Responsive */
@media (max-width: 768px) {
    .hi-item {
        grid-template-columns: 3.5rem 1fr;
        gap: 1rem;
    }

    .hi-meta {
        grid-column: 2;
    }

    .hi-desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .hi-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .hi-year {
        font-size: 0.6rem;
    }

    .hi-meta {
        grid-column: 1;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    border-top: 1px solid var(--border);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact .section-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.7;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.4s var(--ease-out);
}

.contact-link:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    gap: 1.5rem;
}

.contact-link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s var(--ease-out);
}

.contact-link:hover .contact-link-arrow {
    transform: translateX(4px);
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.contact-socials a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.contact-socials a:hover {
    color: var(--text-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
}

.footer-sz {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.7rem;
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

/* ============================================


/* Profile Navigation (Tab Switcher) */
.profile-nav {
    display: flex;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    width: fit-content;
}

.profile-nav-btn {
    background: var(--bg-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.profile-nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.profile-nav-btn.active {
    color: var(--bg-primary);
    background: var(--text-primary);
}

/* Profile Pages */
.profile-page {
    display: none;
}

.profile-page.active {
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: auto 1fr 0.7fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

/* About Profile Photo */
.about-photo {
    width: 240px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.about-photo-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.2);
    transition: all 0.6s var(--ease-out);
}

.about-photo:hover .about-photo-img {
    filter: grayscale(0);
}

.about-text p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.2rem;
}

.about-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
}

.meta-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.meta-value {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-primary);
}

/* ============================================
   Discography Section
   ============================================ */
.discography {
    border-top: 1px solid var(--border);
}

.disco-grid {
    display: flex;
    flex-direction: column;
}

.disco-item {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    align-items: baseline;
}

.disco-item:hover {
    padding-left: 0.75rem;
    background: linear-gradient(90deg, var(--bg-card-hover), transparent);
}

.disco-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.disco-info {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.disco-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
}

.disco-type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.disco-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.disco-platform {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.disco-platform:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.page-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.page-btn.active {
    border-color: var(--text-primary);
    color: var(--bg-primary);
    background: var(--text-primary);
}

.hidden-item {
    display: none !important;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.008), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    background: var(--bg-primary);
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    background: var(--bg-tertiary);
}

.service-icon {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-cta {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.services-note {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
}

.cta-button:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.cta-arrow {
    transition: transform 0.3s var(--ease-out);
}

.cta-button:hover .cta-arrow {
    transform: translateX(3px);
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-photo {
        width: 100%;
        max-width: 400px;
    }

    .about-photo-img {
        aspect-ratio: 16 / 9;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .philosophy-hero {
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
    }

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

    .eco-card.eco-main {
        grid-column: 1 / -1;
    }

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

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {
    body {
        padding-left: 0;
    }

    .top-nav {
        bottom: auto;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem clamp(1.5rem, 4vw, 3rem);
        border-right: none;
        border-bottom: 1px solid var(--border);
        gap: 0;
    }

    .nav-sz {
        font-size: 0.9rem;
        width: 1.8rem;
        height: 1.8rem;
    }

    .nav-brand {
        font-size: 0.75rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .element-card {
        width: 180px;
        height: 220px;
    }

    .element-symbol {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-photo {
        width: 100%;
        max-width: 100%;
    }

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

    .philosophy-hero {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

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

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

    .disco-item {
        grid-template-columns: 3.5rem 1fr;
        gap: 1rem;
    }

    .disco-info {
        flex-direction: column;
        gap: 0.2rem;
    }

    .work-item {
        grid-template-columns: 2.5rem 1fr auto;
        gap: 1rem;
    }

    .work-title {
        font-size: 1rem;
    }

    .contact .section-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .contact-socials {
        align-items: flex-start;
    }

    .contact-link {
        font-size: 0.75rem;
        padding: 1rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .roadmap-phase {
        gap: 1.5rem;
    }

    .services-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .element-card {
        width: 160px;
        height: 200px;
    }

    .element-symbol {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .work-item {
        grid-template-columns: 1fr auto;
    }

    .work-index {
        display: none;
    }
}

/* ============================================
   Blog — Listing Page
   ============================================ */
.blog-page {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.blog-header {
    padding: var(--section-pad) 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.blog-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    background: var(--bg-tertiary);
}

.blog-card-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.blog-card-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.blog-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-card-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
    display: inline-block;
    width: fit-content;
}

/* ============================================
   Blog — Article Page
   ============================================ */
.article-page {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.article-header {
    padding: var(--section-pad) 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.article-category {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
}

.article-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

.article-body {
    max-width: 760px;
    padding-bottom: var(--section-pad);
}

.article-body h2 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.article-body h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.15rem 0.4rem;
}

.article-body pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body pre code {
    background: none;
    border: none;
    padding: 0;
}

.article-body blockquote {
    border-left: 2px solid var(--border-hover);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body strong {
    font-weight: 500;
    color: var(--text-primary);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    transition: color 0.3s var(--ease-out);
    margin-bottom: 2rem;
}

.article-back:hover {
    color: var(--text-primary);
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 3rem;
}

.article-nav-link {
    padding: 2rem;
    background: var(--bg-primary);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-nav-link:hover {
    background: var(--bg-tertiary);
}

.article-nav-link.next {
    text-align: right;
    align-items: flex-end;
}

.article-nav-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.article-nav-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
}

/* ============================================
   Price Page
   ============================================ */
.price-page {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.price-header {
    padding: var(--section-pad) 0 2rem;
}

.price-section {
    margin-bottom: 3rem;
}

.price-section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.price-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-card:hover {
    background: var(--bg-tertiary);
}

.price-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-card-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.price-card-amount {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.price-tax {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    margin-left: 0.3rem;
}

.price-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.price-card-scope {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.price-card-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.price-card-note {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Price Responsive */
@media (max-width: 768px) {
    .price-page {
        padding-top: 3.5rem;
    }

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

/* ============================================
   Blog Responsive
   ============================================ */
@media (max-width: 768px) {
    .blog-page,
    .article-page {
        padding-top: 3.5rem;
    }

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

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-link.next {
        text-align: left;
        align-items: flex-start;
    }
}

/* ============================================
   Other Works Page
   ============================================ */
.other-works-page {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.other-works-page .price-header {
    padding: var(--section-pad) 0 2rem;
}

/* Filter Buttons */
.ow-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    width: fit-content;
}

.ow-filter-btn {
    background: var(--bg-primary);
    border: none;
    padding: 0.7rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.ow-filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.ow-filter-btn.active {
    color: var(--bg-primary);
    background: var(--text-primary);
}

/* Works List */
.ow-list {
    display: flex;
    flex-direction: column;
}

.ow-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    cursor: default;
}

.ow-item:first-child {
    border-top: 1px solid var(--border);
}

.ow-item:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, var(--bg-card-hover), transparent);
}

.ow-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
}

.ow-role {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Count */
.ow-count {
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border);
}

.ow-count-num {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .other-works-page {
        padding-top: 3.5rem;
    }

    .ow-filters {
        width: 100%;
    }

    .ow-filter-btn {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 0.6rem 0.5rem;
        font-size: 0.55rem;
    }

    .ow-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 1rem 0;
    }

    .ow-role {
        white-space: normal;
    }
}

/* ============================================
   Events Page
   ============================================ */
.events-page {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.events-page .price-header {
    padding: var(--section-pad) 0 2rem;
}

/* Section Labels */
.ev-section {
    margin-bottom: 4rem;
}

.ev-section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ev-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: evPulse 2s ease-in-out infinite;
}

@keyframes evPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 12px 4px rgba(74, 222, 128, 0.2);
    }
}

.ev-past-label {
    color: var(--text-tertiary);
}

/* Event Items */
.ev-item {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    cursor: default;
}

.ev-item:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, var(--bg-card-hover), transparent);
}

.ev-item.ev-upcoming {
    border-color: rgba(74, 222, 128, 0.15);
}

.ev-item.ev-upcoming:hover {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.04), transparent);
}

/* Date */
.ev-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.ev-day {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1;
    color: var(--text-primary);
}

.ev-upcoming .ev-day {
    color: #4ade80;
}

.ev-month {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* Info */
.ev-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.ev-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.ev-venue {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}

/* Meta */
.ev-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.ev-type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border);
}

.ev-upcoming .ev-type {
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.ev-time {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 768px) {
    .events-page {
        padding-top: 3.5rem;
    }

    .ev-item {
        grid-template-columns: 4rem 1fr;
        gap: 1rem;
    }

    .ev-meta {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .ev-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ev-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .ev-date {
        flex-direction: row;
        gap: 0.5rem;
        align-items: baseline;
    }

    .ev-meta {
        grid-column: 1;
        flex-direction: row;
        gap: 0.75rem;
    }
}