/* ══════════════════════════════════════
   KASHIWA BUJINKAN NINJUTSU
   Shared Styles
   ══════════════════════════════════════ */

:root {
    --ink: #0a0a0c;
    --paper: #f5f0e8;
    --paper-dark: #e8e0d2;
    --crimson: #8b1a1a;
    --crimson-light: #a82828;
    --crimson-glow: rgba(139, 26, 26, 0.12);
    --gold: #c4a35a;
    --gold-dim: #a08642;
    --slate: #3a3a3c;
    --mist: #6b6b70;
    --light-line: rgba(10, 10, 12, 0.08);
    --font-display: 'Noto Serif JP', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    height: 72px;
}
.logo-area {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
}
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-text {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--paper); letter-spacing: 0.06em; line-height: 1.25;
}
.logo-text span { color: var(--gold); display: block; font-size: 12px; }

nav { display: flex; align-items: center; gap: 28px; }
nav a {
    color: rgba(245, 240, 232, 0.65); text-decoration: none;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: color 0.25s;
}
nav a:hover { color: var(--gold); }
nav a.active { color: var(--gold); }
.nav-phone {
    color: var(--gold) !important; font-size: 14px !important;
    letter-spacing: 0.02em !important; font-weight: 700 !important;
    text-transform: none !important;
}
.nav-cta {
    background: var(--crimson); color: var(--paper) !important;
    padding: 10px 20px; border-radius: 4px; font-size: 12px !important;
    transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: var(--crimson-light); transform: translateY(-1px); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--paper); margin: 5px 0; border-radius: 1px; transition: 0.3s; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 12, 0.98);
    z-index: 105;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: rgba(245, 240, 232, 0.7); text-decoration: none;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    padding: 12px 24px; transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); }
.mobile-nav .mobile-phone {
    margin-top: 20px; font-family: var(--font-display);
    font-size: 20px; font-weight: 900; color: var(--gold);
    text-decoration: none;
}
.mobile-nav .mobile-cta {
    margin-top: 8px; display: inline-block;
    background: var(--crimson); color: var(--paper);
    padding: 14px 32px; border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em; text-decoration: none;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
    padding: 140px 0 80px;
    background: var(--ink);
    position: relative; overflow: hidden;
}
.page-hero::after {
    content: attr(data-kanji);
    position: absolute; right: -20px; bottom: -40px;
    font-family: var(--font-display);
    font-size: clamp(200px, 30vw, 360px);
    font-weight: 900; color: rgba(245, 240, 232, 0.02);
    line-height: 1; pointer-events: none; user-select: none;
}
.page-hero .section-tag { color: var(--gold); }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 900; color: var(--paper);
    line-height: 1.15; margin-bottom: 16px;
}
.page-hero p {
    color: rgba(245, 240, 232, 0.55);
    font-size: 18px; max-width: 600px; font-weight: 300;
}

/* ── SECTION BASICS ── */
.section { padding: 80px 0; }
.section-alt { padding: 80px 0; background: white; }
.section-dark { padding: 80px 0; background: var(--ink); color: var(--paper); }
.section + .section { border-top: 1px solid var(--light-line); }

.section-tag {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--crimson); margin-bottom: 14px;
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 900; line-height: 1.2;
    margin-bottom: 22px; color: var(--ink);
}
h3 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    line-height: 1.3; margin-bottom: 12px;
}

.prose { color: var(--slate); font-size: 16px; line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); }

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--crimson); color: var(--paper);
    padding: 16px 32px; border: none; border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
    text-decoration: none; cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover {
    background: var(--crimson-light); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 26, 26, 0.3);
}
.btn-primary svg { width: 16px; height: 16px; }

/* ── TWO-COLUMN LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.grid-2-center { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── IMAGE STYLES ── */
.img-rounded { border-radius: 8px; overflow: hidden; box-shadow: 0 16px 48px rgba(10,10,12,0.1); }
.img-rounded img { width: 100%; object-fit: cover; }

.img-placeholder {
    background: var(--paper-dark); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--mist); text-align: center;
    padding: 40px; border: 1px dashed rgba(10,10,12,0.1);
    min-height: 300px;
}

/* ── CHECK LIST ── */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; color: var(--slate);
}
.ck {
    flex-shrink: 0; width: 20px; height: 20px;
    background: var(--crimson-glow); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 3px;
}
.ck svg { width: 11px; height: 11px; color: var(--crimson); }

/* ── CREDENTIAL TAGS ── */
.cred-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.cred-tag {
    background: var(--crimson-glow); color: var(--crimson);
    font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
    padding: 5px 12px; border-radius: 100px;
}

/* ── CALLOUT BOX ── */
.callout {
    margin-top: 28px; padding: 20px 24px;
    background: rgba(139, 26, 26, 0.04);
    border-left: 3px solid var(--crimson);
    border-radius: 0 6px 6px 0;
    font-size: 16px; font-weight: 600;
    color: var(--ink); line-height: 1.6;
}
.callout-gold {
    margin: 28px 0; padding: 24px 28px;
    background: rgba(196, 163, 90, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 6px 6px 0;
    font-size: 16px; line-height: 1.7;
    color: var(--slate);
}
.callout-gold cite {
    display: block; margin-top: 12px;
    font-style: normal; font-weight: 700;
    color: var(--ink); font-size: 14px;
}

/* ── CTA BANNER ── */
.cta-banner {
    padding: 80px 0; background: var(--crimson);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: '武'; position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 340px; font-weight: 900;
    color: rgba(255,255,255,0.04); pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 14px; position: relative; }
.cta-banner p {
    color: rgba(255,255,255,0.65); font-size: 18px;
    margin-bottom: 20px; max-width: 480px;
    margin-left: auto; margin-right: auto; position: relative;
}
.cta-banner .cta-phone {
    display: block; font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px); font-weight: 900;
    margin-bottom: 28px; position: relative;
}
.cta-banner .cta-phone a { color: white; text-decoration: none; }
.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--crimson);
    padding: 17px 34px; border: none; border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px; font-weight: 700;
    text-decoration: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s; position: relative;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
.site-footer {
    background: var(--ink);
    border-top: 1px solid rgba(245, 240, 232, 0.05);
    padding: 24px 0; text-align: center;
}
.site-footer p { color: rgba(245, 240, 232, 0.2); font-size: 13px; }
.site-footer a { color: rgba(245, 240, 232, 0.3); text-decoration: none; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav a:not(.nav-cta):not(.nav-phone) { display: none; }
    .mobile-toggle { display: block; }
    .grid-2, .grid-2-center { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .header-inner { height: 60px; }
    .page-hero { padding: 100px 0 56px; }
    .section, .section-alt, .section-dark { padding: 56px 0; }
    .cta-banner { padding: 56px 0; }
    .nav-phone { display: none !important; }
}
