.wmcd-page {
  --paper: #f6f0e4;
  --paper-deep: #eadcc6;
  --ink: #1f1d1a;
  --muted: #6d6254;
  --brick: #9b3f2c;
  --brick-dark: #692b21;
  --market-green: #3f6047;
  --limestone: #c9b58d;
  --line: rgba(31, 29, 26, .16);
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(36, 24, 15, .14);
  --max: 1180px;
}

.wmcd-page,
.wmcd-page * {
  box-sizing: border-box;
}

.wmcd-page {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
}

.wmcd-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(105, 43, 33, .05) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(105, 43, 33, .035) 1px, transparent 1px) 0 0 / 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 74%);
}

.wmcd-page a {
  color: inherit;
  text-decoration: none;
}

.wmcd-page img {
  display: block;
  max-width: 100%;
}

.wmcd-page {
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: hidden;
}

body.wmcd-generated-page,
body:has(.wmcd-page),
body:has(.gate) {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body.wmcd-generated-page .wp-site-blocks,
body.wmcd-generated-page main,
body.wmcd-generated-page .site,
body.wmcd-generated-page .site-content,
body.wmcd-generated-page .content-area,
body.wmcd-generated-page .site-main,
body.wmcd-generated-page .ast-container,
body.wmcd-generated-page .ast-article-single,
body.wmcd-generated-page .post,
body.wmcd-generated-page .page,
body.wmcd-generated-page .entry-content,
body.wmcd-generated-page .wp-block-post-content,
body.wmcd-generated-page .wp-block-group,
body.wmcd-generated-page .wp-block-group.alignwide,
body.wmcd-generated-page .wp-block-group.alignfull,
body:has(.wmcd-page) .wp-site-blocks,
body:has(.wmcd-page) main,
body:has(.wmcd-page) .site,
body:has(.wmcd-page) .site-content,
body:has(.wmcd-page) .content-area,
body:has(.wmcd-page) .site-main,
body:has(.wmcd-page) .ast-container,
body:has(.wmcd-page) .ast-article-single,
body:has(.wmcd-page) .post,
body:has(.wmcd-page) .page,
body:has(.wmcd-page) .entry-content,
body:has(.wmcd-page) .wp-block-post-content,
body:has(.wmcd-page) .wp-block-group,
body:has(.wmcd-page) .wp-block-group.alignwide,
body:has(.wmcd-page) .wp-block-group.alignfull,
body:has(.gate) .wp-site-blocks,
body:has(.gate) main,
body:has(.gate) .site,
body:has(.gate) .site-content,
body:has(.gate) .content-area,
body:has(.gate) .site-main,
body:has(.gate) .ast-container,
body:has(.gate) .ast-article-single,
body:has(.gate) .post,
body:has(.gate) .page,
body:has(.gate) .entry-content,
body:has(.gate) .wp-block-post-content,
body:has(.gate) .wp-block-group,
body:has(.gate) .wp-block-group.alignwide,
body:has(.gate) .wp-block-group.alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wmcd-generated-page h1.wp-block-post-title,
body.wmcd-generated-page .entry-header,
body.wmcd-generated-page header.entry-header,
body.wmcd-generated-page .entry-title,
body.wmcd-generated-page .page-title,
body.wmcd-generated-page .ast-archive-description,
body:has(.wmcd-page) h1.wp-block-post-title,
body:has(.wmcd-page) .entry-header,
body:has(.wmcd-page) header.entry-header,
body:has(.wmcd-page) .entry-title,
body:has(.wmcd-page) .page-title,
body:has(.wmcd-page) .ast-archive-description,
body:has(.gate) h1.wp-block-post-title,
body:has(.gate) .entry-header,
body:has(.gate) header.entry-header,
body:has(.gate) .entry-title {
  display: none !important;
}

body.wmcd-generated-page #masthead,
body.wmcd-generated-page .site-header:not(.wmcd-page .site-header),
body.wmcd-generated-page .ast-primary-header-bar,
body.wmcd-generated-page .main-header-bar,
body.wmcd-generated-page .ast-mobile-header-wrap,
body.wmcd-generated-page #colophon,
body.wmcd-generated-page .site-footer:not(.wmcd-page .site-footer),
body:has(.wmcd-page) .wp-site-blocks > header,
body:has(.wmcd-page) .wp-site-blocks > footer,
body:has(.wmcd-page) #masthead,
body:has(.wmcd-page) .site-header:not(.wmcd-page .site-header),
body:has(.wmcd-page) .ast-primary-header-bar,
body:has(.wmcd-page) .main-header-bar,
body:has(.wmcd-page) .ast-mobile-header-wrap,
body:has(.wmcd-page) #colophon,
body:has(.wmcd-page) .site-footer:not(.wmcd-page .site-footer),
body:has(.gate) .wp-site-blocks > header,
body:has(.gate) .wp-site-blocks > footer,
body:has(.gate) #masthead,
body:has(.gate) .site-header,
body:has(.gate) .ast-primary-header-bar,
body:has(.gate) .main-header-bar,
body:has(.gate) .ast-mobile-header-wrap,
body:has(.gate) #colophon,
body:has(.gate) .site-footer {
  display: none !important;
}

body.wmcd-generated-page .site-content,
body.wmcd-generated-page #content,
body.wmcd-generated-page #page,
body.wmcd-generated-page .site,
body.wmcd-generated-page .ast-container,
body.wmcd-generated-page #primary,
body.wmcd-generated-page .content-area,
body.wmcd-generated-page .site-main,
body.wmcd-generated-page .entry-content,
body.wmcd-generated-page .ast-article-single,
body:has(.wmcd-page) .site-content,
body:has(.wmcd-page) #content,
body:has(.wmcd-page) #page,
body:has(.wmcd-page) .site,
body:has(.wmcd-page) .ast-container,
body:has(.wmcd-page) #primary,
body:has(.wmcd-page) .content-area,
body:has(.wmcd-page) .site-main,
body:has(.wmcd-page) .entry-content,
body:has(.wmcd-page) .ast-article-single,
body:has(.gate) .site-content,
body:has(.gate) #content,
body:has(.gate) #page,
body:has(.gate) .site,
body:has(.gate) .ast-container,
body:has(.gate) #primary,
body:has(.gate) .content-area,
body:has(.gate) .site-main,
body:has(.gate) .entry-content,
body:has(.gate) .ast-article-single {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(246, 240, 228, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(31, 29, 26, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper);
  background: var(--brick);
  border: 3px double var(--limestone);
  border-radius: 4px 4px 18px 18px;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.filter-button {
  min-height: 40px;
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.site-nav a:hover,
.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  background: rgba(155, 63, 44, .09);
}

.site-nav .nav-join {
  color: var(--paper);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  gap: 34px;
  width: min(100% - 32px, var(--max));
  margin: 34px auto 0;
  align-items: stretch;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(31, 29, 26, .8), transparent);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.18) contrast(1.08);
}

.hero-copy {
  position: relative;
  align-self: center;
  padding: 48px 0 48px 24px;
}

.hero-copy::before,
.join-card::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 10px;
  border-radius: 999px 999px 0 0;
  border: 2px solid var(--brick);
  border-bottom: 0;
  opacity: .78;
}

