:root {
    --skin-ink: #111827;
    --skin-muted: #64748b;
    --skin-line: #e2e8f0;
    --skin-surface: #ffffff;
    --skin-soft: #f8fafc;
    --skin-accent: #dc2626;
    --skin-accent-dark: #991b1b;
    --skin-dark: #0f172a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f1f5f9;
    color: var(--skin-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
.public-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(226,232,240,.92);
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
    backdrop-filter: blur(14px);
}
.public-nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.public-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.public-logo img {
    width: 175px;
    max-height: 52px;
    object-fit: contain;
}
.public-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}
.public-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.public-links a:hover,
.public-links a.active {
    color: var(--skin-accent);
    background: #fef2f2;
}
.public-links .nav-login {
    margin-left: 5px;
    color: #fff;
    background: var(--skin-dark);
}
.public-links .nav-login:hover {
    color: #fff;
    background: #020617;
}
.public-main { min-height: calc(100vh - 150px); }
.directory-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 64px;
}
.directory-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 22px;
}
.directory-kicker,
.section-kicker {
    margin: 0 0 7px;
    color: var(--skin-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.directory-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -.03em;
}
.directory-description {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--skin-muted);
    line-height: 1.75;
}
.directory-filter {
    padding: 20px;
    margin-bottom: 24px;
    background: var(--skin-surface);
    border: 1px solid var(--skin-line);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}
.filter-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.filter-field select,
.filter-field input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: var(--skin-ink);
}
.filter-actions { display: flex; gap: 8px; }
.btn-directory,
.public-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    background: var(--skin-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}
.btn-directory:hover,
.public-button:hover {
    background: var(--skin-accent-dark);
    color: #fff;
    text-decoration: none;
}
.btn-directory.secondary,
.public-button.secondary {
    background: #e2e8f0;
    color: #334155;
}
.public-button.dark { background: var(--skin-dark); }
.directory-summary {
    margin: 0 0 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}
.directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.directory-card {
    min-width: 0;
    padding: 18px;
    background: var(--skin-surface);
    border: 1px solid var(--skin-line);
    border-radius: 17px;
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
    text-align: center;
}
.directory-photo {
    width: 92px;
    height: 92px;
    margin: 0 auto 13px;
    border: 4px solid #fee2e2;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}
.directory-name {
    min-height: 42px;
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.directory-nickname {
    margin: 4px 0 0;
    color: var(--skin-muted);
    font-size: 12px;
}
.directory-role {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    font-weight: 900;
}
.directory-scope {
    margin: 11px 0 0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
.directory-state {
    padding: 42px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    color: var(--skin-muted);
    text-align: center;
    line-height: 1.7;
}
.directory-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 28px;
}
.directory-pagination a,
.directory-pagination span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid var(--skin-line);
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.directory-pagination span.active {
    border-color: var(--skin-accent);
    background: var(--skin-accent);
    color: #fff;
}
.directory-pagination span.disabled { opacity: .48; }
.public-footer {
    padding: 30px 20px;
    border-top: 1px solid var(--skin-line);
    background: #fff;
    color: var(--skin-muted);
    text-align: center;
    font-size: 12px;
}
.public-footer strong {
    display: block;
    margin-bottom: 4px;
    color: var(--skin-ink);
}
.site-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(15,23,42,.96), rgba(127,29,29,.9)),
        url("../images/bg-1.jpg") center/cover;
    color: #fff;
}
.site-hero::after {
    position: absolute;
    right: -120px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border: 90px solid rgba(255,255,255,.05);
    border-radius: 50%;
    content: "";
}
.site-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: center;
    gap: 48px;
    padding: 70px 0;
}
.site-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 950;
}
.site-hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.hero-actions .public-button.secondary {
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
    color: #fff;
}
.hero-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 28px 70px rgba(0,0,0,.2);
    backdrop-filter: blur(14px);
}
.hero-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 19px;
}
.hero-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}
.site-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}
.site-section.compact { padding-top: 0; }
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
}
.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.035em;
    font-weight: 950;
}
.section-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--skin-muted);
    line-height: 1.7;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -42px;
    position: relative;
    z-index: 3;
}
.stat-card {
    padding: 24px;
    border: 1px solid var(--skin-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.09);
}
.stat-card strong {
    display: block;
    color: var(--skin-accent);
    font-size: 32px;
    font-weight: 950;
}
.stat-card span {
    display: block;
    margin-top: 3px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.content-grid,
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.content-card,
.event-card,
.info-panel {
    overflow: hidden;
    border: 1px solid var(--skin-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,.055);
}
.content-card img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    background: #e2e8f0;
}
.content-placeholder {
    height: 195px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fee2e2, #fff1f2);
    color: #991b1b;
    font-size: 34px;
    font-weight: 950;
}
.content-card-body,
.event-card,
.info-panel { padding: 22px; }
.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--skin-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.content-card h3,
.event-card h3 {
    margin: 12px 0 9px;
    font-size: 19px;
    line-height: 1.4;
}
.content-card h3 a,
.event-card h3 a {
    text-decoration: none;
}
.event-date {
    display: inline-grid;
    min-width: 66px;
    padding: 10px;
    border-radius: 14px;
    background: #fef2f2;
    color: #991b1b;
    text-align: center;
}
.event-date strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}
.event-date span {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}
.event-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.event-card-head h3 { margin-top: 2px; }
.event-card p,
.content-card p,
.info-panel p {
    color: var(--skin-muted);
    line-height: 1.7;
}
.text-link {
    color: var(--skin-accent-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}
.about-band {
    background: var(--skin-dark);
    color: #fff;
}
.about-band .site-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.about-band h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 950;
    letter-spacing: -.04em;
}
.about-copy {
    color: #cbd5e1;
    line-height: 1.8;
}
.prose-card {
    padding: clamp(22px, 5vw, 48px);
    border: 1px solid var(--skin-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15,23,42,.06);
}
.prose-card + .prose-card { margin-top: 18px; }
.prose-card h2 { margin-top: 0; }
.prose-card p,
.prose-card li { color: #475569; line-height: 1.8; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-value {
    margin-top: 10px;
    color: var(--skin-ink);
    font-size: 18px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.preview-banner {
    padding: 9px 16px;
    background: #fef3c7;
    color: #92400e;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .site-hero-inner,
    .about-band .site-section { grid-template-columns: 1fr; }
    .site-hero-inner { min-height: auto; }
    .hero-card { max-width: 620px; }
    .directory-grid,
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-grid,
    .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .public-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }
    .public-logo img { width: 148px; }
    .public-links { width: 100%; justify-content: flex-start; }
    .public-links a { flex: 1 1 28%; text-align: center; padding: 9px 7px; }
    .public-links .nav-login { margin-left: 0; }
    .directory-hero,
    .section-heading { align-items: flex-start; flex-direction: column; }
    .directory-shell { padding-top: 28px; }
    .filter-grid,
    .directory-grid,
    .stats-grid,
    .content-grid,
    .event-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .filter-actions { grid-column: 1 / -1; }
    .filter-actions > * { flex: 1; text-align: center; }
    .site-hero-inner { padding: 54px 0 72px; }
    .site-hero h1 { font-size: 43px; }
    .site-hero p { font-size: 16px; }
    .stats-grid { margin-top: -28px; }
    .site-section { padding: 52px 0; }
}
