/* ───────────────────────────────────────────────────────────────
   The Adirondacker — wireframe explorer
   Sketch primitives (.h/.mut/.ln/.img/…) are ported verbatim from the
   Claude Design source so the wireframes render exactly as drawn.
   Everything prefixed .wx- is explorer chrome and is not part of the
   design itself.
   ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #f0eee9;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #1a1a1a;
}

/* ─── Explorer chrome ─── */

.wx-tb {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fbfaf8;
  border-bottom: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  padding: 14px 20px 12px;
}

.wx-tb-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wx-title {
  margin: 0;
  font: 600 15px/1.2 'IBM Plex Sans', sans-serif;
  letter-spacing: .01em;
}

.wx-title small {
  display: block;
  margin-top: 3px;
  font: 400 11px/1.3 ui-monospace, Menlo, monospace;
  letter-spacing: .04em;
  color: rgba(0, 0, 0, .45);
}

.wx-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.wx-row + .wx-row { margin-top: 9px; }

.wx-label {
  font: 600 10px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .4);
  min-width: 64px;
}

.wx-btn {
  font: 500 12px/1 'IBM Plex Sans', sans-serif;
  padding: 7px 11px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 5px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}

.wx-btn:hover { background: #f2efe9; border-color: rgba(0, 0, 0, .3); }

.wx-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.wx-btn.toggle.on {
  background: #c99746;
  border-color: #b3842f;
  color: #1a1a1a;
}

.wx-tagline {
  margin-top: 11px;
  font: 400 12px/1.5 'IBM Plex Sans', sans-serif;
  color: rgba(0, 0, 0, .55);
  max-width: 78ch;
}

.wx-tagline b { font-weight: 600; color: #1a1a1a; }

/* ─── Stage ─── */

.wx-stage { padding: 30px 20px 64px; }

.wx-single {
  display: flex;
  justify-content: center;
}

.wx-compare {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 14px;
}

.wx-compare .wx-item { flex: none; }

.wx-item { display: flex; flex-direction: column; gap: 9px; }

.wx-cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 400 11.5px/1.35 'IBM Plex Sans', sans-serif;
  color: rgba(0, 0, 0, .55);
}

.wx-id {
  font: 600 10.5px ui-monospace, Menlo, monospace;
  padding: 3px 7px;
  background: rgba(0, 0, 0, .08);
  border-radius: 5px;
  color: #1a1a1a;
}

.wx-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  overflow: hidden;
}

/* Annotations toggle: .note blocks are the designer's commentary. */
.wx-card[data-anno="off"] .note { display: none; }

.wx-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(0, 0, 0, .45);
  font: 400 13px/1.6 'IBM Plex Sans', sans-serif;
}

/* ─── Sketch primitives (verbatim from the Claude Design source) ─── */

.h { font-family: 'Architects Daughter', cursive; color: #1a1a1a; line-height: 1.15; }
.mut { font-family: 'Architects Daughter', cursive; color: #7b766c; }
.ln { height: 6px; border-radius: 3px; background: #dcd8d0; }
.img {
  background-color: #f4f2ee;
  background-image:
    linear-gradient(45deg, transparent 49.2%, #cdc8bf 49.2%, #cdc8bf 50.8%, transparent 50.8%),
    linear-gradient(-45deg, transparent 49.2%, #cdc8bf 49.2%, #cdc8bf 50.8%, transparent 50.8%);
  border: 1.5px dashed #bdb7ac;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
  font: 10px 'Architects Daughter', cursive;
  color: #8b857a;
}
.bx { border: 1.5px solid #cfc9bf; border-radius: 3px; background: #fbfaf7; }
.btn {
  font: 13px 'Architects Daughter', cursive;
  background: #1a1a1a;
  color: #fff;
  border-radius: 3px;
  padding: 9px 14px;
  text-align: center;
}
.btn2 {
  font: 13px 'Architects Daughter', cursive;
  border: 1.5px solid #1a1a1a;
  color: #1a1a1a;
  border-radius: 3px;
  padding: 8px 13px;
  text-align: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1.5px solid #ddd8ce;
}
.navl { display: flex; gap: 13px; font: 11px 'Architects Daughter', cursive; color: #5c574e; }
.fld {
  border: 1.5px solid #cfc9bf;
  border-radius: 3px;
  background: #fff;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font: 11px 'Architects Daughter', cursive;
  color: #a09a8f;
}
.sec { padding: 22px 18px; border-bottom: 1.5px dashed #e3ded4; }
.tag {
  font: 9.5px ui-monospace, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a09a8f;
}
.acc { color: #c99746; }
.fut {
  padding: 18px;
  background: #20242a;
  color: #c9c4ba;
  font: 10.5px 'Architects Daughter', cursive;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.note {
  font: 10px/1.35 'IBM Plex Sans', sans-serif;
  color: #a5a095;
  padding: 8px 18px;
  border-top: 1px dashed #e3ded4;
  background: #fcfbf8;
}

/* ─── Narrow screens: let the fixed-width cards scroll rather than crush ─── */

@media (max-width: 640px) {
  .wx-stage { padding: 20px 12px 48px; }
  .wx-single { justify-content: flex-start; overflow-x: auto; }
  .wx-label { min-width: auto; }
}
