.chapter-page {
  --chapter-navy: #142a40;
  --chapter-mint: #bee3cb;
  --chapter-muted: #466070;
  --chapter-line: #d9e3ea;
  --chapter-light: #f3f7fa;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  padding-block: clamp(18px, 3vw, 36px) clamp(40px, 6vw, 80px);
  background: #fff;
  color: var(--chapter-navy);
  font-family: 'DM Sans', Arial, sans-serif;
}
.chapter-page > * { width: min(90%, 1240px); margin: 0 auto; }
.chapter-page :is(h1, h2, h3) { margin: 0; line-height: 1.12; }
.chapter-page :is(h1, h2) { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
.chapter-page h2 { font-size: clamp(2.05rem, 4vw, 3.6rem); }
.chapter-page .eyebrow { margin: 0 0 10px; font-size: .72rem; }
.chapter-page p { margin: 10px 0 0; }
.chapter-page .button { gap: 8px; border-radius: 8px; min-height: 46px; }
.chapter-page :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.chapter-page [hidden] { display: none !important; }

.chapter-masthead {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(ellipse at top left, #25485b, transparent 75%), var(--chapter-navy);
  color: #fff;
}
.chapter-intro { align-self: center; padding: clamp(22px, 4.1vw, 60px); }
.chapter-intro .eyebrow, .chapter-intro em { color: var(--chapter-mint); }
.chapter-intro h1 { font-size: clamp(2.65rem, 4.9vw, 5rem); }
.chapter-intro h1 em { display: block; }
.chapter-intro > p:not(.eyebrow) { max-width: 37ch; margin-top: 16px; color: #e2edf4; font-size: 1.04rem; }
.chapter-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.chapter-intro-actions .button { background: var(--chapter-mint); border-color: var(--chapter-mint); color: var(--chapter-navy); }
.chapter-intro-actions .button:hover { background: #fff; }
.chapter-intro-actions .button:focus-visible { outline-color: #fff; }
.chapter-feature { position: relative; display: grid; min-height: 390px; align-items: end; isolation: isolate; }
.chapter-feature img, .chapter-feature::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.chapter-feature img { object-fit: cover; object-position: center 55%; }
.chapter-feature::after { content: ''; background: linear-gradient(180deg, transparent 27%, #101f33 98%); }
.chapter-feature-copy { padding: clamp(18px, 3vw, 38px); }
.chapter-feature-copy .eyebrow { display: inline-block; padding: 4px 8px; border-radius: 4px; background: var(--chapter-mint); color: var(--chapter-navy); }
.chapter-feature h2 { font-size: clamp(1.85rem, 3vw, 3.3rem); }
.chapter-feature h2 a { text-decoration: none; }
.chapter-feature h2 a span { font: 700 .55em "DM Sans", Arial, sans-serif; }
.chapter-feature h2 a:hover { text-decoration: underline; }
.chapter-feature h2 a::after { content: ''; position: absolute; inset: 0; }
.chapter-feature:focus-within { outline: 2px solid var(--chapter-mint); outline-offset: -6px; }
.chapter-feature-copy > p:last-child { color: #eef5fa; }

.chapter-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: -16px; }
.chapter-shortcuts a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  padding: 12px 16px;
  border: 1px solid var(--chapter-line);
  border-radius: 10px;
  background: var(--chapter-light);
  font-weight: 700;
  text-decoration: none;
}
.chapter-shortcuts a:hover { background: #e7f4ee; }
.chapter-shortcuts span { grid-column: 1 / -1; font-size: .67rem; letter-spacing: .11em; color: var(--chapter-muted); }

.chapter-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 22px; margin-bottom: 20px; }
.chapter-section-head > p { max-width: 43ch; color: var(--chapter-muted); }
.chapter-search { margin: 0; }
.chapter-search label { display: block; margin-bottom: 6px; font-weight: 700; }
.chapter-search > div { display: flex; align-items: center; gap: 10px; max-width: 680px; }
.chapter-search input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #a7bdc7;
  border-radius: 8px;
  background: var(--chapter-light);
  color: inherit;
}
.chapter-search button, .chapter-filters button { padding: 8px 12px; border: 1px solid var(--chapter-line); border-radius: 8px; background: #fff; color: inherit; font-weight: 700; }
.chapter-search button { flex: none; }
#chapter-search-help, .chapter-results { color: var(--chapter-muted); font-size: .86rem; }
.chapter-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chapter-filters button { border-radius: 999px; }
.chapter-filters button:hover { background: #e7f4ee; }
.chapter-filters button[aria-pressed="true"] { background: var(--chapter-navy); border-color: var(--chapter-navy); color: #fff; }
.chapter-page .chapter-results { margin: 12px 0; }
.chapter-cards, .chapter-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.chapter-card, .chapter-event {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--chapter-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px #142a400b;
}
.chapter-card-photo { display: block; overflow: hidden; background: var(--chapter-light); }
.chapter-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.chapter-card-photo img[src$="-card.webp"] { object-fit: contain; background: var(--chapter-navy); }
.chapter-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(14px, 2vw, 22px); }
.chapter-card-copy .eyebrow { display: inline-block; padding: 4px 7px; border-radius: 5px; background: #e7f4ee; }
.chapter-card-copy h3 { font-size: clamp(1.18rem, 1.7vw, 1.5rem); line-height: 1.25; }
.chapter-card-copy h3 a { text-decoration: none; }
.chapter-card-copy h3 a:hover { text-decoration: underline; }
.chapter-card-copy > p:not(.eyebrow) { margin-bottom: 12px; color: var(--chapter-muted); }
.chapter-read-link { margin-top: auto; font-weight: 700; }
.chapter-search-empty { padding: 22px; border-radius: 12px; background: var(--chapter-light); }
.chapter-search-empty button { margin-top: 12px; }

.chapter-season, .chapter-homebase {
  display: grid;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  padding: clamp(20px, 4vw, 46px);
  border-radius: 18px;
  background: var(--chapter-navy);
  color: #fff;
}
.chapter-season { gap: 16px; }
.chapter-season-slide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 220px);
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}
.chapter-season-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.chapter-season-controls button {
  min-height: 44px;
  min-width: 44px;
  padding: 5px 10px;
  border: 1px solid #6b8796;
  border-radius: 8px;
  background: transparent;
  color: #fff;
}
.chapter-season-controls button:hover { background: #ffffff20; }
.chapter-season-controls > span { font-size: .85rem; color: var(--chapter-mint); }
.chapter-season-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.chapter-season .eyebrow, .chapter-season-side > span, .chapter-homebase .eyebrow { color: var(--chapter-mint); }
.chapter-season-date, .chapter-event time {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 66px;
  padding: 8px 10px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #fff;
  color: #8b1726;
}
.chapter-season-date { padding: 12px; }
.chapter-season-date strong, .chapter-event time strong { font-size: 2rem; line-height: 1.05; }
.chapter-season-date span, .chapter-event time :is(span, small) { color: #000; font-size: .67rem; font-weight: 700; }
.chapter-season .button, .chapter-homebase .button { margin-top: 14px; border-color: #000; background: #fff; color: var(--chapter-navy); }
.chapter-season .button:hover, .chapter-homebase .button:hover { background: var(--chapter-mint); }
.chapter-season .button:focus-visible, .chapter-homebase .button:focus-visible { outline-color: #fff; }
.chapter-season-side { border-left: 1px solid #6b8796; padding-left: 16px; }
.chapter-season-side a, .chapter-event-links a, .chapter-event-foot a { display: inline-block; margin-top: 8px; font-weight: 700; }
.chapter-event { padding: clamp(14px, 2vw, 22px); background: var(--chapter-light); }
.chapter-event-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.chapter-event-top .eyebrow { margin: 0; }
.chapter-event-venue, .chapter-event-foot { color: var(--chapter-muted); }
.chapter-event-links { display: grid; justify-items: start; margin-top: auto; padding-top: 8px; }
.chapter-event-foot { margin-block: 14px; font-size: .87rem; }

.chapter-note, .chapter-homebase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 44px); }
.chapter-note { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--chapter-line); border-radius: 16px; }
.chapter-note h2 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
.chapter-note a { display: inline-block; margin-top: 10px; font-weight: 700; }
.chapter-homebase > div + div { display: grid; gap: 10px; }
.chapter-homebase > div + div a { display: grid; gap: 3px; padding: 12px 16px; border: 1px solid #ffffff50; border-radius: 10px; text-decoration: none; }
.chapter-homebase > div + div a:hover { background: #ffffff15; }
.chapter-homebase > div + div span { color: var(--chapter-mint); font-size: .72rem; font-weight: 700; }

@media (max-width: 900px) {
  .chapter-cards, .chapter-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-season-slide { grid-template-columns: auto minmax(0, 1fr); }
  .chapter-season-side { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .chapter-masthead, .chapter-note, .chapter-homebase { grid-template-columns: 1fr; }
  .chapter-feature { min-height: clamp(235px, 58vw, 350px); }
  .chapter-shortcuts { grid-template-columns: 1fr; margin-top: -14px; }
}
@media (max-width: 530px) {
  .chapter-cards, .chapter-event-grid { grid-template-columns: 1fr; }
  .chapter-search > div { flex-wrap: wrap; }
  .chapter-season-slide { grid-template-columns: 1fr; justify-items: start; }
}
