/* ---HERO --- */
        :root {
			--red: #C82018;
            --charcoal: #111111;
            --off-white: #F5F1EA;
            --gold: #B89B5E;
            --crimson: #8B1E2D;
            --deep-blue: #0A4595;
            --white: #FFFFFF;
            --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            --container-padding: clamp(1.5rem, 5vw, 5rem);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
        html { scroll-behavior: smooth; font-size: 16px; }
        body { background-color: var(--white); color: var(--charcoal); font-family: 'Inter', sans-serif; line-height: 1.6; }

        /* --- 1. DYNAMIC NAVBAR --- */
        nav { 
            position: fixed; top: 0; width: 100%; z-index: 1000; 
            padding: clamp(15px, 3vh, 25px) var(--container-padding);
            display: flex; justify-content: space-between; align-items: center; 
            transition: var(--transition);
        }

        nav.at-top {
            background: var(--white);
            border-bottom: 1px solid transparent;
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.7) !important;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            padding: 12px var(--container-padding);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
        }

        .logo-area { display: flex; align-items: center; gap: 15px; text-decoration: none; color: inherit; z-index: 1001; }
        
        .logo-placeholder { 
            width: clamp(50px, 7vh, 65px); 
            height: clamp(50px, 7vh, 65px); 
            display: flex; align-items: center; justify-content: center; 
            overflow: hidden; 
            border-radius: 50%;
            background: var(--white);
        }
        
        .logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

        .logo-text span { display: block; font-family: 'Cinzel'; font-weight: 700; font-size: 1rem; color: var(--charcoal); }

        .nav-links { display: flex; gap: clamp(15px, 2vw, 30px); }
        .nav-links a { 
            text-decoration: none; color: var(--charcoal); font-size: 0.75rem; 
            font-weight: 600; text-transform: uppercase; letter-spacing: 1px; 
            transition: 0.3s; position: relative;
        }
        .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: 0.3s; }
        .nav-links a:hover::after { width: 100%; }

        .burger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
        .burger div { width: 25px; height: 2px; background: var(--charcoal); transition: 0.4s; }

        @media (max-width: 1024px) {
            .burger { display: flex; }
            .nav-links {
                position: fixed; top: 0; right: -100%; height: 100vh; width: 100%;
                background: var(--white); flex-direction: column; align-items: center; justify-content: center;
                gap: 2.5rem; transition: var(--transition);
            }
            .nav-links.active { right: 0; }
            .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
            .burger.toggle .line2 { opacity: 0; }
            .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
        }

        /* 2. HERO SECTION */
        #hero {
            position: relative;
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--white);
            overflow: hidden;
            padding: 0 5%;
        }

        #hero::before {
            content: "真観流";
            position: absolute;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
            font-family: 'Noto Serif JP', serif;
            font-size: clamp(4rem, 15vh, 10rem);
            color: rgba(17, 17, 17, 0.03);
            writing-mode: vertical-rl;
            text-orientation: upright;
            letter-spacing: 1rem;
            pointer-events: none;
            z-index: 1;
        }

        #hero::after {
            content: "空手";
            position: absolute;
            right: -2%;
            bottom: -5%;
            font-family: 'Noto Serif JP', serif;
            font-size: clamp(10rem, 40vw, 35rem);
            color: rgba(10, 69, 149, 0.02);
            font-weight: 900;
            pointer-events: none;
            z-index: 1;
        }

        .hero-inner {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 900px;
            width: 100%;
        }

        .academy-name {
            font-family: 'Cinzel', serif;
            font-size: clamp(2rem, 6vw, 4.5rem);
            color: var(--charcoal);
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.2rem;
            line-height: 1.1;
        }

        .kanji-subtitle {
            font-family: 'Noto Serif JP', serif;
            font-size: clamp(1rem, 2.5vw, 1.8rem);
            color: var(--deep-blue);
            font-weight: 500;
            letter-spacing: 0.4em;
            margin-bottom: 2rem;
        }

        .gold-divider {
            width: 60px;
            height: 1px;
            background-color: var(--gold);
            margin: 0 auto 2rem;
        }

        /* FIXED CREED LINE CSS */
        .creed-line {
            font-family: 'Inter', sans-serif;
            font-size: clamp(0.75rem, 1.5vw, 0.9rem);
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 0.4em;
            font-weight: 600;
            margin-bottom: 1rem;
            position: relative;
            min-height: 1.5em; 
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .creed-line span {
            display: block;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            position: absolute;
            width: 100%;
            pointer-events: none;
        }

        .creed-line span.active {
            opacity: 1;
            transform: translateY(0);
            position: relative; 
        }

        .tagline {
            font-family: 'Noto Serif JP', serif;
            font-size: clamp(1.1rem, 3vw, 2rem);
            color: var(--charcoal);
            font-weight: 200;
            margin-bottom: 3rem;
            font-style: italic;
        }

        .hero-actions {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
        }

        .btn {
            padding: 1.2rem 2.5rem;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            border: 1.5px solid transparent;
        }

        .btn-primary { background-color: var(--red); color: var(--white); }
        .btn-primary:hover { background-color: var(--charcoal); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .btn-secondary { background-color: transparent; color: var(--gold); border-color: var(--gold); }
        .btn-secondary:hover { background-color: var(--gold); color: var(--white); transform: translateY(-3px); }

        @media (max-width: 768px) {
            .hero-actions { flex-direction: column; gap: 1rem; }
            .btn { width: 100%; max-width: 280px; }
            .kanji-subtitle { letter-spacing: 0.2em; }
        }

        /* Reveal animation */
        .reveal { opacity: 0; transform: translateY(20px); }
        .reveal.visible { animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        @keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

        /* ABOUT SECTION */
        #about {
            position: relative;
            padding: clamp(6rem, 15vh, 12rem) var(--container-padding);
            background-color: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        #about::before {
            content: "真";
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Noto Serif JP', serif;
            font-size: 38vw;
            color: rgba(0, 0, 0, 0.03);
            font-weight: 900;
            pointer-events: none;
            z-index: 0;
        }
		
        .about-container { position: relative; z-index: 1; max-width: 1200px; width: 100%; text-align: center; }
        .about-header span { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.9em; display: block; margin-bottom: 1rem; font-weight: 700; }
        .about-header h2 { font-family: 'Cinzel', serif; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--charcoal); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; line-height: 1.2; }
        .about-divider { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 3rem auto; }
        .about-content p { font-family: 'Inter', sans-serif; font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 300; line-height: 1.9; color: #444; max-width: 850px; margin: 0 auto 4rem; text-align: center; }
        .about-content b { font-weight: 600; color: var(--charcoal); border-bottom: 1px solid rgba(184, 155, 94, 0.3); }

        .highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 6rem; }
        .highlight-col { padding: 3rem 2.5rem; border-radius: 12px; text-align: left; transition: all 0.5s ease; color: var(--white); }
        .highlight-col:nth-child(1) { background: var(--gold); }
        .highlight-col:nth-child(2) { background: var(--deep-blue); }
        .highlight-col:nth-child(3) { background: var(--crimson); }
        .highlight-col:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
        .col-header { margin-bottom: 2rem; }
        .col-header .index { font-family: 'Cinzel', serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 0.5rem; opacity: 0.9; color: #fff; }
        .col-header h3 { font-family: 'Cinzel', serif; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin: 0; color: #fff; }
        .content-wrapper { display: flex; flex-direction: column; gap: 1.8rem; }
        .item .label { font-family: 'Noto Serif JP', serif; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; margin-bottom: 0.4rem; color: rgba(255,255,255,0.85); }
        .item p { font-family: 'Inter', sans-serif; font-size: 0.95rem; line-height: 1.6; color: #fff; margin: 0; }

        @media (max-width: 1024px) {
            .highlight-grid { grid-template-columns: 1fr; }
            .highlight-col { text-align: center; }
            .col-header { text-align: center; }
            .content-wrapper { align-items: center; }
        }
		/* =========================================================
   GLOBAL IMPROVEMENTS PATCH
   ========================================================= */

/* --- 1. Unified Gold Divider --- */
.gold-line-center {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto;
}

/* --- 2. Subtle Section Separation (without color clash) --- */
#dojokun {
    border-top: 1px solid rgba(0,0,0,0.04);
}

#training-structure {
    border-top: 1px solid rgba(0,0,0,0.04);
}

/* --- 3. Navbar Hover Improvement --- */
.nav-links a:hover {
    color: var(--gold);
}

/* --- 4. Dojo Kun Alternating Accent Rhythm --- */
.kun-item:nth-child(odd) {
    border-left: 4px solid var(--red);
}

.kun-item:nth-child(even) {
    border-left: 4px solid var(--deep-blue);
}

/* --- 5. Stronger Watermark Visibility --- */
.kanji-watermark {
    color: rgba(184,155,94,0.18);
}

/* --- 6. Slightly More Premium Dojo Card Hover --- */
.kun-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* --- 7. Fix Training Grid Imbalance (Premium 2-Column Layout) --- */
@media (min-width: 1000px) {
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* --- 8. Improve Training Card Hover Depth --- */
.training-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* --- 9. Add Reveal Animation to Dojo + Training Cards --- */
.kun-item,
.training-item {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.kun-item.visible,
.training-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. Smooth Scroll Visual Depth --- */
section {
    position: relative;
}

section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.015));
    pointer-events: none;
}

/* --- TIGHTENED DOJO KUN SECTION --- */

.dojo-kun-section {
    background: linear-gradient(
        to bottom,
        #F5F1EA 0%,
        #EFE9DF 100%
    );
    /* Reduced padding from 15vh to 60px */
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

/* Background Kanji */
.dojo-kun-section::before {
    content: "道";
    position: absolute;
    right: -5%;
    top: 5%; /* Higher placement */
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(15rem, 35vw, 30rem);
    color: rgba(184,155,94,0.04);
    pointer-events: none;
    z-index: 0;
}

/* Header - Tightened */
.dojokun-header {
    text-align: center;
    margin-bottom: 40px; /* Reduced from 6rem */
    position: relative;
    z-index: 2;
}

.dojokun-header .sub-cap {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #966919;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    margin-bottom: 0.5rem; /* Reduced */
    font-weight: 700;
    display: block;
}

.dojokun-header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem); /* Slightly more compact */
    color: #111;
    letter-spacing: 0.15em;
    margin: 0;
}

