:root {
  color-scheme: light;
  --paper: #f5f2e7;
  --ink: #20382d;
  --forest: #183b32;
  --line: #c5ccbb;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ad6d36; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 400 1rem/1.08 Georgia, serif; }
.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 1.12rem/1.2 Georgia, serif;
  text-decoration: none;
}

.brand img { border-radius: 50%; }
.brand strong { font-weight: inherit; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .3rem 1.45rem; }
.masthead nav a { display: grid; align-items: center; min-height: 44px; text-underline-offset: .3em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 6vw, 5rem);
}

.hero-copy { align-self: center; }
h1 { font-size: clamp(3rem, 7.7vw, 7.3rem); line-height: .96; letter-spacing: -.055em; }
.hero p { max-width: 32ch; margin-top: 1.65rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 38rem;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border-radius: .2rem;
  background: #d3ddc5;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.55rem;
  padding: .65rem 1.15rem;
  background: var(--forest);
  color: white;
  border-radius: .25rem;
  text-decoration: none;
}
.button:hover { background: #285748; }

.topics { padding-block: 2rem clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.1rem); letter-spacing: -.035em; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 2rem; }
.topic-grid article { border-top: 1px solid var(--line); padding-top: 1rem; }
h3 { margin-bottom: .65rem; font-size: 1.55rem; }
.topic-grid p { max-width: 37ch; }

.membership { background: var(--forest); color: var(--paper); }
.membership-inner { padding-block: clamp(2.25rem, 5vw, 4.2rem); }
.membership p { margin-top: .75rem; }
.footer { padding-block: 1.6rem; }

@media (max-width: 47rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { max-height: 28rem; aspect-ratio: 4 / 3; }
  .topic-grid { grid-template-columns: 1fr; gap: 1.3rem; }
}

@media (max-width: 28rem) {
  .shell { width: calc(100% - 2rem); }
  .masthead { gap: .35rem; padding-block: .85rem; }
  .masthead nav { gap: 1rem; }
}
