:root {
    --ink: #142033;
    --muted: #556274;
    --paper: #f6f3ee;
    --white: #fffcf8;
    --line: #e3dcd1;
    --cyan: #087f9c;
    --cyan-deep: #05596e;
    --brass: #9a7433;
    --navy: #101b2b;
    --shadow: 0 18px 50px rgba(16, 27, 43, 0.08);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); }
a:hover { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--navy);
    color: white;
    padding: 0.6rem 0.9rem;
    z-index: 20;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2.4rem)); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 243, 238, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand img { width: 168px; height: auto; }
.nav-toggle {
    margin-left: auto;
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    align-items: center;
    gap: 0.45rem;
    font: inherit;
    cursor: pointer;
}
.nav-toggle-bars {
    width: 16px;
    height: 10px;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}
.site-nav { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.nav-list { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.has-sub { position: relative; }
.has-sub > a, .submenu a, .nav-cta {
    text-decoration: none;
    color: var(--ink);
}
.has-sub > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.7rem;
    font-size: 0.92rem;
    font-weight: 650;
}
.has-sub.is-active > a { color: var(--cyan-deep); }
.sub-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    cursor: pointer;
}
.submenu {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 250px;
    max-height: 70vh;
    overflow: auto;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.is-open > .submenu { display: block; }
.submenu a {
    display: block;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    font-size: 0.92rem;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: #f3efe7; }
.nav-cta {
    margin-left: 0.4rem;
    background: var(--navy);
    color: white;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    white-space: nowrap;
}
.nav-cta:hover { color: white; background: var(--cyan-deep); }

.hero { padding: 3.2rem 0 2rem; }
.hero-grid, .page-hero-grid, .split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}
.kicker {
    margin: 0 0 0.6rem;
    color: var(--brass);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.25rem; margin: 1.4rem 0 0.4rem; }
.lead { font-size: 1.18rem; color: var(--muted); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.button, .button-ghost {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 650;
}
.button { background: var(--cyan); color: white; border: 0; cursor: pointer; font: inherit; }
.button:hover { background: var(--cyan-deep); color: white; }
.button-ghost { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.portrait-frame, .page-figure {
    margin: 0;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.portrait-frame img, .page-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-figure figcaption, .gallery figcaption {
    padding: 0.75rem 0.9rem 0.95rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
    margin: 0.5rem 0 1rem;
}
.stats article, .practice article, .card-grid a, .link-list li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.stats article { padding: 1rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.55rem; }
.stats span, .practice p, .card-grid a { color: var(--muted); }

.band { padding: 1rem 0 3.5rem; }
.practice, .card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.practice article, .card-grid a { display: block; padding: 1.1rem 1rem 1.2rem; text-decoration: none; }
.practice h2, .card-grid strong { font-family: var(--serif); color: var(--ink); font-size: 1.25rem; margin: 0.2rem 0 0.4rem; }
.card-grid a:hover { border-color: var(--cyan); }

.page-hero { padding: 2.4rem 0 0.4rem; }
.crumbs { display: flex; gap: 0.45rem; color: var(--muted); font-size: 0.88rem; margin-bottom: 0.8rem; }
.crumbs a { color: var(--muted); }
.prose { padding-bottom: 2rem; }
.prose p { max-width: 72ch; }
.link-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.link-list li { padding: 0.85rem 1rem; }
.link-list a { font-weight: 700; text-decoration: none; }
.link-list span { display: block; color: var(--muted); font-size: 0.92rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.8rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.related { padding: 0 0 4rem; }
.related .card-grid { grid-template-columns: repeat(3, 1fr); }
.gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.9rem;
}
.gallery figure { margin: 0; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: 3 / 2; height: 100%; }

.inquiry { margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 700; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    font: inherit;
    color: var(--ink);
}
.form-success, .form-error { margin: 0; padding: 0.8rem 1rem; border-radius: 12px; }
.form-success { background: #e7f6ef; }
.form-error { background: #fdecec; }
.form-hint, .hp { color: var(--muted); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; }

.player-frame {
    position: relative;
    background: var(--navy);
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.7rem;
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    max-height: 460px;
    overflow: auto;
}
.player-list button {
    display: grid;
    gap: 0.45rem;
    width: 100%;
    padding: 0.4rem;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.player-list button[aria-current="true"] { border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.player-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.player-list span { font-size: 0.82rem; line-height: 1.35; }
.member-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.4rem;
    list-style: none;
    margin: 0;
    padding: 1.3rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.member-grid li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 78px;
}
.member-grid img { max-width: 140px; max-height: 64px; width: auto; height: auto; object-fit: contain; }

.site-footer { background: var(--navy); color: #d5dde6; padding: 3rem 0 1.4rem; }
.footer-grid {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 1.2rem;
}
.footer-brand, .footer-label { color: white; font-weight: 700; margin: 0 0 0.5rem; }
.site-footer a { color: #d5dde6; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; font-size: 0.9rem; }
.footer-note { width: min(1240px, calc(100% - 2rem)); margin: 2rem auto 0; color: #93a0b0; font-size: 0.85rem; }

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 84px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 1rem 1rem;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100vh - 84px);
        overflow: auto;
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; }
    .has-sub > a { padding-left: 0; }
    .sub-toggle { display: inline-block; position: absolute; right: 0; top: 0; }
    .sub-toggle::before { content: "+"; font-size: 1.3rem; }
    .has-sub.is-open .sub-toggle::before { content: "–"; }
    .submenu { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.4rem 0.4rem; min-width: 0; }
    .nav-cta { margin: 0.4rem 0 0.6rem; text-align: center; }
    .hero-grid, .page-hero-grid, .split, .stats, .practice, .card-grid, .related .card-grid, .footer-grid, .form-grid, .gallery, .player-list {
        grid-template-columns: 1fr;
    }
    .player-list { grid-template-columns: 1fr 1fr; max-height: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .gallery figure:first-child { grid-row: auto; }
    body.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