.logo-slot {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 18px;
  border: 1px dashed rgba(31, 29, 26, .38);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wmcd-page h1,
.wmcd-page h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  letter-spacing: 0;
}

.wmcd-page h1 {
  max-width: 650px;
  font-size: clamp(50px, 5.8vw, 86px);
}

.wmcd-page h2 {
  font-size: clamp(38px, 5vw, 72px);
}

.wmcd-page p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-copy p {
  max-width: 540px;
  margin-top: 22px;
  color: #4e4438;
  font-size: 18px;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.button.primary {
  color: var(--paper);
  background: var(--brick);
  border-color: var(--brick);
}

.button.secondary,
.button.compact {
  color: var(--ink);
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button.compact {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}

.section-label {
  margin-bottom: 16px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mission-band,
.map-section,
.members-section,
.events-section,
.history-section,
.join-section,
.documents-section,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.mission-band {
  margin-top: 58px;
  padding: 70px 0;
  border-block: 1px solid var(--line);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  gap: 62px;
  align-items: start;
}

.mission-copy {
  padding-top: 8px;
}

.mission-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mission-list li {
  position: relative;
  padding-left: 28px;
  color: #413a31;
  font-size: 16px;
  line-height: 1.45;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border: 2px solid var(--market-green);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.map-section {
  display: grid;
  grid-template-columns: .43fr .57fr;
  gap: 48px;
  padding: 86px 0;
  align-items: center;
}

.map-copy p {
  margin-top: 22px;
}

.map-copy h2 {
  font-size: clamp(36px, 4.5vw, 60px);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--brick-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.district-map {
  border: 1px solid rgba(105, 43, 33, .25);
  border-radius: 8px;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.district-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.street {
  fill: none;
  stroke: #765e43;
  stroke-width: 10;
  stroke-linecap: round;
  opacity: .68;
}

.street.main {
  stroke: var(--brick);
  stroke-width: 18;
  opacity: .95;
}

.freeway {
  fill: none;
  stroke: #1f1d1a;
  stroke-width: 16;
  stroke-linecap: round;
  opacity: .12;
}

.road-label,
.pin-title,
.pin-subtitle,
.map-key text {
  fill: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.road-label.small,
.pin-subtitle,
.map-key text {
  font-size: 13px;
}

.freeway-label {
  fill: rgba(31, 29, 26, .45);
}

.market-pin circle {
  fill: var(--brick);
}

.market-pin path {
  fill: none;
  stroke: var(--paper);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pin-title {
  font-size: 16px;
}

.pin-subtitle {
  fill: var(--muted);
}

.map-key rect {
  fill: rgba(255, 250, 240, .82);
  stroke: rgba(31, 29, 26, .16);
}

.map-key circle {
  fill: var(--brick);
}

.map-key path {
  stroke: var(--brick);
  stroke-width: 5;
  stroke-linecap: round;
}

.members-section,
.events-section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .54);
}

.member-list {
  display: grid;
  gap: 10px;
}

.member-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 140px minmax(180px, .88fr) 110px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .56);
}

.member-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.member-type,
.member-status,
.event-date {
  color: var(--brick-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.member-address {
  color: var(--muted);
  font-size: 14px;
}

.member-status {
  justify-self: end;
  color: var(--market-green);
}

.events-section {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 54px;
  align-items: start;
}

.events-copy p {
  margin-top: 22px;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .6);
}

.event-day {
  display: grid;
  place-items: center;
  min-height: 92px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.event-day strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.event-day span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.1;
}

.event-card p {
  font-size: 15px;
  line-height: 1.55;
}

.history-section {
  display: grid;
  grid-template-columns: .48fr .52fr;
  gap: 48px;
  padding: 92px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.history-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.history-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: sepia(.18) contrast(1.05);
}

.history-copy p {
  margin-top: 22px;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}

.timeline p {
  margin: 0;
  font-size: 15px;
}

.architecture-note {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(155, 63, 44, .24);
  border-radius: 8px;
  background: rgba(255, 250, 240, .52);
}

.architecture-note h3,
.records-summary h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.architecture-note p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.source-note,
.payment-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.source-note a {
  color: var(--brick-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.join-section {
  padding: 88px 0 76px;
  border-top: 1px solid var(--line);
}

.join-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 34px;
  align-items: center;
  padding: 40px 40px 40px 58px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--brick-dark);
  box-shadow: var(--shadow);
}

.join-card::before {
  border-color: var(--limestone);
  left: 28px;
}

.join-card h2,
.join-card p,
.join-card .section-label {
  color: var(--paper);
}

.join-card p {
  margin-top: 18px;
  opacity: .86;
}

.dues-box {
  display: grid;
  min-height: 168px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(246, 240, 228, .28);
  border-radius: 8px;
  text-align: center;
}

.dues-box span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
}

.dues-box p {
  max-width: 120px;
  margin: 8px auto 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.join-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.join-card .button.primary {
  color: var(--brick-dark);
  background: var(--paper);
  border-color: var(--paper);
}

.join-card .button.secondary {
  color: var(--paper);
  border-color: rgba(246, 240, 228, .5);
}

.payment-note {
  max-width: 780px;
}

.documents-section {
  display: grid;
  grid-template-columns: minmax(320px, .45fr) 1fr;
  gap: 44px;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.documents-section h2 {
  font-size: clamp(30px, 3vw, 46px);
}

.docs-intro p {
  margin-top: 20px;
}

.docs-content {
  display: grid;
  gap: 18px;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .62);
}

.document-card:hover {
  border-color: rgba(155, 63, 44, .45);
}

.document-card span {
  grid-row: 1 / 3;
  display: inline-grid;
  min-height: 58px;
  place-items: center;
  border-radius: 6px;
  color: var(--paper);
  background: var(--brick);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.document-card.pending span {
  background: var(--market-green);
}

.document-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.08;
}

.document-card em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.records-summary {
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
}

.records-summary h3 {
  color: var(--paper);
}

.records-summary ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.records-summary li {
  position: relative;
  padding-left: 22px;
  color: rgba(246, 240, 228, .82);
  font-size: 14px;
  line-height: 1.45;
}

.records-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--limestone);
}

.history-hero,
.history-overview,
.history-story,
.history-timeline-section,
.architecture-section,
.source-section,
.bylaws-hero,
.bylaws-list {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.history-hero {
  display: grid;
  grid-template-columns: .56fr .44fr;
  gap: 54px;
  align-items: center;
  padding: 80px 0 72px;
}

.history-hero-copy {
  position: relative;
  padding-left: 26px;
}

.history-hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 20px;
  width: 10px;
  border: 2px solid var(--brick);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.history-hero p {
  max-width: 650px;
  margin-top: 24px;
  font-size: 19px;
}

.history-hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.history-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(.18) contrast(1.06);
}

.history-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 0 70px;
}

.history-overview article,
.architecture-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .58);
}

