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

:root {
    --ink:       #1a1814;
    --ink-soft:  #5a5650;
    --ink-faint: rgba(26,24,20,0.1);
    --page:      #f6f3ee;
    --warm:      #ede8df;
    --cream:     #fcfce5;
    --cream-mid: #fcfce5;
    --gold:      #d4a84b;
    --gold-pale: rgba(192,149,80,0.15);
    --dark:      #100f0d;
    --serif:     'Gloock', Georgia, serif;
    --sans:      'Helvetica Neue', system-ui, Helvetica, Arial, sans-serif;
    --max-w:     1060px;
    --r-pill:    999px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--page);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ── NAV ──────────────────────────────────────────── */
nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 200;
    transition: background 0.45s ease, border-color 0.45s ease;
}
nav.over-hero {
    background: transparent;
}
nav.over-page {
    background: rgba(10, 13, 22, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(226,216,192,0.07);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.4rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
}
nav.over-page .nav-logo {
    opacity: 1;
    pointer-events: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: var(--r-pill);
    transition: background 0.25s, color 0.25s;
}
nav.over-hero .nav-links a {
    color: rgba(226,216,192,0.7);
}
nav.over-hero .nav-links a:hover {
    color: var(--cream);
    background: rgba(255,255,255,0.08);
}
nav.over-page .nav-links a {
    color: rgba(226,216,192,0.6);
}
nav.over-page .nav-links a:hover {
    color: var(--cream);
    background: rgba(255,255,255,0.08);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* atmospheric gradient background */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url(img/bg.jpg);
    background-size: cover;
}

/* noise grain */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* top brand lockup */
.hero-lockup {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 5.5rem;
    animation: fadeDown 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-lockup img {
    width: 55vw;
    max-width: 260px;
    margin-top: 1em;
}

/* concert block at bottom */
.hero-concert {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    width: 100%;
    margin: auto auto 0;
    padding: 0 2.5rem;
    animation: fadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-tag {
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: block;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 1.2rem;
    font-weight: normal;
    text-transform: uppercase;
}
.hero-title em {
    font-style: italic;
}

.hero-pills {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding-bottom: 3.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--cream);
    background: rgba(226,216,192,0.12);
    border: 2px solid rgba(226,216,192,0.25);
    border-radius: var(--r-pill);
    padding: 0.6rem 1.3rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}

.hero-pill-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    font-weight: 600;
}

.hero-pill-cta {
    background: rgba(252,252,229,0.9);
    border-color: transparent;
    color: var(--dark);
    font-weight: 500;
}
.hero-pill-cta:hover {
    background: var(--cream);
}

/* ── BUTTONS ──────────────────────────────────────── */
/* Primary pill — gold fill */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #fff;
    background: var(--gold);
    padding: 0.9rem 2.2rem;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
}
.btn-primary::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s;
}
.btn-primary:hover {
    background: #906e3e;
    transform: translateY(-1px);
}
.btn-primary:hover::after {
    transform: translateX(4px);
}

/* Ghost pill — for use on dark */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--cream);
    background: transparent;
    padding: 0.9rem 2.2rem;
    border-radius: var(--r-pill);
    border: 2px solid rgba(226,216,192,0.3);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline-light:hover {
    background: rgba(226,216,192,0.08);
    border-color: rgba(226,216,192,0.55);
    transform: translateY(-1px);
}

/* Ghost pill — for use on light */
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--ink);
    background: transparent;
    padding: 0.9rem 2.2rem;
    border-radius: var(--r-pill);
    border: 2px solid rgba(26,24,20,0.2);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline-dark:hover {
    background: var(--warm);
    border-color: rgba(26,24,20,0.4);
    transform: translateY(-1px);
}

/* Filled dark — for contact form */
.btn-filled-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--dark);
    background: var(--cream);
    padding: 0.9rem 2.4rem;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
}
.btn-filled-dark:hover {
    background: #f0e8d4;
    transform: translateY(-1px);
}

/* ── PAGE BODY (light sections) ───────────────────── */
.page-body { background: var(--page); }

section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2.5rem;
}

.concert-band { background: var(--warm); }
.agenda-band { background: var(--warm); }

.label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}
.label::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    flex-shrink: 0;
}

h2.title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 1.8rem;
}
h2.title.light { color: var(--cream); }

p.body-copy {
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 520px;
}
p.body-copy.light { color: rgba(226,216,192,0.65); max-width: 460px; }

/* ── CONCERT ──────────────────────────────────────── */
.concert-program {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 640px;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.concert-meta {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--ink-faint);
}

.concert-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.concert-meta-lbl {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.concert-meta-val {
    font-size: 1rem;
    color: var(--ink);
    font-weight: 400;
}

.concert-meta-free {
    color: var(--gold);
    font-weight: 600;
}

/* ── KOOR ─────────────────────────────────────────── */
#koor p.body-copy { max-width: 680px; }
#koor .cta { margin-top: 2.2rem; }

/* ── BEZETTING ────────────────────────────────────── */
.bezetting {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--ink-faint);
}

