body.site-redesign {
    --bg: #f5f2f8;
    --surface: #fffdfd;
    --surface-alt: #f0ebf5;
    --surface-strong: #1e1a24;
    --text: #1f1a26;
    --text-soft: #635a72;
    --line: rgba(31, 26, 38, 0.18);
    --brand: #6d4b9a;
    --brand-2: #a97a55;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background:
        radial-gradient(1200px 560px at 10% 5%, rgba(109, 75, 154, 0.17), transparent 54%),
        radial-gradient(920px 420px at 90% 22%, rgba(169, 122, 85, 0.14), transparent 60%),
        linear-gradient(180deg, #faf7fd 0%, #f1ebf6 100%);
}

body.site-redesign h1,
body.site-redesign h2,
body.site-redesign h3 {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.01em;
}

.site-redesign *,
.site-redesign *::before,
.site-redesign *::after {
    box-sizing: border-box;
    text-shadow: none !important;
}

.site-redesign #bg-canvas,
.site-redesign #scanline-overlay,
.site-redesign #loading-screen,
.site-redesign #cursor-dot,
.site-redesign #cursor-outline,
.site-redesign #ai-particles,
.site-redesign #bg-video,
.site-redesign .particles-container,
.site-redesign .audio-wave {
    display: none !important;
}

.site-container {
    width: min(1040px, calc(100% - 2rem));
    margin: 0 auto;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background: rgba(248, 245, 238, 0.9);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.site-header.scrolled {
    border-bottom-color: var(--line);
}

.header-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--brand);
    text-decoration: none;
    background: none;
    -webkit-text-fill-color: currentColor;
    letter-spacing: 0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-link,
.mobile-nav-link {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    position: relative;
}

.nav-link::after {
    display: none !important;
}

.nav-link.active,
.nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--brand);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.36rem;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: var(--brand);
}

.hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.mobile-nav {
    position: fixed;
    top: 62px;
    right: 0;
    width: min(78vw, 300px);
    height: calc(100dvh - 62px);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transform: translateX(102%);
    transition: transform 0.2s ease;
    background: rgba(250, 247, 253, 0.98);
    border-left: 1px solid var(--line);
    z-index: 85;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

#main-content,
.page-main {
    padding-top: 78px !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
}

.home-main {
    padding-top: 0 !important;
}

.label {
    margin: 0;
    color: #7b5f9f;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.display-title {
    margin: 0.62rem 0 0.9rem;
    color: #1e1a24;
    font-size: clamp(1.26rem, 3.1vw, 2.25rem);
    line-height: 1.24;
}

.display-title-sm {
    font-size: clamp(1.18rem, 2.45vw, 1.78rem);
}

.lead {
    margin: 0;
    max-width: 760px;
    color: #554b63;
    font-size: clamp(0.84rem, 0.9vw, 0.95rem);
    line-height: 1.78;
}

.role-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.8rem 0 0;
    padding: 0;
}

.role-list li {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 239, 250, 0.86));
    border-radius: 999px;
    padding: 0.34rem 0.6rem;
    font-size: 0.7rem;
    color: #4f4260;
}

.editorial-hero {
    padding: 1.6rem 0 1rem;
}

.editorial-hero-home {
    min-height: 100dvh;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-window-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-window-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(28, 22, 40, 0.62), rgba(28, 22, 40, 0.28));
}

.home-window-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    display: block;
}

.editorial-hero-home .site-container {
    position: relative;
    z-index: 1;
}

.editorial-hero-home .label,
.editorial-hero-home .display-title,
.editorial-hero-home .lead {
    color: #fffdfc;
}

.editorial-hero-home .role-list li {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(31, 22, 44, 0.46);
    color: #fffdfc;
}

.editorial-hero-home .btn-ghost {
    color: #fffdfc;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(24, 18, 35, 0.36);
}

.editorial-hero-home .btn-primary {
    background: linear-gradient(90deg, #8d63c7, #b17f57);
}

.hero-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: center;
}

.hero-main-home {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(760px, 100%);
    gap: 0;
}

.hero-visual {
    margin: 0;
    padding: 0.7rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
    border-radius: 14px;
    position: relative;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(109, 75, 154, 0.36);
    border-radius: 10px;
    pointer-events: none;
}

.hero-image-wrap {
    margin: 0;
}

.hero-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    border: 1px solid var(--line);
    object-fit: cover;
    display: block;
    margin: 0;
}

.hero-visual-home {
    display: grid;
    gap: 0.5rem;
}

