:root {
  --teal: #047171;
  --teal-deep: #023838;
  --teal-ink: #062726;
  --teal-soft: #e7f3f2;
  --leaf: #3d7a4a;
  --wheat: #b8893d;
  --wheat-soft: #f4ead4;
  --paper: #f6f4ef;
  --white: #fffcf8;
  --ink: #1c2423;
  --muted: #5c6764;
  --line: #e4ddd2;
  --danger: #8e2f2a;
  --ok: #1f6b45;
  --shadow: 0 18px 40px rgba(6, 39, 38, 0.08);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --header: 78px;
  color-scheme: light;
}

html[data-font="lg"] { font-size: 112.5%; }
html[data-font="xl"] { font-size: 125%; }

html.contrast {
  --teal: #d6b25e;
  --teal-deep: #000;
  --teal-ink: #000;
  --teal-soft: #111;
  --leaf: #d6b25e;
  --wheat: #ffe08a;
  --wheat-soft: #111;
  --paper: #000;
  --white: #050505;
  --ink: #fff;
  --muted: #f2f2f2;
  --line: #fff;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }
::selection { background: var(--wheat); color: var(--teal-ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--wheat);
  color: var(--teal-ink);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wheat);
  font-weight: 700;
}
.kicker.dark { color: var(--teal); }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; }
main h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; margin: 0.2rem 0 0.7rem; }
main h2 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.15; }
main h3 { font-size: 1.35rem; line-height: 1.25; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  background: var(--teal);
  color: white;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.35s ease, background 0.35s ease;
}
.btn:hover { background: #035e5e; transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn.light { background: white; color: var(--teal-deep); }
.btn.ghost { background: transparent; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn.line { background: transparent; color: var(--teal-deep); box-shadow: inset 0 0 0 1px var(--line); }

.topbar {
  background: var(--teal-deep);
  color: rgba(255,255,255,.86);
  font-size: 0.92rem;
}
.topbar .wrap, .header-row, .nav-row, .footer-grid, .hero-grid, .split, .detail-grid, .quick-grid, .person-grid, .card-grid, .stat-grid, .form-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar .wrap { min-height: 40px; }
.topbar a { color: white; text-decoration: none; }
.a11y { display: flex; gap: 0.35rem; }
.a11y button, .icon-btn {
  border: 0;
  background: transparent;
  color: white;
  width: 32px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
}
.a11y button { border: 1px solid rgba(255,255,255,.25); }
.a11y button[aria-pressed="true"] { background: var(--wheat); color: var(--teal-ink); border-color: var(--wheat); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffcf8;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(6,39,38,.05); }
.header-row { min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--teal-ink); }
.brand img {
  width: 62px; height: 62px; object-fit: cover; border-radius: 50%;
  background: white; box-shadow: 0 0 0 3px white, 0 0 0 4px var(--line);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1; font-weight: 600; }
.brand span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.arc {
  display: block; height: 3px; width: 7.5rem; margin-top: 0.35rem; border-radius: 99px;
  background: linear-gradient(90deg, #d23b78, #e2b143, #3aa8bc, #6aa85a, #047171);
}
.nav { display: flex; gap: 0.15rem; align-items: center; flex-shrink: 0; }
.nav-item { position: relative; }
.nav-item > a, .menu-toggle {
  text-decoration: none;
  color: var(--teal-ink);
  font-weight: 650;
  padding: 0.7rem 0.7rem;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-item > a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--wheat);
  transition: width 0.3s ease;
}
.nav-item:hover > a::after, .nav-item:focus-within > a::after, .nav-item > a[aria-current="page"]::after { width: 100%; }
.mega {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 460px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; pointer-events: auto; transform: none; }
.mega h3 { margin: 0.2rem 0 0.35rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-family: var(--sans); }
.mega a { display: block; text-decoration: none; padding: 0.28rem 0; color: var(--ink); }
.mega a:hover { color: var(--teal); }
.search-form { display: flex; align-items: center; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.15rem 0.15rem 0.85rem; }
.search-form input { border: 0; background: transparent; width: 9.5rem; padding: 0.45rem 0; }
.search-form button { border: 0; background: var(--teal); color: white; border-radius: 999px; width: 36px; height: 36px; cursor: pointer; }
.menu-toggle { display: none; }

.hero { position: relative; background: var(--teal-deep); color: white; overflow: hidden; }
.hero-swiper { min-height: 640px; }
.hero-slide {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 6.5rem;
  position: relative;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; margin: 0 0 1rem; color: white; }
.hero .lede { color: rgba(255,255,255,.82); font-size: 1.2rem; }
.hero-meta { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; color: rgba(255,255,255,.8); font-size: 0.95rem; }
.chip {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.2rem 0.7rem; background: rgba(255,255,255,.12); color: white;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.chip.solid { background: var(--wheat-soft); color: var(--teal-deep); }
.hero-art {
  position: relative; height: 460px; border-radius: 28px; overflow: hidden;
  background: #014646;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .seal {
  position: absolute; right: 1rem; bottom: 1rem;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #fff url("../img/logo.png") center/cover;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.hero-ui {
  position: absolute; left: 0; right: 0; bottom: 1.4rem; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  width: var(--wrap); margin-inline: auto;
}
.hero-ui button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: transparent; color: white; cursor: pointer;
}
.swiper-pagination { position: static !important; width: auto !important; }
.hero .swiper-pagination-bullet { background: white; opacity: .4; }
.hero .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 99px; }

