/* ══════════════════════════════════════════════════════
   FIND YOUR DENOMINATION  —  styles
   Aesthetic: warm parchment · deep navy · editorial serif
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:wght@300;400;600&display=swap');

:root {
  --navy:      #1a2340;
  --navy-mid:  #243058;
  --navy-soft: #2e3d6e;
  --gold:      #c9a84c;
  --gold-pale: #e8d5a0;
  --parchment: #f7f2e8;
  --parchment-dark: #ede5d0;
  --ink:       #1a1612;
  --ink-mid:   #3d3428;
  --ink-soft:  #7a6d5a;
  --white:     #fff;
  --border:    #ddd4bc;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--parchment);
  color: var(--ink);
  font-size: 16px;
}

/* ── Screens ─────────────────────────────────────────── */
.fullscreen {
  display: none;
  min-height: 100vh;
}
.fullscreen.active { display: flex; flex-direction: column; }

/* ── Welcome ─────────────────────────────────────────── */
#screen-welcome {
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
  padding: 40px 24px;
}

.welcome-inner {
  text-align: center;
  max-width: 520px;
  animation: fadeUp 0.7s ease both;
}

.welcome-cross {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.welcome-cross.small { font-size: 1.2rem; margin-bottom: 12px; }

.welcome-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.welcome-inner h1 em {
  font-style: italic;
  color: var(--gold-pale);
}

.welcome-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.welcome-inner .muted {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 14px 36px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-pale); transform: translateY(-1px); }

.btn-back, .btn-next {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-mid);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-back:hover { background: var(--parchment-dark); }
.btn-next {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-next:hover:not(:disabled) { background: var(--navy-mid); }
.btn-next:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-home {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-home:hover { color: var(--ink); border-color: var(--ink-mid); }

/* ── Two-column layout ───────────────────────────────── */
.quiz-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 100vh;
}

.panel-question {
  background: var(--parchment);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.panel-rankings {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
}

.panel-inner {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Quiz top bar ────────────────────────────────────── */
.quiz-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.progress-track {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}
.progress-label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── Question area ───────────────────────────────────── */
.question-area {
  flex: 1;
}

.q-number {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.question-area h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
}

.q-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.6;
  min-height: 1.2em;
}

/* ── Answer options ──────────────────────────────────── */
#options-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-mid);
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  width: 100%;
}
.option:hover {
  border-color: var(--navy-soft);
  background: var(--parchment);
  box-shadow: 0 2px 8px rgba(26,35,64,0.06);
}
.option.selected {
  border-color: var(--navy);
  background: rgba(26,35,64,0.04);
  box-shadow: 0 2px 12px rgba(26,35,64,0.1);
}

.option-letter {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--parchment-dark);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  margin-top: 1px;
  transition: background 0.15s, color 0.15s;
}
.option.selected .option-letter {
  background: var(--navy);
  color: var(--gold-pale);
}

/* ── Nav buttons ─────────────────────────────────────── */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ══ RANKINGS PANEL ══════════════════════════════════ */
.rankings-header {
  margin-bottom: 20px;
}
.rankings-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-pale);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.rankings-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.rankings-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.rankings-list::-webkit-scrollbar { width: 4px; }
.rankings-list::-webkit-scrollbar-track { background: transparent; }
.rankings-list::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

.rankings-footer {
  margin-top: 16px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
}

/* ── Ranking card ────────────────────────────────────── */
.rank-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background 0.3s, border-color 0.3s, transform 0.35s;
  animation: rankIn 0.35s ease both;
}
.rank-card.rank-1 {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.3);
}
.rank-card.rank-2 { background: rgba(255,255,255,0.07); }

.rank-position {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  min-width: 20px;
  padding-top: 2px;
  font-weight: 700;
}
.rank-card.rank-1 .rank-position { color: var(--gold); }

.rank-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.rank-body { flex: 1; min-width: 0; }

.rank-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-card.rank-1 .rank-name { color: var(--gold-pale); font-weight: 700; }

.rank-tradition {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-bar-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}
.rank-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.rank-bar-fill {
  height: 100%;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.rank-card.rank-1 .rank-bar-fill { background: var(--gold); }
.rank-pct {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}
.rank-card.rank-1 .rank-pct { color: var(--gold); }

.rank-pop {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* unanswered state */
.rank-card.unscored {
  opacity: 0.4;
}
.rank-card.unscored .rank-bar-fill { width: 0% !important; }

/* ══ RESULTS SCREEN ══════════════════════════════════ */
.results-header {
  margin-bottom: 28px;
  text-align: center;
}
.results-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.results-header p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.result-detail-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--white);
}
.result-detail-card.top {
  border-color: var(--gold);
  border-width: 2px;
  background: #fffdf4;
}
.rdh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.rd-icon { font-size: 1.6rem; }
.rd-info { flex: 1; }
.rd-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.rd-tradition { font-size: 0.75rem; color: var(--ink-soft); }
.rd-score {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.result-detail-card.top .rd-score { color: var(--gold); }

.rd-desc {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}
.rd-pop {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rankIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .quiz-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .panel-rankings {
    min-height: 280px;
    order: -1;
  }
  .panel-inner { padding: 24px 20px; }
  .rankings-list { max-height: 220px; }
  .quiz-top { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════
   NEW IN V3  —  Add Church · Feedback · Form styles
   ══════════════════════════════════════════════════════ */

/* ── Welcome links ───────────────────────────────────── */
.welcome-links {
  margin-top: 20px;
}
.welcome-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.welcome-links a:hover {
  color: var(--gold-pale);
  border-color: var(--gold-pale);
}

/* ── Feedback link per question ──────────────────────── */
.feedback-link-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.feedback-link {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
  display: inline-block;
}
.feedback-link:hover { color: var(--navy); }

/* ── Form sections ───────────────────────────────────── */
.form-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; }

.form-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 6px;
  margin-top: 16px;
  letter-spacing: 0.03em;
}
.form-label:first-child { margin-top: 0; }

.req { color: var(--gold); }

.form-input {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.5;
}
.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,35,64,0.08);
}
.form-textarea {
  min-height: 90px;
  resize: vertical;
}