.gold-line-center {
    width: 50px;
    height: 2px;
    background-color: #966919;
    margin: 1.5rem auto; /* Reduced from 2rem */
}

/* Container */
.kun-container {
    max-width: 1000px; /* Narrower for better focus */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced from 2rem */
    position: relative;
    z-index: 2;
}

/* Card - Tightened Padding */
.kun-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    padding: 2.5rem 3rem; /* Reduced from 3.5rem */
    background: #FFFFFF;
    border-left: 4px solid #C82018;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.kun-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* Japanese Side */
.kun-japanese {
    position: relative;
    padding-left: 2.5rem; /* Tightened */
}

.kanji-watermark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(4rem, 8vw, 6rem); /* Scaled down slightly */
    color: rgba(150,105,25,0.1); 
}

.jp-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* Reduced */
}

.kun-japanese h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #111;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

/* Romaji */
.kun-romaji {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0A4595;
    font-weight: 600;
}

/* English Side - Tightened */
.kun-english {
    border-left: 1px solid rgba(150,105,25,0.2);
    padding-left: 3rem; /* Reduced from 4rem */
}

.kun-english h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #966919;
    margin-bottom: 0.5rem; /* Reduced */
}

.kun-english p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Mobile - Tightened */
@media (max-width: 900px) {
    .dojo-kun-section {
        padding: 40px 15px;
    }

    .kun-item {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Reduced from 2.5rem */
        padding: 2rem 1.5rem;
    }

    .kun-english {
        border-top: 1px solid rgba(150,105,25,0.15);
        padding-top: 1.5rem; /* Reduced */
    }

    .kun-romaji {
        margin-top: 5px;
    }
}

