:root {
  --teal: #02444f;
  --orange: #c4622a;
  --cream: #faf4dd;
  --sage: #b0bebb;
  --charcoal: #181a1b;
  --card: #0d0f10;
  --white: #ffffff;
  --soft-border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--soft-border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
}

.nav-links a:hover {
  color: var(--cream);
}

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(circle at 25% 50%, rgba(2,68,79,0.65), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.25) 100%),
    url('../images/branding/2026.04.hero.png') center/cover no-repeat;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(196,98,42,0.15), transparent 60%);
  pointer-events: none;
}

@keyframes heroZoom {
  from { background-size: 105%; }
  to { background-size: 115%; }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 76px 20px 72px;
  min-height: 470px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(255,255,255,0.04);
}

.hero h1 {
  margin: 0 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: var(--white);
}

.hero-tagline {
  margin: 0 0 22px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
}

.hero-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.hero-intro p {
  margin: 0 0 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.09);
}

/* Sections */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 20px 10px;
}

.section-title {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.section-title.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Featured post */

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.featured-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
  background: #111;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card {
  background: var(--card);
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.post-meta {
  color: var(--sage);
  font-size: 0.92rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.featured-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.scripture-line {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.post-excerpt {
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
  font-size: 1rem;
}

/* Grids */

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

.post-card,
.collection-card {
  display: block;
  background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover,
.collection-card:hover {
  transform: translateY(-4px);
}

.post-card-image,
.collection-card-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  aspect-ratio: 16 / 10;
}

.post-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
}

.post-card-image img,
.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.post-card-title-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  line-height: 1.15;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.post-card p,
.collection-card p {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
}

.collection-card h4 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.muted {
  color: var(--sage);
  font-size: 0.92rem;
}

/* Explore */

.explore-list {
  display: grid;
  gap: 18px;
}

.explore-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-border);
}

.explore-item:last-child {
  border-bottom: none;
}

.explore-thumb {
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.explore-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-content h4 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--white);
}

.explore-content p {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.82);
}

/* Post page */

.hero-image {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 20px;
}

.hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.post-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}

.meta-line {
  color: var(--sage);
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.post-wrap h1 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: white;
}

.scripture-card {
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  padding: 22px 22px 18px;
  margin: 0 0 30px;
  box-shadow: var(--shadow);
}

.scripture-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
}

.scripture-text {
  font-size: 1.45rem;
  line-height: 1.5;
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  margin-bottom: 8px;
}

.scripture-ref {
  color: var(--sage);
  font-weight: 600;
}

.content {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.94);
}

.content p {
  margin: 0 0 22px;
}

.closing {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--soft-border);
  font-style: italic;
  color: var(--cream);
  font-size: 1.08rem;
}

.post-nav {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--soft-border);
  padding-top: 24px;
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--soft-border);
  color: white;
  font-weight: 600;
}

.post-nav a:hover {
  background: rgba(255,255,255,0.08);
}

.post-nav .center-link {
  justify-self: center;
  background: var(--orange);
  border-color: transparent;
}

.post-nav .next {
  justify-self: end;
}

/* Footer */

.site-footer {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 28px 20px 50px;
  color: var(--sage);
  border-top: 1px solid var(--soft-border);
  text-align: center;
  font-size: 0.94rem;
}

/* Responsive */

@media (max-width: 960px) {
  .featured-post,
  .explore-item {
    grid-template-columns: 1fr;
  }

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

  .hero-inner {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 14px;
  }

  .hero-inner {
    padding: 58px 20px 54px;
  }

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

  .featured-card {
    padding: 22px;
  }

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

  .brand-text {
    white-space: normal;
  }

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

  .post-nav .center-link,
  .post-nav .next {
    justify-self: start;
  }

  .scripture-text {
    font-size: 1.22rem;
  }
}
