/* aumik-alumni lo-fi wireframe styles. Grayscale, boxy, no polish. */

:root {
  --ink: #1a1a1a;
  --ink-2: #555;
  --ink-3: #888;
  --line: #333;
  --line-2: #aaa;
  --bg: #f4f4f4;
  --paper: #fff;
  --shade: #e0e0e0;
  --note: #fff7d6;
  --note-line: #d4b85a;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--ink-2); }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px 80px;
}

/* Top nav strip */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 2px solid var(--line);
  background: var(--paper);
  margin-bottom: 24px;
}
.nav .brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px dashed var(--line);
  padding: 6px 12px;
}
.nav .links { display: flex; gap: 12px; flex-wrap: wrap; }
.nav .chip {
  border: 1.5px solid var(--line);
  padding: 4px 10px;
  font-size: 13px;
  background: var(--paper);
}
.nav .chip.active { background: var(--ink); color: var(--paper); }

/* Annotations — yellow sticky-note style */
.note {
  background: var(--note);
  border: 1.5px dashed var(--note-line);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 8px 0;
  font-style: italic;
}
.note::before { content: "▶ "; font-style: normal; color: var(--note-line); font-weight: 700; }

/* Generic boxes */
.box {
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 16px;
  margin-bottom: 16px;
}
.box.dashed { border-style: dashed; }
.box.shaded { background: var(--shade); }

.placeholder {
  border: 2px dashed var(--line-2);
  background: repeating-linear-gradient(
    45deg,
    var(--shade),
    var(--shade) 8px,
    var(--paper) 8px,
    var(--paper) 16px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Typography */
h1 { font-size: 36px; margin: 0 0 12px; line-height: 1.15; }
h2 { font-size: 22px; margin: 0 0 10px; }
h3 { font-size: 17px; margin: 0 0 8px; }
p  { margin: 0 0 12px; }
.muted { color: var(--ink-3); }
.lead { font-size: 18px; color: var(--ink-2); }
.kbd {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  border: 1px solid var(--line-2);
  padding: 1px 6px;
  background: var(--paper);
}

/* Buttons */
.btn {
  display: inline-block;
  border: 2px solid var(--line);
  padding: 8px 16px;
  background: var(--paper);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.ghost   { background: transparent; }

/* Layout helpers */
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.col { flex: 1 1 0; min-width: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }

/* KPI card */
.kpi {
  border: 2px solid var(--line);
  padding: 14px 16px;
  background: var(--paper);
}
.kpi .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-3); }
.kpi .value { font-size: 28px; font-weight: 700; margin-top: 4px; }
.kpi .delta { font-size: 12px; color: var(--ink-2); margin-top: 4px; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; font-size: 14px; }
th { background: var(--shade); font-weight: 700; }

/* Page footer cross-links */
.crosslinks {
  margin-top: 48px;
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.crosslinks .arrow { color: var(--ink-3); margin: 0 6px; }

/* Slide-style title block */
.title-block {
  border: 3px solid var(--line);
  padding: 32px;
  margin-bottom: 24px;
  background: var(--paper);
}

/* Photo placeholder with face circles */
.photo {
  position: relative;
  background: repeating-linear-gradient(
    45deg,
    var(--shade),
    var(--shade) 10px,
    var(--paper) 10px,
    var(--paper) 20px
  );
  border: 2px dashed var(--line);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.face {
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.face.match { border-width: 4px; box-shadow: 0 0 0 4px var(--paper); }
.face.claimed { background: rgba(0,0,0,0.15); }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kanban .col-k { border: 2px solid var(--line); background: var(--paper); padding: 8px; }
.kanban .col-k h3 { display: flex; justify-content: space-between; padding: 4px 6px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.kanban .card { border: 1.5px solid var(--line); padding: 8px 10px; margin-bottom: 8px; font-size: 13px; background: var(--paper); }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--line);
  background: var(--paper);
}
.timeline .step { border-right: 1px solid var(--line-2); padding: 16px; }
.timeline .step:last-child { border-right: 0; }
.timeline .step .marker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-3); }
.timeline .step h3 { margin-top: 6px; }

/* Map placeholder */
.map {
  border: 2px dashed var(--line);
  aspect-ratio: 4 / 5;
  position: relative;
  background:
    radial-gradient(circle at 60% 40%, var(--shade) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 65%, var(--shade) 0 6%, transparent 7%),
    var(--paper);
}
.map .pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.map .pin.lg { width: 18px; height: 18px; }
.map .pin.md { width: 13px; height: 13px; }

/* Photo grid (hook collage) */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}
.collage .tile {
  aspect-ratio: 1;
  background: repeating-linear-gradient(
    45deg,
    var(--shade),
    var(--shade) 6px,
    var(--paper) 6px,
    var(--paper) 12px
  );
  border: 1px solid var(--line-2);
  position: relative;
  opacity: 0.55;
}
.collage .tile.highlight {
  opacity: 1;
  border: 3px solid var(--ink);
}
.collage .tile.highlight::after {
  content: "";
  position: absolute;
  inset: 25%;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

/* Bars (for charts) */
.bars { display: flex; gap: 6px; align-items: flex-end; height: 120px; padding: 8px 0; }
.bars .bar {
  flex: 1;
  background: var(--ink);
  position: relative;
}
.bars .bar.faded { background: var(--line-2); }
.bars .bar .lbl { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-3); }

