/* ══════════════════════════════════════════════════════════
   8i Studio — mockups.css
   Scoped to .mk-* prefix. No colour tokens introduced.
   ══════════════════════════════════════════════════════════ */

/* ── ARTEFACT CONTAINER ─────────────────────────────────── */
.mk-artefact {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  background: var(--cream-soft);
  border: 1px solid rgba(26,24,20,0.08);
  border-radius: 6px;
  box-shadow:
    0 30px 60px -30px rgba(26,24,20,0.18),
    0 1px 0 rgba(26,24,20,0.06);
  overflow: hidden;
  position: relative;
  line-height: 1.55;
  width: 100%;
  min-width: 0;
}
.mk-placeholder {
  width: 100%;
  min-width: 0;
}

/* ── TWO-PAGE SPREAD ────────────────────────────────────── */
.mk-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  min-width: 0;
  width: 100%;
}
.mk-page {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.mk-page:first-child {
  border-right: 1px solid rgba(26,24,20,0.06);
  background: var(--cream);
}
.mk-page:last-child {
  background: var(--cream-soft);
}

/* ── SINGLE PAGE (portrait / landscape) ────────────────── */
.mk-single {
  padding: clamp(24px, 3vw, 36px);
}

/* ── META TOP ROW ───────────────────────────────────────── */
.mk-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.mk-meta-cube {
  opacity: 0.3;
}
.mk-meta-cube svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ── SECTION MARK (§ 01 — ...) ──────────────────────────── */
.mk-section-mark {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}

/* ── PAGE NUMBER ────────────────────────────────────────── */
.mk-page-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
  padding-top: 20px;
  text-align: right;
}

/* ── COVER PAGE TITLE ───────────────────────────────────── */
.mk-cover-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-top: auto;
  padding-bottom: 8px;
}
.mk-cover-title em {
  font-style: italic;
  color: var(--lavender-deep);
}
.mk-cover-meta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(26,24,20,0.1);
}
.mk-cover-meta-item dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
  font-weight: 500;
}
.mk-cover-meta-item dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.mk-cover-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--ink);
  opacity: 0.55;
}
.mk-cover-brand svg {
  width: 16px;
  height: 16px;
}

/* ── OPPORTUNITY MAP ────────────────────────────────────── */
.mk-opp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.mk-opp-grid > * { min-width: 0; overflow: hidden; }
.mk-opp-col-title {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lavender-deep);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26,24,20,0.1);
  margin-bottom: 8px;
}
.mk-opp-card {
  background: var(--cream);
  border: 1px solid rgba(26,24,20,0.07);
  border-radius: 5px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 6px;
}
.mk-opp-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
.mk-opp-card-desc {
  font-size: 10px;
  color: var(--ink-mute);
  line-height: 1.4;
  flex: 1;
}
.mk-dots-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}
.mk-dots-row-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-width: 38px;
  font-weight: 500;
}
.mk-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mk-dot--fill { background: var(--lavender-deep); }
.mk-dot--empty { background: transparent; border: 1.5px solid var(--line); }

/* ── RADAR / READINESS SCORE ────────────────────────────── */
.mk-radar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mk-radar-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.mk-radar-center-score {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  font-style: italic;
  fill: var(--ink);
}
.mk-radar-center-label {
  font-size: 10px;
  fill: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mk-radar-axis-label {
  font-size: 11px;
  fill: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 500;
}
.mk-radar-ring {
  fill: none;
  stroke: rgba(26,24,20,0.08);
  stroke-width: 1;
}
.mk-radar-spoke {
  stroke: rgba(26,24,20,0.08);
  stroke-width: 1;
}
.mk-radar-polygon {
  fill: rgba(123,111,168,0.18);
  stroke: var(--lavender-deep);
  stroke-width: 2;
}
.mk-radar-dot {
  fill: var(--lavender-deep);
}
/* Pillar legend */
.mk-pillar-legend {
  width: 100%;
  border-top: 1px solid rgba(26,24,20,0.08);
  padding-top: 16px;
  margin-top: 4px;
}
.mk-pillar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(26,24,20,0.05);
}
.mk-pillar-name {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  min-width: 90px;
}
.mk-pillar-dots {
  display: flex;
  gap: 3px;
  flex: 1;
}
.mk-pillar-score {
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  color: var(--lavender-deep);
  min-width: 36px;
  text-align: right;
}
.mk-radar-caption {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--lavender-deep);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(26,24,20,0.08);
}

