@font-face {
  font-family: "Cabin";
  src: url("fonts/Cabin.ttf") format("truetype");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("fonts/Cabin-Italic.ttf") format("truetype");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #2F6F1C;
  --green-dark: #1E4A10;
  --bg: #E9E8E5;
  --card: #F4F3F1;
  --line: #CFCDC8;
  --text: #262624;
  --muted: #5E5C58;
}

* { box-sizing: border-box; }

html, body { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: "Cabin", "Gill Sans", "Gill Sans MT", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }

.page {
  display: grid;
  grid-template-columns: minmax(0, 820px) 300px;
  grid-template-areas: "header aside" "main aside";
  column-gap: 40px;
  justify-content: center;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.masthead { grid-area: header; text-align: center; padding-top: 40px; }
.sidebar { grid-area: aside; min-width: 0; }
main { grid-area: main; min-width: 0; }

h1 { margin: 0; font-size: 2.6rem; font-weight: 700; letter-spacing: 0.01em; }
.subtitle {
  margin: 4px 0 0;
  padding-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--green);
}

.meeting {
  margin-top: 40px;
  padding: 16px 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  font-size: 0.92rem;
}
.meeting + .meeting { margin-top: 20px; }
.meeting h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
.meeting h3 { margin: 14px 0 4px; font-size: 1rem; }
.meeting p { margin: 0 0 10px; }
.when { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0 0 12px; }
.when dt { font-weight: 600; }
.when dd { margin: 0; }
.register {
  display: block;
  margin: 4px 0 12px;
  padding: 9px 12px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.register:hover { background: var(--green-dark); color: #fff; }
.meeting .calendar { margin: 0; color: var(--muted); }
.contact h2 { text-align: center; }
.contact .person.small { margin: 0 auto 10px; }
.contact p { margin: 0; }

.person { margin: 28px auto 0; text-align: center; }
.person img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: cover;
}
.person figcaption { font-size: 1.2rem; font-weight: 600; }
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.person.small { margin: 6px 0 0; width: 200px; }
.person.small img { width: 100px; height: 100px; }
.person.small figcaption { font-size: 1rem; font-weight: 500; }

section h2, section h3 { text-align: center; }
section h2 {
  margin: 28px 0 6px;
  padding-bottom: 4px;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--line);
}
section h3 { margin: 22px 0 6px; font-size: 1.2rem; }
section p { text-align: justify; hyphens: auto; }

.intro { margin: 12px 0 0; }
.dropcap {
  float: left;
  margin: 0.06em 0.08em 0 0;
  font-size: 4.6em;
  line-height: 0.82;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .page { grid-template-columns: minmax(0, 820px); grid-template-areas: "header" "aside" "main"; }
  .meeting { margin-top: 24px; }
  .meeting + .meeting { margin-top: 20px; }
}
@media (max-width: 600px) {
  section p { text-align: left; }
}
