/* Moslim Vrijwilliger — Page-specific styles
   Home, stories, how-it-works, signup, browse, about, contact, dashboard, thanks, 404. */

/* ── Home: hero ─────────────────────────────── */

.hero {
  position: relative;
  background: var(--c-blue);
  color: var(--c-surface);
  overflow: hidden;
  border-bottom: 4px solid var(--c-ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, var(--c-yellow) 0, transparent 9%),
    radial-gradient(circle at 88% 10%, var(--c-pink) 0, transparent 7%),
    radial-gradient(circle at 75% 85%, var(--c-lime) 0, transparent 10%),
    radial-gradient(circle at 20% 90%, var(--c-coral) 0, transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 0, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  padding-block: var(--s-6) var(--s-7);
  align-items: center;
  z-index: 1;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-6);
    padding-block: var(--s-7) var(--s-8);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-ink);
  border: var(--stroke);
  box-shadow: var(--shadow-sticker);
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.hero__eyebrow::before {
  content: "★";
  font-size: 1rem;
  color: var(--c-pink);
  line-height: 1;
}

.hero h1 {
  color: var(--c-surface);
  margin-bottom: var(--s-3);
  text-shadow: 4px 4px 0 var(--c-ink);
  line-height: 1;
}

.hero h1 .accent { color: var(--c-lime); }
.hero h1 .accent-pink { color: var(--c-pink); }
.hero h1 .accent-yellow { color: var(--c-yellow); }

.hero__lead {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.92);
  max-width: 50ch;
  margin-bottom: var(--s-5);
  font-weight: var(--fw-medium);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.hero__meta::before {
  content: "✨";
  font-size: 1rem;
}

/* Team shot on the hero */
.hero__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
}

.hero__team {
  position: relative;
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  align-items: end;
}

@media (max-width: 560px) {
  .hero__team {
    grid-template-columns: repeat(3, 1fr);
    max-width: 360px;
    gap: 4px;
  }
  .hero__team img:nth-child(4), .hero__team img:nth-child(5) { display: none; }
}

.hero__team img {
  width: 100%;
  height: auto;
  filter: drop-shadow(3px 4px 0 var(--c-ink));
  transition: transform var(--duration-base) var(--ease-bounce);
}

.hero__team img:hover { transform: translateY(-6px) scale(1.03); }

/* Offset the middle character slightly higher for a team-photo feel */
.hero__team img:nth-child(1) { transform: translateY(12px); }
.hero__team img:nth-child(2) { transform: translateY(4px); }
.hero__team img:nth-child(3) { transform: translateY(-4px); }
.hero__team img:nth-child(4) { transform: translateY(4px); }
.hero__team img:nth-child(5) { transform: translateY(12px); }

.hero__team img:nth-child(1):hover { transform: translateY(6px) scale(1.03); }
.hero__team img:nth-child(2):hover { transform: translateY(-2px) scale(1.03); }
.hero__team img:nth-child(3):hover { transform: translateY(-10px) scale(1.03); }
.hero__team img:nth-child(4):hover { transform: translateY(-2px) scale(1.03); }
.hero__team img:nth-child(5):hover { transform: translateY(6px) scale(1.03); }

.hero__badge {
  position: absolute;
  background: var(--c-surface);
  color: var(--c-ink);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  border: var(--stroke);
  box-shadow: var(--shadow-sticker);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__badge--1 { top: -8px; left: -10px; background: var(--c-yellow); transform: rotate(-6deg); }
.hero__badge--2 { bottom: 10%; right: -14px; background: var(--c-lime); transform: rotate(4deg); }

@media (max-width: 720px) {
  .hero__badge--1 { top: 0; left: 0; }
  .hero__badge--2 { bottom: 0; right: 0; }
}

/* ── Section header ─────────────────────────── */

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--s-6);
  text-align: center;
}

.section-head p {
  color: var(--c-text-muted);
  font-size: var(--fs-body-lg);
  margin-bottom: 0;
}

/* ── Superhero character grid (home: meet the team) ── */

.supers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

@media (min-width: 720px)  { .supers { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .supers { grid-template-columns: repeat(5, 1fr); } }

.super-card {
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--ease-bounce),
              box-shadow var(--duration-base) var(--ease-out);
}

.super-card:hover {
  transform: translate(-4px, -4px) rotate(-1deg);
  box-shadow: 10px 11px 0 0 var(--c-ink);
  text-decoration: none;
}

.super-card__art {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  border-bottom: var(--stroke);
  overflow: hidden;
}

.super-card__art img { width: 100%; height: auto; max-height: 100%; }