/* --- TIGHTENED TRAINING STRUCTURE SECTION --- */

.training-structure-section {
    background: linear-gradient(
        to bottom,
        #F5F1EA 0%,
        #EFE9DF 60%,
        #E8E1D6 100%
    );
    /* Reduced padding from 15vh to 60px */
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

/* Subtle Gold Accent Glow - Kept same */
.training-structure-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184,155,94,0.08), transparent 70%);
    pointer-events: none;
}

/* Header - Tightened */
.training-header {
    text-align: center;
    /* Reduced margin-bottom from 6rem to 40px */
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.training-header .sub-cap {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #B89B5E;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    /* Reduced margin-bottom */
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: block;
}

.training-header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem); /* Slightly smaller max font */
    color: #111111;
    letter-spacing: 0.15em;
    margin: 0;
}

.gold-line-center {
    width: 50px;
    height: 2px;
    background-color: #B89B5E;
    /* Reduced vertical margin from 2rem to 1.5rem */
    margin: 1.5rem auto;
}

.training-intro {
    max-width: 600px;
    /* Reduced top margin */
    margin: 1rem auto 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-weight: 300;
}

/* Grid - Tightened Gap */
.training-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Reduced gap from 2rem to 1.25rem */
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

/* Cards - Tightened Padding */
.training-item {
    background: #FFFFFF;
    /* Reduced padding from 3rem to 2rem */
    padding: 2rem 2rem;
    border: 1px solid rgba(184,155,94,0.18);
    text-align: center;
    transition: all 0.35s ease;
}

