/* RolModel — shared styles */

:root {
  --bg: #FAF9F4;
  --bg-card: #FFFFFF;
  --bg-soft: #F1EFE8;
  --bg-softer: #F7F6F1;
  --text: #1F1E1C;
  --text-muted: #6B6A64;
  --text-faint: #9A988F;
  --border: rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.18);

  --teal: #1D9E75;
  --teal-dark: #0F6E56;
  --teal-darker: #04342C;
  --teal-light: #E1F5EE;
  --teal-mid: #9FE1CB;

  --coral: #D85A30;
  --coral-dark: #993C1D;
  --coral-darker: #4A1B0C;
  --coral-light: #FAECE7;
  --coral-mid: #F0997B;

  --amber: #EF9F27;
  --amber-dark: #854F0B;
  --amber-light: #FAEEDA;

  --blue: #378ADD;
  --blue-dark: #0C447C;
  --blue-light: #E6F1FB;

  --purple: #7F77DD;
  --purple-dark: #3C3489;
  --purple-light: #EEEDFE;

  --pink: #D4537E;
  --pink-dark: #993556;
  --pink-light: #FBEAF0;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--teal);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active {
  color: var(--text);
  font-weight: 500;
  border-bottom-color: var(--teal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary {
  background: white;
  color: var(--text);
  border: 0.5px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-soft); }
.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--teal-darker); }
.btn-large { padding: 14px 24px; font-size: 15px; }
.btn-small { padding: 7px 14px; font-size: 13px; }
.btn-coral { background: var(--coral); color: white; }
.btn-coral:hover { background: var(--coral-dark); }

/* ===== Hero ===== */
.hero {
  padding: 100px 24px 90px;
  text-align: center;
  background: var(--teal-light);
}
.hero-eyebrow {
  display: inline-block;
  background: white;
  color: var(--teal-dark);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 {
  font-size: 56px;
  font-weight: 500;
  color: var(--teal-darker);
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 19px;
  color: var(--teal-dark);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Smaller page hero */
.page-hero {
  padding: 60px 24px 48px;
  background: var(--bg-softer);
  border-bottom: 0.5px solid var(--border);
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-softer); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Stats strip ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  padding: 28px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 36px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Story cards ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.story-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.story-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  color: white;
}
.story-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.story-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}
.story-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}
.story-meta {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
}
.story-meta span i { font-size: 13px; vertical-align: -1px; margin-right: 3px; }

/* Color variants */
.bg-amber-soft { background: var(--amber-light); }
.bg-blue-soft  { background: var(--blue-light); }
.bg-purple-soft{ background: var(--purple-light); }
.bg-pink-soft  { background: var(--pink-light); }
.bg-teal-soft  { background: var(--teal-light); }
.bg-coral-soft { background: var(--coral-light); }
.av-amber  { background: var(--amber); }
.av-blue   { background: var(--blue); }
.av-purple { background: var(--purple); }
.av-pink   { background: var(--pink); }
.av-teal   { background: var(--teal); }
.av-coral  { background: var(--coral); }
.txt-amber  { color: var(--amber-dark); }
.txt-blue   { color: var(--blue-dark); }
.txt-purple { color: var(--purple-dark); }
.txt-pink   { color: var(--pink-dark); }
.txt-teal   { color: var(--teal-dark); }
.txt-coral  { color: var(--coral-dark); }

/* ===== Filter bar ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px;
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 4px;
}
.chip {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  border: 0.5px solid transparent;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chip:hover { background: var(--bg-softer); border-color: var(--border); }
.chip.active {
  background: var(--teal-darker);
  color: white;
}

/* ===== How it works (steps) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 24px 0;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===== Feature blocks ===== */
.feature-block {
  background: var(--coral-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-block h3 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--coral-darker);
  letter-spacing: -0.01em;
}
.feature-block p {
  color: var(--coral-dark);
  margin: 0 0 20px;
  line-height: 1.6;
}
.feature-eyebrow {
  font-size: 12px;
  color: var(--coral-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* ===== Event list ===== */
.event-list {
  background: white;
  border-radius: var(--radius);
  padding: 8px;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 0.5px solid var(--border);
}
.event-item:last-child { border-bottom: none; }
.event-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.event-text { flex: 1; min-width: 0; }
.event-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.event-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Article (story detail) ===== */
.article {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
}
.article p { margin: 0 0 20px; }
.article h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.article blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--text);
  border-left: 3px solid var(--teal);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
}

.story-hero-card {
  background: var(--amber-light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}
.story-hero-card .story-avatar {
  width: 112px;
  height: 112px;
  font-size: 36px;
  flex-shrink: 0;
}

.video-placeholder {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8b8a8, #a89a8a);
  opacity: 0.6;
}
.video-play {
  position: relative;
  width: 72px;
  height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text);
}

.sidebar-card {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-darker);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--teal-dark);
}
.sidebar-card li { margin-bottom: 8px; }

/* ===== Aid category cards ===== */
.aid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aid-card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.aid-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.aid-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.aid-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
}
.aid-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.55;
}
.aid-card-link {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 500;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: white;
  transition: all 0.15s;
}
.radio-option:hover { border-color: var(--border-strong); }
.radio-option input { margin-top: 4px; flex-shrink: 0; accent-color: var(--teal); }
.radio-option-text { flex: 1; }
.radio-option-title { font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.radio-option-desc { font-size: 13px; color: var(--text-muted); }

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  background: white;
  border: 0.5px solid var(--border);
}
.page-link.active {
  background: var(--teal-darker);
  color: white;
  border-color: var(--teal-darker);
}

/* ===== Quote section ===== */
.big-quote {
  text-align: center;
  padding: 80px 24px;
  background: var(--purple-light);
}
.big-quote q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.4;
  color: var(--purple-dark);
  display: block;
  max-width: 720px;
  margin: 0 auto 24px;
  quotes: none;
}
.big-quote q::before, .big-quote q::after { content: ''; }
.big-quote .attribution {
  font-size: 14px;
  color: var(--purple-dark);
  font-weight: 500;
}

/* ===== CTA ===== */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  background: var(--coral-light);
}
.cta-band h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--coral-darker);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.cta-band p {
  font-size: 17px;
  color: var(--coral-dark);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-soft);
  padding: 60px 0 32px;
  border-top: 0.5px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover { color: var(--teal-dark); }
.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 12px 0 0;
}
.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
}

/* ===== Kit visual ===== */
.kit-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kit-item {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
}
.kit-item .kit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.kit-item h4 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}
.kit-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ===== Card preview ===== */
.card-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 0.5px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.card-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--coral-light), transparent 40%);
  pointer-events: none;
}
.card-preview-eyebrow {
  font-size: 11px;
  color: var(--coral-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  position: relative;
}
.card-preview-q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
  position: relative;
}
.card-preview-hint {
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
}

/* ===== Map placeholder ===== */
.map-card {
  background: var(--bg-softer);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 0.5px solid var(--border);
}

/* ===== Misc ===== */
.divider {
  height: 0.5px;
  background: var(--border);
  margin: 32px 0;
  border: none;
}
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .story-grid, .aid-grid, .steps, .kit-items { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .story-hero-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .hero h1 { font-size: 42px; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 24px 56px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .story-grid, .aid-grid, .steps, .kit-items, .stats-strip { grid-template-columns: 1fr; }
  .stats-strip .stat { border-right: none; border-bottom: 0.5px solid var(--border); }
  .stats-strip .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 34px; }
  .big-quote q { font-size: 22px; }
  .cta-band h2 { font-size: 26px; }
  .article { font-size: 16px; }
  .article blockquote { font-size: 20px; }
}
