/* Change these colors later to redesign the whole site quickly. */
:root {
    --background: #f2f2f2;
    --surface: #ffffff;
    --text: #222222;
    --accent: #555555;
    --border: #cccccc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header,
main,
footer {
    width: min(100%, 1000px);
    margin: 0 auto;
}

header {
    margin-bottom: 30px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

nav a,
a {
    color: var(--accent);
}

main section,
.project-list article,
.journal-entry {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 20px;
}

.link-grid,
.exhibit-grid,
.scrapbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.site-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    color: var(--text);
    text-decoration: none;
}

.site-card:hover {
    border-color: var(--accent);
}

.exhibit img,
.scrap img,
.shrine-intro img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.shrine-intro {
    display: grid;
    grid-template-columns: minmax(180px, 350px) 1fr;
    gap: 20px;
    align-items: start;
}

footer {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 650px) {
    .shrine-intro {
        grid-template-columns: 1fr;
    }
}