/* ── ROADMAP ────────────────────────────────────────────── */
.mk-phase-track-wrap {
  margin-bottom: 20px;
}
.mk-phase-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 8px;
}
.mk-phase-label {
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  color: var(--lavender-deep);
  padding-right: 10px;
}
.mk-phase-track {
  height: 6px;
  background: var(--lavender-mist);
  border-radius: 3px;
  position: relative;
  display: flex;
  overflow: visible;
}
.mk-phase-seg {
  height: 100%;
  background: var(--lavender-deep);
  opacity: 0.65;
  border-radius: 3px 0 0 3px;
}
.mk-phase-pips {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 2px;
}
.mk-phase-pip-wrap {
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
}
.mk-phase-pip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lavender-deep);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--lavender-deep);
  margin-top: -10px;
}
.mk-roadmap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.mk-roadmap-cols > * { min-width: 0; overflow: hidden; }
.mk-roadmap-col-head {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(93,78,140,0.2);
}
.mk-init-card {
  background: var(--cream);
  border: 1px solid rgba(26,24,20,0.07);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 7px;
  position: relative;
}
.mk-init-card:last-child { margin-bottom: 0; }
.mk-init-code {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 3px;
}
.mk-init-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
}
.mk-init-dots {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(26,24,20,0.07);
  margin-bottom: 6px;
}
.mk-init-owner {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.mk-roadmap-legend {
  border-top: 1px solid rgba(26,24,20,0.08);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  gap: 24px;
}
.mk-roadmap-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ── MYTH / RISK ─────────────────────────────────────────── */
.mk-myth-header {
  font-size: clamp(15px, 2vw, 20px);
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 340px;
}
.mk-myth-pair {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}
.mk-myth-pair:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.mk-myth-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 3px;
}
.mk-myth-text {
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 5px;
}
.mk-reality-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 3px;
}
.mk-reality-text {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.45;
}
.mk-risk-sub {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.mk-risk-table {
  width: 100%;
  border-collapse: collapse;
}
.mk-risk-table th {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  text-align: left;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26,24,20,0.1);
}
.mk-risk-table td {
  font-size: 11px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid rgba(26,24,20,0.06);
  vertical-align: top;
  line-height: 1.4;
}
.mk-risk-table td:first-child { font-weight: 600; color: var(--ink); padding-right: 10px; }
.mk-risk-table td:nth-child(2), .mk-risk-table td:nth-child(3) {
  padding-right: 12px;
}
.mk-risk-table tr:last-child td { border-bottom: none; }