.training-item:hover {
    transform: translateY(-5px); /* Subtle lift */
    border-color: #B89B5E;
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.training-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #B89B5E;
    /* Reduced margin-bottom */
    margin-bottom: 0.8rem;
}

.training-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Responsive - Tightened for Mobile */
@media (max-width: 1000px) {
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .training-structure-section {
        padding: 40px 20px;
    }
    
    .training-header {
        margin-bottom: 30px;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .training-item {
        padding: 1.5rem;
    }
}

/* --- SHINKAN RYU BELT PROGRESSION: FINAL MASTER FIXED --- */

.belt-evolution-section {
    position: relative;
    background: #fdfcf9;
    height: 1100vh; /* Keeps the 11-step scroll distance */
    width: 100%;
    scroll-margin-top: 80px;
}

.belt-evolution-section .sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

/* 1. ATMOSPHERIC LAYER (KANJI) - FIXED MOBILE VISIBILITY */
.belt-evolution-section .kanji-bg-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.belt-evolution-section .kanji-watermark {
    font-family: 'Noto Serif JP', serif;
    /* Optimized size for better mobile rendering */
    font-size: clamp(12rem, 40vw, 35rem); 
    color: rgba(184, 155, 94, 0.06); 
    line-height: 1;
    position: relative;
    user-select: none;
}

.belt-evolution-section .kanji-watermark::after {
    content: "武道";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    color: rgba(184, 155, 94, 0.15);
    clip-path: inset(0 100% 0 0);
    animation: kanji-glow-reveal 8s infinite ease-in-out;
}

@keyframes kanji-glow-reveal {
    0% { clip-path: inset(0 100% 0 0); }
    40% { clip-path: inset(0 0 0 0); opacity: 1; }
    60% { clip-path: inset(0 0 0 0); opacity: 0.2; }
    100% { opacity: 0; }
}

/* 2. HEADER LAYER - PINNED TOP */
.belt-evolution-section .belt-header-fixed {
    width: 100%;
    padding-top: 60px; /* Precise top padding */
    text-align: center;
    z-index: 20;
    flex-shrink: 0;
}

.belt-evolution-section .sub-cap {
    font-family: 'Noto Serif JP', serif;
    color: var(--gold);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.belt-evolution-section h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    letter-spacing: 0.15em;
    color: var(--charcoal);
    margin: 0;
    text-transform: uppercase;
}

.belt-evolution-section .header-accent-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* 3. CONTENT LAYER - VERTICALLY CENTERED STAGE */
.belt-evolution-section .belt-stage {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center; /* This centers the belt in the space between header and footer */
    justify-content: center;
    z-index: 10;
    width: 100%;
    /* Pulls stage up slightly to reduce dead bottom space */
    margin-top: -50px; 
}

.belt-evolution-section .belt-slide {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.belt-evolution-section .belt-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.belt-evolution-section .belt-slide.exit {
    opacity: 0;
    transform: translateY(-20px);
}

/* 4. PREMIUM BELT TYPOGRAPHY */
.belt-evolution-section .belt-circle-master {
    width: clamp(120px, 15vw, 160px);
    height: clamp(120px, 15vw, 160px);
    border-radius: 50%;
    background: #fff;
    margin-bottom: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.belt-evolution-section .circle-fill {
    width: 90%; height: 90%; border-radius: 50%;
}

.belt-evolution-section .kyu-subtitle {
    font-family: 'Noto Serif JP', serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.belt-evolution-section .belt-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--charcoal);
    margin: 0 0 12px 0;
}

.belt-evolution-section .focus-line {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.belt-evolution-section .focus-line::after {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background: rgba(184, 155, 94, 0.3);
    margin: 6px auto 0;
}

.belt-evolution-section .details-text {
    display: block;
    font-family: 'Inter', sans-serif;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    max-width: 380px;
    margin: 0 auto;
    font-style: italic;
}

/* --- SHINKAN RYU BELT PROGRESSION — MOBILE STABLE FIX --- */
/* --- SHINKAN RYU BELT PROGRESSION — TRUE MOBILE FIX --- */
@media (max-width: 768px) {

    /* Section Height (Adjust to belt count × 100vh) */
    .belt-evolution-section {
        height: 600vh;
    }

    /* Sticky Container */
    .belt-evolution-section .sticky-viewport {
        height: 100svh;
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Header */
    .belt-evolution-section .belt-header-fixed {
        padding-top: 18px;
        margin-bottom: 18px; /* controlled gold line gap */
        flex-shrink: 0;
    }

    /* Stage — THIS is the correct fix */
    .belt-evolution-section .belt-stage {
        flex: 1; /* let it naturally fill remaining height */
        position: relative;
        display: flex;
        align-items: center;   /* TRUE vertical balance */
        justify-content: center;
    }

    /* Kanji perfectly centered behind */
    .belt-evolution-section .kanji-bg-container {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        z-index: 0;
    }

    .belt-evolution-section .kanji-watermark {
        font-size: 11rem;
        opacity: 0.12;
        line-height: 1;
        text-align: center;
    }

    .belt-evolution-section .kanji-watermark::after {
        display: none;
    }

    /* Slides */
    .belt-evolution-section .belt-slide {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* THIS fixes bottom gap */
        padding: 0 20px;
        z-index: 2;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
    }

    .belt-evolution-section .belt-slide.active {
        opacity: 1;
        visibility: visible;
    }

    /* Belt Circle */
    .belt-evolution-section .belt-circle-master {
        width: 110px;
        height: 110px;
        margin-bottom: 16px;
    }

}

/* BELT COLORS */
.belt-evolution-section .b-white { background: #fff; border: 1px solid #eee; }
.belt-evolution-section .b-yellow { background: #ffd700; }
.belt-evolution-section .b-orange { background: #ff8c00; }
.belt-evolution-section .b-red { background: #d32f2f; }
.belt-evolution-section .b-green { background: #2e7d32; }
.belt-evolution-section .b-blue { background: #1976d2; }
.belt-evolution-section .b-purple { background: #7b1fa2; }
.belt-evolution-section .b-brown { background: #5d4037; }
.belt-evolution-section .b-black { background: #111; }

.belt-evolution-section .rank-black .belt-circle-master {
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(184, 155, 94, 0.2);
}

/* --- SENSEI SECTION STYLES - TIGHTENED VERSION --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&family=Noto+Serif+JP:wght@700&display=swap');

.sensei-path-section {
    background-color: #F6F2EB; 
    /* Reduced vertical padding from 140px to 60px */
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    color: #2D2D2D;
    position: relative;
    overflow: hidden; 
}

/* Atmospheric Kanji Watermark - RETAINED */
.sensei-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(20rem, 50vw, 40rem);
    color: rgba(184, 155, 94, 0.04); 
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}

.sensei-watermark::after {
    content: "先生";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(184, 155, 94, 0.12);
    clip-path: inset(0 100% 0 0);
    animation: kanji-glow-reveal 8s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes kanji-glow-reveal {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    20% { opacity: 1; }
    50% { clip-path: inset(0 0 0 0); opacity: 1; }
    80% { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

.sensei-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Styles - TIGHTENED */
.sensei-header {
    text-align: center;
    /* Reduced margin-bottom from 90px to 40px */
    margin-bottom: 40px;
}

.sensei-subheading {
    display: block;
    font-family: 'Noto Serif JP', serif;
    color: #B89B5E;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px; /* Reduced from 15px */
}

.sensei-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #1A1A1A;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gold-divider {
    width: 50px;
    height: 1.5px;
    background-color: #B89B5E;
    /* Reduced vertical margins from 30px to 20px */
    margin: 20px auto;
}

.sensei-intro {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
    font-style: italic;
}

/* Instructor Grid - TIGHTENED */
.instructor-grid {
    display: flex;
    flex-direction: column;
    /* Reduced gap between cards from 30px to 20px */
    gap: 20px; 
    max-width: 900px; 
    /* Reduced margin-top from 40px to 30px */
    margin: 30px auto 0;
}

.instructor-card {
    background: #FFFFFF;
    border: 1px solid rgba(184, 155, 94, 0.15);
    display: flex;
    align-items: stretch;
    transition: all 0.4s ease;
    text-align: left;
    overflow: hidden;
}

.instructor-card:hover {
    transform: translateX(10px);
    border-color: #B89B5E;
}

.instructor-image-wrapper {
    flex: 0 0 200px; /* Tightened from 220px */
    height: 100%;
    overflow: hidden;
    background: #f0ede9;
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.instructor-card:hover .instructor-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.instructor-info {
    /* Reduced padding slightly for compactness */
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.instructor-rank {
    color: #B89B5E;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.instructor-role {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px; /* Reduced from 15px */
}

.instructor-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    max-width: 450px;
}

/* --- MOBILE REFINEMENT - TIGHTENED --- */
/* --- SENSEI SECTION: MOBILE COLOR & TIGHT GAP FIX --- */

@media (max-width: 768px) {
    .sensei-path-section {
        /* Minimal vertical padding for the section */
        padding: 40px 15px; 
    }

    .sensei-header {
        /* Reduced space between title and first card */
        margin-bottom: 25px;
    }

    .instructor-grid {
        /* Tightened gap between the instructor cards */
        gap: 20px; 
        display: flex;
        flex-direction: column;
    }

    .instructor-card {
        flex-direction: column; 
        border: none;
        background: transparent;
        box-shadow: none;
        align-items: center;
        /* Remove desktop hover transform to keep it stable on mobile */
        transform: none !important; 
    }

    .instructor-image-wrapper {
        flex: 0 0 130px; 
        width: 130px;
        height: 130px;
        margin: 0 auto;
        border-radius: 50%; 
        border: 2px solid #B89B5E;
        z-index: 2;
        overflow: hidden;
    }

    .instructor-img {
        /* FORCE COLOR ON MOBILE */
        filter: grayscale(0%) !important; 
        -webkit-filter: grayscale(0%) !important;
        transform: none !important;
    }

    .instructor-info {
        /* Reduced padding for a tighter card feel */
        padding: 20px 15px 15px 15px;
        text-align: center;
        background: #fff; 
        /* Pulls the info box up to overlap the circular photo */
        margin-top: -45px; 
        width: 100%;
        border-radius: 8px;
        border: 1px solid rgba(184, 155, 94, 0.15);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        z-index: 1;
    }

    .instructor-name {
        font-size: 1.3rem;
        /* Space to clear the overlapping circle */
        margin-top: 25px; 
        margin-bottom: 2px;
    }

    .instructor-rank {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .instructor-role {
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    .instructor-bio {
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 100%;
        margin: 0 auto;
    }

    .sensei-watermark {
        /* Keeps the background kanji small and subtle */
        font-size: 10rem;
    }
}


/* --- AFFILIATION SECTION STYLES - TIGHTENED SPACING --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&family=Noto+Serif+JP:wght@700&display=swap');

.affiliation-legitimacy-section {
    background-color: #F6F2EB; 
    /* Reduced from 140px to 60px to remove excessive gaps */
    padding: 60px 20px; 
    font-family: 'Inter', sans-serif;
    color: #2D2D2D;
    position: relative;
    overflow: hidden;
}

/* 1. ANIMATED KANJI WATERMARK */
.affiliation-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(20rem, 50vw, 40rem);
    color: rgba(184, 155, 94, 0.03);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

.affiliation-watermark::after {
    content: "正統";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    color: rgba(184, 155, 94, 0.1);
    clip-path: inset(0 100% 0 0);
    animation: kanji-glow-reveal 8s infinite ease-in-out;
}

@keyframes kanji-glow-reveal {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    20% { opacity: 1; }
    50% { clip-path: inset(0 0 0 0); opacity: 1; }
    80% { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

.affiliation-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 2. HEADER - REDUCED MARGINS */
.affiliation-header {
    text-align: center;
    /* Reduced from 90px to 40px to close gap between title and content */
    margin-bottom: 40px; 
}

.affiliation-subheading {
    display: block;
    font-family: 'Noto Serif JP', serif;
    color: #B89B5E;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
}

.affiliation-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #1A1A1A;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gold-line {
    width: 60px;
    height: 1px;
    background-color: #B89B5E;
    /* Reduced margin from 25px auto to 15px auto */
    margin: 15px auto; 
}

.affiliation-intro {
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
}

/* 3. CONTENT LAYOUT */
.affiliation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.certificate-frame {
    background: #fff;
    padding: 15px;
    border: 1px solid rgba(184, 155, 94, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transition: transform 0.5s ease;
    position: relative;
}

.certificate-frame::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184, 155, 94, 0.1);
    pointer-events: none;
}

.certificate-frame:hover {
    transform: translateY(-10px) rotate(-1deg);
}

.certificate-img {
    width: 100%;
    height: auto;
    display: block;
}

.org-name {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.org-details {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.formal-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px solid rgba(184, 155, 94, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    color: #B89B5E;
    text-transform: uppercase;
}

/* 4. RESPONSIVE MOBILE - TIGHTENED */
@media (max-width: 900px) {
    .affiliation-legitimacy-section { 
        /* Reduced from 80px to 40px for mobile devices */
        padding: 40px 20px; 
    }
    
    .affiliation-content {
        grid-template-columns: 1fr;
        /* Reduced from 50px to 30px */
        gap: 30px; 
        text-align: center;
    }

    .affiliation-header {
        margin-bottom: 30px;
    }

    .affiliation-image-column {
        max-width: 450px;
        margin: 0 auto;
    }

    .formal-caption { justify-content: center; }

    .org-name { font-size: 1.4rem; }

    .affiliation-watermark {
        font-size: 15rem;
    }
}

/* --- VOICES OF TRUST: MASTER CSS --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

.voices-trust-section {
    background-color: #F6F2EB;
    /* Controlled vertical spacing */
    padding: 60px 20px; 
    font-family: 'Inter', sans-serif;
    color: #2D2D2D;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.testimonials-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

/* 1. HEADER AREA - TIGHTENED */
.testimonials-header {
    text-align: center;
    margin-bottom: 30px; 
}

.testimonials-subheading {
    display: block;
    color: #B89B5E;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

.testimonials-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.gold-accent-line {
    width: 40px;
    height: 1px;
    background: #B89B5E;
    margin: 15px auto 0; /* Minimal gap below title */
}

/* 2. SLIDER AREA */
.testimonial-slider {
    position: relative;
    /* Prevents the section from jumping when text lengths change */
    min-height: 300px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 40px;
}

.testimonial-slide {
    display: none; 
    background: #FFFFFF;
    padding: 40px 50px; 
    border: 1px solid rgba(184, 155, 94, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-radius: 2px;
    /* Smooth reveal animation */
    animation: testimonialFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes testimonialFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. TYPOGRAPHY WITHIN SLIDE */
.quote-icon {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: rgba(184, 155, 94, 0.2);
    line-height: 0;
    margin-bottom: 15px;
    display: block;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    font-weight: 300;
    margin: 0 auto 25px;
    max-width: 650px;
}

.reviewer-meta {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    display: inline-block;
}

.reviewer-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
}

.reviewer-role {
    display: block;
    color: #B89B5E;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 4px;
}

/* 4. NAVIGATION DOTS */
.testimonial-dots {
    margin-top: 25px;
}

.dot {
    height: 6px;
    width: 6px;
    background-color: rgba(184, 155, 94, 0.2);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #B89B5E;
    width: 18px;
    border-radius: 10px;
}

/* 5. MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    .voices-trust-section { 
        padding: 40px 15px; 
    }

    .testimonial-slider {
        margin-top: 30px;
        min-height: 360px; /* Accounts for narrower text wrapping */
    }

    .testimonial-slide {
        padding: 30px 20px;
    }
    
    .quote-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonials-title {
        font-size: 1.8rem;
    }
}

/* --- DOJO ACTION: PREMIUM WHITE & TIGHTENED --- */
.dojo-action-section {
    background-color: #FFFFFF; /* Pure White */
    padding: 60px 5%; /* Matches Training Structure */
    text-align: center;
    position: relative;
}

.dojo-container {
    max-width: 700px;
    margin: 0 auto;
}

/* SUBHEADING: Matches .sub-cap */
.dojo-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #B89B5E;
    text-transform: uppercase;
    letter-spacing: 0.5em; /* Traditional Wide Spacing */
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: block;
}

/* HEADING: Matches Training Structure h2 */
.dojo-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #111111;
    letter-spacing: 0.15em;
    margin: 0;
    text-transform: uppercase;
}

/* INTRO TEXT: Matches Training Intro */
.dojo-text {
    max-width: 600px;
    margin: 1.5rem auto 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-weight: 300;
}

/* --- FORM OPTIMIZATION --- */
.dojo-enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dojo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dojo-enrollment-form input, 
.dojo-enrollment-form select {
    background: transparent;
    padding: 12px 5px;
    border: none;
    border-bottom: 1px solid rgba(184, 155, 94, 0.25); /* Subtle Gold Line */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #111;
    outline: none;
    border-radius: 0;
    transition: border-color 0.4s ease;
}

.dojo-enrollment-form input:focus, 
.dojo-enrollment-form select:focus {
    border-bottom: 1px solid #B89B5E;
}

/* PLACEHOLDER COLOR */
.dojo-enrollment-form input::placeholder {
    color: #999;
}

/* BUTTON: Cinzel Premium */
.dojo-submit-btn {
    background-color: #111111;
    color: #FFFFFF;
    padding: 20px;
    border: 1px solid #111111;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.dojo-submit-btn:hover {
    background-color: transparent;
    color: #111111;
}

/* FOOTER NOTE: Subheading Style */
.dojo-footer-note {
    margin-top: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #B89B5E;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}
/* Style the select element to look like a placeholder when the empty value is selected */
#studentType {
    color: #999; /* Placeholder color */
}

/* Change color to black/dark when a real value is chosen */
#studentType:valid {
    color: #111;
}

/* Ensure the dropdown options themselves stay dark */
#studentType option {
    color: #111;
    background-color: #fff;
}

/* Hide the placeholder from the actual dropdown list */
#studentType option[hidden] {
    display: none;
}
@media (max-width: 768px) {
    .dojo-action-section {
        padding: 40px 20px;
    }
    .dojo-form-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 11. CONTACT SECTION --- */
.shinkan-contact-bridge {
    background-color: #FBF8F3; 
    padding: 40px 5% 50px;
    text-align: center;
    border-top: 1px solid #F0EEE9;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-sub-cap {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #B89B5E;
    text-transform: uppercase;
    letter-spacing: 0.5em; 
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    color: #111111;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.contact-path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.path-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #B89B5E;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.path-data {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5; 
    color: #444;
    margin-bottom: 10px;
    font-style: normal;
}

.data-link {
    text-decoration: none;
    color: #444;
    transition: color 0.3s ease;
}

/* --- DESKTOP CTA: THE SHORT LINE --- */
.path-link {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(184, 155, 94, 0.4); /* The short line */
    transition: all 0.3s ease;
}

/* Desktop Hover Effect */
@media (hover: hover) {
    .path-link:hover {
        color: #B89B5E;
        border-bottom: 1px solid #B89B5E;
        padding-left: 5px; /* Subtle shift to the right */
    }
}

.path-link-subtle {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    color: #BBB;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
}

/* --- MOBILE CTA: THE TOUCH HOVER --- */
@media (max-width: 768px) {
    .contact-path-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-path-item {
        border-bottom: 1px solid rgba(184, 155, 94, 0.1);
        padding-bottom: 20px;
    }

    .path-link {
        border: 1px solid #B89B5E; /* Boxed on mobile for better tap target */
        padding: 10px 30px;
        margin-top: 5px;
        border-radius: 0;
        width: 80%; /* Centered and prominent */
    }

    /* Mobile "Hover" (Active Touch) Effect */
    .path-link:active {
        background-color: #B89B5E;
        color: #FFFFFF;
        transform: scale(0.98); /* Tactile press effect */
    }
}

.contact-closing {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    font-weight: 300;
    margin-top: 20px;
}

/* ================= PREMIUM CEREMONIAL FOOTER ================= */
.dojo-footer {
    background: #000000; 
    padding: 50px 20px 30px; /* Highly tightened padding */
    text-align: center;
    color: #FFFFFF;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Academy Name: Bold & Authoritative */
.footer-academy {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    letter-spacing: 0.25em;
    font-weight: 700; /* Bolded for authority */
    margin-bottom: 12px;
    text-transform: uppercase;
}

.gold-text {
    color: #B89B5E;
    margin-left: 6px;
}

/* Japanese Name: Sharp Centerpiece */
.footer-japanese {
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 300;
}

/* Creed Section: Semi-Bold for Readability */
.footer-creed {
    margin-bottom: 30px;
}

.footer-established, 
.footer-affiliation {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.6;
}

.footer-established {
    font-weight: 600; /* Semi-bold */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.footer-affiliation {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

/* OSS: The Bow */
.footer-oss {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 1.2rem;
    color: #B89B5E;
    font-weight: 800; /* Extra Bold for the final word */
    margin-left: 1.2rem;
    margin-bottom: 35px;
}

/* 2026 Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(184, 155, 94, 0.2);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .dojo-footer {
        padding: 40px 20px 25px;
    }
    
    .footer-academy {
        font-size: 1.1rem;
        letter-spacing: 0.15em;
    }

    .footer-japanese {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
}
