* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

:root {
    --bg-primary: #ffffffff; 
    --bg-secondary: #000000; 
    --text-main: #111111; 
    --text-sub: #666666; 
    --accent-pink: #F6387A;
    --accent-black: #000000;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* 3D Katana Canvas Layer */
#katana-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000; /* Highest priority to be on top of everything */
    pointer-events: none; /* Let clicks pass through to content */
    /* Add dynamic 3D pop effect */
    filter: drop-shadow(0px 25px 35px rgba(0, 0, 0, 0.4));
}

/* Film Grain Overlay */
.flash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: multiply;
}

/* Custom Cursor */
.cursor-dot {
    width: 14px;
    height: 14px;
    background-color: #F6387A;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-radius 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 15px 2px rgba(246, 56, 122, 0.7);
    will-change: width, height, transform, box-shadow;
}

.cursor-dot.white-border {
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 15px 2px rgba(246, 56, 122, 0.7);
}

.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: rgba(246, 56, 122, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    will-change: transform, opacity;
}

.cursor-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s;
    display: none;
}

.cursor-dot.view-active {
    width: 100px;
    height: 100px;
    background-image: none;
    background-color: #F6387A;
    border-radius: 50%;
}

.cursor-dot.view-active .cursor-text {
    opacity: 1;
    display: block;
}

.cursor-dot.active {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(246, 56, 122, 0.5);
    border: 1px solid rgba(246, 56, 122, 0.8);
    box-shadow: 0 0 10px rgba(246, 56, 122, 0.4) inset;
    backdrop-filter: blur(2px);
}

.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: #F6387A;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(246, 56, 122, 0.6);
    opacity: 0.8;
}

.end-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #F6387A;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* 3D Canvas */
#katana-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to standard elements initially */
}

/* Hero Screen Split Layout */
.hero-split-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background: transparent; /* Portfolio shows underneath */
}

.split-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    overflow: hidden;
    z-index: 5; /* Above shokunin reveal */
    /* Will be animated with GSAP */
}

/* Identical to split-panel but transparent and strictly for text over the canvas */
.split-panel-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    overflow: hidden;
    z-index: 10005; /* Must be higher than #katana-canvas */
    pointer-events: none;
}

/* Background Layer */
.bg-image {
    position: absolute;
    top: -5%; left: -5%; /* Overflow so parallax doesn't show edges */
    width: 110%; height: 110%;
    background-image: url('cherry-blossom.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
    will-change: transform;
}

.bg-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient to fade the image into the apple gray/white at the bottom and right */
    background: radial-gradient(circle at top left, rgba(255,255,255,0) 0%, rgba(245,245,247,0.8) 100%);
    z-index: 0;
}

/* Diagonal Cut line coordinates (approx roughly top-left to bottom-right) */
.panel-above {
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 25%);
    border-bottom: 1px solid rgba(255,255,255,0); /* placeholder for edge */
}

.panel-below {
    clip-path: polygon(0 25%, 100% 75%, 100% 100%, 0 100%);
    border-top: 1px solid rgba(255,255,255,0);
}

.hero-content-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: auto; /* allowed to be clicked */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
.main-heading {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-shadow: none;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(30px);
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
}

.red-dot-icon {
    width: 8px;
    height: 8px;
    background-color: #E01A4F;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(224, 26, 79, 0.6);
    margin-top: 1rem;
    border: 1px solid rgba(224, 26, 79, 0.3);
    /* Animation initial state */
    opacity: 0;
    transform: scale(0);
}

/* Light Rays and Environment */
.light-ray {
    position: absolute;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    /* Animation initial state */
    opacity: 0 !important;
}

.mobile-text {
    display: none;
}

.light-ray-1 {
    top: -50vh;
    left: 10vw;
    width: 25vw;
    height: 150vh;
    transform: rotate(-35deg);
    transform-origin: top left;
    opacity: 0.7;
}

.light-ray-2 {
    top: -50vh;
    left: 25vw;
    width: 15vw;
    height: 150vh;
    transform: rotate(-35deg);
    transform-origin: top left;
    opacity: 0.4;
}

/* Environment removed for background image */

/* Call To Action */
.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Primary Button Apple/Awwwards Outline */
.btn-primary {
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    backdrop-filter: blur(4px);
}

.btn-primary:hover {
    background: var(--text-main);
    color: var(--bg-primary);
    border-color: var(--text-main);
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-sub);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: pulse 2s infinite ease-in-out;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* The Glowing Cut Line */
.slash-line {
    position: absolute;
    /* matches the clip-path angle: 0 to 100% width, 25% to 75% height. */
    /* That means delta Y is 50vh, delta X is 100vw */
    /* Center is 50vw, 50vh */
    top: 50%;
    left: 50%;
    width: 120vw; /* slightly wider than screen */
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #1D1D1F 50%, #007AFF 100%);
    box-shadow: 0 0 50px #faace9, 0 0 40px #007AFF;
    transform-origin: center;
    /* Angle: arctan(50vh / 100vw). A typical screen is 1920x1080. 
       50vh = 540. Ratio = 540/1920 = 0.28. Angle = ~15-20deg.
       Let's use viewport units to dynamically rotate if we want, or just hardcode for testing. 
       Actually, clip-path points give exact angle. 
       To precisely match clip-path: polygon(0 25%, 100% 75%), angle is calc(atan2(50vh, 100vw)).
       We'll set the initial rotation in JS to ensure mathematical precision! */
    opacity: 0;
    pointer-events: none;
    z-index: 6; 
}

/* Shokunin Section */
.shokunin-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #F8F8F8;
    color: #F6387A;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 2; /* Behind the hero split panels */
}

.shokunin-content {
    padding: 6vw 8vw;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 2.5rem);
    line-height: 1.4;
    letter-spacing: 0.05em;
    max-width: 60vw;
    position: relative;
    z-index: 12;
}

