/* ============================================================
   Screen-specific fine-tuning
   ============================================================ */

/* ── Home / Feed ─────────────────────────────────────────── */
.home-greeting {
  padding: var(--s-4) var(--s-5) var(--s-3);
}
.home-greeting__hello {
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.home-greeting__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}

.hero-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: 0 var(--s-5);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-card__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: var(--s-2);
}
.hero-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.hero-card p {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-body);
  margin-bottom: var(--s-4);
}

/* ── Profile ─────────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: var(--s-6) var(--s-5) var(--s-8);
  text-align: center;
  position: relative;
}
.profile-hero .avatar { margin: 0 auto var(--s-4); }
.profile-hero__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.profile-hero__year {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.profile-hero .badge-plyd {
  background: rgba(201, 169, 110, 0.25);
  border-color: rgba(201, 169, 110, 0.5);
  color: #F0DFB8;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin: calc(var(--s-6) * -1) var(--s-5) var(--s-5);
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--r);
  padding: var(--s-4);
  box-shadow: var(--shadow);
}
.profile-stat { text-align: center; }
.profile-stat__num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.profile-stat__label {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── Network / Match ─────────────────────────────────────── */
.match-strip {
  background: linear-gradient(135deg, var(--gold-soft) 0%, rgba(201,169,110,0.05) 100%);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--r);
  padding: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.match-strip__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.match-strip__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.match-strip__text { flex: 1; font-size: var(--fs-sm); color: #7A6132; line-height: 1.4; }
.match-strip strong { color: #5C4A28; }

/* ── Donate ──────────────────────────────────────────────── */
.donate-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: var(--s-4) var(--s-5);
  overflow: hidden;
  position: relative;
}
.donate-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
}
.donate-hero__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.donate-hero h2 {
  color: var(--white);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 2;
}
.donate-hero__amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.donate-hero__goal {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}
.donate-hero .progress {
  background: rgba(255,255,255,0.2);
  margin-top: var(--s-4);
}
.donate-hero .progress__bar { background: var(--gold); }

.project-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.project-card__cover {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.project-card__cover svg { width: 40%; height: 40%; opacity: 0.3; }
.project-card__body { padding: var(--s-4); }
.project-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--ink);
  margin-bottom: 4px;
}
.project-card__meta {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.project-card .progress { margin-bottom: 6px; }
.project-card__amounts {
  display: flex; justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.project-card__amounts strong { color: var(--navy); font-weight: 700; font-size: 13px; }

/* Amount picker */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
.amount-grid button {
  padding: var(--s-4) var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.amount-grid button:hover { border-color: var(--navy); }
.amount-grid button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Job card ────────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border-radius: var(--r);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  gap: var(--s-3);
}
.job-card__logo {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
}
.job-card__body { flex: 1; min-width: 0; }
.job-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--ink);
  line-height: 1.25;
}
.job-card__company {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 2px;
}
.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--s-3);
}

/* ── Mentor card ─────────────────────────────────────────── */
.mentor-card {
  background: var(--white);
  border-radius: var(--r);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.mentor-card__top {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.mentor-card__info { flex: 1; min-width: 0; }
.mentor-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mentor-card__role {
  font-size: var(--fs-sm);
  color: var(--navy);
  font-weight: 500;
  margin-top: 2px;
}
.mentor-card__year {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.mentor-card__bio {
  font-size: var(--fs-sm);
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--s-3);
}

/* ── RSVP block ──────────────────────────────────────────── */
.rsvp-block {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
  margin-top: var(--s-5);
}
.rsvp-block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.rsvp-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}

/* ── Detail page common ──────────────────────────────────── */
.detail-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  color: var(--white);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.detail-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(26,29,92,0.5) 100%);
}
.detail-cover > * { position: relative; z-index: 2; }

.detail-body {
  padding: var(--s-5);
}
.detail-body h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.detail-body .lead {
  font-size: var(--fs-body);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: var(--s-5);
}

.meta-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.meta-row:first-of-type { border-top: none; padding-top: 0; }
.meta-row__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--cream-dark);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.meta-row__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.meta-row__label {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.meta-row__value {
  font-weight: 600;
  color: var(--ink);
}

/* Visibility indicator dot (profile contact) */
.vis-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.vis-public { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.vis-private { background: var(--muted); box-shadow: 0 0 0 3px var(--cream-dark); }
