.home {
  --home-ink: #352219;
  --home-rust: #9d3824;
  --home-panel: #fffaf2;
  color: var(--home-ink);
  margin-bottom: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.home .home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  margin: 0;
  padding: clamp(2.25rem, 5vw, 5rem) 0 clamp(2.5rem, 6vw, 5.5rem);
}

.home-hero .hero-logo {
  width: clamp(7.75rem, 12vw, 10.5rem);
  margin-bottom: clamp(0.75rem, 1.8vw, 1.5rem);
}

.home-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.3vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.01;
  text-wrap: balance;
}

.home-hero h1 span {
  display: block;
  color: var(--home-rust);
}

.home-hero .hero-copy p {
  max-width: 36ch;
  color: var(--muted);
}

.home .button {
  justify-content: center;
  border-radius: 2rem;
}

.home-hero .hero-photo img {
  aspect-ratio: 1.07;
  object-fit: cover;
  border-radius: 1.75rem 1.75rem 1.75rem 0.4rem;
}

.home-hero figcaption {
  text-align: right;
}

.home h2 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  font-weight: 775;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.home-favorites {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: clamp(1.25rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.favorite-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--home-panel);
  color: inherit;
  text-decoration: none;
}

.favorite-card:hover {
  border-color: var(--accent);
}

.favorite-photo {
  position: relative;
  min-height: 8rem;
  aspect-ratio: 1.85;
  overflow: hidden;
  background: var(--surface);
}

.favorite-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.3rem;
  background: var(--home-panel);
  color: var(--home-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.favorite-info {
  padding: clamp(0.9rem, 2.2vw, 1.5rem);
}

.favorite-info h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: -0.025em;
}

.favorite-info p {
  margin: 0.4rem 0 0;
  color: var(--home-rust);
  font-weight: 700;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 1.25rem;
  background: var(--home-ink);
  color: var(--paper);
}

.gathering-mark {
  display: grid;
  width: min(100%, 16rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  padding: 1rem;
  border: 1px solid #f2ad8b;
  outline: 1px dashed #f2ad8b;
  outline-offset: -0.65rem;
  border-radius: 50%;
  color: #f2ad8b;
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 750;
  line-height: 1;
  transform: rotate(-8deg);
}

.home-about h2 {
  max-width: 15ch;
}

.home-about p {
  max-width: 46ch;
  margin: 1rem 0 0;
  color: #f0e0d3;
  line-height: 1.65;
}

.home-about .button {
  background: var(--paper);
  color: var(--home-ink);
}

.home-about .button:hover {
  background: #f2d5c3;
}

.home-about a:focus-visible {
  outline-color: var(--paper);
}

.home-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: var(--surface);
}

.home-location address {
  margin-top: 0.75rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.home-location .button {
  margin: 0;
}

@media (max-width: 48rem) {
  .home .home-hero,
  .home-about {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero h1 {
    max-width: 15ch;
  }

  .gathering-mark {
    width: 7rem;
    justify-self: start;
    font-size: 2.5rem;
  }
}

@media (max-width: 36rem) {
  .favorites-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