.shokunin-v-lines {
    position: absolute;
    top: 0;
    right: 15vw;
    width: 10vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    z-index: 11;
}

.s-line {
    width: 1px;
    height: 100%;
    background-color: #F6387A;
    transform-origin: center;
}

/* Reveal Animation Overlays */
.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 15;
    pointer-events: none;
}

.reveal-block {
    flex: 1;
    height: 100%;
    background-color: #ffffff;
    transform-origin: center;
}

.intro-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff; /* White studio background */
    color: #000000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
}

/* Add an active class to handle interactivity after reveal */
.intro-page.active {
    pointer-events: all;
}

/* 5-Box Reveal Overlay */
.intro-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 100;
    pointer-events: none;
}

.intro-reveal-block {
    flex: 1;
    background-color: #ffffff;
    transform-origin: top;
    will-change: transform;
}

.hamburger, .mobile-menu-overlay, .mobile-greeting {
    display: none;
}

.intro-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* High z-index to stay on top */
    transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 48px; /* Adjusted based on typical nav height */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.logo {
    display: none; /* Hide old text logo */
}

.red-star {
    display: none;
}

.red-star {
    color: #F6387A;
    margin-left: 2px;
}

.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    opacity: 0.8; /* Increased base opacity */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

/* Dynamic color shift for white regions */
.intro-nav.nav-on-white .nav-links a {
    color: #F6387A;
    opacity: 1;
}


.intro-nav.nav-on-white .hamburger-line {
    background-color: #F6387A;
}

.nav-links a:hover {
    opacity: 1;
    color: #000000 !important; /* Force black on hover as requested */
    transform: translateY(-2px);
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .intro-nav {
        padding: 0.8rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.95); /* Ensure visibility */
        backdrop-filter: blur(10px);
    }
    
    .logo-link {
        z-index: 10;
    }
    
    .nav-links {
        gap: 0.8rem;
        margin-left: auto;
        padding-right: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    /* Hide some links on very small screens to prevent overflow */
    @media (max-width: 480px) {
        .nav-links {
            display: none;
        }
    }
    
    .cta-pill {
        padding: 4px 12px 4px 4px;
        transform: scale(0.8);
        margin-right: -10px;
    }
    
    .cta-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }
    
    .cta-pill::before {
        width: 32px;
        height: 32px;
        margin-top: -16px;
    }
}

.cta-pill {
    background-color: #ffffff;
    color: #000000;
    padding: 6px 24px 6px 6px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0,0,0,0.1);
    z-index: 0;
}

/* Text slide wrapper */
.cta-text-wrapper {
    position: relative;
    height: 1.2em; /* Match font height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.cta-text-inner {
    display: block;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), color 0.4s ease;
    line-height: 1.2em;
}

.cta-text-inner.hover {
    color: #ffffff;
}

/* Icon circle that expands */
.cta-icon {
    background-color: #F6387A; /* Back to Pink */
    color: #ffffff;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* The Expansion Layer */
.cta-pill::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    margin-top: -21px;
    width: 42px;
    height: 42px;
    background-color: #F6387A; /* Back to Pink */
    border-radius: 50%;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform: scale(1);
}

.cta-pill:hover {
    border-color: transparent;
}

.cta-pill:hover::before {
    transform: scale(8);
    border-radius: 0;
}

.cta-pill:hover .cta-text-inner {
    transform: translateY(-100%);
}

.cta-pill:hover .cta-icon {
    transform: scale(1.1);
}

.cta-pill:hover .cta-icon {
    transform: scale(1.1);
}




.intro-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-portrait-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    overflow: hidden;
}

.intro-main {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.intro-portrait-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    overflow: hidden;
}

.portrait-img {
    width: 100%;
    height: 140%; /* Taller than container for movement */
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    will-change: transform;
}

.intro-content-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    pointer-events: none;
}

.intro-branding-left {
    padding: 0 2rem 1rem;
    pointer-events: auto;
    text-align: left;
}

.year-stamp {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem; /* Gap instead of overlap */
    opacity: 0.9;
    color: #ffffff;
}

.intro-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(6rem, 20vw, 15rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0;
    line-height: 0.85;
    margin-left: -0.05em;
    color: #ffffff;
}

.intro-name .red-star {
    color: #F6387A;
    font-size: 0.8em;
    vertical-align: top;
    display: inline-block;
    margin-top: -0.1em;
}

.intro-footer {
    display: flex;
    align-items: flex-end;
    padding: 4rem 5rem;
    gap: 4rem;
    background: #ffffff;
    color: #000000;
    pointer-events: auto;
}

.intro-label {
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.pink-dot {
    width: 8px;
    height: 8px;
    background-color: #F6387A;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(246, 56, 122, 0.9);
    display: inline-block;
    flex-shrink: 0;
}

.intro-bio-main p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}


/* Mobile Optimization for Intro Page */
@media (max-width: 768px) {
    .intro-nav {
        padding: 1.5rem 2rem;
    }

    .nav-center {
        display: none; /* Hide secondary links on mobile */
    }

    .logo {
        font-size: 1.2rem;
    }

    .intro-branding-left {
        padding: 0 2rem 2rem;
        bottom: 5vh;
    }

    .year-stamp {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .intro-name {
        font-size: clamp(4rem, 25vw, 8rem);
        line-height: 0.8;
    }

    .intro-footer {
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .intro-bio-main p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .intro-name {
        font-size: 18vw;
    }
    
    .intro-footer {
        padding: 2rem 1.5rem;
    }
}

/* --- Work Section --- */
.work-section {
    background-color: transparent; /* Allow ribbon behind */
    color: #0c0c0c;
    padding: 10rem 4rem;
    position: relative;
    overflow: hidden; /* Contain the blocks */
}

.work-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 20;
    pointer-events: none;
}

.work-reveal-block {
    flex: 1;
    height: 100%;
    background-color: #ffffff; /* Contrast with #F8F8F8 background */
    transform-origin: center;
}

.work-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10; /* Above ribbon */
    opacity: 0; /* Hidden initially for the reveal */
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.work-label {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jp-text {
    font-size: 1.2rem;
    color: #F6387A;
    font-weight: 500;
}

.work-line {
    width: 60px;
    height: 2px;
    background-color: #F6387A;
}

.work-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin: 0;
    color: #F6387A; 
}

.work-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
}