/* Chart axis */
.axis {
  border-bottom: 2px solid var(--line);
  margin: 0 0 24px;
  padding-bottom: 4px;
}

/* Footer note for index */
.legend {
  margin-top: 40px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line-2);
  padding-top: 16px;
}

/* Status pill */
.pill {
  display: inline-block;
  border: 1.5px solid var(--line);
  padding: 2px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}
.pill.dark { background: var(--ink); color: var(--paper); }

/* App-shell sub-nav (persona-aware horizontal nav under top brand bar) */
.subnav {
  display: flex;
  gap: 0;
  border: 2px solid var(--line);
  border-top: 0;
  background: var(--paper);
  margin-top: -24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.subnav a, .subnav span {
  padding: 10px 14px;
  font-size: 13px;
  border-right: 1px solid var(--line-2);
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.subnav a:hover { background: var(--shade); color: var(--ink); }
.subnav a.active, .subnav span.active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.subnav .scope {
  background: var(--shade);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.6px;
}

/* Avatar circle */
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: repeating-linear-gradient(
    45deg,
    var(--shade),
    var(--shade) 6px,
    var(--paper) 6px,
    var(--paper) 12px
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.avatar.sm { width: 40px; height: 40px; }
.avatar.lg { width: 120px; height: 120px; font-size: 14px; }

/* Form rows */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-row label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.form-row input,
.form-row select,
.form-row textarea {
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
}
.form-row textarea { min-height: 80px; resize: vertical; }
.form-row .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* Feed card (timeline-style item) */
.feed-card {
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}
.feed-card .feed-body { flex: 1; min-width: 0; }
.feed-card .feed-meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* Two-pane (list + detail) layout */
.two-pane {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .two-pane { grid-template-columns: 1fr; }
}

/* Compact list rows */
.list-row {
  border: 1.5px solid var(--line);
  background: var(--paper);
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.list-row.active { border-width: 3px; }
.list-row .list-body { flex: 1; min-width: 0; }
.list-row .list-meta { font-size: 12px; color: var(--ink-3); }

/* Hero block */
.hero {
  border: 3px solid var(--line);
  background: var(--paper);
  padding: 48px 40px;
  margin-bottom: 24px;
}
.hero h1 { font-size: 48px; line-height: 1.1; }
.hero .sub { font-size: 20px; color: var(--ink-2); max-width: 720px; }
.hero .cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Drop zone */
.drop-zone {
  border: 3px dashed var(--line);
  background: var(--paper);
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.drop-zone strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