.hero-image-home {
    aspect-ratio: auto;
    height: clamp(180px, 38vh, 430px);
    object-fit: contain;
    background: linear-gradient(180deg, rgba(244, 237, 250, 0.9), rgba(255, 252, 255, 0.9));
    padding: 0.3rem;
}

.hero-visual figcaption {
    margin-top: 0.55rem;
    text-align: center;
    color: #5c4d73;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-actions {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.86rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.76rem;
    text-decoration: none;
    border: 1px solid var(--line);
}

.btn-primary {
    color: #fffdf9;
    background: linear-gradient(90deg, #5f3f8f, #8d5e9c);
    border: 0;
}

.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.62);
}

.content-section {
    padding: 1.7rem 0 3rem;
}

.content-block {
    margin-top: 1.45rem;
}

.section-head {
    margin: 0 0 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
    color: #281f33;
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.four-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.domain-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.78rem;
    background: linear-gradient(180deg, rgba(255, 253, 255, 0.96), rgba(241, 234, 248, 0.96));
    position: relative;
}

.domain-num {
    margin: 0;
    color: #7d58ae;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.domain-item h3 {
    margin: 0.42rem 0 0.5rem;
    color: #281f33;
    font-size: 0.9rem;
}

.domain-item p {
    margin: 0;
    color: #5a4f6a;
    line-height: 1.7;
    font-size: 0.82rem;
}

.domain-item::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(109, 75, 154, 0.34);
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    place-items: center;
    color: #6d4b9a;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.78rem;
    content: "\f001";
}

.three-col .domain-item:nth-child(1)::before,
.four-col .domain-item:nth-child(1)::before {
    content: "\f5dc";
}

.three-col .domain-item:nth-child(2)::before,
.four-col .domain-item:nth-child(2)::before {
    content: "\f001";
}

.three-col .domain-item:nth-child(3)::before,
.four-col .domain-item:nth-child(3)::before {
    content: "\f19d";
}

.four-col .domain-item:nth-child(4)::before {
    content: "\f0e8";
}

.timeline {
    display: grid;
    gap: 0.62rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 0.7rem;
    align-items: start;
    border-bottom: 1px solid rgba(28, 26, 23, 0.14);
    padding: 0.58rem 0.2rem;
}

.timeline-year {
    margin: 0;
    color: #7d58ae;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.timeline-item p:last-child {
    margin: 0;
    color: #584d68;
    line-height: 1.72;
    font-size: 0.82rem;
}

.alias-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.alias-item {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.64);
    overflow: hidden;
}

.alias-item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.alias-item p {
    margin: 0;
    padding: 0.54rem 0.58rem;
    color: #453954;
    font-size: 0.72rem;
}

.alias-strip {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.alias-strip img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
    display: block;
}

.embed-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 254, 255, 0.94), rgba(240, 232, 248, 0.94));
    padding: 0.8rem;
}

.spotify-iframe {
    margin-top: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf9;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.08rem 0 1.35rem;
}

.site-footer p {
    margin: 0;
    color: #6d627f;
    font-size: 0.76rem;
}

.editorial-hero .site-container,
.content-section .site-container {
    position: relative;
}

.editorial-hero .site-container::before {
    content: 'RYUYA OFFICIAL';
    position: absolute;
    top: -0.2rem;
    right: 0;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: rgba(109, 75, 154, 0.6);
}

.content-section .site-container::after {
    content: 'SOUND × AI × INFRA';
    position: absolute;
    right: 0;
    bottom: -1.1rem;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(100, 81, 126, 0.5);
}

.editorial-hero-home .site-container::before,
.editorial-hero-home .site-container::after {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #5f3f8f, #8b5f95);
    color: #fffdf9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 80;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 821px) {
    .site-header {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: min(1040px, calc(100% - 2rem));
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    #scroll-progress {
        top: 10px;
    }
}

@media (max-width: 960px) {
    .hero-main {
        grid-template-columns: 1fr;
    }

    .hero-main-home {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(280px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-home {
        width: 100%;
        height: auto;
        max-height: min(42vh, 320px);
        aspect-ratio: 16/9;
    }

    .home-window-image img {
        object-position: center 18%;
    }

    .three-col,
    .four-col {
        grid-template-columns: 1fr;
    }

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

    .alias-strip {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-container {
        width: min(1040px, calc(100% - 1.2rem));
    }

    #main-content,
    .page-main {
        padding-top: 76px !important;
    }

    .display-title {
        font-size: clamp(1.16rem, 6.6vw, 1.68rem);
    }

    .lead {
        font-size: 0.82rem;
    }

    .role-list li {
        font-size: 0.66rem;
    }
}