.pink-dot.large {
    width: 12px;
    height: 12px;
    background-color: #F6387A;
    border-radius: 50%;
}

.view-all-btn {
    text-decoration: none;
    color: #F6387A;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid #F6387A;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #F6387A;
    color: #ffffff;
}

/* Work Grid & Items */
.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.work-grid {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.work-info {
    position: relative;
    z-index: 12; /* Ensure above ribbon which is 5 */
}

/* ==========================================================================
   Experience Section (Red & Grey Aesthetic)
   ========================================================================== */
.exp-section {
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Pink Header Area */
.exp-header {
    background-color: #F6387A;
    padding: 6rem 0 4rem;
    color: #ffffff;
}
.exp-header-container {
    max-width: 100%;
    padding: 0 5%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10; /* Above ribbon */
}
.exp-top-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
.exp-jp-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.exp-main-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.exp-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}
.exp-subtitle-wrapper {
    max-width: 450px;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
.view-resume-btn {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}
.view-resume-btn:hover {
    background-color: #ffffff;
    color: #F6387A;
    border-color: #ffffff;
}
.exp-subtitle {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
}

/* Grey Content Area */
.exp-content {
    background-color: #ffffff;
    padding: 6rem 0;
    color: #333333;
}
.exp-content-container {
    max-width: 100%;
    padding: 0 5%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 10; /* Above ribbon */
}

/* Left Column - Skills */
.exp-sub-heading {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #F6387A;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(246, 56, 122, 0.2);
    padding-bottom: 1rem;
}
.exp-kanji {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
}
.exp-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #F6387A;
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.skill-item {
    font-size: 1.15rem;
    font-weight: 500;
    color: #222222;
}
.skill-separator {
    color: rgba(51, 51, 51, 0.3);
    font-weight: 300;
}

.sakura-branch-wrapper {
    position: absolute;
    left: -15%;
    bottom: -15%;
    width: 850px;
    height: auto;
    z-index: 5; /* Lowered to not obscure text */
    pointer-events: none;
    transform-origin: left bottom;
    animation: windSway 8s ease-in-out infinite alternate;
    will-change: transform;
}

@media (max-width: 1024px) {
    .sakura-branch-wrapper {
        width: 400px;
        left: -10%;
        bottom: -5%;
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .sakura-branch-wrapper {
        width: 180px; /* Even smaller */
        left: -10%;
        bottom: 5%;
        opacity: 0.1; /* Barely visible */
        z-index: 0; /* Behind ALL text */
    }
    
    .work-exp-item {
        position: relative;
        z-index: 5; /* Above branch */
        background: rgba(255, 255, 255, 0.7); /* Subtle backdrop for readability */
    }
}

.interactive-sakura-branch {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

#sakura-petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 14;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    background-color: #ffb7c5;
    border-radius: 10px 0 10px 10px;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes windSway {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(3deg); }
}

@keyframes petalFall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--drift), 100vh) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Right Column - Work Exp */
.work-exp-list {
    display: flex;
    flex-direction: column;
}
.work-exp-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.15);
}
.work-exp-item:first-child {
    border-top: 1px solid rgba(51, 51, 51, 0.15);
}
.work-year {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F6387A;
    min-width: 80px;
    padding-top: 0.2rem;
}
.work-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.work-role {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
}
.work-company {
    font-size: 1.05rem;
    color: #555555;
    font-weight: 500;
}

/* --- Responsive Image Handling --- */
.img-mobile {
    display: none !important;
}

@media (max-width: 1024px) {
    .img-desktop {
        display: none !important;
    }
    .img-mobile {
        display: block !important;
    }
}
@media (max-width: 992px) {
    .exp-content-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}
@media (max-width: 768px) {
    .exp-header {
        padding: 4rem 1.2rem !important;
    }
    .exp-content {
        padding: 4rem 1.2rem !important;
    }
    .exp-header-container, .exp-content-container {
        padding: 0 !important;
    }
    .exp-main-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .exp-title {
        font-size: 14vw !important;
        line-height: 1.1 !important;
    }
    .exp-subtitle-wrapper {
        padding-bottom: 0 !important;
        margin-top: 1rem !important;
        max-width: 100% !important;
    }
    .exp-subtitle {
        font-size: 1.05rem !important;
    }
    .exp-sub-heading {
        font-size: 1.8rem !important;
        justify-content: center !important;
    }
    .exp-description {
        font-size: 1rem !important;
        text-align: center !important;
        margin: 0 auto 2rem !important;
    }
    .skills-list {
        justify-content: center !important;
    }
    .work-exp-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    .work-year {
        min-width: auto !important;
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   Value Comparison Section (Q/A Inspo)
   ========================================================================== */
.qa-section {
    background-color: #ffffff;
    padding: 8rem 10%;
    color: #111111;
    position: relative;
    z-index: 10;
}

.qa-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10; /* Above ribbon */
}

.qa-header {
    text-align: center;
    margin-bottom: 6rem;
}

.qa-badge {
    background-color: #111111;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid #111111;
}

.qa-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111111;
}

.qa-title span {
    color: #F6387A;
}

.qa-subtitle {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 500;
}

.qa-grid {
    display: none; /* Hide old grid */
}

.qa-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 4rem;
}

.qa-stack-card {
    position: sticky;
    top: 15vh;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    will-change: transform, scale, opacity;
}

