:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card-bg: #ffffff;
  --accent: #e4b565;
  --accent-soft: rgba(228, 181, 101, 0.12);
  --text-main: #0f172a;
  --text-muted: #4b5563;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.26);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max-width: 960px;
}

/* Global layout */

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

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

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.7;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, #1f2937 0, transparent 55%),
    radial-gradient(circle at bottom right, #020617 0, #020617 55%);
}

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

@media (min-width: 960px) {
  .page {
    padding: 3.5rem 0 4.5rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & navigation */

.site-header {
  margin-bottom: 2.5rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  transition: all 0.18s ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.95), rgba(15, 23, 42, 0.98));
  color: #0f172a;
  transform: translateY(-1px);
}

.site-nav a:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem 2.3rem;
  color: #f9fafb;
  background:
    radial-gradient(circle at top right, rgba(248, 250, 252, 0.16), transparent 55%),
    radial-gradient(circle at bottom left, rgba(248, 250, 252, 0.09), transparent 60%),
    linear-gradient(135deg, #020617, #111827);
  box-shadow: 0 22px 80px rgba(15, 23, 42, 0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(252, 211, 77, 0.10), transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(147, 197, 253, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

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

.hero-overtitle {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.85);
}

.hero-title {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0;
  font-size: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(229, 231, 235, 0.9);
}

.back-to-top {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9em;
  text-decoration: none;
  color: #0066cc;
}

.back-to-top:hover {
  text-decoration: underline;
}

@media (min-width: 720px) {
  .hero {
    padding: 2.2rem 2.4rem 2.8rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* Article & sections */

main {
  margin-top: 1.75rem;
}

.gospel-article {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.content-section {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.content-section + .content-section {
  margin-top: 0.3rem;
}

@media (min-width: 720px) {
  .content-section {
    padding: 2rem 2.1rem 2.2rem;
  }
}

.section-header h2 {
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

.section-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.content-section p {
  margin: 0.7rem 0;
  font-size: 0.98rem;
  color: var(--text-main);
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Scripture callouts & quotes */

.scripture-callout {
  margin: 1.1rem 0 0.7rem;
  padding: 0.9rem 1.2rem 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.scripture-callout blockquote {
  margin: 0;
  padding-left: 0.6rem;
  border-left: 3px solid rgba(234, 179, 8, 0.85);
}

.scripture-callout p {
  margin: 0;
  font-style: italic;
}

.scripture-callout figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-quote {
  margin: 1.1rem 0 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7fff9 0%, #eefaf3 45%, #eef5ff 100%);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
}

.quote-text {
  margin: 0;
  font-weight: 500;
}

.quote-attribution {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Lists */

.response-section ul {
  margin: 0.6rem 0 0.9rem 1.1rem;
  padding: 0;
}

.response-section li {
  margin: 0.35rem 0;
  padding-left: 0.2rem;
}

/* Footnotes */

.footnotes {
  background: #f9fafb;
}

.footnotes h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.footnotes ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footnotes li + li {
  margin-top: 0.2rem;
}

/* Footer */

.site-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.9);
}