:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

::selection {
  background: #d9e4d0;
  color: #171514;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: #171514;
  color: #fbfaf7;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-link {
  border-radius: 999px;
  color: rgba(42, 41, 39, 0.72);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: #171514;
  color: #fbfaf7;
}

.mobile-nav-link {
  align-items: center;
  border-radius: 0.75rem;
  color: #171514;
  display: flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 0.875rem 1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: #171514;
  color: #fbfaf7;
}

.filter-button {
  align-items: center;
  border: 1px solid rgba(23, 21, 20, 0.14);
  border-radius: 999px;
  color: rgba(42, 41, 39, 0.76);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: #171514;
  border-color: #171514;
  color: #fbfaf7;
}

.clip-card {
  background: #fff;
  border: 1px solid rgba(23, 21, 20, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.clip-card:hover {
  box-shadow: 0 24px 70px rgba(23, 21, 20, 0.12);
  transform: translateY(-3px);
}

.clip-card.is-hidden {
  display: none;
}

.clip-kicker {
  color: #586f5a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.clip-title {
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
  margin-top: 0.85rem;
}

.clip-copy {
  color: rgba(42, 41, 39, 0.7);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 0.85rem;
}

.clip-link {
  align-items: center;
  color: #171514;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.clip-link:hover {
  color: #a8573f;
}

.service-pill {
  align-items: center;
  border: 1px solid rgba(23, 21, 20, 0.12);
  border-radius: 0.5rem;
  display: inline-flex;
  font-weight: 800;
  gap: 0.5rem;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.service-pill:hover,
.service-pill.is-selected {
  background: #171514;
  border-color: #171514;
  color: #fbfaf7;
}

.field-label {
  color: rgba(42, 41, 39, 0.72);
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
}

.field-input {
  background: #fbfaf7;
  border: 1px solid rgba(23, 21, 20, 0.14);
  border-radius: 0.5rem;
  color: #171514;
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
  outline: none;
  padding: 0.875rem 1rem;
  width: 100%;
}

.field-input:focus {
  border-color: #586f5a;
  box-shadow: 0 0 0 4px rgba(88, 111, 90, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
