/* Reset & Base */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none; /* Secondary anti-copy */
}

/* Standard Section Spacing */
section:not(#fv) {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Stylist Section Header - Redesign (Tightened) */
.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem; 
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 3rem; 
    }
}

.section-title-en-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Noto Serif JP", serif;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0.05;
    user-select: none;
    pointer-events: none;
    letter-spacing: 0.2em;
    white-space: nowrap;
    z-index: 0;
    font-size: 3rem;
}
@media (min-width: 1024px) {
    .section-title-en-bg {
        font-size: 6rem;
    }
}

.section-title-jp {
    position: relative;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    letter-spacing: 0.4em;
    z-index: 10;
    color: #1a1a1a;
    display: inline-block;
    font-size: 1.25rem;
}
@media (min-width: 1024px) {
    .section-title-jp {
        font-size: 1.875rem;
    }
}

.section-title-jp::before, .section-title-jp::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 1px;
    background-color: #8b1d1d; /* accent */
    opacity: 0.8; /* Increased prominence */
}
@media (min-width: 1024px) {
    .section-title-jp::before, .section-title-jp::after {
        width: 3rem;
    }
}

.section-title-jp::before { left: -3.5rem; }
.section-title-jp::after { right: -3.5rem; }
@media (min-width: 1024px) {
    .section-title-jp::before { left: -5.5rem; }
    .section-title-jp::after { right: -5.5rem; }
}

.section-title-sub-en {
    position: relative;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: #8b1d1d; /* Harmonized with red */
    margin-top: 0.8rem;
    z-index: 10;
    font-size: 8px;
}
@media (min-width: 1024px) {
    .section-title-sub-en {
        font-size: 10px;
    }
}

/* Buttons */
.btn-cta {
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    min-width: 240px;
}

.dark-button-outline {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}
.dark-button-outline:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* UI Elements */
.sns-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #6b7280;
    transition: all 0.3s;
    width: 100%;
}
@media (min-width: 640px) {
    .sns-button { width: auto; }
}
.sns-button:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #8b1d1d;
    display: block;
    opacity: 0.6;
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: translateY(-10%);
}
@media (max-width: 1024px) {
    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
        transform: none;
    }
}

/* Navigation */
.nav-link-sp {
    transition: color 0.3s;
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
}
.nav-link-sp:hover {
    color: #8b1d1d;
}

/* Header States */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}


header.scrolled .logo,
header.scrolled nav ul li a {
    color: #1a1a1a !important;
}

header.scrolled #nav-toggle span {
    background-color: #1a1a1a !important;
}

header.scrolled .logo {
    /* Keeping size consistent to avoid 'shrinking' feeling */
}


/* Anti-copy cursor */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: auto;
    -webkit-user-drag: none;
}

/* --- Glassmorphism Utility (Dark Glass) --- */
.glass-effect {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Infinite Marquee Gallery --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 60s linear infinite !important;
}

/* Disable pause on hover/focus/active */
.marquee-container:hover .marquee-content,
.marquee-container:active .marquee-content,
.marquee-container:focus .marquee-content,
.marquee-content:hover,
.marquee-content:active {
    animation-play-state: running !important;
}

.marquee-item {
    flex-shrink: 0;
    width: 450px;
    height: 300px;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

@media (max-width: 768px) {
    .marquee-item {
        width: 280px;
        height: 200px;
        margin-right: 15px;
    }
    .marquee-content {
        animation-duration: 30s !important;
    }
}
@media (min-width: 1024px) {
    .lg\:text-xs {
        font-size: 16px !important;
        line-height: 1.5rem !important;
    }
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1), transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SP Padding Overrides --- */
@media (max-width: 767px) {
    .p-10, .p-8, .p-6 {
        padding: 40px 10px !important;
    }
    .p-5 {
        padding: 10px !important;
    }
}

/* --- About Section Typography Override --- */
@media (min-width: 1024px) {
    #about .lg\:text-5xl {
        font-size: 36px !important;
        line-height: 1.5 !important;
    }
}
