:root {
    --bg:        #0a0a0d;
    --bg2:       #0f0f14;
    --surface:   #121218;
    --border:    #1c1c28;
    --accent:    #c9a96e;       /* warmes Gold – einzige Farbe */
    --accent-dim:#6b5535;
    --text:      #d4d4e4;
    --text-dim:  #7a6e5f;
    --text-muted:#4a3f32;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: Optima, 'Gill Sans', 'Gill Sans MT', Candara, sans-serif;
    font-weight: 300;
    font-size: 18px;
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── Layout ── */
.site-wrap {
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    @media (min-width: 720px) {
        display: grid;
        grid-template-columns: 1fr minmax(min-content, 15rem) minmax(20rem, 85ch) 1fr;
        grid-template-areas:
            "left-margin header content right-margin"
            "left-margin footer content right-margin";
        grid-template-rows: 50vh 50vh;
        grid-gap: 0 4rem;
    }
}

/* ── Header ── */
.site-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    @media (min-width: 720px) {
        grid-area: header;
        flex-direction: column;
        justify-content: flex-start;
        border-bottom: none;
        padding-inline: 0;
        padding-block: 2rem;
        gap: 1rem;
    }
}

.site-logo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    @media (min-width: 720px) {
        flex-direction: column;
        gap: 0;
    }
}

.site-nav a {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
}

/* ── Entry ── */
.entry {
    padding: 2rem 0 4rem;
    @media (min-width: 720px) {
        grid-area: content;
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
    }
}

.entry-date {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    @media (min-width: 720px) {
        margin-block-end: 2rem;
    }
}

.entry-image {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease both;
    @media (min-width: 720px) {
        max-height: 65vh;
        object-fit: contain;
    }
}

.entry-quote {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s 0.2s ease both;
}

.entry-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    bottom: 0.4em;
    width: 1px;
    background: var(--accent-dim);
}

.entry-quote p {
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    line-height: 1.55;
    color: #e2e2ef;
    font-weight: 300;
    font-style: italic;
}

.entry-source {
    padding-left: 2rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    animation: fadeIn 1s 0.35s ease both;
    padding-block-end: 2rem;
}

.entry-source a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-dim);
    transition: border-color 0.2s, color 0.2s;
}

.entry-source a:hover {
    color: var(--text);
    border-color: var(--text-dim);
}

/* ── Archive ── */
.archive {
    flex-grow: 2;
    @media (min-width: 720px) {
        grid-area: content;
    }
}

.archive-header {
    padding: 4rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
}

.archive-header h1 {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.archive-list {
    list-style: none;
    padding: 1.5rem 0;
}

.archive-item {
    border-bottom: 1px solid var(--border);
}

.archive-item a {
    display: grid;
    grid-template-columns: 7rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.3rem 0;
    text-decoration: none;
    transition: opacity 0.15s;
}

.archive-item a:hover .archive-item-quote {
    color: #e2e2ef;
}

.archive-item-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    transition: color 0.2s;
    font-weight: 400;
}

.archive-item a:hover .archive-item-date {
    color: var(--accent);
}

.archive-item-quote {
    color: var(--text-dim);
    font-size: 1rem;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.archive-item-source {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: wrap;
    letter-spacing: 0.05em;
    width: 100%;
    text-overflow: ellipsis;
}

/* ── Entry nav ── */
.entry-nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.entry-nav a {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.entry-nav a:hover { color: var(--text); }

/* ── Footer ── */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .65rem;
    @media (min-width: 720px) {
        grid-area: footer;
        display: flex;
        border-top: none;
        padding-inline: 0 2rem;
        padding-block: 1rem;
    }
}

/* ── Animations ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .archive-item a {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }
}
