/* ==========================================================================
   Rodger Thomas PhD — Ocean-Meets-Faith Brand Design System
   Fonts: Cormorant Garamond (headings), Source Sans 3 (body)
   Palette: Deep Navy, Ocean Teal, Warm Gold, Sand, Slate, Charcoal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --deep-navy: #0F1B2D;
  --ocean-teal: #1A7A6D;
  --warm-gold: #D4A853;
  --sand: #F7F4EF;
  --slate: #4A5568;
  --ivory: #FFFFFF;
  --charcoal: #1A202C;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
  background-color: var(--sand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ocean-teal);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  margin-bottom: 1.4em;
  line-height: 1.85;
  color: var(--slate);
}

ul, ol {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  line-height: 1.85;
  margin-bottom: 1.4em;
  padding-left: 1.8em;
  color: var(--slate);
}

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--ocean-teal);
}

hr {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 2.5em 0;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 72px;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Solid header for non-home pages or after scroll */
.site-header.solid,
.site-header.scrolled {
  background: var(--deep-navy);
  box-shadow: 0 2px 16px rgba(15, 27, 45, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--warm-gold);
  transition: opacity 0.3s var(--ease-out);
}

.site-logo:hover {
  color: var(--warm-gold);
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--warm-gold);
  transition: left 0.3s var(--ease-out), right 0.3s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.active {
  color: #FFFFFF;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  left: 0;
  right: 0;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--warm-gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-nav-overlay.open {
  opacity: 1;
}

/* Non-home pages need top padding for fixed header */
body:not(.home) {
  padding-top: 72px;
}

/* Page hero for inner pages */
.page-hero {
  background: var(--deep-navy);
  padding: 60px 24px;
  text-align: center;
}

.page-hero--image {
  position: relative;
  padding: 100px 24px 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.6) 0%, rgba(15, 27, 45, 0.75) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .section-label {
  color: var(--warm-gold);
}

.page-hero .section-label::before {
  background: var(--warm-gold);
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: -72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.phd {
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.05em;
  vertical-align: super;
  color: var(--warm-gold);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.3) 0%, rgba(15, 27, 45, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-scripture {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 36px;
}

.scripture-ref {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  width: 1px;
  height: 48px;
  background: var(--warm-gold);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

/* ==========================================================================
   3. SECTION TITLES
   ========================================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ocean-teal);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--ocean-teal);
  margin-right: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   4. INTRO / ABOUT SECTION
   ========================================================================== */
.intro-section {
  background: var(--sand);
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.intro-text .section-label {
  margin-bottom: 12px;
}

.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}

/* ==========================================================================
   5. LIFE CHAPTERS SECTION
   ========================================================================== */
.chapters-section {
  background: var(--ivory);
  padding: 100px 0;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.chapter-card {
  background: var(--ivory);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  border-left: 3px solid transparent;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.chapter-card:hover {
  border-left-color: var(--ocean-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.chapter-card .chapter-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.chapter-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.chapter-card p {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ==========================================================================
   6. BLOG GRID SECTION
   ========================================================================== */
.blog-section {
  background: var(--sand);
  padding: 100px 0;
}

.posts-section {
  padding: 100px 0;
}

.post-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Featured post */
.post-card.featured {
  grid-column: 1 / 3;
}

.post-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.post-card a {
  color: inherit;
  text-decoration: none;
}

.post-card-image {
  position: relative;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card.featured .post-card-image img {
  height: 380px;
}

.post-card-body {
  padding: 24px 28px 28px;
}

.post-card-body .post-date {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ocean-teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
  margin-bottom: 10px;
}

.post-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.3s var(--ease-out);
}

.post-card:hover .post-card-body h3 {
  color: var(--ocean-teal);
}

.post-card.featured .post-card-body h3 {
  font-size: 1.6rem;
}

.post-card-body .excerpt {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.7;
}

.read-more {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean-teal);
  transition: color 0.3s var(--ease-out);
  display: inline-block;
}

.read-more::after {
  content: '\2192';
  display: inline-block;
  margin-left: 6px;
  transition: margin-left 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.read-more:hover {
  color: var(--warm-gold);
}

.read-more:hover::after {
  margin-left: 12px;
  color: var(--warm-gold);
}

/* ==========================================================================
   7. SINGLE POST / ARTICLE LAYOUT
   ========================================================================== */
.article-wrapper {
  padding: 60px 24px 80px;
  background: var(--sand);
}

.article-container {
  max-width: 720px;
  margin: 0 auto;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ivory);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.article-header {
  margin-bottom: 36px;
  text-align: center;
}

.article-header .post-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean-teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
  margin-bottom: 14px;
}

.article-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

/* Featured image - full bleed */
.article-featured-image {
  margin: 0 -48px 36px;
}

.article-featured-image img {
  width: 100%;
  border-radius: 0;
}

/* Article body typography */
.article-body h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  padding-left: 16px;
  border-left: 3px solid var(--ocean-teal);
  color: var(--charcoal);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--charcoal);
}

.article-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: var(--slate);
}

.article-body p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.85;
}

.article-body a {
  color: var(--ocean-teal);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}

.article-body a:hover {
  color: var(--warm-gold);
  text-decoration-color: var(--warm-gold);
}

.article-body img {
  margin: 2em auto;
  border-radius: var(--radius-md);
}

/* Blockquotes */
.article-body blockquote {
  margin: 2em 0;
  padding: 24px 32px;
  border-left: 3px solid var(--ocean-teal);
  background: rgba(26, 122, 109, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.7;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body blockquote cite {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean-teal);
  margin-top: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Lists inside articles */
.article-body ul,
.article-body ol {
  font-size: 1.05rem;
  margin-left: 0.5em;
}

.article-body li {
  padding-left: 4px;
}

/* ==========================================================================
   8. ABOUT PAGE
   ========================================================================== */

/* About intro — side-by-side image + text */
.about-intro {
  padding: 100px 0;
  background: var(--sand);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-intro-text .section-label {
  margin-bottom: 12px;
}

.about-intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
}

/* About details — article-style content */
.about-details {
  padding: 80px 0 100px;
  background: var(--ivory);
}

.about-details-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-details-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  padding-left: 16px;
  border-left: 3px solid var(--ocean-teal);
  color: var(--charcoal);
}

.about-details-content h2:first-child {
  margin-top: 0;
}

.about-details-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-details-content blockquote {
  margin: 2em 0;
  padding: 28px 36px;
  border-left: 3px solid var(--ocean-teal);
  background: rgba(26, 122, 109, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-details-content blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.7;
}

.about-details-content blockquote cite {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean-teal);
  margin-top: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Legacy about-content fallback */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ivory);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 24px;
  text-align: center;
}

.about-content h2 {
  font-size: 1.6rem;
  margin-top: 2em;
  margin-bottom: 0.7em;
  padding-left: 16px;
  border-left: 3px solid var(--ocean-teal);
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-content blockquote {
  margin: 2em 0;
  padding: 24px 32px;
  border-left: 3px solid var(--ocean-teal);
  background: rgba(26, 122, 109, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-content blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* ==========================================================================
   9. YOUTUBE RESPONSIVE EMBED
   ========================================================================== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin: 2em 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
  font-family: 'Source Sans 3', sans-serif;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-top a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease-out);
}

.footer-top a:hover {
  color: var(--warm-gold);
}

.footer-scripture {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--warm-gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-bottom: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

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

/* Footer content wrapper */
.footer-content {
  text-align: center;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 20px auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease-out);
}

.footer-nav a:hover {
  color: var(--warm-gold);
}

.footer-copy {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

/* Legacy footer (single-line) fallback */
.site-footer p {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0;
}

/* ==========================================================================
   11. BUTTONS
   ========================================================================== */
.btn-outline {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gold);
  border: 1.5px solid var(--warm-gold);
  background: transparent;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn-outline:hover {
  background: var(--warm-gold);
  color: var(--deep-navy);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3);
}

.btn-solid {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-navy);
  background: var(--warm-gold);
  border: 1.5px solid var(--warm-gold);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn-solid:hover {
  background: transparent;
  color: var(--warm-gold);
}

/* ==========================================================================
   12. UTILITY CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   13. ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }
.fade-in.delay-4 { animation-delay: 0.4s; }

/* For JS-triggered scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   14. WELCOME SECTION (legacy support)
   ========================================================================== */
.welcome-section {
  text-align: center;
  padding: 80px 24px;
  background: var(--ivory);
}

.welcome-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.welcome-section p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--slate);
}

/* ==========================================================================
   15. DATE BADGE (legacy support)
   ========================================================================== */
.post-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--deep-navy);
  color: var(--warm-gold);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   16. RESPONSIVE — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .post-grid,
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-card.featured {
    grid-column: 1 / -1;
  }

  .chapters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   17. RESPONSIVE — 768px
   ========================================================================== */
@media (max-width: 768px) {
  /* Header */
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--deep-navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 32px 32px;
    z-index: 1000;
    transition: right 0.35s var(--ease-out);
    box-shadow: -4px 0 24px rgba(15, 27, 45, 0.3);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 0.9rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .mobile-nav-overlay.open {
    display: block;
    opacity: 1;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .hero-scripture {
    font-size: 1rem;
  }

  /* Intro */
  .intro-grid,
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-section,
  .about-intro {
    padding: 70px 0;
  }

  .about-details {
    padding: 60px 0 70px;
  }

  .about-intro-text h2 {
    font-size: 1.8rem;
  }

  /* Chapters */
  .chapters-section {
    padding: 70px 0;
  }

  .chapters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Blog */
  .blog-section,
  .posts-section {
    padding: 70px 0;
  }

  .post-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card.featured {
    grid-column: 1;
  }

  .post-card.featured .post-card-image img {
    height: 260px;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
  }

  /* Article */
  .article-content,
  .about-content {
    padding: 36px 24px;
    border-radius: var(--radius-md);
  }

  .article-featured-image {
    margin: 0 -24px 28px;
  }

  .article-header h1 {
    font-size: 1.9rem;
  }

  .article-body h2 {
    font-size: 1.4rem;
  }

  .article-body h3 {
    font-size: 1.15rem;
  }

  /* Welcome */
  .welcome-section {
    padding: 60px 20px;
  }

  .welcome-section h2 {
    font-size: 1.8rem;
  }

  /* Footer */
  .footer-top {
    gap: 20px;
  }
}

/* ==========================================================================
   18. RESPONSIVE — 480px
   ========================================================================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .hero-scripture {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .post-card-body {
    padding: 20px 20px 24px;
  }

  .post-card-image img {
    height: 200px;
  }

  .post-card.featured .post-card-image img {
    height: 220px;
  }

  .article-content,
  .about-content {
    padding: 28px 18px;
  }

  .article-featured-image {
    margin: 0 -18px 24px;
  }

  .article-header h1,
  .about-content h1 {
    font-size: 1.65rem;
  }

  .btn-outline,
  .btn-solid {
    padding: 12px 28px;
    font-size: 0.78rem;
  }

  .intro-text h2 {
    font-size: 1.8rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==========================================================================
   19. PRINT STYLES
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .scroll-indicator,
  .menu-toggle {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .article-content {
    box-shadow: none;
    padding: 0;
    max-width: 100%;
  }
}
