/* Homepage Visual Hierarchy - Clear Story Through Space
   Boxes as rooms, metadata as whispers */

/* ═══════════════════════════════════════════════════════════════════
   HERO ZONE - Site Identity
   ═══════════════════════════════════════════════════════════════════ */

.site-hero {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.site-hero h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem 0;
  color: var(--accent-burgundy);
  line-height: 1.1;
}

.site-hero .tagline {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 0 2rem 0;
  opacity: 0.85;
}

/* Navigation - present but not competing */
.hero-nav {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  font-size: 0.875rem;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.hero-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.hero-nav a:hover {
  opacity: 1;
  color: var(--accent-burgundy);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURED POST - The Star
   ═══════════════════════════════════════════════════════════════════ */

.featured-section {
  max-width: 42rem;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.featured-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 1rem;
  font-weight: 500;
}

.featured-post {
  background: linear-gradient(to bottom, 
    rgba(250, 248, 245, 0.4),
    rgba(250, 248, 245, 0.1));
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.featured-post:hover {
  box-shadow: 0 8px 24px rgba(139, 38, 53, 0.08);
  transform: translateY(-2px);
}

.featured-post h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.featured-post h2 a {
  color: var(--text-primary);
  text-decoration: none;
  background: linear-gradient(to right,
    var(--accent-burgundy),
    var(--accent-burgundy)
  ) no-repeat 0 100%;
  background-size: 0 2px;
  transition: background-size 0.3s ease;
}

.featured-post h2 a:hover {
  background-size: 100% 2px;
}

.featured-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
}

/* Metadata - almost invisible unless you're looking for it */
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.featured-post:hover .post-meta {
  opacity: 0.6;
}

.post-meta .date,
.post-meta .reading-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-meta .separator {
  opacity: 0.5;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent-burgundy);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.read-more:hover {
  background: var(--text-primary);
  transform: translateX(4px);
}

.read-more::after {
  content: '→';
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════
   ARCHIVE SECTION - Supporting Cast
   ═══════════════════════════════════════════════════════════════════ */

.archive-section {
  max-width: 42rem;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.archive-box {
  background: rgba(250, 248, 245, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
}

.archive-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(232, 228, 222, 0.5);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.post-list a:hover {
  color: var(--accent-burgundy);
  padding-left: 0.5rem;
}

.post-title {
  font-size: 1.125rem;
  font-weight: 500;
  flex: 1;
}

.post-date {
  font-size: 0.625rem; /* Extra tiny! */
  color: var(--text-secondary);
  opacity: 0.3; /* Almost invisible */
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.post-list a:hover .post-date {
  opacity: 0.5; /* Slightly more visible on hover */
}

/* Description - only show on hover */
.post-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0.25rem;
}

.post-list li:hover .post-description {
  opacity: 0.7;
  max-height: 3rem;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER ZONE - Almost Gone
   ═══════════════════════════════════════════════════════════════════ */

.site-footer {
  margin-top: 6rem;
  padding: 3rem 2rem;
  background: rgba(250, 248, 245, 0.3);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.4;
}

.footer-content a {
  color: var(--accent-burgundy);
  opacity: 0.7;
  text-decoration: none;
}

.footer-content a:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .site-hero h1 {
    font-size: 2.25rem;
  }
  
  .featured-post {
    padding: 1.75rem;
  }
  
  .featured-post h2 {
    font-size: 1.5rem;
  }
  
  .post-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .post-date {
    opacity: 0.4; /* Slightly more visible on mobile */
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Subtle animation on page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-hero {
  animation: fadeInUp 0.6s ease;
}

.featured-section {
  animation: fadeInUp 0.6s ease 0.1s both;
}

.archive-section {
  animation: fadeInUp 0.6s ease 0.2s both;
}