.contact-page {
  background: var(--bubble-paper);
  color: var(--bubble-body);
}

.contact-shell {
  width: min(70rem, calc(100% - clamp(2rem, 8vw, 7rem)));
  margin-inline: auto;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.contact-shell .crumbs {
  padding-top: 2rem;
}

.contact-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5rem);
}

.contact-hero h1 {
  margin: 0 0 1rem;
  color: var(--bubble-ink);
  font-size: clamp(3.25rem, 7vw, 5rem);
  font-weight: 260;
  letter-spacing: -.055em;
  line-height: .95;
}

.contact-hero p {
  max-width: 47rem;
  margin: 0;
  color: var(--bubble-body);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
}

.contact-hero p + p {
  margin-top: .4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5rem);
  row-gap: clamp(3.5rem, 7vw, 5.5rem);
}

.contact-channel {
  position: relative;
  min-width: 0;
  padding-top: 1.25rem;
}

.contact-channel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 1px;
  background: #3ecf8e;
  content: "";
}

.contact-channel h2 {
  margin: 0 0 .85rem;
  color: var(--bubble-ink);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.contact-channel a {
  display: inline-block;
  max-width: 100%;
  margin-bottom: .9rem;
  color: #087f4e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .93rem;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}

.contact-channel a:hover {
  color: #05663e;
}

.contact-channel a:focus-visible {
  border-radius: .2rem;
  outline: 3px solid var(--color-focus);
  outline-offset: .25rem;
}

.contact-channel p {
  margin: 0;
  color: var(--bubble-body);
  font-size: .98rem;
  line-height: 1.55;
}

.contact-note {
  max-width: 52rem;
  margin: clamp(4rem, 8vw, 6rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bubble-rule);
  color: var(--bubble-muted);
  font-size: .88rem;
}

html[data-theme-effective="dark"] .contact-channel a {
  color: #6ee7b7;
}

html[data-theme-effective="dark"] .contact-channel a:hover {
  color: #a7f3d0;
}

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

@media (max-width: 620px) {
  .contact-shell {
    width: min(100% - 2rem, 35rem);
  }

  .contact-hero {
    padding-block: 2.75rem 3.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-channel a {
    scroll-behavior: auto;
  }
}
