/* Button refinement: stronger type, clear hierarchy and accessible states. */
.button {
  min-height: 52px;
  padding: 15px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.2;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 5px 14px rgba(37, 33, 29, .09);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.button span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: 14px;
  transition: transform .18s ease, background-color .18s ease;
}

.button-dark {
  background: var(--rust);
  color: #fffaf4;
}

.button-dark:hover {
  background: #963d2b;
  box-shadow: 0 8px 20px rgba(112, 48, 33, .2);
}

.button-light {
  border-color: rgba(255, 255, 255, .26);
  background: #f5eee4;
  color: var(--ink);
}

.button-light span {
  background: rgba(37, 33, 29, .08);
}

.button-light:hover {
  background: #e7d2c2;
}

.button:hover span {
  transform: translate(2px, -1px);
}

.button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(37, 33, 29, .12);
}

.button:focus-visible,
.nav-cta:focus-visible,
.text-link:focus-visible,
.filter:focus-visible,
.closing-mail:focus-visible,
footer a:focus-visible {
  outline: 3px solid #cb765d;
  outline-offset: 4px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rust);
  border-radius: 4px;
  padding: 11px 14px;
  background: var(--rust);
  color: #fffaf4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background-color .18s ease, transform .18s ease;
}

.nav-cta span {
  margin: 0;
  color: inherit;
  transition: transform .18s ease;
}

.nav-cta:hover {
  background: #963d2b;
  transform: translateY(-1px);
}

.nav-cta:hover span {
  transform: translate(2px, -1px);
}

.filter {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.filter:hover {
  background: rgba(185, 77, 53, .08);
  color: var(--rust);
}

.filter.active {
  border-color: var(--rust);
  background: var(--rust);
  color: #fffaf4;
}

.filter.active span {
  color: #ffe2d8;
}

@media (max-width: 650px) {
  .button {
    min-height: 50px;
    padding: 13px 15px;
    font-size: 12px;
    gap: 18px;
  }

  .nav-cta {
    padding: 10px 11px;
    font-size: 10px;
  }

  .filter {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button span,
  .nav-cta,
  .nav-cta span,
  .filter {
    transition: none;
  }
}
/* Legible labels and comfortable touch targets. */
.button { font-size: 14px; }
.nav-cta { min-height: 44px; }
.filter { min-height: 44px; font-size: 13px; }
@media(max-width:650px) {
 .button { font-size: 14px; }
 .nav-cta { font-size: 12px; }
 .filter { font-size: 13px; }
}