.bezetting-title {
    font-family: var(--serif);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}

.bezetting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.bezetting-voice {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.7rem;
}

.bezetting-group ul {
    list-style: none;
}

.bezetting-group ul li {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.9;
}

/* ── DIRIGENT ─────────────────────────────────────── */
#dirigent { border-top: 2px solid var(--ink-faint); }

.dirigent-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    align-items: start;
}

.dirigent-photo {
    overflow: hidden;
    min-width: 0;
}

.dirigent-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.dirigent-copy p.body-copy { max-width: 560px; }

/* ── AGENDA ───────────────────────────────────────── */
.agenda-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.agenda-list { display: flex; flex-direction: column; gap: 0; }

.agenda-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.6rem 1.2rem 1.6rem 1rem;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s, padding-left 0.3s;
    position: relative;
}
.agenda-row + .agenda-row {
    border-top: 2px solid var(--ink-faint);
}
.agenda-row::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 2px;
    border-radius: 2px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}
.agenda-row:hover { background: var(--warm); padding-left: 1.6rem; }
.agenda-row:hover::before { opacity: 1; }
.agenda-row:hover .agenda-arrow { transform: translateX(5px); color: var(--gold); }

.agenda-date {
    text-align: center;
}
.agenda-day {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--ink);
    line-height: 1;
}
.agenda-month {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.agenda-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}
.agenda-venue {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--ink-soft);
}

.agenda-badge {
    display: inline-block;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.8rem;
    border-radius: var(--r-pill);
    background: var(--gold-pale);
    color: var(--gold);
    margin-left: 0.7rem;
    vertical-align: middle;
}

.agenda-arrow {
    font-size: 1.1rem;
    color: var(--ink-faint);
    transition: transform 0.25s, color 0.25s;
}

/* ── CONTACT (dark band) ──────────────────────────── */
.contact-band {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
/* subtle warm glow */
.contact-band::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,130,78,0.14) 0%, transparent 65%);
    top: -200px; right: -200px;
    pointer-events: none;
}

.contact-band section { position: relative; z-index: 1; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 2.8rem; }

.contact-detail-lbl {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.4rem;
}
.contact-detail-val {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(226,216,192,0.6);
    line-height: 1.6;
}

.form-stack { display: flex; flex-direction: column; gap: 1.8rem; }

.form-stack { display: none; }

.form-field { display: flex; flex-direction: column; gap: 0.55rem; }
.form-field label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(226,216,192,0.45);
}
.form-field input,
.form-field textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(226,216,192,0.15);
    border-radius: 0;
    color: var(--cream);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(226,216,192,0.2); }
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 110px; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
    background: var(--dark);
    border-top: 2px solid rgba(226,216,192,0.06);
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer-logo {
    font-family: var(--serif);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: rgba(226,216,192,0.3);
    text-decoration: none;
}
.footer-links { list-style: none; display: flex; gap: 0.3rem; }
.footer-links a {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(226,216,192,0.25);
    text-decoration: none;
    padding: 0.3rem 0.9rem;
    border-radius: var(--r-pill);
    transition: color 0.25s, background 0.25s;
}
.footer-links a:hover {
    color: rgba(226,216,192,0.6);
    background: rgba(255,255,255,0.04);
}
.footer-url {
    font-size: 0.72rem;
    color: rgba(226,216,192,0.18);
}

/* ── SCROLL REVEAL ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ── KEYFRAMES ────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }

/* ── HAMBURGER TOGGLE (desktop: hidden) ───────────── */
.nav-toggle { display: none; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 820px) {
    .contact-grid, .dirigent-grid { grid-template-columns: 1fr; gap: 2rem; }
    .bezetting-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .dirigent-photo img { aspect-ratio: 4 / 3; max-width: 100%; }
    .hero-title { font-size: clamp(3rem, 13vw, 5rem); }
    .agenda-row { grid-template-columns: 56px 1fr auto; gap: 1.2rem; }
    .agenda-head { flex-direction: column; align-items: flex-start; }
    .footer-inner { flex-direction: column; text-align: center; padding: 1.5rem 1.1rem; }
    section { padding: 2.5rem 1.1rem; }
    .hero-concert { padding: 0 1.1rem; }
    .hero-lockup { padding-bottom: 5rem; }

    /* Nav mobile */
    .nav-inner {
        padding: 1.1rem 1.4rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .nav-logo { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0.6rem 0 1.2rem;
    }
    .nav-links a {
        width: 100%;
        padding: 0.7rem 0.2rem;
        border-radius: 0;
        font-size: 1rem;
    }
    nav.open .nav-links { display: flex; }

    /* Hamburger button */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.3rem;
    }
    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(226,216,192,0.7);
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
    }
    nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
