/* ==========================================================
 *  Brass Band Tacoma — "Brass & the Mountain" theme
 *  + "In Concert!" poster page (flyer palette, scoped)
 *  ========================================================== */

:root {
    --ink: #16233b;
    --navy: #1d3050;
    --navy-deep: #14213a;
    --sky: #eaf1f9;
    --paper: #fcfcfa;
    --teal: #1f6f78;
    --brass: #c08a1e;
    --brass-light: #eec25c;
    --radius: 10px;
    --maxw: 62rem;
    /* Poster palette, lifted from the flyer */
    --poster-purple: #4a3d99;
    --poster-purple-deep: #3d3185;
    --poster-yellow: #ffd23f;
    --poster-orange: #f7941d;
    --poster-name: #ffbe63;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

h1, h2, h3 {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.1;
    margin: 0 0 .5rem;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--navy-deep);
    color: #fff;
    border-bottom: 4px solid var(--brass);
    position: sticky;
    top: 0;
    z-index: 10;
}
.bar { display: flex; align-items: center; justify-content: space-between; padding-block: .6rem; }
.brand { display: flex; gap: .6rem; align-items: center; color: inherit; text-decoration: none; }
.logo { width: 44px; height: 44px; }
.band-name {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .06em;
    font-weight: 700;
}
nav a { color: #fff; text-decoration: none; margin-left: 1.1rem; font-weight: 600; }
nav a:hover, nav a[aria-current="page"] { color: var(--brass-light); }

/* ---------- Hero: Rainier at dusk ---------- */
.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(180deg, var(--navy-deep) 0%, #274468 55%, #486f95 100%);
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; padding-block: 4rem 10rem; }
.kicker {
    color: var(--brass-light);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .78rem;
    margin: 0 0 .75rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 0; }
.lede { max-width: 34rem; font-size: 1.15rem; color: #dbe6f3; }
.gold-rule {
    width: 6rem; height: 4px; margin-block: 1.25rem;
    background: linear-gradient(90deg, var(--brass), var(--brass-light));
    border-radius: 2px;
}
.rainier { position: absolute; bottom: -1px; left: 0; width: 100%; pointer-events: none; }
.bells {
    position: absolute; right: 4%; bottom: 18%;
    width: min(230px, 22vw); opacity: .85;
    pointer-events: none;
}
.btn {
    display: inline-block;
    background: var(--brass);
    color: #fff;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}
.btn:hover { background: var(--brass-light); color: var(--ink); }

/* ---------- Sections ---------- */
section.block { padding-block: 3rem; }
.on-sky { background: var(--sky); }
h2::after {
    content: "";
    display: block;
    width: 3rem; height: 3px; margin-top: .4rem;
    background: var(--brass);
    border-radius: 2px;
}

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event-card {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-left: 5px solid var(--brass);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.event-card a.event-link { display: block; color: inherit; text-decoration: none; }
.event-card a.event-link:hover h3, .event-card a.event-link:focus-visible h3 { color: var(--teal); }
.event-card .more {
    color: var(--brass);
    font-weight: 700;
    font-size: .9rem;
    display: inline-block;
    margin-top: .35rem;
}
.event-date { color: var(--teal); font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.event-card h3 { margin: .2rem 0; }
.event-card p { margin: 0 0 .3rem; }

/* ---------- Footer: Narrows Bridge silhouette ---------- */
.site-footer {
    background: var(--navy-deep);
    color: #9db2cf;
    position: relative;
    padding-top: 7.5rem;
}
.bridge { position: absolute; top: 0; left: 0; width: 100%; height: 7rem; color: #2c4770; }
.footer-bar {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: space-between;
    padding-block: 1.25rem;
    position: relative;
}
.site-footer a { color: var(--brass-light); }

/* ==========================================================
 *  "In Concert!" poster page — faithful to the flyer palette
 *  ========================================================== */
.poster { background: var(--poster-purple); }

.poster-head {
    text-align: center;
    padding: 3.5rem 1.25rem 2.5rem;
    background:
    radial-gradient(circle at 20% 15%, rgba(255,210,63,.07), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,210,63,.06), transparent 45%);
}
.poster-title {
    color: var(--poster-yellow);
    font-size: clamp(3.2rem, 10vw, 6rem);
    letter-spacing: .02em;
    margin: 0 auto;
    max-width: 14ch;
}
.trumpet-row {
    width: min(580px, 92%);
    color: var(--poster-orange);
    margin: 1.25rem auto 1.75rem;
}
.poster-meta {
    color: var(--poster-yellow);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 700;
    margin: .3rem 0;
}

.poster-program {
    background: var(--poster-orange);
    color: var(--poster-purple-deep);
    text-align: center;
    padding: 2.5rem 1.25rem 3rem;
}
.poster-program h2 {
    color: var(--poster-purple-deep);
    font-size: 2.2rem;
    margin: 0 auto;
    display: inline-block;
    border-bottom: 4px solid var(--poster-purple-deep);
    padding-bottom: .2rem;
}
.poster-program h2::after { display: none; }
.program-list {
    list-style: none;
    margin: 2rem auto 0;
    padding: 0;
    max-width: 34rem;
}
.program-list li {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.program-list .piece { white-space: nowrap; }
.program-list .dots {
    flex: 1;
    border-bottom: 2px dotted rgba(61, 49, 133, .45);
    transform: translateY(-4px);
}
.program-list .composer { text-align: right; max-width: 45%; }
.poster-conductor {
    color: var(--poster-yellow);
    text-transform: uppercase;
    letter-spacing: .3em;
    font-weight: 700;
    margin: 2.25rem 0 0;
}

.poster-personnel {
    color: var(--poster-yellow);
    max-width: 54rem;
    margin-inline: auto;
    padding: 3rem 1.25rem 3.5rem;
}
.poster-personnel h2 {
    color: var(--poster-yellow);
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
}
.poster-personnel h2::after { background: var(--poster-yellow); }
.personnel-cols { columns: 2; column-gap: 4rem; }
.pos-group { break-inside: avoid; margin-bottom: 1.4rem; }
.pos-group h3 {
    color: var(--poster-yellow);
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: .35rem;
}
.pos-group p { margin: .15rem 0; color: var(--poster-name); }

@media (max-width: 640px) {
    .bells { display: none; }
    .hero-inner { padding-block: 3rem 8rem; }
    .personnel-cols { columns: 1; }
    .program-list .composer { max-width: 55%; }
}
