/*
Theme Name: Wigmorean Theme — Starter (Abbreviates as Wig Theme Starter)
Description: Lean Wigmorean-aesthetic theme for the Starter tier. No dropdown menus, no dark-mode toggle, no Customizer extras — just a clean single-column reading theme with the Wigmorean scholarly palette. Drop-in replacement when you want the Wigmorean look without the full theme's complexity. Quantum-hosting safe.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.0
Author: Kọ́lá Abímbọ́lá
Author URI: https://wigmorean.com
Theme URI: https://wigmorean.com
Text Domain: wigmorean-theme-starter
Tags: custom-menu, editor-style, featured-images, one-column, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   DESIGN TOKENS — Wigmorean scholarly palette
   ========================================================================== */
:root {
  --ink:        #0f1117;
  --ink-soft:   #3a3d47;
  --ink-muted:  #6b6f7a;
  --rule:       #e2e4e9;
  --surface:    #f8f8f6;
  --canvas:     #ffffff;
  --gold:       #b8962e;
  --crimson:    #a02020;
  --terracotta: #A04E35;

  --serif: 'Georgia', 'Times New Roman', serif;
  --sans:  'Inter', 'Helvetica Neue', 'Arial', sans-serif;
}

/* ==========================================================================
   BASE
   ========================================================================== */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}

a { color: var(--crimson); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: 2.2rem; margin: 0 0 1rem; }
h2 { font-size: 1.75rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.5rem; }

p { margin: 0 0 1rem; }

blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  color: var(--ink-soft);
  font-style: italic;
}

code, pre { font-family: 'Menlo', 'Consolas', monospace; font-size: 0.95em; }
pre { background: var(--surface); padding: 1rem; border-radius: 4px; overflow-x: auto; }

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

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wig-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-accent {
  height: 3px;
  background: var(--crimson, #8B1A1A);
  width: 100%;
}

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

.site-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-title a { color: var(--ink); text-decoration: none; }

/* .site-description retained for back-compat (footer/SEO use); not rendered in header */
.site-description {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.main-navigation a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.main-navigation a:hover { color: var(--crimson); }

.site-content {
  margin-bottom: 3rem;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  margin-top: 3rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   ENTRY
   ========================================================================== */
.entry-header {
  margin-bottom: 1.5rem;
}

.entry-meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-family: var(--sans);
}

.entry-meta a { color: var(--ink-muted); }

.entry-content {
  margin-bottom: 2rem;
}

.entry-footer {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 600px) {
  body { font-size: 17px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .wig-container { padding: 0 1rem; }
}
