/* Found Slowly — wireframe deck. Low-fidelity layout explorations.
   Monochrome ink-on-paper + one red accent, mono annotations. */
.fs-wireframe {
  --wf-paper: #f4ecdb;
  --wf-ink: #15120f;
  --wf-ash: #ddd1bd;
  --wf-ash2: #c7b9a2;
  --wf-red: #b8412c;
  --wf-note: #6c655a;
  --wf-line: rgba(21, 18, 15, 0.55);
  min-height: 100svh;
  background: var(--wf-paper);
  color: var(--wf-ink);
  font-family: "Source Code Pro", ui-monospace, monospace;
}

body { margin: 0; }
.fs-wireframe * { box-sizing: border-box; }
.fs-wireframe a { color: inherit; }

.wf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-height: 56px;
  padding: 10px max(16px, calc((100vw - 1280px) / 2));
  border-bottom: 2px solid var(--wf-ink);
  background: var(--wf-paper);
  font-size: 12px;
  text-transform: uppercase;
}

.wf-nav strong { font-family: "Albert Sans", sans-serif; font-weight: 600; }
.wf-nav a { text-decoration: underline; text-decoration-color: var(--wf-red); text-underline-offset: 0.2em; }
.wf-nav a:hover, .wf-nav a:focus-visible { color: var(--wf-red); }
.wf-nav .wf-nav__spacer { margin-left: auto; color: var(--wf-note); }

.wf-head {
  padding: clamp(36px, 6vw, 80px) max(16px, calc((100vw - 1280px) / 2)) clamp(20px, 3vw, 36px);
  border-bottom: 2px dashed var(--wf-line);
}

.wf-head__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--wf-red);
}

.wf-head h1 {
  max-width: 18ch;
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.wf-head p {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--wf-note);
}

.wf-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(24px, 4vw, 56px) max(16px, calc((100vw - 1280px) / 2));
}

.wf-frame {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--wf-ink);
  border-radius: 6px;
  overflow: hidden;
  background: var(--wf-paper);
  box-shadow: 8px 8px 0 rgba(21, 18, 15, 0.16);
}

.wf-frame__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 2px solid var(--wf-ink);
  font-size: 12px;
  text-transform: uppercase;
}

.wf-frame__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  background: var(--wf-ink);
  color: var(--wf-paper);
  border-radius: 6px;
  font-weight: 600;
}

.wf-frame__title { font-weight: 600; letter-spacing: 0.02em; }
.wf-frame__dots { margin-left: auto; letter-spacing: 2px; color: var(--wf-note); }

.wf-screen {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.wf-frame__cap {
  padding: 10px 12px;
  border-top: 2px dashed var(--wf-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--wf-note);
}

/* ── primitives ───────────────────────────────────────────── */
.wf-img {
  position: relative;
  min-height: 60px;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), var(--wf-line) calc(50% - 1px), var(--wf-line) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--wf-line) calc(50% - 1px), var(--wf-line) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--wf-ash);
}

.wf-img[data-label]::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px 6px;
  background: var(--wf-paper);
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

.wf-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--wf-ash2);
}

.wf-bar--lg { height: 16px; }
.wf-bar--ink { background: var(--wf-ink); }

.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  background: var(--wf-paper);
}

.wf-btn--accent { background: var(--wf-red); color: var(--wf-paper); border-color: var(--wf-red); }

.wf-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

.wf-note { font-size: 12px; color: var(--wf-note); text-transform: uppercase; }

.wf-row { display: flex; gap: 9px; align-items: center; }
.wf-row--top { align-items: flex-start; }
.wf-col { display: flex; flex-direction: column; gap: 9px; }
.wf-fill { flex: 1; }
.wf-center { align-items: center; justify-content: center; text-align: center; }

/* ── 01 terminal shop ─────────────────────────────────────── */
.wf-term {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  background: var(--wf-ink);
  color: var(--wf-paper);
  font-size: 12px;
}
.wf-term__line { display: flex; gap: 8px; }
.wf-term__prompt { color: var(--wf-red); }
.wf-term__cursor { width: 8px; height: 14px; background: var(--wf-paper); }

/* ── 05 sms / conversational ──────────────────────────────── */
.wf-msg {
  max-width: 78%;
  padding: 8px 10px;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  font-size: 12px;
}
.wf-msg--them { align-self: flex-start; background: var(--wf-ash); }
.wf-msg--me { align-self: flex-end; background: var(--wf-red); color: var(--wf-paper); border-color: var(--wf-red); }

/* ── 06 archive table ─────────────────────────────────────── */
.wf-table { width: 100%; display: flex; flex-direction: column; border: 1.5px solid var(--wf-ink); border-radius: 6px; overflow: hidden; }
.wf-tr { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 0.8fr; }
.wf-tr + .wf-tr { border-top: 1.5px solid var(--wf-line); }
.wf-tr--head { background: var(--wf-ink); color: var(--wf-paper); }
.wf-td { padding: 7px 9px; font-size: 12px; border-right: 1.5px solid var(--wf-line); }
.wf-td:last-child { border-right: 0; }
.wf-tr--head .wf-td { text-transform: uppercase; }

/* ── 08 vending slots ─────────────────────────────────────── */
.wf-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.wf-slot {
  position: relative;
  border: 1.5px solid var(--wf-ink);
  border-radius: 6px;
  background: var(--wf-ash);
  display: flex;
  align-items: flex-end;
  padding: 6px;
  font-size: 12px;
}
.wf-slot span { position: absolute; top: 5px; left: 6px; color: var(--wf-note); }

/* ── 09 story spine ───────────────────────────────────────── */
.wf-spine { position: relative; flex: 1; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.wf-spine::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--wf-line); }
.wf-node { position: relative; }
.wf-node::before { content: ""; position: absolute; left: -19px; top: 4px; width: 10px; height: 10px; border: 2px solid var(--wf-ink); border-radius: 50%; background: var(--wf-paper); }

@media (max-width: 760px) {
  .wf-deck { grid-template-columns: 1fr; }
}