.quick {
  margin-top: -3.2rem;
  position: relative;
  z-index: 4;
}
.quick-grid {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.2rem;
}
.quick a {
  text-decoration: none;
  text-align: center;
  padding: 1rem 0.4rem 0.85rem;
  border-radius: 16px;
  color: var(--teal-ink);
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.2;
}
.quick a:hover { background: var(--teal-soft); }
.quick svg { width: 26px; height: 26px; margin: 0 auto 0.45rem; display: block; color: var(--teal); }

.section { padding: 4.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 0; line-height: 1.05; }

.news-feature {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}
.feature, .news-card, .doc-card, .person, .album, .info-card, .session-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature:hover, .news-card:hover, .doc-card:hover, .person:hover, .album:hover, .session-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 460px; color: white; }
.feature .motif { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.feature .body {
  position: relative; z-index: 1; flex: 1; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(2, 40, 40, 0.05) 20%, rgba(2, 40, 40, 0.82));
  color: white;
}
.feature h3, .feature .muted, .feature .meta { color: white; }
.feature .chip.solid { background: white; color: var(--teal-deep); }
.stack { height: 100%; grid-auto-rows: 1fr; }
.stack .news-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}
.stack .news-card .motif {
  align-self: stretch;
  height: auto;
  min-height: 0;
}
.nav-item:nth-last-child(-n+2) .mega { left: auto; right: 0; }
.motif {
  min-height: 180px;
  position: relative;
  background:
    radial-gradient(420px 180px at 90% 0%, rgba(184,137,61,.45), transparent 60%),
    linear-gradient(160deg, var(--teal-deep), var(--teal));
}
.motif.wheat { background: radial-gradient(400px 180px at 0% 100%, rgba(255,255,255,.28), transparent 50%), linear-gradient(160deg, #245c38, #6aa85a); }
.motif.sky { background: radial-gradient(400px 180px at 100% 100%, rgba(226,177,67,.4), transparent 50%), linear-gradient(160deg, #0d4f62, #3aa8bc); }
.motif.ink { background: linear-gradient(160deg, #1b1a17, #3c3428); }
.motif.rose { background: linear-gradient(160deg, #6d2438, #c45b78); }
.motif img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.motif span.big {
  position: absolute; left: 1.2rem; bottom: 0.6rem;
  font-family: var(--serif); font-size: 4.5rem; color: rgba(255,255,255,.18); line-height: 1;
}
.feature .body, .news-card .body, .doc-card .body, .album .body { padding: 1.25rem 1.3rem 1.35rem; }
.feature h3, .news-card h3, .doc-card h3 { font-size: 1.85rem; line-height: 1.12; margin: 0.35rem 0; }
.stack { display: grid; gap: 1rem; }
.news-card h3 { font-size: 1.25rem; }
.card-grid, .person-grid, .stat-grid { display: grid; gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat-grid { grid-template-columns: 1fr 1fr; }
.mesa { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; }
.hero .swiper-slide { height: auto; }
.card-grid.four, .person-grid { grid-template-columns: repeat(4, 1fr); }
.meta { color: var(--muted); font-size: 0.92rem; display: flex; gap: 0.55rem; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.stat {
  background: var(--white);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  border-top: 3px solid var(--wheat);
}
.stat b { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--teal); }
.band {
  background: var(--teal-deep);
  color: white;
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.band .stat { background: transparent; color: white; border-top-color: var(--wheat); }
.band .stat b { color: white; }

.person { padding: 1rem 1rem 1.1rem; }
.mono {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep);
  font-family: var(--serif); font-size: 1.6rem;
}
.party { display: inline-block; margin-top: 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.party.PSB { color: #a24b16; }
.party.PP { color: #1d4e89; }
.party.MDB { color: #1f6b45; }
html.contrast .party { color: var(--wheat); }
.person strong { display: block; margin-top: 0.35rem; font-size: 1.12rem; }
.person em { color: var(--muted); font-style: normal; font-size: 0.92rem; }

.tabs { background: var(--white); border-radius: 22px; padding: 0.5rem; }
.tab-bar { display: flex; gap: 0.3rem; padding: 0.3rem; }
.tab-bar button {
  border: 0; background: transparent; border-radius: 999px; padding: 0.55rem 0.9rem; cursor: pointer; font-weight: 700; color: var(--muted);
}
.tab-bar button[aria-selected="true"] { background: var(--teal); color: white; }
.tab-panel { display: none; padding: 0.4rem 0.6rem 0.8rem; }
.tab-panel.is-on { display: block; }
.row-link {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.4rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.row-link:hover { color: var(--teal); }
.badge { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); }

.page-hero { padding: 2.6rem 0 1.4rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; margin: 0.2rem 0 0.6rem; }
.crumbs { font-size: 0.92rem; color: var(--muted); }
.crumbs a { color: var(--teal); text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.5rem 0 1.2rem; }
.filters button, .filters a {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.4rem 0.8rem; cursor: pointer; text-decoration: none;
}
.filters .is-on, .filters button[aria-pressed="true"] { background: var(--teal-deep); color: white; border-color: var(--teal-deep); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.75fr); gap: 1.6rem; align-items: start; }
.prose { font-size: 1.12rem; }
.prose p { margin: 0 0 1rem; }
.prose h2 { font-size: 1.8rem; margin: 1.4rem 0 0.5rem; }
.banner-motif { height: 320px; border-radius: 24px; margin: 0.5rem 0 1.2rem; overflow: hidden; }
.side { position: sticky; top: 96px; display: grid; gap: 0.8rem; }
.side a { display: block; padding: 0.45rem 0; text-decoration: none; color: var(--teal-deep); border-top: 1px solid var(--line); }
.side a:hover { color: var(--teal); }
.side .info-card { padding: 1rem 1.05rem; }
.side h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 70;
  background: linear-gradient(90deg, #d23b78, #e2b143, #047171);
}

.form { display: grid; gap: 0.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-weight: 650; font-size: 0.95rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 0.75rem 0.8rem;
}
textarea { min-height: 140px; resize: vertical; }
.notice {
  display: none; background: var(--teal-soft); border-radius: 14px; padding: 0.9rem 1rem; color: var(--teal-deep);
}
.notice.is-on { display: block; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 18px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.org { display: grid; gap: 0.7rem; justify-items: center; }
.org .node {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0.8rem 1rem; min-width: 220px; text-align: center;
}
.org .row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.faq details { background: var(--white); border-radius: 16px; padding: 0.9rem 1rem; margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.player {
  aspect-ratio: 16/9; border-radius: 24px; display: grid; place-items: center; color: white; text-align: center; padding: 1.5rem;
}
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.shot { position: relative; margin: 0; border-radius: 18px; overflow: hidden; min-height: 220px; }
.shot img { width: 100%; height: 240px; object-fit: cover; display: block; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.8rem;
  color: white; font-weight: 700;
  background: linear-gradient(transparent, rgba(2, 40, 40, .72));
}
.player { position: relative; overflow: hidden; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player strong, .player p { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.empty {
  background: var(--white); border-radius: 22px; padding: 2rem; border: 1px dashed var(--line);
}

.site-footer { background: var(--teal-ink); color: rgba(255,255,255,.84); margin-top: 2rem; position: relative; }
.site-footer::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, #d23b78, #e2b143, #3aa8bc, #6aa85a, #047171);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; padding: 2.6rem 0 1.4rem; align-items: start; }
.site-footer a { color: white; text-decoration: none; display: block; padding: 0.18rem 0; }
.site-footer h2 { color: white; font-size: 1.15rem; margin: 0 0 0.5rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding: 0.9rem 0 1.2rem; font-size: 0.88rem; color: rgba(255,255,255,.65); }
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--teal); color: white; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 1040px) {
  .quick-grid, .card-grid.four, .person-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide, .feature, .news-feature, .split, .band, .detail-grid, .mesa, .stat-grid { grid-template-columns: 1fr; }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .hero-art { height: 280px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; color: var(--teal-ink); }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 0.6rem 1rem 1rem;
    max-height: calc(100vh - 80px); overflow: auto;
  }
  .mega { position: static; opacity: 1; pointer-events: auto; transform: none; min-width: 0; box-shadow: none; display: none; padding: 0 0 0.6rem 0.6rem; }
  .nav-item.is-open .mega { display: grid; grid-template-columns: 1fr; }
  .search-form { display: none; }
  .header-tools { display: flex; }
}
@media (max-width: 720px) {
  .topbar .hours { display: none; }
  .form-grid, .photo-grid, .footer-grid, .card-grid.four, .card-grid.three, .person-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .row-link { grid-template-columns: 1fr; gap: 0.2rem; }
  .hero-swiper, .hero-slide { min-height: 0; }
  .hero h1 { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@keyframes ring {
  from { transform: scale(0.98); }
  to { transform: scale(1.03); }
}
