/* ============================================================
   S.E.L Locksmith — design system extensions
   Grounded in the locksmith's own vernacular: cut keys, pin
   tumblers, spec drawings. Brass = cut key metal. Hairlines +
   corner brackets = technical/blueprint drafting convention.
   ============================================================ */

:root {
  --brass: #B08D57;
  --brass-light: #D4B483;
}

/* Signature element: the "bitting profile" — the actual jagged
   cut-depth silhouette of a key blade, used as a divider motif
   throughout the site instead of a generic rule or gradient. */
.bitting-divider {
  height: 16px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2216%22%20viewBox%3D%220%200%2032%2016%22%3E%3Cpolyline%20points%3D%220%2C14%204%2C14%204%2C6%208%2C6%208%2C10%2012%2C10%2012%2C3%2016%2C3%2016%2C11%2020%2C11%2020%2C7%2024%2C7%2024%2C13%2028%2C13%2028%2C5%2032%2C5%22%20fill%3D%22none%22%20stroke%3D%22%23B08D57%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22miter%22/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 32px 16px;
  opacity: 0.55;
}
.bitting-divider.dense { background-size: 20px 10px; height: 10px; }

/* Eyebrow label: a technical-drawing "leader line" callout —
   short brass tick, mono label, hairline rule trailing off. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brass);
  flex-shrink: 0;
}
.eyebrow.on-dark { color: var(--brass-light); }

/* Spec card: hairline border, near-zero radius, brass corner
   register marks like a technical drawing's crop marks. */
.spec-card {
  position: relative;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 2px;
  background: #fff;
}
.spec-card::before,
.spec-card::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: var(--brass);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.spec-card::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
}
.spec-card::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--brass);
  border-right: 2px solid var(--brass);
}
.spec-card:hover::before,
.spec-card:hover::after,
.spec-card:focus-within::before,
.spec-card:focus-within::after {
  opacity: 1;
}
.spec-card:hover { border-color: rgba(28, 28, 28, 0.06); }

.spec-card-dark {
  position: relative;
  border: 1px solid rgba(193, 193, 193, 0.22);
  border-radius: 2px;
}
.spec-card-dark::before,
.spec-card-dark::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.spec-card-dark::before { top: -1px; left: -1px; border-top: 2px solid var(--brass-light); border-left: 2px solid var(--brass-light); }
.spec-card-dark::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--brass-light); border-right: 2px solid var(--brass-light); }
.spec-card-dark:hover::before, .spec-card-dark:hover::after { opacity: 1; }

/* Dimension-style stat separators — thin brass ticks instead of
   boxed grid tiles, like measurements on a drawing. */
.dim-stat { position: relative; }
.dim-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(176, 141, 87, 0.4);
}

/* Buttons drafted with a squared, bracketed edge rather than a
   soft pill — echoes hardware, not software. */
.btn-cut {
  position: relative;
  border-radius: 3px;
}
.btn-cut::before, .btn-cut::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0.9;
}
.btn-cut::before { top: -3px; left: -3px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.btn-cut::after { bottom: -3px; right: -3px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
