/* Template 12 - Vintage Newspaper / Editorial */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Inconsolata:wght@400;500&display=swap');

:root {
  --bg-cream: #f5f0e6;
  --bg-paper: #fffef9;
  --bg-sepia: #e8e0d0;
  --text-ink: #1a1a18;
  --text-body: #2d2d2a;
  --text-caption: #5a5a52;
  --accent-red: #8b2323;
  --accent-gold: #a67c00;
  --border-dark: #1a1a18;
  --border-light: #c9c4b8;
}

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

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

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg-cream);
  font-weight: 400;
  font-size: 17px;
}

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

/* Header - Newspaper Masthead Style */
.site-header {
  background: var(--bg-paper);
  padding: 0;
  border-bottom: 3px double var(--border-dark);
  position: relative;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-dark);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 1rem;
}

.site-logo {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.site-logo a {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-ink);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.site-nav li {
  position: relative;
}

.site-nav li:not(:last-child)::after {
  content: '|';
  color: var(--border-light);
  margin: 0 1.5rem;
}

.site-nav a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  font-family: 'Inconsolata', monospace;
}

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

/* Hero Section - Editorial Headline */
.section.head {
  padding: 5rem 0;
  text-align: center;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.section.head::before,
.section.head::after {
  content: '§';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--border-light);
}

.section.head::before {
  left: 2rem;
}

.section.head::after {
  right: 2rem;
}

.section.head h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-ink);
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section.head p {
  font-size: 1.15rem;
  color: var(--text-caption);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* Section Styling */
.section {
  padding: 4rem 0;
  background: var(--bg-cream);
}

.section header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section header::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1.5rem auto 0;
}

.section header h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section header p {
  font-size: 1rem;
  color: var(--text-caption);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* Footer - Classic Newspaper */
.footer {
  background: var(--bg-paper);
  padding: 3rem 0 1.5rem;
  border-top: 3px double var(--border-dark);
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-dark);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

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

.footer-tagline {
  color: var(--text-caption);
  line-height: 1.8;
  font-style: italic;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links li:not(:last-child)::after {
  content: '•';
  margin: 0 1rem;
  color: var(--border-light);
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inconsolata', monospace;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
}

.copyright a {
  color: var(--text-caption);
  font-size: 0.85rem;
  font-style: italic;
}

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

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

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

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: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-align: left;
}
