:root {
    --bg: #08060d;
    --bg-soft: #100b18;
    --surface: #15101f;
    --surface-strong: #1d142b;
    --text: #eeeaf5;
    --muted: #b6abc8;
    --faint: #82758f;
    --accent: #6d28d9;
    --accent-light: #c4a7ff;
    --accent-deep: #3b0764;
    --border: #35264b;
    --border-bright: #6d28d9;
}

* {
    box-sizing: border-box;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(109, 40, 217, .22), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(196, 167, 255, .09), transparent 28rem),
        linear-gradient(180deg, var(--bg), #050407 70%);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.75;
}

.site {
    width: min(100% - 2rem, 960px);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.site-header {
    border: 1px solid var(--border);
    border-bottom-color: var(--border-bright);
    background: rgba(21, 16, 31, .92);
    padding: 1.25rem 1.5rem;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.site-title {
    margin: 0;
    font-size: clamp(2rem, 8vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.site-title a {
    color: var(--text);
    text-decoration: none;
}

.tagline {
    margin-top: .65rem;
    color: var(--accent-light);
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.site-nav a {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-light);
    padding: .35rem .75rem;
    text-decoration: none;
    background: rgba(8, 6, 13, .55);
}

.site-nav a:hover,
.site-nav a:focus {
    border-color: var(--accent-light);
    color: #fff;
}

.content {
    border: 1px solid var(--border);
    border-top: 0;
    background: rgba(16, 11, 24, .94);
    padding: clamp(1.25rem, 4vw, 3rem);
    border-radius: 0 0 8px 8px;
}

main {
    max-width: 72ch;
    margin: 0 auto;
    text-align: center;
}

article {
    text-align: left;
}

article h1 {
    text-align: center;
}

article ul,
article ol {
    display: block;
}

main img:first-child {
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    box-shadow: 0 0 0 6px rgba(109, 40, 217, .12);
    display: block;
    height: auto;
    margin: 0 auto 1.5rem;
    max-width: min(260px, 100%);
}

.album-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    margin: 2rem auto;
    text-align: center;
}

.album-card {
    background: rgba(21, 16, 31, .72);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
}

.album-card img,
main .album-card img:first-child {
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    height: auto;
    margin: 0;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.album-card figcaption {
    padding: .85rem .75rem 1rem;
}

.album-card strong,
.album-card span {
    display: block;
}

.album-card strong {
    color: var(--accent-light);
    font-size: 1.05rem;
    line-height: 1.2;
}

.album-card span {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.35;
    margin-top: .25rem;
}

h1,
h2,
h3 {
    color: var(--accent-light);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    margin-top: 0;
}

.home-content h1 {
    font-size: clamp(2.25rem, 7vw, 4rem);
}

h2 {
    margin-top: 2.25rem;
}

a {
    color: var(--accent-light);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover,
a:focus {
    color: #fff;
}

p,
ul,
ol {
    color: var(--text);
}

main ul,
main ol {
    display: inline-block;
    max-width: 100%;
    text-align: left;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

blockquote {
    border-left: 4px solid var(--accent);
    color: var(--muted);
    margin-left: 0;
    padding-left: 1rem;
    text-align: left;
}

code {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: .1rem .3rem;
}

.post-meta {
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    text-align: center;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    margin-top: .65rem;
}

.post-tag {
    background: rgba(109, 40, 217, .16);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-light);
    display: inline-block;
    font-size: .78rem;
    line-height: 1.2;
    padding: .25rem .6rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
}

.post-list {
    display: block;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    text-align: center;
}

.post-list li {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.post-list a {
    font-size: 1.25rem;
    font-weight: bold;
}

.post-list time,
.post-list p {
    color: var(--muted);
    display: block;
    font-size: .95rem;
    margin: .25rem auto 0;
    max-width: 56ch;
    text-align: center;
}

.post-list .post-tags {
    margin-top: .65rem;
}

.site-footer {
    color: var(--faint);
    font-size: .9rem;
    margin-top: 1.25rem;
    text-align: center;
}

.site-footer a {
    color: var(--muted);
}

@media (max-width: 640px) {
    body {
        font-size: 17px;
    }

    .site {
        width: min(100% - 1rem, 960px);
        padding-top: .5rem;
    }
}