.qa-unified-card {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(246, 56, 122, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 56, 122, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    border: 1px solid rgba(246, 56, 122, 0.1);
    padding: 4rem;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.qa-unified-card:hover {
    border-color: rgba(246, 56, 122, 0.4);
    box-shadow: 0 0 50px rgba(246, 56, 122, 0.15);
    transform: translateY(-5px);
}

.qa-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qa-divider {
    width: 1px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.08);
}

.qa-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.positive .qa-icon-circle {
    color: #F6387A;
    background-color: rgba(246, 56, 122, 0.08);
}

.negative .qa-icon-circle {
    color: #666;
    background-color: rgba(0, 0, 0, 0.05);
}

.qa-unified-card:hover .qa-icon-circle {
    transform: scale(1.1);
}

.qa-icon-circle svg {
    width: 20px;
    height: 20px;
}

.qa-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111111;
    margin-top: 0.5rem;
}

.qa-card-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555555;
    font-weight: 400;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .qa-unified-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }
    
    .qa-divider {
        width: 100%;
        height: 1px;
    }
}

.qa-icon {
    width: 20px;
    height: 20px;
}

.qa-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.qa-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    font-weight: 400;
}

/* Responsive QA */
@media (max-width: 992px) {
    .qa-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .qa-section {
        padding: 6rem 5%;
    }
    .qa-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   Testimonials Section (Black, Pink & White)
   ========================================================================== */
.test-section {
    background-color: #ffffff;
    padding: 10rem 10%;
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.test-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: start;
    position: relative;
    z-index: 20; /* Ensure this is above any overlapping sections */
}

/* Sidebar Styling - Pinning handled by GSAP ScrollTrigger */
.test-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #F8F8F8;
    color: var(--accent-pink);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(246, 56, 122, 0.2);
    margin-bottom: 2rem;
}

.test-badge-icon {
    width: 14px;
    height: 14px;
}

.test-main-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #F6387A;
}

.test-main-title span {
    color: #888888;
    font-weight: 400;
}

.test-desc {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
}

.test-stat-card {
    background-color: #111111;
    border: 1px solid #222222;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    max-width: 320px;
}

.test-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.test-stat-label {
    color: #666666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.test-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.test-btn {
    padding: 1.2rem 2.22rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.test-btn.primary {
    background-color: #ffffff;
    color: #F6387A;
    border: 1px solid #F6387A;
}

.test-btn.secondary {
    background-color: #F6387A;
    color: #ffffff;
    border: 1px solid #F6387A;
}

.test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.test-btn.primary:hover {
    background-color: var(--accent-pink);
    color: #ffffff;
}

/* Testimonial Cards List */
.test-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.test-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 3.5rem;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
}

.test-card:hover {
    border-color: rgba(246, 56, 122, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.test-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.test-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #000000;
}

.test-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.test-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.test-role {
    font-size: 0.9rem;
    color: #3a3a3a;
    font-weight: 500;
}

.test-card-body p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #303030;
    margin: 0;
}