/* rotating color backgrounds */
.super-card:nth-child(5n+1) .super-card__art { background: var(--c-blue-soft); }
.super-card:nth-child(5n+2) .super-card__art { background: var(--c-purple-soft); }
.super-card:nth-child(5n+3) .super-card__art { background: var(--c-lime-soft); }
.super-card:nth-child(5n+4) .super-card__art { background: var(--c-pink-soft); }
.super-card:nth-child(5n+5) .super-card__art { background: var(--c-yellow-soft); }

.super-card__body {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.super-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--c-blue);
  line-height: 1;
}

.super-card__power {
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  color: var(--c-pink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.super-card__motto {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  font-style: italic;
  font-weight: var(--fw-medium);
}

/* ── Pillars (how it works) ─────────────────── */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  padding: var(--s-4);
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  position: relative;
}

.pillar__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  border: var(--stroke);
  box-shadow: 3px 4px 0 0 var(--c-ink);
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}

.pillar:nth-child(2) .pillar__step { background: var(--c-pink); color: var(--c-surface); }
.pillar:nth-child(3) .pillar__step { background: var(--c-lime); }

.pillar h3 { margin-bottom: var(--s-2); }
.pillar p:last-child { margin-bottom: 0; color: var(--c-text-muted); }

/* ── Dual path cards ────────────────────────── */

.dual-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 860px) { .dual-path { grid-template-columns: repeat(2, 1fr); } }

.path-card {
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: var(--stroke);
  box-shadow: var(--shadow-card);
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.path-card--mint  { background: var(--c-lime-soft); }
.path-card--cream { background: var(--c-yellow-soft); }
.path-card--pink  { background: var(--c-pink-soft); }
.path-card--blue  { background: var(--c-blue); color: var(--c-surface); }

.path-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--c-pink);
  color: var(--c-surface);
  border: var(--stroke);
  box-shadow: var(--shadow-sticker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: var(--fw-black);
}

.path-card--cream .path-card__icon { background: var(--c-yellow); color: var(--c-ink); }
.path-card--mint .path-card__icon  { background: var(--c-blue); color: var(--c-surface); }

.path-card h3 { margin-bottom: 0; }

.path-card ul {
  list-style: none;
  padding: 0;
  margin: var(--s-2) 0;
}

.path-card li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  padding-block: 6px;
  font-weight: var(--fw-semibold);
}

.path-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--c-pink);
  border: 2.5px solid var(--c-ink);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.path-card--cream li::before { background-color: var(--c-yellow); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B2A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>"); }

/* ── Final CTA band ─────────────────────────── */

.cta-band {
  background: var(--c-pink);
  color: var(--c-surface);
  padding: var(--s-6);
  border-radius: var(--r-hero);
  border: var(--stroke-thick);
  box-shadow: var(--shadow-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, var(--c-yellow) 0, transparent 6%),
    radial-gradient(circle at 85% 75%, var(--c-lime) 0, transparent 8%),
    radial-gradient(circle at 50% 10%, var(--c-surface) 0, transparent 4%);
  opacity: 0.6;
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  color: var(--c-surface);
  margin-bottom: var(--s-3);
  text-shadow: 3px 3px 0 var(--c-ink);
}

.cta-band p {
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--s-5);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
}

@media (min-width: 768px) { .cta-band { padding: var(--s-7); } }

/* ── Stats bar ──────────────────────────────── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

@media (min-width: 720px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

.stat__value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--c-blue);
  line-height: 1;
}

.stat__label {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  font-weight: var(--fw-bold);
  margin-top: 4px;
}

/* ── Page hero (inner pages) ────────────────── */

.page-hero {
  padding-block: var(--s-7) var(--s-6);
  background: var(--c-yellow);
  border-bottom: 4px solid var(--c-ink);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, var(--c-pink) 0, transparent 4%),
    radial-gradient(circle at 90% 30%, var(--c-lime) 0, transparent 5%),
    radial-gradient(circle at 80% 85%, var(--c-blue) 0, transparent 4%);
  opacity: 0.45;
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero h1 {
  margin-bottom: var(--s-3);
  text-shadow: 3px 3px 0 var(--c-surface);
}

.page-hero p {
  max-width: 56ch;
  font-size: var(--fs-body-lg);
  color: var(--c-ink);
  font-weight: var(--fw-medium);
}

.page-hero--pink { background: var(--c-pink-soft); }
.page-hero--blue { background: var(--c-blue); color: var(--c-surface); }
.page-hero--blue h1 { color: var(--c-surface); text-shadow: 3px 3px 0 var(--c-ink); }
.page-hero--blue p { color: rgba(255,255,255,0.9); }
.page-hero--lime { background: var(--c-lime); }

