/* Soul.Markets News — Ghost Theme
 * Dark theme with warm gold accents
 * Matching soul.mds.markets design system
 */

/* ============================================
   Variables
   ============================================ */
:root {
  /* Colors — Soul.Markets palette */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-raised: #161616;
  --color-border: #1e1e1e;
  --color-border-subtle: #161616;
  --color-text: #f5f5f5;
  --color-text-secondary: #888888;
  --color-text-muted: #555555;
  --color-accent: #D4A15E;
  --color-accent-hover: #E4B978;
  --color-accent-dim: #8A6A3A;
  --color-accent-subtle: rgba(212, 161, 94, 0.12);

  /* Typography */
  --font-display: 'Syne', -apple-system, sans-serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --gap: 1.5rem;
  --radius: 0;

  /* Layout */
  --max-width: 1100px;
  --content-width: 680px;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
}

a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border);
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: var(--color-text-muted);
}

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

::selection {
  background: rgba(212, 161, 94, 0.25);
  color: var(--color-text);
}

/* ============================================
   Layout
   ============================================ */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.content-area {
  max-width: var(--content-width);
  margin: 0 auto;
}

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

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.site-logo-dot {
  color: var(--color-accent);
}

.site-logo-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-dim);
  padding: 0.15rem 0.4rem;
  position: relative;
  top: -1px;
}

.site-logo img {
  height: 28px;
  width: auto;
}

.site-logo:hover {
  color: var(--color-text);
  text-decoration: none;
}

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

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

