/* WAY. — traintheway.com */

:root {
  --bone: #F5F2ED;
  --bone-dark: #EAE5DC;
  --charcoal: #1C1C1C;
  --charcoal-mid: #3A3A3A;
  --slate: #5C5C5C;
  --gold: #8B7355;
  --gold-light: #A89070;
  --rule: #D4CFC6;
  --white: #FFFFFF;
}

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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bone);
  color: var(--charcoal);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

/* ─── SITE HEADER ─── */

.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}

.site-header .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--charcoal);
}

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

.site-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--charcoal);
}

/* ─── MAIN CONTENT ─── */

.main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ─── HOME HERO ─── */

.home-hero {
  width: 100%;
  height: 420px;
  background-image:
    linear-gradient(rgba(28, 28, 28, 0.52), rgba(28, 28, 28, 0.52)),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1400&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-hero-text p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

@media (max-width: 600px) {
  .home-hero { height: 280px; }
}

/* ─── HOME PAGE ─── */

.home-intro {
  margin-bottom: 3.5rem;
}

.home-intro h1 {
  font-size: 1.05rem;
  font-weight: normal;
  font-style: italic;
  color: var(--slate);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.section-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.post-list {
  list-style: none;
}

.post-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

.post-card:first-child {
  border-top: 1px solid var(--rule);
}

.post-meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

.post-card h2 {
  font-size: 1.35rem;
  font-weight: normal;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.post-card h2 a {
  text-decoration: none;
  color: var(--charcoal);
}

.post-card h2 a:hover {
  color: var(--gold);
}

.post-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.read-more:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

/* ─── ARTICLE PAGE ─── */

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.article-meta {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.article-header .deck {
  font-size: 1.05rem;
  color: var(--slate);
  font-style: italic;
  line-height: 1.6;
}

/* ─── ARTICLE BODY ─── */

.article-body {
  font-size: 1rem;
  line-height: 1.75;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: normal;
  margin: 2.5rem 0 1rem;
  color: var(--charcoal);
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  margin: 1.8rem 0 0.8rem;
  color: var(--charcoal-mid);
}

.article-body strong {
  font-weight: normal;
  color: var(--charcoal);
  border-bottom: 1px solid var(--rule);
}

.article-body em {
  font-style: italic;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* ─── BLOCKQUOTE / SCRIPTURE ─── */

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--charcoal-mid);
}

.article-body blockquote cite {
  display: block;
  font-style: normal;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.6rem;
}

/* ─── SCRIPTURE TO CARRY ─── */

.scripture-to-carry {
  background: var(--bone-dark);
  border: 1px solid var(--rule);
  padding: 2rem 2rem 1.5rem;
  margin: 2.5rem 0;
}

.scripture-to-carry .stc-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.scripture-to-carry blockquote {
  border-left: none;
  padding: 0;
  margin: 0 0 1rem;
}

.scripture-to-carry p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ─── RELATED READING ─── */

.related-reading {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.related-reading h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.related-reading ul {
  list-style: none;
  padding: 0;
}

.related-reading li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.related-reading li:last-child {
  border-bottom: none;
}

/* ─── SITE FOOTER ─── */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  margin-top: 4rem;
}

.site-footer .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 600px) {
  html { font-size: 16px; }

  .site-header { padding: 1rem 0; }
  .site-header .inner { flex-direction: column; gap: 0.4rem; text-align: center; padding: 0 1rem; }
  .site-logo { font-size: 1.3rem; }

  .site-nav { gap: 1.25rem; }
  .site-nav a { font-size: 0.68rem; }

  .home-hero { height: 240px; }
  .home-hero-text p { font-size: 0.62rem; letter-spacing: 0.22em; }

  .main { padding: 2rem 1rem 4rem; }

  .home-intro h1 { font-size: 0.95rem; }

  .post-card h2 { font-size: 1.2rem; }

  .article-header h1 { font-size: 1.5rem; }
  .article-header .deck { font-size: 0.95rem; }

  .scripture-to-carry { padding: 1.5rem 1.25rem 1.25rem; }

  .site-footer .inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}