/* ── Icon picker ─────────────────────────────────────── */
.icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.icon-btn:hover { border-color: var(--navy-soft); background: var(--parchment); }
.icon-btn.selected { border-color: var(--navy); background: rgba(26,35,64,0.06); }

/* ── Scoring rows ────────────────────────────────────── */
.score-question-block {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.score-q-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.score-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.score-option-row:last-child { margin-bottom: 0; }
.score-option-label {
  font-size: 0.78rem;
  color: var(--ink-mid);
  flex: 1;
  line-height: 1.4;
}
.score-selector {
  display: flex;
  gap: 4px;
}
.score-btn {
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--parchment);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  font-family: var(--font-body);
}
.score-btn:hover { border-color: var(--navy-soft); background: var(--parchment-dark); }
.score-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-pale);
}

/* ── Church preview (right panel) ───────────────────── */
.church-preview-box {
  flex: 1;
  overflow-y: auto;
}
.preview-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,0.2);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
}

.preview-card {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  animation: rankIn 0.3s ease;
}
.preview-card-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.preview-icon { font-size: 1.4rem; }
.preview-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-pale);
  font-weight: 700;
}
.preview-tradition { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.preview-desc { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.preview-session-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.65rem;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.05em;
}

/* ── Form status messages ────────────────────────────── */
.form-status {
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.form-status.success {
  background: rgba(26,35,64,0.06);
  border: 1px solid var(--navy-soft);
  color: var(--navy);
}
.form-status.error {
  background: rgba(180,50,50,0.05);
  border: 1px solid rgba(180,50,50,0.3);
  color: #8b2020;
}

/* ══════════════════════════════════════════════════════
   FUNNEL RANKINGS  —  compact rows → expanded cards
   ══════════════════════════════════════════════════════ */

/* ── MODE A: Compact rows (no answers yet) ───────────── */
.rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  animation: rankIn 0.25s ease both;
  transition: background 0.15s;
}
.rank-row:hover { background: rgba(255,255,255,0.06); }

.rank-row-pos {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  min-width: 18px;
  font-weight: 700;
}
.rank-row-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.rank-row-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-row-tradition {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

/* ── MODE B: Expanded cards (answers coming in) ──────── */
.rankings-expanded {
  gap: 10px;
}

.rank-card-expanded {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  animation: cardExpand 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: background 0.3s, border-color 0.3s;
}

/* #1 — biggest, gold, full description */
.rce-1 {
  background: rgba(201,168,76,0.13);
  border-color: rgba(201,168,76,0.35);
  padding: 18px 18px;
}

/* #2 — slightly smaller, visible description */
.rce-2 {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

/* #3–5 — compact, no description */
.rce-rest {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
  padding: 10px 14px;
}

/* Top row: icon + name + score */
.rce-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.rce-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.rce-pos {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.rce-1 .rce-pos { color: var(--gold); font-size: 0.9rem; }

.rce-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}
.rce-1 .rce-icon { font-size: 1.7rem; }

.rce-titles { min-width: 0; }

.rce-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.rce-1 .rce-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-pale);
  white-space: normal;
}

.rce-tradition {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rce-1 .rce-tradition { color: rgba(201,168,76,0.5); }

.rce-score {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.rce-1 .rce-score {
  font-size: 1.4rem;
  color: var(--gold);
}
.rce-2 .rce-score { color: rgba(255,255,255,0.65); }

/* Match bar */
.rce-bar-wrap { margin-bottom: 8px; }
.rce-bar-track {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.rce-1 .rce-bar-track { height: 5px; }
.rce-bar-fill {
  height: 100%;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rce-1 .rce-bar-fill { background: var(--gold); }
.rce-2 .rce-bar-fill { background: rgba(255,255,255,0.35); }

/* Description — top 2 cards only */
.rce-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 10px;
  margin-top: 4px;
}
.rce-1 .rce-desc { color: rgba(232,213,160,0.7); font-size: 0.82rem; }

/* Footer: population */
.rce-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rce-pop {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
}
.rce-1 .rce-pop { color: rgba(201,168,76,0.4); }

/* Card expand animation */
@keyframes cardExpand {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ══════════════════════════════════════════════════════
   FAITHFIT BRANDING
   ══════════════════════════════════════════════════════ */

/* Larger, bolder hero title */
.welcome-inner h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 6px;
}

/* Tagline sits between title and description */
.welcome-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}

/* Btn-home shows FaithFit mark */
.btn-home::before {
  content: '';
}
