.project-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.project-nav a {
  text-decoration: none;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}

.project-nav a:hover,
.project-nav a[aria-current="page"] {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.note {
  border-left: 5px solid var(--accent-2);
}

.check-list {
  padding-left: 1.2rem;
}

.check-list li {
  margin: 8px 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  background: color-mix(in srgb, var(--accent-2) 12%, var(--panel));
}

.small-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline .panel {
  box-shadow: none;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: center;
}

.image-placeholder {
  min-height: 240px;
  border: 2px dashed color-mix(in srgb, var(--accent-2) 42%, var(--line));
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 42%),
    color-mix(in srgb, var(--panel) 92%, var(--accent) 8%);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow);
}

.image-placeholder strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.image-placeholder span {
  display: block;
  max-width: 34ch;
}

.image-placeholder.wide {
  min-height: 320px;
}

.image-placeholder.small {
  min-height: 150px;
  border-radius: 22px;
  box-shadow: none;
}

.image-placeholder.receipt {
  min-height: 220px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 24px, color-mix(in srgb, var(--line) 55%, transparent) 25px),
    color-mix(in srgb, var(--panel) 95%, var(--accent-2) 5%);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.follow-steps {
  counter-reset: follow-step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.follow-step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.follow-step::before {
  counter-increment: follow-step;
  content: counter(follow-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.follow-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.meal-card {
  display: grid;
  gap: 14px;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.evidence-list .panel {
  padding: 18px;
}

@media (max-width: 760px) {
  .data-table {
    min-width: 620px;
  }

  .project-hero-grid {
    grid-template-columns: 1fr;
  }

  .image-placeholder.wide {
    min-height: 220px;
  }
}
