/* Template 73 - Minimalist Paper / Clean Editorial */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --paper-white: #fafaf9;
  --paper-cream: #f5f5f0;
  --ink-black: #1a1a1a;
  --ink-gray: #4a4a4a;
  --ink-light: #8a8a8a;
  --accent-red: #c43d3d;
  --line-color: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Newsreader', Georgia, serif;
  line-height: 1.8;
  color: var(--ink-black);
  background: var(--paper-white);
  font-size: 18px;
}

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

/* Header - Ultra Minimal */
.site-header {
  background: var(--paper-white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.site-logo a {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-black);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-logo a:hover {
  color: var(--accent-red);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  font-family: 'Inter', sans-serif;
  color: var(--ink-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink-black);
  transition: width 0.3s ease;
}

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

.site-nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-color);
}

.section.head h1 {
  font-family: 'Newsreader', serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--ink-black);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.section.head h1::first-letter {
  font-size: 5rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.15em;
  margin-top: 0.1em;
  color: var(--accent-red);
}

.section.head p {
  font-size: 1.25rem;
  color: var(--ink-gray);
  font-style: italic;
  line-height: 1.9;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.section header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-color);
}

.section header h2 {
  font-family: 'Newsreader', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink-black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section header p {
  font-size: 1rem;
  color: var(--ink-light);
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--paper-cream);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 1px solid var(--line-color);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-about {
  flex: 1;
  max-width: 350px;
}

.footer-tagline {
  color: var(--ink-gray);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  color: var(--ink-gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.copyright a {
  font-family: 'Inter', sans-serif;
  color: var(--ink-light);
  font-size: 0.8rem;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent-red);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.15s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Newsreader', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink-black);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}
