:root {
    --bg: #0f172a;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --surface: #111827;
    --border: #374151;
    --link: #93c5fd;
    --button-primary: #3b82f6;
    --button-primary-hover: #60a5fa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--link);
}

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

.site-header {
    border-bottom: 1px solid var(--border);
    background-color: var(--bg);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.header-row {
    justify-content: flex-start;
}

.footer-row {
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
}

    .brand img {
        width: 28px;
        height: 28px;
    }

.nav {
    display: inline-flex;
    gap: 1rem;
    margin-left: 0.75rem;
}

    .nav a {
        text-decoration: none;
    }

        .nav a:hover,
        .nav a:focus-visible {
            text-decoration: underline;
        }

.section {
    padding: 2rem 0;
}

h1,
h2 {
    margin-top: 0;
    line-height: 1.25;
}

h1 {
    max-width: 22ch;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 4rem;
    align-items: start;
}

.hero-content p {
    max-width: 56ch;
}

.hero-highlights {
    padding: 1.3rem;
    border: 1px solid color-mix(in srgb, var(--border) 58%, transparent);
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--surface) 82%, var(--bg));
}

    .hero-highlights h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

.muted {
    display: inline-block;
    margin: 0 0 0.8rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background-color: rgba(59, 130, 246, 0.15);
    background-color: color-mix(in srgb, var(--button-primary) 15%, transparent);
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.button {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color .2s, border-color .2s, color .2s;
}

.button-primary {
    background-color: var(--button-primary);
    border-color: var(--button-primary);
    color: #fff;
}

    .button-primary:hover,
    .button-primary:focus-visible {
        background-color: var(--button-primary-hover);
        border-color: var(--button-primary-hover);
    }

.button-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

    .button-secondary:hover,
    .button-secondary:focus-visible {
        background-color: var(--surface);
    }

:focus-visible {
    outline: 2px solid var(--button-primary);
    outline-offset: 2px;
}

.highlights-list {
    margin: 0;
    padding-left: 1.25rem;
}

    .highlights-list li + li {
        margin-top: 0.5rem;
    }

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shot {
    margin: 0;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--surface);
}

    .shot img {
        display: block;
        width: 100%;
        height: auto;
    }

    .shot figcaption {
        margin-top: 0.6rem;
        color: var(--muted);
        font-size: 0.92rem;
    }

.site-footer {
    border-top: 1px solid var(--border);
}

    .site-footer p {
        margin: 0;
    }

@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --text: #1f2937;
        --muted: #6b7280;
        --surface: #f9fafb;
        --border: #e5e7eb;
        --link: #0b63ce;
        --button-primary: #2563eb;
        --button-primary-hover: #1d4ed8;
    }
}

@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .header-row,
    .footer-row {
        justify-content: center;
        text-align: center;
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section {
        padding: 2rem 0;
    }
}
