/* === Specimen sheet easter egg ===
   Hidden by default; type "print" anywhere on the page (not while
   typing in a field) to reveal a type/color/space specimen sheet, in
   the same print/technical-document register as the crop-marks and
   VHS overlay already on every page. Escape, or typing "print" again,
   closes it. Not linked from anywhere on purpose. */
.specimen-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  overflow-y: auto;
  padding: var(--space-6) var(--space-5);
}
.specimen-overlay[hidden] {
  display: none;
}
.specimen-sheet {
  max-width: 56rem;
  margin: 0 auto;
}
.specimen-sheet__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-5);
  border-bottom: var(--border-thick) solid var(--color-pine);
}
.specimen-sheet__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  color: var(--color-heading);
}
.specimen-sheet__title::before {
  content: var(--mark-fleuron);
  margin-right: var(--space-2);
  color: var(--color-moss);
}
.specimen-sheet__hint {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-faint);
  white-space: nowrap;
}
.specimen-section {
  margin-bottom: var(--space-6);
}
.specimen-section__label {
  margin: 0 0 var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* type waterfall */
.specimen-type-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  border-bottom: var(--border-hair) solid var(--color-panel-border);
}
.specimen-type-row:last-child {
  border-bottom: none;
}
.specimen-type-row__label {
  flex: 0 0 8rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-text-faint);
}
.specimen-type-row__sample {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: var(--leading-tight);
}

/* color swatches */
.specimen-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: var(--space-4) var(--space-3);
}
.specimen-swatch__chip {
  height: var(--space-7);
  border: var(--border-hair) solid var(--color-panel-border-strong);
  border-radius: var(--radius);
}
.specimen-swatch__name {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-text-muted);
}
.specimen-swatch__hex {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-text-faint);
}

/* space scale */
.specimen-space-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-1) 0;
}
.specimen-space-row__label {
  flex: 0 0 8rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-text-faint);
}
.specimen-space-row__bar {
  display: block;
  height: var(--space-3);
  background: var(--color-moss);
}

/* border/radius */
.specimen-borders {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.specimen-border-sample {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-text-faint);
}
.specimen-border-sample__box {
  width: var(--space-7);
  height: var(--space-7);
  background: var(--color-panel-bg);
}
