.atlas-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.atlas-hero-grid,
.atlas-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.atlas-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.65rem);
  margin-top: 0;
}

.atlas-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.atlas-actions .button {
  padding: .6rem .9rem;
  margin-top: 0;
  border: 1px solid transparent;
  font-size: .875rem;
}

.atlas-actions .button:hover {
  background: #dfb979;
}

.atlas-actions .atlas-button-outline {
  color: #fffdf8;
  border-color: #c8c8ad;
  background: transparent;
}

.atlas-actions .atlas-button-outline:hover {
  background: #ffffff12;
}

.homepage-feature {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #d7ddc74d;
  border-top: 3px solid #dcb573;
  border-radius: 5px;
  background: #162d2666;
}

.homepage-feature .homepage-feature-place {
  margin: 0;
  color: #efcf93;
  font-size: .875rem;
  font-weight: 600;
}

.homepage-feature h2 {
  margin: .45rem 0 .75rem;
  font: 700 clamp(1.8rem, 3vw, 2.35rem)/1.1 'Cormorant Garamond', Georgia, serif;
}

.homepage-feature p {
  font-size: .95rem;
}

.homepage-feature a {
  color: #fffdf8;
  font-size: .875rem;
  font-weight: 700;
}

.atlas-section {
  padding-block: clamp(2.65rem, 6vw, 4.5rem);
}

.atlas-section h2 {
  max-width: 36rem;
  font-size: clamp(2.15rem, 4vw, 3rem);
}

.atlas-intro p {
  max-width: 38rem;
  margin-bottom: 0;
}

.atlas-inventory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 1rem 1.3rem;
  margin: 0;
  border-inline-start: 2px solid var(--gold);
  list-style: none;
}

.atlas-inventory a {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}

.atlas-inventory strong {
  display: block;
  font: 700 2.6rem/1.1 'Cormorant Garamond', Georgia, serif;
}

.atlas-section-tinted {
  border-block: 1px solid var(--line);
  background: #eee8dc;
}

.atlas-connection-cards,
.atlas-region-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.atlas-home .card h3 {
  line-height: 1.16;
}

.atlas-home .card p {
  color: #4e564f;
  font-size: .9375rem;
}

.atlas-home .atlas-card-place {
  margin: 0 0 .5rem;
  color: #6b4c1d;
  font-size: .8125rem;
  font-weight: 600;
}

.atlas-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.15rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.atlas-region-cards .atlas-link-list {
  display: grid;
}

.atlas-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem 1.6rem;
  margin: 1.5rem 0;
}

.atlas-methods div {
  padding-top: .65rem;
  border-top: 1px solid #b29b76;
}

.atlas-methods dt {
  font: 700 1.6rem/1.2 'Cormorant Garamond', Georgia, serif;
}

.atlas-methods dd {
  margin: .5rem 0 0;
  font-size: .9375rem;
}

.atlas-method-links a {
  font-weight: 600;
}

.family-directory h1 {
  font-size: clamp(2.35rem, 5vw, 3.45rem);
}

.family-directory-context {
  max-width: 47rem;
}

.family-directory-context p:last-child {
  margin-bottom: 0;
}

.family-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream);
}

.family-filters[hidden] {
  display: none;
}

.family-filters label {
  display: grid;
  gap: .35rem;
  min-width: 0;
  font-size: .8125rem;
  font-weight: 600;
}

.family-filters input,
.family-filters select,
.family-filters button {
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  padding: .4rem .6rem;
  border: 1px solid #81897d;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: .875rem;
}

.family-filters button {
  width: auto;
  justify-self: start;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.family-filters button:hover {
  background: #eae9dd;
}

.family-results {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.family-directory .family-card h3 {
  font-size: 1.65rem;
  line-height: 1.15;
}

.family-card h3 a {
  font-size: inherit;
}

.family-card .family-card-place {
  margin: 0 0 .55rem;
  color: #6b4c1d;
  font-size: .8125rem;
  font-weight: 600;
}

.family-card .family-card-context {
  margin: .65rem 0;
  font-size: .8125rem;
  font-weight: 600;
}

.family-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 979px) {
  .family-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .atlas-hero-grid,
  .atlas-intro {
    grid-template-columns: 1fr;
  }

  .atlas-inventory {
    max-width: 24rem;
  }
}

@media (max-width: 460px) {
  .family-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}
