/* Mushin Komon — ink, paper and vermilion */

:root {
    --ink: #1e1c1a;
    --ink-soft: #3a3530;
    --paper: #f7f3ec;
    --paper-alt: #efe9df;
    --accent: #b04a32;
    --accent-dark: #8f3825;
    --line: #dcd2c3;
    --muted: #6f655a;
    --shadow: 0 18px 45px rgba(30, 28, 26, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background-color: var(--paper);
    background-image: url("assets/filigree.svg"), radial-gradient(circle at 15% 10%, #fffdf8 0, transparent 45%);
    background-repeat: repeat, no-repeat;
    background-size: 420px 420px, auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.75;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    color: #fff;
    background: var(--ink);
}

/* Header */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.brand img {
    width: 64px;
    height: auto;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.brand-name strong {
    color: var(--accent);
}

.site-nav {
    display: flex;
    gap: 1.75rem;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: var(--accent);
}

/* Hero */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    max-width: 1080px;
    margin: 2rem auto 0;
    padding: 4rem 3.5rem;
    border-radius: 18px;
    color: #f8f4ed;
    background: linear-gradient(135deg, #23201d 0%, #3a332c 100%);
    box-shadow: var(--shadow);
}

/* Kanji watermark: 合氣道 outlines from Yuji Syuku (SIL OFL 1.1), bundled in
   assets/kanji.svg. Kept very subtle so it reads as a watermark. */
.hero-kanji {
    position: absolute;
    top: 50%;
    left: -2rem;
    width: 190px;
    opacity: 0.03;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    margin: 0 0 1rem;
    color: #d9b6a3;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.05;
}

.hero-lead {
    max-width: 36rem;
    margin: 0 0 2rem;
    color: #e4dcd1;
    font-size: 1.05rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual::before {
    position: absolute;
    inset: -1.25rem;
    border: 1px solid rgba(248, 244, 237, 0.28);
    border-radius: 50%;
    content: "";
}

.hero-visual img {
    width: 100%;
    max-width: 340px;
    border-radius: 50%;
    filter: grayscale(100%) contrast(1.05);
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 18px rgba(176, 74, 50, 0.3);
    transform: translateY(-2px);
}

/* Content */

main {
    max-width: 880px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    counter-reset: section;
}

main h2 {
    position: relative;
    margin: 4rem 0 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.2;
    counter-increment: section;
}

main h2::before {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    content: counter(section, decimal-leading-zero);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
}

main h3 {
    margin: 2.5rem 0 0.75rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

main p {
    margin: 0 0 1.1rem;
}

.lead {
    color: var(--ink-soft);
    font-size: 1.1rem;
}

main ul,
main ol {
    margin: 1rem 0 1.75rem;
    padding-left: 1.4rem;
}

main li {
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
}

main li::marker {
    color: var(--accent);
}

/* Footer */

.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--paper-alt);
    font-size: 0.85rem;
    text-align: center;
}

.site-footer p {
    margin: 0 0 0.5rem;
}

.site-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* Responsive design */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 230px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    body {
        line-height: 1.65;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-kanji {
        display: none;
    }

    main {
        padding: 2.5rem 1.25rem 3rem;
    }

    main h2 {
        margin-top: 3rem;
        font-size: 1.7rem;
    }
}
