/* ==========================================================
   KVB CLASSIC THEME — matching the original black/gold site
   Original visual reference: kvb-bg.com/home/konstantin.html
   All new theme rules are grouped here for easy editing.
   ========================================================== */

:root {
    --bg: #101010;
    --surface: #171717;
    --surface2: #202020;
    --line: #35312a;
    --text: #f0ece6;
    --muted: #999999;
    --accent: #c8a767;
    --blue: #b08f58;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

.header {
    background: rgba(15, 15, 15, 0.96);
    border-bottom: 1px solid #292725;
}

.brand-square {
    background: transparent;
    border: 0;
    color: var(--accent);
    font: 500 28px 'Cormorant Garamond', Georgia, serif;
}

.brand-caption,
.nav,
.menu-toggle {
    font-family: 'Montserrat', Arial, sans-serif;
}

.nav a,
.nav summary {
    letter-spacing: .09em;
}

.ambient {
    background: radial-gradient(ellipse at 75% 32%, #382b191f, transparent 52%);
}

h1, h2, h3, h4,
.hero h1,
.section-intro h2,
.project-body h3,
.modal-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: -.025em;
}

.hero h1 {
    font-size: clamp(64px, 7vw, 105px);
    line-height: .99;
    letter-spacing: -.035em;
}

.hero h1 > span {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.hero-lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
}

.eyebrow,
.kicker,
.side-label {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .2em;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .055em;
    font-size: 12px;
    font-weight: 500;
}

.btn-primary,
.btn-primary:hover {
    background: var(--accent);
    color: #15120d;
}

.btn-outline {
    border-color: #39332a;
    color: #c7c2ba;
}

.btn-outline:hover {
    background: #24201a;
}

.hero-art {
    background: none;
    border-radius: 0;
}

.hero-portrait {
    border-radius: 0;
    border: 1px solid #695637;
}

.orbit,
.art-label,
.art-cross {
    opacity: .16;
}

.section-alt {
    background: #141414;
    border-color: #292725;
}

.project-card,
.expertise-card,
.media-card,
.publication,
.cert,
.award-item {
    border-color: #373129;
}

.filter.active,
.filter:hover {
    background: #4b3c24;
    border-color: var(--accent);
    color: #f6e6c9;
}

:focus-visible {
    outline-color: var(--accent);
}

/* Project imagery and optional funding fields, configured in data/content.js */
.project-cover.has-photo,
.modal-visual.has-photo {
    background: #151515;
}
.project-cover.has-photo::before,
.project-cover.has-photo::after {
    display: none;
}
.project-cover.has-photo img,
.modal-visual.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.funding-note {
    margin: 0 24px 8px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #594b33;
    background: #211b13;
    color: #e9dcc3;
}
.funding-note img {
    width: 72px;
    max-height: 66px;
    object-fit: contain;
    flex: none;
}
.funding-copy { display: grid; gap: 4px; }
.funding-copy strong { color: #c8a767; font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.funding-copy span { font-size: 13px; line-height: 1.5; }
.funding-copy a { color: #d8bf8c; font-size: 12px; }
.funding-note--compact { margin: 14px 0 2px; padding: 10px 12px; gap: 9px; }
.funding-note--compact img { width: 46px; max-height: 42px; }
.funding-note--compact .funding-copy span { font-size: 11px; }
.architecture-figure { margin: 20px 0; text-align: center; }
.architecture-figure img { display: block; max-width: 100%; max-height: 500px; margin: auto; object-fit: contain; border: 1px solid #4a4130; }
@media (max-width: 600px) { .funding-note { margin-left: 12px; margin-right: 12px; } }
