/* ============ CONCEPT MAP (A3 landscape) ============ */
.cm-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.cm-head h1 { margin: 0; font-size: 44px; }
.cm-head h1 .x {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: var(--amber-2);
  font-size: 34px;
  padding: 0 6px;
}
.cm-head .sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .01em;
}
.cm-head .sub b { color: var(--ink-2); font-weight: 600; }
.cm-meta { text-align: right; flex: 0 0 auto; }
.cm-meta .who {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.cm-meta .who span { color: var(--muted); font-weight: 400; }
.cm-meta .legend {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: 1px;
}
.dot--teal { background: var(--teal-2); }
.dot--amber { background: var(--amber-2); }

/* ---------- 3-column mind map ---------- */
.cm-grid {
  display: grid;
  grid-template-columns: 1fr 322px 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
  height: 770px;
}
.cluster { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.cluster-head {
  position: relative;
  color: #fff;
  border-radius: var(--r);
  padding: 12px 16px 13px;
  box-shadow: var(--shadow);
}
.cluster-head--teal { background: linear-gradient(120deg, #0b5449, #14806d); }
.cluster-head--amber { background: linear-gradient(120deg, #8d5411, #c07f22); }
.cluster-head .kicker {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .78;
  font-weight: 700;
}
.cluster-head h2 {
  margin: 2px 0 3px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .01em;
}
.cluster-head p { margin: 0; font-size: 11.5px; line-height: 1.4; opacity: .92; }

/* ---------- node cards ---------- */
.node {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 13px 11px;
  box-shadow: 0 1px 0 rgba(16, 30, 26, .03);
}
.node--teal { border-left: 4px solid var(--teal-2); }
.node--amber { border-left: 4px solid var(--amber-2); }
.node h3 {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
}
.node h3 em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-size: 11px;
}
.node p { margin: 0; font-size: 12px; line-height: 1.42; color: var(--ink-2); }
.node p b { color: var(--ink); }
.node .big {
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.chip {
  font-size: 10.5px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal-wash);
  color: #0b4e42;
  font-weight: 600;
  white-space: nowrap;
}
.chip--amber { background: var(--amber-wash); color: #7d4a0d; }
.chip--ghost { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }
.chip--warn { background: #f7ddd6; color: #8f3520; }

/* growth / link row inside a card */
.chain {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.chain .arw { color: var(--amber-2); font-size: 12px; }

/* ---------- centre column ---------- */
.core {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 2px;
}
.core-card {
  background: #12211d;
  color: #f4efe6;
  border-radius: var(--r);
  padding: 14px 15px 15px;
  box-shadow: var(--shadow);
}
.core-card .kicker {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9fb3aa;
  font-weight: 700;
}
.core-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  margin: 5px 0 10px;
  font-weight: 600;
  line-height: 1.15;
}
.eq { display: flex; flex-direction: column; gap: 6px; }
.eq-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.3;
}
.eq-pill {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 6px;
}
.eq-pill--teal { background: #14806d; color: #fff; }
.eq-pill--amber { background: #e09a34; color: #3a2405; }
.eq-row span { color: #cfdcd5; }
.eq-out {
  margin-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, .22);
  padding-top: 9px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  color: #ffdca6;
  font-weight: 600;
}

/* bridges to the two clusters */
.bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bridge::before, .bridge::after {
  content: "";
  height: 1px;
  flex: 1;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 10px);
}

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 10px 10px;
}
.stat .n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}
.stat .n small { font-size: 12px; color: var(--amber); }
.stat .l { font-size: 9.5px; line-height: 1.3; color: var(--muted); margin-top: 4px; }

/* ---------- repetition timeline ---------- */
.tl {
  position: relative;
  margin: 2px 0 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tl::before {
  content: "";
  position: absolute;
  left: 63px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, #f0d9b4, var(--amber-2) 22%, #b07a1c);
  opacity: .55;
}
.tl-item { display: grid; grid-template-columns: 55px 17px 1fr; align-items: start; }
.tl-when {
  font-size: 8.8px;
  line-height: 1.2;
  text-align: right;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  padding-top: 8px;
}
.tl-mark { position: relative; display: flex; justify-content: center; padding-top: 9px; }
.tl-mark i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--amber-2);
  display: block;
}
.tl-item:nth-child(4) .tl-mark i { background: var(--amber-2); }
.tl-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 10px 8px;
  margin-left: 3px;
}
.tl-body h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tl-body p { margin: 3px 0 0; font-size: 10.4px; line-height: 1.36; color: var(--ink-2); }
.tag {
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 5px;
  border-radius: 4px;
  background: #eceae1;
  color: #6b6a5f;
}
.tag--overt { background: #dcebe4; color: #14523f; }
.tag--covert { background: #efe6f6; color: #5b3f74; }

/* ---------- attention ceiling bars ---------- */
.bars { display: flex; flex-direction: column; gap: 4px; margin-top: 3px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 6px; }
.bar-row .gl { font-size: 9.6px; color: var(--ink-2); }
.bar-row .tr { height: 9px; background: #eceadf; border-radius: 999px; overflow: hidden; }
.bar-row .tr i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #14806d, #2fa88f); }
.bar-row .mn { font-size: 9.6px; font-weight: 700; color: var(--teal); text-align: right; }

/* ---------- footer: toolkit + QR ---------- */
.cm-foot {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  margin-top: 11px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  align-items: start;
}
.foot-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.foot-head h2 { margin: 0; font-size: 15px; letter-spacing: .02em; }
.foot-head span { font-size: 10.5px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.tool {
  font-size: 9.8px;
  line-height: 1.25;
  padding: 6px 8px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.tool b { display: block; font-size: 8.4px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 2px; }

.qr-wrap { display: flex; gap: 11px; }
.qr-item { text-align: center; flex: 1; }
.qr-item img { width: 100%; max-width: 62px; display: block; margin: 0 auto 4px; }
.qr-item span { font-size: 8.4px; line-height: 1.25; color: var(--muted); display: block; }

.source {
  margin-top: 9px;
  font-size: 9.4px;
  line-height: 1.4;
  color: var(--muted);
}
.source b { color: var(--ink-2); font-weight: 600; }

/* screen-only interactivity */
@media screen {
  .node, .tl-body, .cluster-head { transition: transform .22s ease, box-shadow .22s ease; }
  .node:hover, .tl-body:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(16, 30, 26, .6); }
  a.qr-item { text-decoration: none; color: inherit; }
  a.qr-item:hover span { color: var(--teal); text-decoration: underline; }
}
