@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Lato-Regular-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Lato-Regular-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Lato-Bold-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Lato-Bold-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #050505;
    --bg-soft: #0c0c0c;
    --text: #f3f3f3;
    --muted: #b8b8b8;
    --accent: #e6e6e6;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(120% 70% at 15% -10%, rgba(255, 255, 255, 0.08), transparent 60%),
        radial-gradient(90% 60% at 80% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
        radial-gradient(80% 120% at 50% 100%, rgba(255, 255, 255, 0.04), transparent 60%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px 56px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0 22px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-name {
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.brand-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.site-nav a {
    opacity: 0.78;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--text);
    display: block;
    transition: background 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    top: 6px;
}

.site-header.nav-open .nav-toggle-icon {
    background: transparent;
}

.site-header.nav-open .nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header.nav-open .site-nav {
    display: flex;
}

.nav-external {
    color: var(--muted);
}

.hero {
    padding: 48px 0 32px;
}

.hero-inner {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
    line-height: 1.05;
}

.hero-lede {
    max-width: 600px;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
}

.hero-copy {
    max-width: 640px;
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--text);
    background: var(--text);
    color: #0b0b0b;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px var(--shadow);
}

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

.section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.section:last-of-type {
    border-bottom: none;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.section-index {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 700;
}

.section-head h2 {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.05rem;
    margin: 0;
    font-weight: 700;
}

.section-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.section-body {
    max-width: 820px;
    font-size: 1.15rem;
    line-height: 1.75;
}

.section-body p {
    margin: 0 0 18px;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-top: 0;
    font-weight: 700;
}

.text-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.text-aside {
    border-left: 1px solid var(--border);
    padding-left: 24px;
    display: grid;
    gap: 16px;
}

.text-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    color: var(--muted);
}

.split-text {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.split-note {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    background: rgba(8, 8, 8, 0.6);
}

.split-note p {
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.gallery-item {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: var(--delay, 0s);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(0.1) contrast(1.05);
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.reference-wrap {
    display: grid;
    gap: 16px;
}

.reference-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin: 0 0 16px;
}

.reference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reference-tags span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}

.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 28px;
}

.reference-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

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

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
}

.contact-lede {
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 0;
    color: var(--text);
}

.contact-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(8, 8, 8, 0.6);
}

.contact-name {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
    font-weight: 700;
}

.contact-label {
    color: var(--muted);
    margin: 0 0 8px;
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-note {
    margin: 0;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: min(90vw, 900px);
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.muted {
    color: var(--muted);
}

.legal-text p {
    max-width: 900px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
        padding: 8px 0 18px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
        margin-top: 6px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(8, 8, 8, 0.75);
    }

    .site-nav a {
        width: 100%;
        display: block;
        padding: 4px 0;
    }

    .text-grid,
    .split-text,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .text-aside {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 18px;
    }

    .reference-list {
        columns: 1;
    }
}

@media (max-width: 700px) {
    .page {
        padding: 28px 18px 48px;
    }

    .hero {
        padding: 34px 0 24px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
        letter-spacing: 0.12em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        gap: 12px;
        font-size: 0.75rem;
    }

    .section {
        padding: 32px 0;
    }

    .section-head h2 {
        letter-spacing: 0.16em;
    }

    .section-index {
        letter-spacing: 0.22em;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.admin {
    background: var(--bg);
    color: var(--text);
}

.admin .page {
    max-width: 980px;
}

.admin-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 30px;
    border-bottom: 1px solid var(--border);
}

.admin-kicker {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--muted);
    margin: 0 0 8px;
}

.admin-subtitle {
    margin: 0;
    color: var(--muted);
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-panel {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.admin-panel h2 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
}

.admin-form {
    display: grid;
    gap: 14px;
    max-width: 420px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="file"] {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

.notice {
    margin: 18px 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.notice.error {
    border-color: rgba(255, 120, 120, 0.4);
}

.notice.success {
    border-color: rgba(140, 220, 180, 0.4);
}

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.admin-thumb {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    background: rgba(8, 8, 8, 0.6);
    display: grid;
    gap: 10px;
}

.admin-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

:root {
    --bg: #050505;
    --bg-soft: #0c0c0c;
    --text: #f3f3f3;
    --muted: #b8b8b8;
    --accent: #e6e6e6;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.45);
}