.site-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.nav-cta {
  background: #B8893E;
  color: #fff !important;
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  font-family: var(--font-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 500;
  text-decoration: none !important;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: #9A7232;
  color: #fff !important;
}

/* ============================================
   Featured Hero — spotlight for latest post
   ============================================ */
.featured-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.featured-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.featured-hero-content {
  display: flex;
  flex-direction: column;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.featured-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.featured-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.15s ease;
}

.featured-tag:hover {
  color: var(--color-accent);
}

.featured-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.featured-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.featured-title a:hover {
  color: var(--color-accent-hover);
}

.featured-excerpt {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 1.25rem;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.featured-meta-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-meta-author {
  color: var(--color-text-secondary);
}

.featured-meta-sep {
  opacity: 0.4;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}

.featured-cta:hover {
  color: var(--color-accent-hover);
  gap: 0.75rem;
}

.featured-hero-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.featured-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-hero-image:hover img {
  transform: scale(1.02);
}

/* ============================================
   The Signal — editorial pillars
   ============================================ */
.signal-section {
  padding: 4rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.signal-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.signal-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.signal-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.signal-gold {
  color: var(--color-accent);
}

.signal-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.signal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: border-color 0.2s ease;
}

.signal-card:hover {
  border-color: var(--color-text-muted);
}

.signal-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.signal-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.signal-card-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   Feed Section Label
   ============================================ */
.feed-section {
  padding: 2.5rem 2.5rem 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feed-section-inner {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.feed-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

/* ============================================
   Post Grid
   ============================================ */
.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
  padding: 3rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================
   Post Card
   ============================================ */
.post-card {
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}

.post-card:hover {
  border-color: var(--color-text-muted);
}

.post-card-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-card-image img {
  opacity: 0.85;
}

.post-card-content {
  padding: 0;
}

.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

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

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

.post-card-excerpt {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-author-image {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   Single Post / Page
   ============================================ */
.post-full {
  padding: 4rem 2.5rem 5rem;
}

.post-full-header {
  max-width: var(--content-width);
  margin: 0 auto 3rem;
}

.post-full-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.post-full-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.post-full-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.post-full-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.post-full-author-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.post-full-author-name {
  color: var(--color-text-secondary);
}

.post-full-image {
  max-width: 900px;
  margin: 0 auto 3rem;
  overflow: hidden;
}

.post-full-image img {
  width: 100%;
  height: auto;
}

/* ============================================
   Page Template (About, etc.)
   ============================================ */
.post-full.page .post-full-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.post-full.page .post-full-title {
  font-size: 1.75rem;
}

.post-full.page .post-full-header::before {
  content: '';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* ============================================
   Post Content
   ============================================ */
.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.post-content h2 {
  font-size: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.post-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.post-content h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content h4 {
  font-size: 0.9375rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

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

.post-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent-dim);
  transition: text-decoration-color 0.15s;
}

.post-content a:hover {
  text-decoration-color: var(--color-accent);
}

.post-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.post-content li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.post-content ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

.post-content ol {
  counter-reset: list-counter;
}

.post-content ol > li {
  counter-increment: list-counter;
}

.post-content ol > li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
}

.post-content blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: normal;
  color: var(--color-text);
  font-size: 1rem;
}

.post-content pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.post-content :not(pre) > code {
  background: var(--color-surface);
  color: var(--color-accent);
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--color-border);
}

.post-content pre code {
  color: var(--color-text-secondary);
}

.post-content img {
  margin: 2rem 0;
}

.post-content figure {
  margin: 2rem 0;
}

.post-content figcaption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.875rem;
}

.post-content th,
.post-content td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.post-content th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--color-text-muted);
}

.post-content td {
  color: var(--color-text-secondary);
}

/* Ghost Card Styles */
.post-content .kg-card {
  margin: 2rem 0;
}

.post-content .kg-image-card img {
  margin: 0 auto;
  display: block;
}

.post-content .kg-width-wide {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-content .kg-width-full {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.post-content .kg-bookmark-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.post-content .kg-bookmark-card:hover {
  border-color: var(--color-text-muted);
}

.post-content .kg-bookmark-container {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .post-content .kg-bookmark-container {
    flex-direction: row;
  }
}

.post-content .kg-bookmark-content {
  flex: 1;
  padding: 1.25rem;
}

.post-content .kg-bookmark-title {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.post-content .kg-bookmark-description {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.post-content .kg-bookmark-icon {
  width: 1rem;
  height: 1rem;
}

.post-content .kg-bookmark-thumbnail {
  width: 100%;
  height: 160px;
}

@media (min-width: 640px) {
  .post-content .kg-bookmark-thumbnail {
    width: 200px;
    height: auto;
  }
}

.post-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.post-content .kg-callout-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
}

.post-content .kg-callout-card-grey {
  background: var(--color-surface);
}

.post-content .kg-callout-card-blue {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.post-content .kg-callout-card-green {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent-dim);
}

.post-content .kg-callout-card-yellow {
  background: rgba(234, 179, 8, 0.08);
  border-color: rgba(234, 179, 8, 0.2);
}

.post-content .kg-callout-card-red {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

.post-content .kg-callout-emoji {
  font-size: 1.125rem;
}

.post-content .kg-callout-text {
  flex: 1;
}

/* ============================================
   Footer — matches Soul.Markets footer
   ============================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 2.5rem;
}

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

.site-footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer-brand .site-logo {
  margin-bottom: 1rem;
}

.site-footer-tagline {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 0 1rem;
}

.site-footer-byline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
}

.site-footer-byline a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer-byline a:hover {
  color: var(--color-accent-hover);
}

.site-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer-nav-heading {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.site-footer-nav a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.site-footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer-copyright {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.site-footer-copyright a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer-copyright a:hover {
  color: var(--color-accent);
}

.site-footer-legal {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.site-footer-legal a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer-legal a:hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .site-footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 3rem 1.25rem;
  }

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

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2.5rem 4rem;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pagination a:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.pagination-info {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

/* ============================================
   Tag & Author Pages
   ============================================ */
.tag-header,
.author-header {
  padding: 3rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.tag-header h1,
.author-header h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.tag-header p,
.author-header p {
  color: var(--color-text-secondary);
  max-width: 500px;
  font-size: 0.9375rem;
}

.author-header-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* ============================================
   Error Page
   ============================================ */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 3rem 2.5rem;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-message {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.error-link {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.error-link:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .site-header-inner {
    padding: 0 1.25rem;
  }

  .featured-hero {
    padding: 2rem 1.25rem 0;
  }

  .featured-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-hero-content {
    order: 2;
  }

  .featured-hero-image {
    order: 1;
  }

  .featured-title {
    font-size: 1.75rem;
  }

  .signal-section {
    padding: 3rem 1.25rem;
  }

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

  .signal-heading {
    font-size: 1.5rem;
  }

  .feed-section {
    padding: 2rem 1.25rem 0;
  }

  .post-full {
    padding: 2.5rem 1.25rem 3rem;
  }

  .post-full-title {
    font-size: 1.5rem;
  }

  .post-feed {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .site-nav ul {
    display: none;
  }

  .container {
    padding: 0 1.25rem;
  }

}
