/* Sinner's Heart — shared design system */

:root {
  --charcoal: #1e1b1f;
  --charcoal-soft: #2c2731;
  --burgundy: #5c1f2e;
  --burgundy-deep: #401420;
  --gold: #c9a961;
  --gold-soft: #e4d3a5;
  --cream: #f6f1e7;
  --cream-dim: #ece3d2;
  --ink: #2a2426;
  --ink-muted: #6b6066;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .verse {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--charcoal);
  font-weight: 600;
}

a { color: var(--burgundy); }
a:hover { color: var(--gold); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header.site-header {
  background: var(--charcoal);
  border-bottom: 1px solid var(--gold);
  padding: 1.25rem 0;
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

nav.site-nav a:first-child { margin-left: 0; }
nav.site-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(64, 20, 32, 0.90) 0%, rgba(30, 27, 31, 0.93) 100%),
    url('images/candle.jpg') center 35% / cover no-repeat;
  color: var(--cream-dim);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero .verse {
  font-size: 1.9rem;
  font-style: italic;
  color: var(--gold-soft);
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero .verse-ref {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

.hero p.lede {
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: var(--cream-dim);
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.75rem 1.75rem;
  background: var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.btn:hover { background: var(--gold-soft); color: var(--charcoal); }

.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
}

.btn-outline:hover { background: var(--gold); }

/* Main content sections */
main { padding: 3rem 0 4rem; }

section { margin-bottom: 2.75rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--cream-dim);
  border-top: 3px solid var(--gold);
  padding: 1.5rem;
  text-align: center;
}

.pillar h3 { margin-top: 0; }

@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Reflection cards */
.reflection-card {
  border-bottom: 1px solid var(--cream-dim);
  padding: 1.75rem 0;
}

.reflection-card:first-of-type { padding-top: 0; }

.reflection-card .date {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reflection-card h2 { margin: 0.35rem 0 0.5rem; }

.reflection-card a.read-more { font-weight: 600; }

article.reflection .verse {
  font-size: 1.3rem;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--burgundy);
}

/* Resources */
.resource-group h2 {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.4rem;
}

.resource-item {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--cream-dim);
}

.resource-item a { font-weight: 600; font-size: 1.05rem; }
.resource-item p { margin: 0.3rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }

.disclosure {
  background: var(--cream-dim);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--burgundy);
}

/* Ad slots (placeholder until AdSense is approved) */
.ad-slot {
  border: 1px dashed #999;
  background: #fafafa;
  color: #999;
  text-align: center;
  padding: 2rem 1rem;
  margin: 2rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Feature image */
.feature-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  border-top: 3px solid var(--gold);
  margin: 0 0 2rem;
}

/* Support / donation callout */
.support-box {
  background: var(--charcoal);
  color: var(--cream-dim);
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.support-box h2 { color: var(--gold-soft); }

/* Forms */
form.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

form.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--cream-dim);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

form.contact-form textarea { min-height: 140px; resize: vertical; }

/* Footer */
footer.site-footer {
  background: var(--charcoal);
  color: var(--ink-muted);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

footer.site-footer a { color: var(--gold-soft); }
