@font-face {
  font-family: Fraunces;
  src: url('./fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('./fonts/source-sans-3-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #24343b;
  --deep: #17272e;
  --sand: #f1e4c8;
  --paper: #faf3e6;
  --amber: #c88b3d;
  --line: #cbbd9f;
  --muted: #5d625b;
  --serif: Fraunces, Georgia, serif;
  --sans: 'Source Sans 3', Arial, sans-serif;
  color: var(--navy);
  background: var(--sand);
  font-family: var(--sans);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #985021;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--amber);
  color: var(--deep);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 10;
  background: var(--paper);
  padding: 16px;
}
.skip-link:focus {
  top: 12px;
}
.masthead {
  max-width: 1440px;
  margin: auto;
  min-height: 102px;
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  font: 650 29px/1.1 var(--serif);
  letter-spacing: -1.2px;
}
.brand-mark {
  flex-shrink: 0;
}
.brand small {
  display: block;
  margin-top: 8px;
  font: 600 9px/1.2 var(--sans);
  letter-spacing: 2px;
}
.brand b {
  font-size: 7px;
  color: #986224;
  margin: 0 5px;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}
.masthead nav > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.masthead nav > a:hover,
.masthead nav > a[aria-current] {
  text-decoration: underline;
}
.masthead .nav-meetup {
  margin-left: 12px;
  gap: 14px;
  border: 1px solid #8e998f;
  padding: 0 17px;
  font-weight: 600;
}
.nav-meetup:hover {
  background: var(--navy);
  color: var(--sand);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.5;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}
.site-footer {
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #5c6157;
}
.site-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-footer b {
  font-size: 8px;
  color: #90612d;
  margin: 0 6px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
dialog {
  border: 1px solid #bca37a;
  background: var(--paper);
  color: var(--navy);
  padding: 30px;
  width: min(570px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  box-shadow: 8px 8px #0e202b66;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #0c1e27cf;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  gap: 14px;
}
.panel-top .eyebrow {
  color: #79552c;
  font-size: 9px;
}
.close-button {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.close-button:hover {
  background: var(--sand);
}
.content-article > .eyebrow {
  color: #79552c;
  margin: 26px 0 11px;
  font-size: 9px;
}
.content-article h1,
.content-article h2 {
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.08;
  letter-spacing: -1.3px;
  margin: 15px 0 20px;
}
.article-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #424e4b;
  margin: 0;
}
.content-note {
  display: flex;
  gap: 18px;
  align-items: start;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  margin: 26px 0;
}
.content-note p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #555e54;
}
.article-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 9px;
}
.primary-link {
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  padding: 13px 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.primary-link:hover {
  background: #3c5057;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
}
.text-link > span {
  margin-left: 7px;
}
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
}
.panel-foot > span {
  font-size: 8px;
  letter-spacing: 0.7px;
}
.panel-foot b {
  color: #956229;
  margin: 0 4px;
}
.panel-foot > button {
  background: none;
  border: 0;
  font-size: 12px;
  min-height: 44px;
  padding: 0;
}
.panel-foot > button:hover {
  text-decoration: underline;
}
.help-dialog h2 {
  font-size: 38px;
  letter-spacing: -1.3px;
  margin: 26px 0 15px;
}
.help-dialog p,
.help-dialog li {
  font-size: 16px;
  line-height: 1.6;
}
.help-dialog ul {
  padding-left: 22px;
}
.help-dialog .primary-link {
  margin-top: 10px;
}
.text-page {
  max-width: 1170px;
  margin: 0 auto;
  min-height: 72vh;
  padding: 45px 5% 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 15px 100px;
}
.back-link {
  grid-column: 1/-1;
  font-size: 13px;
  padding: 8px 0 24px;
}
.text-page .content-article h1 {
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: -2px;
  max-width: 9ch;
}
.text-page .content-article > .eyebrow {
  margin-top: 14px;
}
.page-aside {
  align-self: center;
  text-align: center;
  padding: 40px;
  border: 1px solid var(--line);
  background: #ead9b7;
}
.page-aside p {
  font: 500 23px/1.3 var(--serif);
  letter-spacing: -0.5px;
}
.page-aside a {
  font-size: 13px;
  font-weight: 600;
}
.not-found {
  max-width: 1000px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 80px 5%;
}
.not-found h1 {
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: -2px;
}
.event-list {
  padding: 0;
  list-style: none;
}
.event-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.event-list time {
  font-size: 13px;
  color: #6f512b;
}
.event-list h3 {
  font-size: 23px;
}
.event-list p {
  font-size: 14px;
}
@media (max-width: 1050px) {
  .masthead nav {
    gap: 17px;
  }
  .masthead .nav-meetup {
    display: none;
  }
  .masthead {
    min-height: 90px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 45px;
    height: 45px;
  }
  .text-page {
    gap: 15px 40px;
  }
}
@media (max-width: 700px) {
  .masthead {
    padding: 17px 5%;
    min-height: 83px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 26px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-top: 6px;
  }
  .masthead nav {
    gap: 18px;
    font-size: 13px;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .masthead nav > a {
    min-height: 44px;
  }
  .site-footer {
    align-items: start;
    font-size: 10px;
    gap: 15px;
    padding: 23px 5%;
  }
  .site-footer > span:last-child {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: end;
    max-width: 48%;
  }
  .site-footer > span:last-child > span {
    width: 100%;
    text-align: right;
  }
  .text-page {
    grid-template-columns: 1fr;
    padding-top: 25px;
    gap: 15px;
  }
  .page-aside {
    margin-top: 30px;
    padding: 24px;
  }
  .text-page .content-article h1 {
    max-width: none;
    font-size: 46px;
  }
  .text-page .back-link {
    padding-bottom: 10px;
  }
}
@media (max-width: 450px) {
  .content-dialog,
  .help-dialog {
    padding: 20px;
  }
  .panel-foot {
    display: block;
  }
  .panel-foot > span {
    display: block;
    font-size: 8px;
  }
  .panel-foot > button {
    min-height: 44px;
    margin-top: 4px;
  }
  .content-article .article-lead {
    font-size: 16px;
  }
  .content-article > .eyebrow {
    font-size: 8px;
  }
  .text-page .content-article h1 {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Shared local copy for the pub panels and their static routes. */
.article-section { margin-block: 28px; }
.content-article .article-section h2,
.content-article .article-section h3,
.post-list h2, .post-list h3 { font: 600 23px/1.3 var(--serif); letter-spacing: -.3px; margin: 0 0 12px; }
.article-section p, .article-section li, .post-list p { font-size: 16px; line-height: 1.6; }
.article-section ol { padding-left: 24px; }
.article-section li { margin-block: 12px; }
.post-list { margin-block: 28px; border-block: 1px solid var(--line); padding: 20px 0; }
.post-date { font-size: 14px; color: var(--muted); }
.post-page { display: block; max-width: 850px; }
.post-page .back-link { display: inline-block; }
.post-page .content-article h1 { max-width: none; }

/* The provider keeps its own layout inside a responsive 600 × 450 frame. */
.agenda-calendar {
  width: 100%;
  max-width: 600px;
  margin: 24px 0;
}
.agenda-calendar iframe {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 450px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.agenda-calendar iframe:focus-visible {
  outline: 3px solid #985021;
  outline-offset: 3px;
}
