:root {
    --navy: #2F4A5A;
    --light-blue: #9CC6D8;
    --warm-brown: #A29A87;
    --sand: #D8C9A7;
    --paper: #fffdf7;
    --text: #243037;
    --muted: #66737a;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(35, 48, 55, 0.12);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { color: #1f3542; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--navy); padding: 0.8rem 1rem; z-index: 1000; }
.skip-link:focus { left: 0; }

.site-header { background: var(--navy); color: var(--white); }
.nav-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--white); text-decoration: none; font-weight: 800; letter-spacing: 0.08em; font-size: 0.95rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 0.9rem; font-size: 0.92rem; }
.nav-links a { color: var(--white); text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.language-switch { display: flex; gap: 0.5rem; align-items: center; }
.language-switch a { border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 0.15rem 0.55rem; }
.language-switch .active { background: var(--white); color: var(--navy); opacity: 1; }

.hero { background: radial-gradient(circle at 18% 15%, rgba(156,198,216,0.25), transparent 28rem), linear-gradient(135deg, var(--navy), #223744); color: var(--white); padding: 4.5rem 0 4rem; }
.hero-inner { width: min(980px, calc(100% - 2rem)); margin: 0 auto; text-align: center; }
.hero-logo { width: 170px; margin: 0 auto 1.8rem; }
.hero h1 { margin: 0; font-size: clamp(2rem, 7.5vw, 4.1rem); line-height: 0.95; letter-spacing: 0.05em; }
.hero p { margin: 1.5rem auto 0; max-width: 720px; font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: rgba(255,255,255,0.9); }
.cta-row { margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.75rem 1.15rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--sand); color: var(--navy); }
.button-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }

main section { padding: 4rem 0; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section-title { margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.08; color: var(--navy); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 830px; }

.intro-grid, .person-grid { display: grid; gap: 2rem; align-items: center; }
.intro-card, .person-card, .contact-card, .artist-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.intro-text, .person-text, .contact-card, .artist-text { padding: clamp(1.35rem, 4vw, 2.2rem); }
.intro-image img, .person-image img, .artist-image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.caption { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 0; }
.kunstkort { background: #f5efe1; }
.project-box { background: var(--white); border-left: 8px solid var(--light-blue); border-radius: var(--radius); padding: clamp(1.35rem, 4vw, 2.2rem); box-shadow: var(--shadow); margin-bottom: 2rem; }
.project-box h3 { margin-top: 0; color: var(--navy); font-size: 1.6rem; }

.artist-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.artist-card h3, .person-card h3 { margin: 0 0 0.25rem; color: var(--navy); font-size: clamp(1.45rem, 4.6vw, 2.2rem); }
.artist-role, .person-role { margin: 0 0 1.2rem; color: var(--warm-brown); font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.86rem; }
.people { background: var(--paper); }
.person-card { margin-bottom: 2rem; }
.meta-list { padding: 0; list-style: none; margin: 1.2rem 0 0; }
.meta-list li { margin: 0.35rem 0; }
.meta-list strong { color: var(--navy); }
.opening-hours { margin-top: 1.25rem; padding: 1rem; border-radius: 16px; background: #f7f3ea; border: 1px solid rgba(162,154,135,0.25); }
.opening-hours h4 { margin: 0 0 0.5rem; color: var(--navy); }
.opening-hours p { margin: 0.25rem 0; }

.contact { background: var(--navy); color: var(--white); }
.contact .section-title, .contact .lead { color: var(--white); }
.contact-card { color: var(--text); }
.form-grid { display: grid; gap: 1rem; }
label { font-weight: 700; color: var(--navy); }
input, textarea, select { width: 100%; border: 1px solid #d6d6d0; border-radius: 14px; padding: 0.85rem 0.95rem; font: inherit; background: var(--paper); color: var(--text); }
textarea { min-height: 150px; resize: vertical; }
.helper { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.92rem; }
button { border: 0; cursor: pointer; background: var(--navy); color: var(--white); border-radius: 999px; padding: 0.9rem 1.3rem; font: inherit; font-weight: 800; }
.site-footer { background: #223744; color: rgba(255,255,255,0.85); padding: 2rem 0; text-align: center; }
.site-footer p { margin: 0.25rem 0; }

@media (min-width: 780px) {
    .intro-grid, .person-grid, .artist-card { grid-template-columns: 0.95fr 1.05fr; }
    .artist-card { display: grid; align-items: stretch; }
    .person-card:nth-child(even) .person-image {
        order: 2;
    }

    .artist-card:nth-child(odd) .artist-image {
        order: 2;
    }
    .form-grid.two { grid-template-columns: 1fr 1fr; }
    .nav-wrap { align-items: flex-start; }
}
@media (max-width: 760px) {
    .nav-wrap { align-items: flex-start; flex-direction: column; }
    .nav-links { justify-content: flex-start; }
    .hero { padding-top: 3rem; }
    .hero-logo { width: 130px; }
}


.status-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f7f3ea;
    border-left: 6px solid var(--light-blue);
    border-radius: 12px;
}

.status-success {
    border-left-color: #3f8f4f;
}

.status-warning {
    border-left-color: #d6a700;
}

.status-error {
    border-left-color: #b83a3a;
}