/* The Daily — Newspaper styling for Company Force news */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #1e1e2e;
  --text: #e8e6e3;
  --text-muted: #8a8a9a;
  --accent: #d4a853;
  --accent-dim: #a07830;
  --link: #d4a853;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
.masthead {
  text-align: center;
  border-bottom: 3px double var(--accent);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.masthead h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.masthead .edition {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.masthead .byline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Article content */
.article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.article p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #d0cec8;
}

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

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

.article em {
  color: var(--text-muted);
}

.article ul, .article ol {
  margin: 1rem 0 1rem 1.5rem;
}

.article li {
  margin-bottom: 0.5rem;
}

/* Navigation */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active {
  color: var(--accent);
}

.nav .site-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

/* Archive list */
.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.archive-list a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  display: block;
}

.archive-list a:hover {
  color: var(--accent);
}

.archive-list .date {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Landing page */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.company-card:hover {
  border-color: var(--accent-dim);
}

.company-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.company-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.company-card a {
  color: var(--accent);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .container { padding: 1rem; }
  .article h2 { font-size: 1.25rem; }
  .article p { font-size: 1rem; }
}