/* Responsive Testimonials */
@media (max-width: 1200px) {
    .test-container {
        gap: 4rem;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .test-container {
        grid-template-columns: 1fr;
    }
    .test-sidebar-sticky {
        position: relative;
        top: 0;
        margin-bottom: 4rem;
    }
    .test-section {
        padding: 6rem 5%;
    }
    .test-stat-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .test-main-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Responsive & Utilities
   ========================================================================== */

.work-item {
    display: flex;
    align-items: stretch; /* Match heights */
    gap: 0;
    position: relative;
    will-change: transform, opacity;
    /* Animated in via GSAP */
}

.work-item[data-direction="left"] {

    flex-direction: row;
}

.work-item[data-direction="right"] {
    flex-direction: row-reverse;
}

.work-info {
    flex: 1;
    position: relative;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.work-info-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(246, 56, 122, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.work-item[data-direction="right"] .work-info-reveal {
    left: auto;
    right: 0;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.work-item:hover .work-info-reveal {
    width: 100%;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    transition: color 0.4s ease;
}

.work-tag {
    background: #F6387A;
    color: #ffffff;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.work-item:hover .work-meta {
    color: rgba(255,255,255,0.8);
}

.work-item:hover .work-tag {
    background: #ffffff;
    color: #F6387A;
}

.project-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    margin: 1rem 0;
    letter-spacing: -0.04em;
    color: #F6387A;
    transition: color 0.4s ease;
}

.work-item:hover .project-title {
    color: #ffffff;
}

.project-desc {
    font-size: 1.25rem;
    line-height: 1.4;
    max-width: 450px;
    color: rgba(0,0,0,0.7);
    transition: color 0.4s ease;
}

.work-item:hover .project-desc {
    color: #ffffff;
}

.work-image-wrapper {
    flex: 1.2;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: #e0e0e0;
    cursor: none;
}

.work-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.work-item:hover .work-img-main {
    opacity: 0;
    transform: scale(1.05);
}

.work-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    height: 100%;
    background: #f0f0f0;
    z-index: 1;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-item:hover .work-img-grid {
    opacity: 1;
    transform: scale(1);
    gap: 5px;
    padding: 5px;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0;
    transform: translateY(20px) scale(1.1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .grid-img {
    filter: grayscale(0%) contrast(1.1);
    opacity: 1;
    transform: translateY(0) scale(1.02);
}

/* Specific stagger Delays for the "Flutter" effect */
.work-item:hover .grid-img:nth-child(1) { transition-delay: 0.1s; }
.work-item:hover .grid-img:nth-child(2) { transition-delay: 0.2s; }
.work-item:hover .grid-img:nth-child(3) { transition-delay: 0.3s; }
.work-item:hover .grid-img:nth-child(4) { transition-delay: 0.4s; }


/* Responsive Work Section */
@media (max-width: 1024px) {
    .work-section {
        padding: 5rem 2rem;
    }
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .work-item, .work-item[data-direction="right"] {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    .work-info {
        padding: 3rem 2rem;
        width: 100%;
    }
    .work-image-wrapper {
        width: 100%;
        order: -1;
    }
    .work-grid {
        gap: 5rem;
    }
}

/* --- Stats Section --- */
.stats-section {
    background-color: transparent; /* Allow ribbon behind */
    padding: 10rem 4rem;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10; /* Above ribbon */
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10rem;
    gap: 4rem;
}

.stats-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-bio {
    max-width: 800px;
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-main);
    text-align: right;
    position: relative;
    z-index: 15; /* Higher than ribbon/blobs */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
}

.stat-item {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    color: var(--text-main);
    vertical-align: top;
    margin-left: -0.5rem;
}

.stat-info {
    margin-top: 2rem;
}

.stat-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    max-width: 250px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .stats-header {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 6rem;
    }

    .stats-bio {
        text-align: left;
    }

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

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: transparent; /* Allow ribbon behind */
    padding: 8rem 4rem;
    position: relative;
}

.faq-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 10; /* Above ribbon */
}

/* Left Column */
.faq-left {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.faq-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #333333;
}

.faq-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #F6387A;
    display: inline-block;
}

.faq-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #111111;
    margin: 0;
}

.faq-heading-accent {
    color: #F6387A;
}

.faq-subtext {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* Testimonial Card inside FAQ */
.faq-testimonial {
    background-color: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-test-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-test-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #F6387A;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(246, 56, 122, 0.2);
}

.faq-test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-test-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.faq-test-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.faq-test-role {
    font-size: 0.82rem;
    color: #F6387A;
    font-weight: 500;
}

.faq-test-quote {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

/* CTA Buttons */
.faq-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-btn {
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.faq-btn-outline {
    border: 1.5px solid #111111;
    color: #111111;
    background: transparent;
}

.faq-btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

.faq-btn-solid {
    background-color: #F6387A;
    color: #ffffff;
    border: 1.5px solid #F6387A;
    box-shadow: 0 4px 20px rgba(246, 56, 122, 0.3);
}

.faq-btn-solid:hover {
    background-color: #e02060;
    border-color: #e02060;
    box-shadow: 0 6px 24px rgba(246, 56, 122, 0.45);
    transform: translateY(-2px);
}

/* Right Column — Accordion */
.faq-right {
    display: flex;
    flex-direction: column;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff; /* Block ribbon background */
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

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

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.3rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: background 0.25s;
}

.faq-question:hover {
    background-color: rgba(246, 56, 122, 0.04);
}

.faq-question span:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.1rem;
    font-weight: 400;
    color: #111111;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.25s;
}

.faq-item-open .faq-question {
    background-color: rgba(246, 56, 122, 0.05);
}

.faq-item-open .faq-icon {
    color: #F6387A;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
    padding: 0 1.6rem;
}

.faq-item-open .faq-answer {
    max-height: 200px;
    padding: 0 1.6rem 1.3rem;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666666;
    margin: 0;
}

/* FAQ Responsive */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-section {
        padding: 6rem 2rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    position: relative;
}

/* Contact Top Pink Half */
.contact-top {
    background-color: var(--accent-pink, #F6387A);
    color: #ffffff;
    padding: 6rem 4rem;
}

.contact-top-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10; /* Above ribbon */
}

.contact-jp-text {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 2rem;
    position: relative;
}

.contact-jp-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 250%; /* Extends past text, adjust as needed */
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    min-width: 100vw; /* Create that very long line effect */
}

.contact-main-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin: 0;
    position: relative;
    display: inline-block;
}


.contact-top-right {
    max-width: 280px;
    padding-bottom: 0.5rem;
}

.contact-desc {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    margin: 0;
}

/* Contact Bottom Grey Half */
.contact-bottom {
    background-color: #ffffff; /* Match design gray */
    padding: 6rem 4rem;
}

.contact-bottom-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-content-left {
    display: flex;
    flex-direction: column;
    color: var(--accent-pink, #F6387A);
    padding-top: 2rem;
}

.contact-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    position: relative;
}

.contact-content-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 100%;
    height: 1px;
    background-color: rgba(246, 56, 122, 0.4);
}

.contact-sub-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.contact-sub-jp {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-sub-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    padding-top: 1rem;
}

.contact-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    color: var(--accent-pink, #F6387A);
    border: 1px solid rgba(246, 56, 122, 0.4);
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.contact-wa-btn:hover {
    background-color: var(--accent-pink, #F6387A);
    color: #ffffff;
    border-color: var(--accent-pink, #F6387A);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(246, 56, 122, 0.2);
}

.wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-wa-btn:hover .wa-icon svg {
    fill: #ffffff;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(246, 56, 122, 0.4);
    padding: 0.8rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--accent-pink, #F6387A);
    outline: none;
    transition: border-color 0.3s;
}

.form-control::placeholder {
    color: rgba(246, 56, 122, 0.6);
    font-weight: 400;
}

.form-control:focus {
    border-bottom-color: var(--accent-pink, #F6387A);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    color: var(--accent-pink, #F6387A);
    border: 1px solid rgba(246, 56, 122, 0.4);
    padding: 0.8rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-pink, #F6387A);
    color: #ffffff;
    border-color: var(--accent-pink, #F6387A);
}

/* Contact Responsive */
@media (max-width: 900px) {
    .contact-top-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .contact-bottom-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-top, .contact-bottom {
        padding: 5rem 2rem;
    }
}

.end-hero-container {
    position: relative;
    width: 100vw;
    min-height: 40vh; /* Changed from fixed height to min-height */
    padding: 4rem 0; /* Add padding for content room */
    background: var(--bg-primary);
    overflow: hidden;
    z-index: 5;
    display: flex;
    align-items: center;
}

.end-bg-image {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-image: url('cherry-blossom.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    will-change: transform;
}

.end-bg-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Stronger gradient for better text legibility */
    background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 100%);
    z-index: 1;
}

.end-content-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.end-content {
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Reduced gap for tighter layout */
    pointer-events: auto;
}

.footer-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 42px; /* Set height for visual balance */
    width: auto;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #F6387A;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    opacity: 1;
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-row-mid {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: #F6387A;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

.footer-links a:hover {
    color: #000000;
    transform: translateY(-2px);
}

.footer-row-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-copyright, .footer-powered {
    font-size: 0.85rem;
    color: #F6387A;
    opacity: 1; /* Increased to full opacity */
    font-weight: 500;
}

.footer-row-top, .footer-row-mid, .footer-row-bot {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .footer-row-top {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-socials {
        order: 3;
    }
    .footer-logo {
        order: 1;
    }
    .footer-row-mid {
        margin: 2rem 0;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .footer-row-bot {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.end-dot {
    opacity: 0;
    transform: scale(0);
    z-index: 10;
    will-change: transform, opacity;
}

/* Particle Container */
.end-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Individual DOM Particle for end section */
.end-particle {
    position: absolute;
    bottom: -10px; /* Start slightly below screen */
    width: 6px;
    height: 6px;
    background-color: #F6387A;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(246, 56, 122, 0.8), 0 0 4px rgba(246, 56, 122, 1);
    opacity: 0;
    will-change: transform, opacity;
}

/* =============================================
   VOICE TESTIMONIALS SECTION
   ============================================= */

.voice-test-section {
    background-color: #ffffff;
    padding: 7rem 5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.voice-test-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 10; /* Above ribbon */
}

.voice-test-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.voice-test-heading h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.voice-test-star {
    color: #F6387A;
    font-size: 1.2em;
    display: inline-block;
    margin-left: 0.2em;
    animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
    to { transform: rotate(360deg); }
}

/* Dot Navigation */
.voice-test-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.15);
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.voice-dot.active {
    background-color: #F6387A;
    transform: scale(1.4);
}

/* ─── Avatar Carousel ─── */
.voice-test-carousel {
    display: flex;
    align-items: center;        /* all discs share the same vertical centre */
    justify-content: center;
    padding: 3rem 0 1rem;
    gap: 0;
    overflow: visible;
}

.voice-avatar-wrap {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    /* Transform-origin at circle center so rotation looks natural */
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.64, 1),
                opacity  0.55s ease;
}

/* ── Center: biggest, fully upright, on top ── */
.voice-avatar-wrap[data-dist="0"] {
    transform: rotate(0deg) scale(1);
    opacity: 1;
    z-index: 20;
    margin: 0 -52px;
}

/* ── ±1: slightly smaller, mild inward tilt ── */
.voice-avatar-wrap[data-dist="1"] {
    transform: rotate(var(--tilt)) scale(0.75);
    opacity: 0.90;
    z-index: 14;
    margin: 0 -60px;
}

/* ── ±2: clearly smaller, stronger tilt, tucked behind ±1 ── */
.voice-avatar-wrap[data-dist="2"] {
    transform: rotate(calc(var(--tilt) * 1.8)) scale(0.55) translateY(18px);
    opacity: 0.65;
    z-index: 8;
    margin: 0 -85px;   /* pull much closer, slides partially behind ±1 */
}

/* ── ±3: smallest, most extreme tilt ── */
.voice-avatar-wrap[data-dist="3"] {
    transform: rotate(calc(var(--tilt) * 2.4)) scale(0.40) translateY(28px);
    opacity: 0.40;
    z-index: 2;
    margin: 0 -100px;
}

.voice-avatar-wrap:hover {
    opacity: 1 !important;
    z-index: 30 !important;
}

/* ─── Circle ─── */
.voice-avatar-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: #f2ede4;          /* cream for inactive */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255,255,255,0.18);
    transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
    position: relative;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* Active circle — brand pink, glowing */
.voice-avatar-wrap[data-dist="0"] .voice-avatar-circle {
    background-color: #F6387A;
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 0 10px rgba(246, 56, 122, 0.15),
                0 0 70px rgba(246, 56, 122, 0.45),
                0 12px 40px rgba(0,0,0,0.35);
}

.voice-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;      /* show face/head area prominently */
    border-radius: 50%;
}

/* ─── Play Button ─── */
.voice-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.voice-play-btn::before {
    content: "";
    position: absolute;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(255,255,255,0.93);
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

.voice-play-btn svg {
    position: relative;
    z-index: 1;
    margin-left: 5px;
    fill: #222222;
}

.voice-avatar-wrap[data-dist="0"] .voice-play-btn {
    opacity: 1;
}


/* Meta Info */
.voice-test-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.voice-test-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.01em;
}

.voice-test-role {
    font-size: 1rem;
    color: #666666;
    letter-spacing: 0.01em;
}

/* Waveform */
.voice-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 36px;
    margin-top: 0.5rem;
}

.voice-waveform span {
    display: block;
    width: 4px;
    border-radius: 3px;
    background-color: #F6387A;
    height: 8px;
    transition: height 0.2s;
}

.voice-waveform.playing span {
    animation: waveBar 0.8s ease-in-out infinite alternate;
}

.voice-waveform.playing span:nth-child(1)  { animation-delay: 0.00s; }
.voice-waveform.playing span:nth-child(2)  { animation-delay: 0.05s; }
.voice-waveform.playing span:nth-child(3)  { animation-delay: 0.10s; }
.voice-waveform.playing span:nth-child(4)  { animation-delay: 0.15s; }
.voice-waveform.playing span:nth-child(5)  { animation-delay: 0.20s; }
.voice-waveform.playing span:nth-child(6)  { animation-delay: 0.15s; }
.voice-waveform.playing span:nth-child(7)  { animation-delay: 0.10s; }
.voice-waveform.playing span:nth-child(8)  { animation-delay: 0.05s; }
.voice-waveform.playing span:nth-child(9)  { animation-delay: 0.00s; }
.voice-waveform.playing span:nth-child(10) { animation-delay: 0.05s; }
.voice-waveform.playing span:nth-child(11) { animation-delay: 0.10s; }
.voice-waveform.playing span:nth-child(12) { animation-delay: 0.15s; }
.voice-waveform.playing span:nth-child(13) { animation-delay: 0.20s; }
.voice-waveform.playing span:nth-child(14) { animation-delay: 0.25s; }
.voice-waveform.playing span:nth-child(15) { animation-delay: 0.30s; }

@keyframes waveBar {
    0%   { height: 6px; }
    100% { height: 38px; }
}




/* --- Ribbon Scroll Animation --- */
.ribbon-container {
    position: absolute;
    width: 100vw;
    left: 0;
    z-index: 5; /* Above section backgrounds, below section content */
    pointer-events: none;
    overflow: visible;
}


#ribbon-1-wrap {
    height: 3500px; 
    top: 2500px; /* Fallback */
}

#ribbon-2-wrap {
    height: 1800px;
    top: 7500px; /* Fallback */
}


.ribbon-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ribbon-path {
    stroke: #F6387A;
    stroke-width: 12; /* Refined thin look */
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 15px rgba(246, 56, 122, 1));
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    will-change: stroke-dashoffset;
    opacity: 0.95; /* Guaranteed visibility */
}


body.loading-page-body {
    overflow: hidden !important;
}




/* --- Comprehensive Mobile Optimization --- */
@media (max-width: 1024px) or (pointer: coarse) {
    * {
        cursor: default !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
    }

    /* Prevent any horizontal overflow issues */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    a, button, .btn, .cta-pill, .logo-link, .voice-avatar-wrap, .faq-question, .form-control, .submit-btn {
        cursor: pointer !important;
    }

    #cursor-dot, .cursor-dot, .cursor-particle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Hero Section Refinement */
    .hero-split-container {
        height: 100vh;
        min-height: -webkit-fill-available;
    }

    .initialize-prompt {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        width: 100%;
    }

    .main-heading {
        font-size: 8vw !important; /* Reduced from 10vw */
        letter-spacing: 0.15em !important;
    }

    .hero-content {
        bottom: 12vh !important; /* Adjusted */
    }

    /* Shokunin Section Refinement */
    .shokunin-content {
        max-width: 85vw !important;
        padding: 10vw 5vw !important;
        font-size: 1.1rem !important; /* Reduced from 1.3rem */
        text-align: center;
        align-self: center;
        margin-bottom: 12vh; /* Reduced from 20vh */
    }

    .shokunin-v-lines {
        right: 4vw !important;
        opacity: 0.3;
    }

    .intro-page {
        min-height: auto !important;
        height: auto !important;
    }

    .intro-portrait-container {
        width: 100vw !important;
        height: 60vh !important;
        margin-top: 0 !important;
        left: 0 !important;
        position: relative !important; /* Changed from absolute to occupy space */
    }

    .intro-nav {
        position: fixed !important;
        top: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(0) !important;
        width: 90vw !important;
        max-width: 400px !important; /* Keep it compact */
        padding: 0.7rem 1.2rem !important;
        background: rgba(255, 255, 255, 0.3) !important; /* Increased from 0.15 */
        backdrop-filter: blur(40px) saturate(180%) !important; /* Increased from 15px */
        -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important; /* Stronger edge */
        border-radius: 100px !important; /* Curved rectangle */
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 100000 !important; /* Absolute top layer */
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
    }

    .logo-img {
        height: 24px !important; /* Smaller logo */
    }

    .nav-links, .nav-right-cluster .cta-pill {
        display: none !important; 
    }

    /* Hamburger Menu Styles */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 24px; /* Reduced from 30px */
        height: 16px; /* Reduced from 20px */
        cursor: pointer;
        z-index: 10010;
        position: relative;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #F6387A; /* Default state: Pink */
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Smart, fluid easing */
    }

    .hamburger.active .hamburger-line {
        background-color: #000000; /* Black on active (X) state */
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg) scale(1.1);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) scale(1.1);
    }

    /* Mobile Menu Extension Styles */
    .mobile-menu-overlay {
        position: absolute !important;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        height: auto !important;
        background: rgba(255, 255, 255, 0.8) !important; /* White with frost visibility */
        backdrop-filter: blur(70px) saturate(180%) !important; /* Increased frost effect */
        -webkit-backdrop-filter: blur(70px) saturate(180%) !important;
        border: 1px solid #F6387A !important; /* Pink border */
        border-radius: 20px !important;
        z-index: 100001 !important; /* Above the nav mask */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
        transform-origin: top center;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem; /* Tighter gap */
        text-align: left;
        width: 100%;
    }

    .mobile-menu-links a {
        padding: 0.8rem 1.5rem;
        font-family: 'Inter', sans-serif; /* Cleaner font */
        font-size: 1.1rem; /* Reduced size */
        text-decoration: none;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.4s ease;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .mobile-menu-overlay.active .mobile-menu-links a {
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-menu-overlay.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-overlay.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.15s; }
    .mobile-menu-overlay.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.2s; }
    .mobile-menu-overlay.active .mobile-menu-links a:nth-child(4) { transition-delay: 0.25s; }
    .mobile-menu-overlay.active .mobile-menu-links a:nth-child(5) { transition-delay: 0.3s; }

    .mobile-menu-links a sup {
        font-size: 0.6rem;
        opacity: 0.5;
        position: relative;
        top: -2px;
    }
    .intro-content-reveal {
        position: relative !important;
        height: auto !important;
        display: block !important;
    }

    .intro-branding-left {
        position: absolute !important;
        top: calc(15vh + 285px) !important; /* Total shift: 200px + 85px */
        left: 0 !important;
        width: 100% !important;
        bottom: auto !important;
        padding: 0 1.5rem !important;
        text-align: left !important;
        z-index: 100 !important;
    }

    .intro-branding-left .year-stamp {
        display: block !important;
        font-size: 1.2rem !important;
        font-weight: 700;
        margin-bottom: 0.2rem !important;
        opacity: 0.9;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .intro-branding-left .intro-name {
        display: block !important;
        font-family: 'Inter', sans-serif;
        font-size: 18vw !important;
        font-weight: 900;
        line-height: 0.85;
        letter-spacing: -0.04em;
        color: #ffffff;
        margin: 0;
        text-transform: uppercase;
        text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .mobile-greeting {
        display: none !important;
    }

    /* Redundant name hidden logic removed */

    .intro-name {
        font-size: 15vw !important; /* Reduced from 18vw */
    }

    .intro-footer {
        padding: 1.5rem 1.2rem !important;
        gap: 1.2rem !important;
        margin-top: -165px !important; /* Adjusted: -210px + 45px down */
        position: relative !important;
        z-index: 10;
        background: #ffffff; /* Ensure background covers portrait overlap if any */
    }

    .intro-bio-main p {
        font-size: 1rem !important; /* Reduced */
        line-height: 1.2 !important;
    }

    /* Work Section Refinement */
    .work-section {
        padding: 5rem 1.2rem !important; /* Tightened from 8rem */
    }

    .work-header {
        margin-bottom: 3rem !important;
    }

    .work-title {
        font-size: 9vw !important; /* Reduced from 12vw */
    }

    .work-grid {
        gap: 4rem !important; /* Tightened from 6rem */
    }

    .project-title {
        font-size: 8vw !important; /* Reduced from 10vw */
    }

    .work-info {
        padding: 1.5rem 0 !important;
    }

    .project-desc {
        font-size: 1rem !important;
    }

    /* Stats Section Refinement */
    .stats-section {
        padding: 4rem 1.2rem !important; /* Tightened from 7rem */
    }

    .stats-header {
        margin-bottom: 3rem !important;
    }

    .stats-bio {
        font-size: 1.1rem !important; /* Reduced from 1.3rem */
        text-align: left !important;
    }

    .stat-number {
        font-size: 10vw !important; /* Slightly reduced from 12vw */
    }

    .stat-suffix {
        font-size: 6vw !important;
    }

    .stat-item {
        text-align: center !important;
        padding-top: 3rem !important; /* Equalized vertical spacing */
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .stat-number, .stat-suffix {
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .stat-number {
        margin-right: 8px !important; /* Space after the number */
    }
    .stat-info {
        margin-top: 1rem !important;
    }

    .stat-title {
        font-size: 1.1rem !important;
    }

    .stat-desc {
        font-size: 0.85rem !important;
        margin: 0 auto !important;
    }

    /* Q&A / Value Section Refinement */
    .qa-section {
        padding: 4rem 1.2rem !important; /* Tightened */
    }

    .qa-badge {
        font-size: 0.65rem !important;
        padding: 0.4rem 1rem !important;
    }

    .qa-title {
        font-size: 2rem !important; /* Slightly reduced from 2.2rem */
        line-height: 1.2 !important;
    }

    .qa-subtitle {
        font-size: 0.95rem !important;
        margin-top: 1rem !important;
    }

    .qa-grid {
        gap: 2rem !important; /* Reduced from 4rem */
    }

    .qa-card {
        padding: 1.5rem 1.2rem !important; /* Tightened from 2rem */
        gap: 1rem !important;
    }

    .qa-icon-wrap {
        width: 38px !important;
        height: 38px !important;
    }

    .qa-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .qa-card-title {
        font-size: 1.25rem !important;
    }

    .qa-card-desc {
        font-size: 0.9rem !important;
    }

    /* Voice Testimonials Refinement */
    .voice-test-section {
        padding: 4rem 1.2rem !important;
    }

    .voice-test-heading {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .voice-test-heading h2 {
        font-size: 1.8rem !important; /* Scaled down */
        line-height: 1.2 !important;
    }

    .voice-test-dots {
        justify-content: center !important;
        margin-top: 1rem !important;
    }

    .voice-test-carousel {
        padding: 2rem 0 !important;
        justify-content: center !important;
        gap: 0 !important; /* Keep the overlap logic */
        overflow: visible !important;
    }

    .voice-avatar-circle {
        width: 180px !important; /* Increased from 110px for better visibility */
        height: 180px !important;
    }

    /* Adjust overlapping margins for smaller circles on mobile */
    .voice-avatar-wrap[data-dist="0"] {
        margin: 0 -30px !important; 
    }
    .voice-avatar-wrap[data-dist="1"] {
        margin: 0 -45px !important;
    }
    .voice-avatar-wrap[data-dist="2"] {
        margin: 0 -60px !important;
    }

    .voice-test-meta {
        text-align: center !important;
        margin-top: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .voice-test-name {
        font-size: 1.2rem !important;
    }

    .voice-test-role {
        font-size: 0.9rem !important;
    }

    .voice-waveform {
        justify-content: center !important;
        margin-top: 1rem !important;
        transform: scale(0.9) !important;
    }

    .voice-test-inner {
        gap: 2rem !important;
    }

    /* Contact Section Refinement */
    .contact-top, .contact-bottom {
        padding: 4rem 1.2rem !important; /* Tightened */
    }

    .contact-main-title {
        font-size: 14vw !important; /* Reduced from 18vw */
    }

    /* Form improvements */
    .contact-form {
        gap: 1.5rem !important;
    }

    .form-control {
        font-size: 0.95rem !important;
    }

    /* Footer / End Section Refinement */
    .end-hero-container {
        height: auto !important;
        min-height: 50vh !important;
        padding: 3rem 0 !important;
    }

    .end-content {
        gap: 2rem !important;
    }

    .footer-logo-img {
        height: 32px !important;
    }

    .footer-links {
        gap: 1rem !important;
        justify-content: center !important;
    }

    .footer-links a {
        font-size: 1rem !important;
    }

    .intro-footer .desktop-text {
        display: none !important;
    }

    .intro-footer .mobile-text {
        display: inline !important;
    }
}
