.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 36px; transition: color 0.2s ease;
}
.back-link:hover { color: var(--accent-1); }
.back-link svg { width: 14px; height: 14px; transform: rotate(180deg); }

.project-hero { padding: 150px 0 56px; }
.project-hero .status { margin-bottom: 18px; }
.project-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; max-width: 760px; }
.project-hero .dek { margin-top: 18px; max-width: var(--content-w); font-size: 16px; color: var(--text); }

.stack-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 13px; border: 1px solid var(--border-hi); color: var(--text); border-radius: 7px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.kpi-row .kpi { padding: 24px 26px 24px 0; border-right: 1px solid var(--border); }
.kpi-row .kpi:last-child { border-right: none; }
.kpi-row .kpi-num {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kpi-row .kpi-label { margin-top: 6px; font-size: 12.5px; color: var(--text-dim); }
@media (max-width: 700px) {
  .kpi-row { grid-template-columns: 1fr; }
  .kpi-row .kpi { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 0; }
  .kpi-row .kpi:last-child { border-bottom: none; }
}

.prose { max-width: 940px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 0 0 18px; }
.prose p { font-size: 15px; margin: 0 0 18px; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 9px; font-size: 15px; }

.stage { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 32px 0; border-top: 1px solid var(--border); }
.stage:last-child { border-bottom: 1px solid var(--border); }
.stage-num { font-family: var(--font-mono); color: var(--accent-1); font-size: 13px; padding-top: 4px; }
.stage h3 { font-size: 17.5px; margin-bottom: 8px; font-weight: 600; }
.stage p { font-size: 14px; margin: 0; max-width: 620px; }

.callout {
  border-left: 2px solid var(--accent-1);
  padding: 18px 26px;
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  margin: 6px 0 28px;
}
.callout .k { font-family: var(--font-mono); font-size: 11px; color: var(--accent-1); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.callout p { margin: 0; color: var(--text-hi); font-size: 14.5px; }

.embed-frame {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0 32px;
  overflow: hidden;
}
.embed-frame.tableau-embed {
  aspect-ratio: auto;
  min-height: 200px;
  padding: 20px 0;
  overflow: hidden;
  display: block;
  max-width: 100vw;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: transparent;
  border: none;
  backdrop-filter: none;
  border-radius: 0;
}
.embed-frame.tableau-embed > div {
  margin: 0 auto;
}
.embed-frame iframe { width: 100%; height: 100%; border: 0; }
.embed-placeholder { text-align: center; padding: 20px; }
.embed-placeholder .eyebrow { justify-content: center; margin-bottom: 12px; }
.embed-placeholder p { max-width: 380px; margin: 0 auto; font-size: 13.5px; color: var(--text-dim); }

.resource-links { display: flex; gap: 12px; flex-wrap: wrap; margin: -14px 0 28px; }
.btn-disabled { opacity: 0.5; cursor: default; pointer-events: none; border-style: dashed; }

.next-project {
  border-top: 1px solid var(--border);
  padding: 52px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.next-project .k { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.next-project h3 { font-size: 22px; }