/* ── Form layout ────────────────────────────── */

.form-shell {
  background: var(--c-surface);
  border: var(--stroke);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

@media (min-width: 768px) { .form-shell { padding: var(--s-6); } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

@media (min-width: 640px) { .form-grid--2col { grid-template-columns: repeat(2, 1fr); } }

.form-divider {
  border-top: 2px dashed var(--c-ink-20);
  margin-block: var(--s-5);
  padding-top: var(--s-5);
}

.form-divider h3 { margin-bottom: var(--s-2); }
.form-divider p { color: var(--c-text-muted); margin-bottom: var(--s-4); }

/* ── Browse / listing ───────────────────────── */

.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 720px)  { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .listing-grid { grid-template-columns: repeat(3, 1fr); } }

.listing-card {
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.listing-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 10px 0 0 var(--c-ink);
}

.listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s-2);
  min-height: 28px;
}

.listing-card__foundation {
  font-size: var(--fs-small);
  color: var(--c-blue);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.listing-card h3 { margin-bottom: var(--s-2); }

.listing-card__meta {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 2px dashed var(--c-ink-20);
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  font-weight: var(--fw-semibold);
}

/* ── Empty state ────────────────────────────── */

.empty-state {
  text-align: center;
  padding: var(--s-7) var(--s-4);
  background: var(--c-lime-soft);
  border: var(--stroke);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-md);
}

.empty-state__art {
  width: 200px;
  margin: 0 auto var(--s-4);
}

.empty-state h3 { margin-bottom: var(--s-2); }
.empty-state p {
  max-width: 40ch;
  margin-inline: auto;
  color: var(--c-text-muted);
  margin-bottom: var(--s-4);
}

/* ── Prose (about, stories) ─────────────────── */

.prose {
  max-width: 66ch;
  margin-inline: auto;
  font-weight: var(--fw-medium);
}

.prose h2 { margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-5); }

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  padding: var(--s-4);
  background: var(--c-surface);
  border: var(--stroke);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-md);
}

.value-card h3 {
  color: var(--c-pink);
  margin-bottom: var(--s-2);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
}

.value-card:nth-child(2) h3 { color: var(--c-blue); }
.value-card:nth-child(3) h3 { color: var(--c-lime-dark); }
.value-card:nth-child(4) h3 { color: var(--c-purple); }

/* ── Stories page ───────────────────────────── */

.story {
  background: var(--c-surface);
  border: var(--stroke);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .story { grid-template-columns: 320px 1fr; align-items: stretch; }
  .story--reverse { grid-template-columns: 1fr 320px; }
  .story--reverse .story__art { order: 2; }
}

.story__art {
  padding: var(--s-4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
  border-bottom: var(--stroke);
}

@media (min-width: 880px) {
  .story__art { border-bottom: none; border-right: var(--stroke); }
  .story--reverse .story__art { border-right: none; border-left: var(--stroke); }
}

.story__art img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.story:nth-child(5n+1) .story__art { background: var(--c-blue-soft); }
.story:nth-child(5n+2) .story__art { background: var(--c-purple-soft); }
.story:nth-child(5n+3) .story__art { background: var(--c-pink-soft); }
.story:nth-child(5n+4) .story__art { background: var(--c-lime-soft); }
.story:nth-child(5n+5) .story__art { background: var(--c-yellow-soft); }

.story__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

@media (min-width: 880px) { .story__body { padding: var(--s-6); } }

.story__name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: var(--s-1);
}

.story__power-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-pink);
  color: var(--c-surface);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: var(--stroke);
  box-shadow: var(--shadow-sticker);
  font-size: var(--fs-small);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-bottom: var(--s-2);
}

.story__power-pill::before { content: "⚡"; font-size: 1rem; }

.story__motto {
  background: var(--c-yellow);
  padding: var(--s-3);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sticker);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--c-ink);
  margin-top: var(--s-3);
}

.story__motto::before { content: "“"; color: var(--c-pink); font-size: 1.5rem; margin-right: 4px; }
.story__motto::after  { content: "”"; color: var(--c-pink); font-size: 1.5rem; margin-left: 4px; }

.story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

/* ── Dashboard ──────────────────────────────── */

.dash-header {
  background: var(--c-blue);
  color: var(--c-surface);
  padding-block: var(--s-6);
  border-bottom: 4px solid var(--c-ink);
  position: relative;
  overflow: hidden;
}

