/* ============================================
   The Synthesis — Stylesheet
   Clean, minimal, typographic. Let the content breathe.
   ============================================ */

/* --- Reset & Base --- */

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

:root {
  --color-bg: #faf9f6;
  --color-bg-alt: #f3f1ec;
  --color-bg-dark: #1a1a1a;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;
  --color-text-light: #999;
  --color-accent: #8b6f47;
  --color-accent-hover: #6d5636;
  --color-border: #e0ddd6;
  --color-white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1100px;
  --section-padding: 8rem 2rem;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  max-width: 65ch;
}

/* --- Navigation --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* --- Buttons --- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

/* --- Hero --- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 750px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 auto 2.5rem;
  max-width: 600px;
}

/* --- Premise --- */

.premise {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.premise-content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.premise-content h2 {
  margin-bottom: 1.5rem;
}

.premise-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 auto 1.25rem;
}

/* --- Teachings --- */

.teachings {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.teachings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.teaching-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  transition: box-shadow 0.3s;
}

.teaching-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.teaching-number {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.teaching-card h3 {
  margin-bottom: 0.75rem;
}

.teaching-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.teaching-sources {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

/* --- Convergence / Timeline --- */

.convergence {
  padding: var(--section-padding);
  background: var(--color-bg-dark);
  color: var(--color-bg);
}

.convergence .section-title {
  color: var(--color-bg);
}

.convergence .section-subtitle {
  color: rgba(250, 249, 246, 0.6);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(250, 249, 246, 0.15);
}

.timeline-entry {
  position: relative;
  padding: 0 0 3rem 2.5rem;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
}

.timeline-date {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content {
  font-size: 0.95rem;
  color: rgba(250, 249, 246, 0.75);
  line-height: 1.7;
}

.timeline-content strong {
  color: var(--color-bg);
}

/* --- Stories --- */

.stories {
  padding: var(--section-padding);
}

.stories-list {
  max-width: 720px;
  margin: 0 auto;
}

.story {
  margin-bottom: 5rem;
}

.story:last-child {
  margin-bottom: 0;
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.story-lede {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.story-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: none;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-collapsed .story-body {
  display: none;
}

.story-collapsed .story-lede {
  margin-bottom: 0.75rem;
}

.story-toggle {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-accent);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.story-toggle:hover {
  color: var(--color-accent-hover);
}

.story-divider {
  width: 60px;
  height: 1px;
  background: var(--color-border);
  margin: 0 auto 5rem;
}

/* --- The Truths in Action --- */

.in-action {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-teaching {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.news-headline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.news-reflection {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.news-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.news-updated {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 3rem;
  font-style: italic;
}

/* --- Origins --- */

.origins {
  padding: var(--section-padding);
}

.origins-content {
  max-width: 650px;
  margin: 0 auto;
}

.origins-content h2 {
  margin-bottom: 2rem;
}

.origins-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.origins-content em {
  color: var(--color-text);
  font-style: italic;
}

/* --- Footer --- */

.footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

/* --- Responsive --- */

@media (max-width: 768px) {
  :root {
    --section-padding: 5rem 1.5rem;
  }

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .teachings-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 90vh;
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
}
