:root {
    --bg: #0d0709;
    --panel: #1a0d13;
    --panel-2: #251019;
    --text: #fff3f8;
    --muted: #d8a9bd;
    --soft: #a56b83;
    --line: #4b2435;
    --hot: #e83f86;
    --deep-hot: #a91655;
    --gold: #d7b15d;
    --white: #fff9fc;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    background:
        linear-gradient(90deg, rgba(232, 63, 134, .08) 0 1px, transparent 1px 78px),
        linear-gradient(180deg, rgba(84, 20, 48, .32) 0, rgba(18, 7, 13, .95) 300px, #0b0508 100%),
        #0b0508;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.46;
    margin: 0;
}

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(14, 5, 10, .9);
    border: 1px solid rgba(255, 255, 255, .1);
    border-left: 6px solid var(--hot);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 12px auto 0;
    max-width: 1040px;
    padding: 10px 14px;
}

.brand {
    color: var(--white);
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: .05em;
    line-height: .95;
    text-decoration: none;
    text-transform: uppercase;
}

.brand span,
.brand strong {
    display: block;
}

.brand strong {
    color: var(--hot);
    font-size: 28px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.main-nav a,
.site-footer a {
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 0;
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav a:hover,
.site-footer a:hover {
    color: var(--hot);
}

main {
    margin: 0 auto;
    max-width: 1040px;
    padding: 18px 16px 42px;
}

.hero {
    align-items: stretch;
    background: rgba(24, 10, 17, .96);
    border: 1px solid rgba(255, 255, 255, .13);
    border-top: 5px solid var(--gold);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    min-height: 360px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.hero-copy {
    align-self: center;
    padding: 30px;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    margin: 0 0 9px;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: Georgia, serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(34px, 4.8vw, 58px);
    margin: 0 0 12px;
}

h2 {
    color: var(--white);
    font-size: 24px;
    margin: 0 0 9px;
}

p {
    margin: 0 0 11px;
}

.hero-copy > p:last-child {
    color: var(--muted);
    font-size: 16px;
    max-width: 580px;
}

.hero img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.page-home .hero {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
}

.page-home .hero img {
    object-position: center top;
}

.page-members .hero img {
    object-position: center center;
}

.content-stack,
.card-grid,
.photo-grid,
.update-list,
.set-grid,
.post-list,
.faq-list {
    margin-top: 14px;
}

.content-stack {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-block {
    background: rgba(20, 8, 14, .82);
    border: 1px solid rgba(255, 255, 255, .11);
    border-left: 4px solid rgba(232, 63, 134, .72);
    padding: 18px 20px;
}

.text-block p {
    color: var(--muted);
    font-size: 15px;
}

.card-grid,
.photo-grid,
.set-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.set-grid article,
.post-list article,
.update-list article,
.faq-list details {
    background: rgba(28, 12, 19, .94);
    border: 1px solid rgba(255, 255, 255, .1);
    text-decoration: none;
}

.card {
    min-height: 122px;
    padding: 16px;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.card:hover {
    background: rgba(38, 15, 26, .98);
    border-color: rgba(244, 73, 145, .55);
}

.card span,
.update-list span {
    color: var(--hot);
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card p,
.set-grid p,
.post-list p,
.faq-list p {
    color: var(--muted);
}

.photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.photo-grid figure {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .12);
    margin: 0;
    overflow: hidden;
}

.photo-grid img {
    aspect-ratio: 3 / 4;
    display: block;
    object-fit: cover;
    width: 100%;
}

.photo-grid figcaption {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 8px 10px;
    text-transform: uppercase;
}

.update-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.update-list article,
.set-grid article,
.post-list article,
.faq-list details {
    padding: 16px;
}

.set-grid article,
.post-list article,
.update-list article,
.faq-list details {
    min-height: 100%;
}

.update-list h2,
.set-grid h2,
.post-list h2 {
    font-size: 19px;
}

.post-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list summary {
    color: var(--white);
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.faq-list p {
    margin-top: 9px;
}

.site-footer {
    align-items: center;
    background: rgba(14, 5, 10, .88);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto 16px;
    max-width: 1040px;
    padding: 16px;
}

.site-footer p {
    color: var(--muted);
    margin: 4px 0 0;
    max-width: 560px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

@media (max-width: 860px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy {
        padding: 30px 24px;
    }

    .hero img {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .page-home .hero {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .content-stack,
    .set-grid,
    .update-list,
    .post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-stack {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .main-nav a,
    .site-footer a {
        font-size: 11px;
        padding: 6px 8px;
    }

    main {
        padding: 14px 12px 34px;
    }

    .site-header {
        margin-top: 10px;
        padding: 10px;
    }

    .main-nav {
        gap: 12px;
    }

    h1 {
        font-size: 34px;
    }

    .text-block,
    .card,
    .update-list article,
    .set-grid article,
    .post-list article,
    .faq-list details {
        padding: 15px;
    }

    .card-grid,
    .set-grid,
    .update-list,
    .post-list,
    .photo-grid {
        grid-template-columns: 1fr;
    }
}