/* ── DELIVERABLES SHOWCASE (home page) ──────────────────── */
.deliverables-section {
  background: var(--ink);
  padding: var(--section-y) 0;
}
.deliverables-section .section-header h2 { color: var(--cream); }
.deliverables-section .section-header .eyebrow { color: var(--lavender); }
.deliverables-section .section-header .lead { color: rgba(245,240,230,0.6); }
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
  overflow: hidden;
}
.deliverable-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  min-width: 0;
}
.deliverable-tile:hover { transform: translateY(-4px); }
.deliverable-tile .mk-artefact {
  transition: box-shadow 0.3s var(--ease);
}
.deliverable-tile:hover .mk-artefact {
  box-shadow:
    0 40px 80px -30px rgba(26,24,20,0.5),
    0 1px 0 rgba(26,24,20,0.1);
}
.deliverable-caption {
  font-size: 12px;
  color: rgba(245,240,230,0.45);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.deliverable-caption strong {
  display: block;
  color: rgba(245,240,230,0.8);
  font-weight: 600;
  margin-bottom: 2px;
}

/* expandable tile */
.deliverable-tile-inner {
  overflow: hidden;
  max-height: 320px;
  transition: max-height 0.5s var(--ease);
  width: 100%;
}
.deliverable-tile.is-open .deliverable-tile-inner {
  max-height: 900px;
}
.deliverable-expand-btn {
  background: none;
  border: 1px solid rgba(245,240,230,0.2);
  border-radius: 4px;
  color: rgba(245,240,230,0.5);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}
.deliverable-expand-btn:hover {
  border-color: rgba(245,240,230,0.5);
  color: rgba(245,240,230,0.9);
}

/* ── SERVICE MOCKUP SPLIT (services page) ───────────────── */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 52px);
}
.service-split--flip { direction: rtl; }
.service-split--flip > * { direction: ltr; }
.service-cards-col { display: flex; flex-direction: column; gap: 16px; }
.service-mockup-col { position: relative; }
.service-mockup-col .mk-artefact { width: 100%; }

/* ── RISK / MYTH SHOWPIECE (services page bottom) ───────── */
.risk-showpiece {
  background: var(--cream-soft);
  border-radius: var(--r-card);
  padding: clamp(32px, 5vw, 60px);
  margin-top: clamp(48px, 6vw, 80px);
}
.risk-showpiece-header {
  margin-bottom: 32px;
}
.risk-showpiece-header h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-top: 8px;
}
.risk-showpiece .mk-spread {
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.risk-showpiece .mk-artefact {
  box-shadow: none;
  border: none;
  background: transparent;
}
.risk-showpiece .mk-spread {
  background: transparent;
}
.risk-showpiece .mk-page:first-child {
  background: transparent;
  border-right: 1px solid rgba(26,24,20,0.1);
}
.risk-showpiece .mk-page:last-child { background: transparent; }

/* ── OUTREACH MOCKUP ────────────────────────────────────── */
.mk-page--dark {
  background: var(--ink) !important;
  border-right-color: rgba(245,240,230,0.06) !important;
}
.mk-out-campaign-name {
  font-size: 18px;
  font-weight: 700;
  color: #F5F0E6;
  margin: 20px 0 6px;
  line-height: 1.25;
}
.mk-out-campaign-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.4);
}
.mk-out-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 20px;
}
.mk-out-stat {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
}
.mk-out-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #F5F0E6;
  line-height: 1;
}
.mk-out-stat-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.4);
  margin-top: 4px;
}
.mk-out-bar-section { margin-top: auto; }
.mk-out-bar-label {
  font-size: 10px;
  color: rgba(245,240,230,0.5);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.mk-out-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.mk-out-fill {
  height: 100%;
  border-radius: 99px;
}
.mk-out-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  flex: 1;
}
.mk-out-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(26,24,20,0.06);
}
.mk-out-row:last-child { border-bottom: none; }
.mk-out-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mk-out-row-body { flex: 1; min-width: 0; }
.mk-out-row-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-out-row-detail {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 1px;
}
.mk-out-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}
.mk-out-badge--reply   { background: #e8e1f0; color: #5d4e8c; }
.mk-out-badge--connected { background: #dff2e8; color: #2a6644; }
.mk-out-badge--view    { background: #fdf0dc; color: #8a5c20; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .mk-spread { grid-template-columns: 1fr; }
  .mk-page:first-child { border-right: none; border-bottom: 1px solid rgba(26,24,20,0.06); }
  .service-split { grid-template-columns: 1fr; }
  .service-split--flip { direction: ltr; }
  .mk-opp-grid { grid-template-columns: 1fr; }
  .mk-roadmap-cols { grid-template-columns: 1fr; }
  .service-mockup-col { display: none; }
}
