/* Gold card frames and original artwork, with selectable HTML labels and links. */
#tools { scroll-margin-top: 90px; }
#tools .tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#tools .tool-card {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 340px;
  padding: 26px 28px 28px;
  border: 1px solid #d6aa4d;
  border-radius: 20px;
  overflow: visible;
  background: radial-gradient(ellipse at 0 0, #5e3d121f, transparent 50%), #050503;
  box-shadow: inset 0 0 0 1px #ffdf821c, 0 12px 28px #0005;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
#tools .tool-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffeda7 45%, transparent);
  box-shadow: 0 0 12px #f2bb5a9e;
  pointer-events: none;
}
#tools .tool-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0 auto;
  width: 110px;
  height: 1px;
  border-radius: 0;
  filter: none;
  background: linear-gradient(90deg, transparent, #ffe399, transparent);
  box-shadow: 0 0 12px #e9ad3a;
  pointer-events: none;
}
.tool-card__atmosphere {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 64%;
  opacity: .53;
  border-radius: inherit;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 85%);
  pointer-events: none;
  z-index: -1;
}
.tool-card__visual {
  display: flex;
  align-items: center;
  height: 115px;
  margin: -6px 0 10px -8px;
  pointer-events: none;
}
.tool-card__art {
  display: block;
  width: 150px;
  height: 115px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 88%, transparent),
              linear-gradient(0deg, transparent, #000 13%, #000 88%, transparent);
  mask-composite: intersect;
}
.tool-card--emergency .tool-card__art,
.tool-card--vehicle .tool-card__art { width: 206px; }
#tools .tool-card h4 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.35px;
  text-wrap: balance;
}
#tools .tool-card p {
  margin: 0 0 24px;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.6;
  color: #b9b7b1;
}
#tools .tool-card__link {
  position: relative;
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  padding-bottom: 10px;
  margin-top: auto;
  color: #f8ce69;
  font-size: 16px;
  font-weight: 600;
}
#tools .tool-card__link > span { font-size: 20px; color: inherit; transition: transform .22s ease; }
.tool-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: -28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #edc15e, #a37427 40%, transparent);
}
#tools .tool-card:hover,
#tools .tool-card:focus-visible {
  border-color: #d6aa4d;
  box-shadow: inset 0 0 0 1px #ffdf821c, 0 12px 28px #0005;
  transform: none;
}
#tools .tool-card:focus-visible { outline: 2px solid #fff0bf; outline-offset: 5px; }
#tools .tool-card:hover .tool-card__link > span { transform: translateX(4px); }
.tool-card-smoke {
  position: fixed;
  display: none;
  pointer-events: none;
  z-index: 9;
  contain: strict;
}
.tool-card-smoke.is-visible { display: block; }
@media (min-width: 681px) and (max-width: 1100px) {
  #tools .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  #tools .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 450px; }
  #tools .tool-card { min-height: 310px; padding: 24px 26px; }
  #tools .tool-card h4 { font-size: 23px; }
  .tool-card__visual { height: 105px; }
  .tool-card__art { height: 105px; }
}
@media (prefers-reduced-motion: reduce) {
  #tools .tool-card, #tools .tool-card__link > span { transition: none; }
  #tools .tool-card:hover, #tools .tool-card:focus-visible { transform: none; }
  .tool-card-smoke.is-visible { display: none; }
}
