/* Thoughters.com – Clean, thoughtful long-form design */

:root {
  --bg: #f7f5f0;
  --bg-alt: #efece5;
  --text: #1c1b19;
  --text-muted: #5c5a55;
  --accent: #2c5f5a;
  --accent-soft: #3d7a73;
  --border: #ddd8ce;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(28, 27, 25, 0.06);
  --radius: 10px;
  --max-read: 720px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 2.35rem; letter-spacing: -0.02em; }
h2 { font-size: 1.65rem; margin-top: 2.5rem; margin-bottom: 0.9rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.6rem; }

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--accent-soft);
}

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

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

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

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.25s;
}

/* Main content */
main {
  flex: 1;
}

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

/* Hero / Home */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 1.25rem;
  font-size: 2.6rem;
}

.hero-lead {
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-soft);
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

/* Featured card */
.featured {
  max-width: 780px;
  margin: 0 auto 4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.featured-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.featured h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.featured p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.featured-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Article page */
.article-header {
  padding: 3.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.article-header .meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.article-header h1 {
  max-width: 820px;
  margin: 0 auto 0.75rem;
  font-size: 2.4rem;
}

.article-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
}

.article-body {
  max-width: var(--max-read);
  margin: 0 auto 4rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body h2 {
  font-size: 1.45rem;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.article-body h3 {
  font-size: 1.2rem;
  margin-top: 2.2rem;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-body ul, .article-body ol {
  margin: 1.2rem 0 1.5rem 1.5rem;
}

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

.writer-note {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  font-size: 0.98rem;
}

.sources {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sources h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.sources ol {
  margin-left: 1.2rem;
}

.sources li {
  margin-bottom: 0.7rem;
}

.sources a {
  word-break: break-all;
}

/* About page */
.about-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.about-hero h1 {
  margin-bottom: 0.75rem;
}

.about-intro {
  max-width: 560px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.person-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.person-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 16px; }

  .hero h1 { font-size: 2rem; }
  .article-header h1 { font-size: 1.85rem; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav.open { display: flex; }

  .menu-toggle { display: block; }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .featured { padding: 1.6rem; }
}
