/* Bold and Determined Archive - Style */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --text: #e8e8e8;
  --text-muted: #999;
  --text-faint: #666;
  --red: #c41e3a;
  --red-bright: #e02244;
  --red-dim: #8b1429;
  --border: #222;
  --border-light: #2a2a2a;
  --max-width: 1100px;
  --reading-width: 680px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-bright);
}

strong, b {
  font-weight: 700;
  color: #fff;
}

em, i {
  font-style: italic;
  color: #ddd;
}

blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #111;
  color: #ccc;
  font-style: italic;
}

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

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

ul, ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header / Nav === */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.nav-logo-subtitle {
  font-size: 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 2px;
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* === Hero Banner === */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--red);
}

.hero-description {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Posts Grid === */
.posts-section {
  padding: 60px 0 80px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
}

.post-card {
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
}

.post-card:hover {
  background: var(--bg-card-hover);
}

.post-card-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.post-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

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

.post-card-title a:hover {
  color: var(--red);
}

.post-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.post-card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}

.post-card-link:hover {
  gap: 10px;
  color: var(--red-bright);
}

.post-card-link::after {
  content: '→';
}

/* === Article Page === */
.article-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.article-meta-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-meta-author {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-meta-author::before {
  content: '|';
  margin-right: 16px;
  color: var(--border-light);
}

.article-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  max-width: var(--reading-width);
}

/* === Article Body === */
.article-body {
  padding: 60px 0 80px;
}

.article-content {
  max-width: var(--reading-width);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.article-content h1 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: #fff;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.25rem;
  color: #fff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  color: #eee;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.6rem;
}

.article-content blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #111;
  color: #bbb;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.article-content strong {
  color: #fff;
  font-weight: 700;
}

.article-content em {
  color: #ccc;
}

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

/* Drop cap for first paragraph */
.article-content > p:first-child::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 0.8;
  margin: 0.05em 0.1em 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: var(--red);
}

/* === Article Nav === */
.article-nav {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 60px;
}

.article-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: var(--reading-width);
}

.article-nav-prev,
.article-nav-next {
  flex: 1;
  max-width: 300px;
}

.article-nav-next {
  text-align: right;
  margin-left: auto;
}

.article-nav-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
  display: block;
}

.article-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
  display: block;
}

.article-nav a:hover {
  color: var(--red);
}

/* === About Page === */
.about-page {
  padding: 80px 0;
}

.about-content {
  max-width: var(--reading-width);
  font-size: 18px;
  line-height: 1.8;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.about-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: #eee;
}

/* === Archive Page === */
.archive-page {
  padding: 60px 0 80px;
}

.archive-title {
  font-size: 2.5rem;
  margin-bottom: 48px;
  color: #fff;
}

.archive-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}

.archive-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

.archive-item-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  flex: 1;
}

.archive-item-title:hover {
  color: var(--red);
}

.archive-item-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
}

.footer-text a {
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Responsive === */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .nav-logo-subtitle {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    padding: 48px 0 40px;
  }

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

  .post-card {
    padding: 24px;
  }

  .article-hero {
    padding: 40px 0 32px;
  }

  .article-nav-inner {
    flex-direction: column;
    gap: 24px;
  }

  .article-nav-next {
    text-align: left;
    margin-left: 0;
  }

  .archive-item {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }
}