.history-overview span {
  display: block;
  color: var(--brick);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-overview strong,
.architecture-grid strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

.history-overview p,
.architecture-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.history-story {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.history-story article {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.history-story h2 {
  grid-column: 2;
  font-size: clamp(36px, 4.2vw, 58px);
}

.history-story p {
  grid-column: 2;
  max-width: 820px;
  margin-top: 18px;
}

.history-story .section-label {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin-top: 12px;
}

.history-timeline-section,
.architecture-section,
.source-section {
  display: grid;
  grid-template-columns: .38fr .62fr;
  gap: 50px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.history-timeline-section h2,
.architecture-section h2,
.source-section h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.full-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.full-timeline article {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.full-timeline span {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
}

.full-timeline p {
  margin: 0;
  font-size: 15px;
}

.architecture-section {
  align-items: start;
}

.architecture-copy p {
  margin-top: 20px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .58);
  color: var(--brick-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bylaws-hero {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(280px, .38fr);
  gap: 48px;
  align-items: start;
  padding: 80px 0 42px;
}

.bylaws-hero-copy {
  position: relative;
  padding-left: 26px;
}

.bylaws-hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 8px;
  width: 10px;
  border: 2px solid var(--brick);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.bylaws-hero p {
  max-width: 720px;
  margin-top: 24px;
}

.bylaws-toc {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .62);
}

.bylaws-toc strong {
  margin-bottom: 6px;
  color: var(--brick-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bylaws-toc a {
  padding: 9px 0;
  border-top: 1px solid rgba(31, 29, 26, .09);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.bylaws-list {
  display: grid;
  gap: 18px;
  padding: 18px 0 86px;
}

.bylaw-article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, .58);
}

.bylaw-article h2 {
  max-width: 900px;
  font-size: clamp(30px, 3vw, 48px);
}

.bylaw-section {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 29, 26, .12);
}

.bylaw-section h3 {
  color: var(--brick-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bylaw-section p {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-section,
  .mission-grid,
  .map-section,
  .events-section,
  .history-section,
  .documents-section,
  .history-hero,
  .history-timeline-section,
  .architecture-section,
  .source-section,
  .bylaws-hero {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-copy {
    padding: 8px 0 48px 24px;
  }

  .map-copy h2 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .map-section,
  .members-section,
  .events-section,
  .history-section,
  .join-section,
  .history-hero,
  .history-timeline-section,
  .architecture-section,
  .source-section,
  .bylaws-hero {
    padding-block: 62px;
  }

  .history-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-story article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-story h2,
  .history-story p,
  .history-story .section-label {
    grid-column: 1;
    grid-row: auto;
  }

  .member-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .member-status {
    justify-self: start;
  }

  .join-card {
    grid-template-columns: 1fr;
  }

  .dues-box {
    min-height: 130px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .mission-band,
  .map-section,
  .members-section,
  .events-section,
  .history-section,
  .history-hero,
  .history-overview,
  .history-story,
  .history-timeline-section,
  .architecture-section,
  .source-section,
  .bylaws-hero,
  .bylaws-list,
  .join-section,
  .documents-section,
  .site-footer,
  .hero-section {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .hero-media {
    min-height: 260px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-day {
    min-height: 82px;
    width: 104px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .history-overview,
  .architecture-grid,
  .full-timeline article {
    grid-template-columns: 1fr;
  }

  .join-card {
    padding: 34px 24px 34px 44px;
  }

  .join-card::before {
    left: 18px;
  }
}
