/* robinsoncreek.net — static site. No JS, no inline styles (CSP: style-src 'self' + Google Fonts).
   The footer year is filled by Apache SSI. Earlier full-page design: ../../../unused/site-v1.css */

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

html { -webkit-text-size-adjust: 100%; }
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #14161a;
    color: #fff;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* aurora photo fills everything above the footer */
.hero {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1024 url("/assets/img/aurora-1280.jpg") center 35% / cover no-repeat;
    background-image: image-set(url("/assets/img/aurora-1280.jpg") 1x, url("/assets/img/aurora-2400.jpg") 2x);
    isolation: isolate;
}
@media (min-width: 1300px) {
    .hero { background-image: url("/assets/img/aurora-2400.jpg"); }
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 6, 20, 0.45) 0%, rgba(10, 6, 20, 0) 30%),
        linear-gradient(0deg, rgba(10, 8, 14, 0.6) 0%, rgba(10, 8, 14, 0) 45%);
}

.topnav {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
}
.topnav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);
}
.topnav-link:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* error pages: message centered on the photo */
.error {
    margin: auto;
    padding: 2rem 1.25rem 4rem;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.error .code {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 500;
    line-height: 1;
}
.error h1 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin: 0.4rem 0 0.3rem;
}
.error p { opacity: 0.85; margin-bottom: 1.4rem; }

footer {
    padding: 0.4rem 1rem;
    background: #f3efe9;
    border-top: 1px solid #d9d1c6;
    color: #6f675d;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
}
@media (prefers-color-scheme: dark) {
    footer { background: #14161a; border-color: #31363e; color: #a29a90; }
}