.dash-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 15%, var(--c-yellow) 0, transparent 6%),
    radial-gradient(circle at 10% 85%, var(--c-pink) 0, transparent 6%);
  opacity: 0.4;
  pointer-events: none;
}

.dash-header > * { position: relative; z-index: 1; }
.dash-header h1 { color: var(--c-surface); text-shadow: 3px 3px 0 var(--c-ink); }

.dash-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  margin-bottom: var(--s-5);
}

.dash-header__meta span { display: inline-flex; align-items: center; gap: 6px; }
.dash-header__meta span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-yellow); border: 1.5px solid var(--c-ink);
}

.dash-tabs {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-top: var(--s-3);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.dash-tabs a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-nav);
  font-weight: var(--fw-bold);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

.dash-tabs a[aria-current="true"],
.dash-tabs a:hover { color: var(--c-yellow); border-bottom-color: var(--c-yellow); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

@media (min-width: 720px) { .dash-stats { grid-template-columns: repeat(4, 1fr); } }

.dash-stat {
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: var(--s-4);
}

.dash-stat__label {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-black);
  margin-bottom: var(--s-2);
}

.dash-stat__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--c-blue);
  line-height: 1;
}

.dash-stat__delta {
  font-size: var(--fs-small);
  color: var(--c-lime-dark);
  font-weight: var(--fw-black);
  margin-top: 4px;
}

.dash-stat__delta--muted { color: var(--c-text-muted); font-weight: var(--fw-medium); }

.dash-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 1024px) { .dash-layout { grid-template-columns: 1.8fr 1fr; } }

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}

.dash-section-head h2 { margin-bottom: 0; font-size: 1.875rem; }

.position-list { display: flex; flex-direction: column; gap: var(--s-3); }

.position-row {
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sticker);
  padding: var(--s-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.position-row:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 8px 0 0 var(--c-ink);
}

@media (min-width: 720px) {
  .position-row { grid-template-columns: 1fr auto; align-items: center; }
}

.position-row__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-black);
  color: var(--c-ink);
  margin: 0;
}

.position-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: var(--c-text-muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  margin-top: 6px;
}

.position-row__actions {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-ink);
  font-size: var(--fs-tag);
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--c-lime);
  color: var(--c-ink);
}

.status-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-lime-dark);
}

.status-pill--paused { background: var(--c-yellow); }
.status-pill--paused::before { background: var(--c-yellow-dark); }

.status-pill--draft { background: var(--c-surface); color: var(--c-text-muted); }
.status-pill--draft::before { background: var(--c-text-muted); }

.status-pill--closed { background: var(--c-ink-10); color: var(--c-text-muted); }
.status-pill--closed::before { background: var(--c-text-muted); }

.reactions {
  background: var(--c-surface);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sticker);
  padding: var(--s-4);
}

.reaction {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 2px dashed var(--c-ink-20);
  align-items: center;
}

.reaction:last-child { border-bottom: none; padding-bottom: 0; }
.reaction:first-child { padding-top: 0; }

.reaction__avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-ink);
  border: var(--stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-black);
  flex: 0 0 auto;
}

.reaction:nth-child(even) .reaction__avatar { background: var(--c-pink); color: var(--c-surface); }
.reaction:nth-child(3n) .reaction__avatar { background: var(--c-lime); }

.reaction__name { font-weight: var(--fw-black); font-size: var(--fs-body); }
.reaction__detail { font-size: var(--fs-small); color: var(--c-text-muted); font-weight: var(--fw-medium); }
.reaction__time { font-size: var(--fs-small); color: var(--c-text-subtle); margin-top: 2px; font-weight: var(--fw-semibold); }

.dash-tip {
  background: var(--c-yellow);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sticker);
  padding: var(--s-4);
  margin-top: var(--s-4);
}

.dash-tip h3 { color: var(--c-ink); font-size: 1rem; margin-bottom: var(--s-2); }
.dash-tip p { color: var(--c-ink); margin-bottom: var(--s-3); font-weight: var(--fw-medium); }

/* Legacy compat */
.team-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 640px) { .team-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .team-row { grid-template-columns: repeat(5, 1fr); } }

.team-row__item {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  border: var(--stroke);
  box-shadow: var(--shadow-sticker);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.team-row__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}
.team-row__item:nth-child(5n+1) { background: var(--c-blue-soft); }
.team-row__item:nth-child(5n+2) { background: var(--c-purple-soft); }
.team-row__item:nth-child(5n+3) { background: var(--c-lime-soft); }
.team-row__item:nth-child(5n+4) { background: var(--c-pink-soft); }
.team-row__item:nth-child(5n+5) { background: var(--c-yellow-soft); }
