:root {
  --red: #8c1c2b;
  --red-dark: #6e1421;
  --ink: #23201d;
  --muted: #6b645c;
  --cream: #faf6ef;
  --paper: #ffffff;
  --line: #e6ddcf;
  --gold: #b8892f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: 1.6rem; margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.placeholder { background: #fff7e0; border: 1px dashed var(--gold); padding: 12px 14px; border-radius: 6px; color: #6b5313; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { font-size: 1.9rem; color: var(--red); line-height: 1; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.brand-place { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 6px; font-weight: 500; }
.site-nav a:hover { background: var(--cream); }
.site-nav a[aria-current="page"] { background: var(--red); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; text-align: center; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { background: var(--cream); }
.btn-disabled { opacity: .7; cursor: default; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--red-dark), var(--red) 60%, #a3344a); color: #fff; padding: 72px 0 80px; text-align: center; }
.hero h1 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; margin: 0 0 .5em; opacity: .85; }
.hero-sub { font-family: var(--serif); font-size: 1.25rem; opacity: .95; margin: 0 0 1.6em; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--red-dark); }
.hero .btn-primary:hover { background: var(--cream); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Sections */
.band { padding: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -40px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(60, 30, 20, .06); }
.card h2 { font-size: 1.3rem; }
.times { list-style: none; padding: 0; margin: 0; }
.times li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.times li:last-child { border-bottom: 0; }
.address { margin: 0 0 .6em; }
.big { font-size: 1.4rem; font-weight: 700; margin: 0 0 .4em; }
.big a { text-decoration: none; }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--red); margin-bottom: 16px; }
.section-head h2 { margin-bottom: .3em; }
.section-head a { white-space: nowrap; font-size: .95rem; }
.announcement-teaser { padding: 14px 0; border-bottom: 1px solid var(--line); }
.announcement-teaser h3 { margin: .1em 0 .3em; }
.announcement-teaser h3 a { text-decoration: none; color: var(--ink); }
.announcement-teaser h3 a:hover { color: var(--red); }
.announcement-teaser p { margin: 0; }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
.pin { background: var(--gold); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; margin-right: 6px; }

.band-accent { background: var(--ink); color: #fff; padding: 48px 0; }
.band-accent h2 { color: #fff; }
.stream { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.stream p { margin: 0; opacity: .9; }
.stream-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 44px 0 28px; margin-bottom: 36px; }
.page-head p { margin: 0; color: var(--muted); }
.prose { padding-bottom: 32px; }
.prose > * { max-width: 760px; }
.announcements-list { padding-bottom: 48px; }
.announcements-list > * { max-width: 760px; }
.year { margin-top: 1.2em; font-size: 1.3rem; color: var(--red); }

.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; padding-bottom: 56px; }
.visit h3:first-of-type { margin-top: 0; }
.directions { display: flex; gap: 10px; flex-wrap: wrap; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 48px; }

/* Calendar */
.calendar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.subscribe { padding-top: 40px; padding-bottom: 56px; }
.subscribe-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.upcoming .fc { font-size: .95rem; }
.upcoming .fc-list { border-radius: var(--radius); }
.fc { --fc-border-color: var(--line); --fc-today-bg-color: #fbefe2; --fc-event-bg-color: var(--red); --fc-event-border-color: var(--red); --fc-button-bg-color: var(--red); --fc-button-border-color: var(--red); --fc-button-hover-bg-color: var(--red-dark); --fc-button-hover-border-color: var(--red-dark); --fc-button-active-bg-color: var(--red-dark); --fc-button-active-border-color: var(--red-dark); }
.fc .fc-toolbar-title { font-family: var(--serif); font-size: 1.4rem; }
.fc .fc-list-event:hover td { background: var(--cream); }
.fc a { color: inherit; text-decoration: none; }
.fc .fc-event { cursor: pointer; }

.event-dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(520px, 92vw); width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.event-dialog::backdrop { background: rgba(20, 10, 5, .5); }
.event-dialog-inner { padding: 28px; position: relative; }
.event-dialog h2 { margin-right: 30px; }
.dialog-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.event-desc { white-space: pre-line; }

/* Footer */
.site-footer { background: #1b1816; color: #d9d2c8; padding: 44px 0 20px; margin-top: 24px; }
.site-footer a { color: #f1d9a8; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-title { color: #fff; font-size: 1.1rem; }
.site-footer .muted { color: #9d958b; }
.footer-base { border-top: 1px solid #3a3430; margin-top: 24px; padding-top: 16px; font-size: .85rem; color: #9d958b; }

@media (max-width: 860px) {
  .cards-3, .give-grid, .footer-grid { grid-template-columns: 1fr; }
  .two-col, .visit { grid-template-columns: 1fr; }
  .cards-3 { margin-top: -28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { justify-content: center; }
  .site-nav { justify-content: center; }
  .site-nav a { padding: 6px 9px; font-size: .95rem; }
  .hero { padding: 48px 0 60px; }
  .fc .fc-toolbar { flex-wrap: wrap; gap: 8px; }
  .fc .fc-toolbar-title { font-size: 1.15rem; }
}
