/* Template 23 - Monochrome Ink / Artistic Editorial */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Albert+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink-black: #0a0a0a;
  --charcoal: #1f1f1f;
  --graphite: #3a3a3a;
  --slate: #6b6b6b;
  --silver: #9e9e9e;
  --paper: #f5f5f5;
  --cream: #fafafa;
  --white: #ffffff;
  --accent-red: #c41e3a;
}

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

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

body {
  font-family: 'Albert Sans', sans-serif;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 400;
}

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

/* Header - Newspaper Masthead */
.site-header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--ink-black);
}

.site-header::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--ink-black);
  margin-top: -1px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--silver);
}

.site-logo a {
  font-family: 'Instrument Serif', serif;
  font-size: 2.25rem;
  font-style: italic;
  color: var(--ink-black);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

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

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

.site-nav a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.site-nav a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  width: 4px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
}

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

.site-nav a:hover::before {
  transform: translateY(-50%) scale(1);
}

/* Hero Section - Editorial Spread */
.section.head {
  padding: 5rem 0 4rem;
  text-align: left;
  position: relative;
  border-bottom: 1px solid var(--silver);
}

.section.head::before {
  content: 'Vol. I';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--slate);
}

.section.head h1 {
  font-family: 'Instrument Serif', serif;
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--ink-black);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 900px;
}

.section.head p {
  font-size: 1.2rem;
  color: var(--graphite);
  max-width: 650px;
  line-height: 1.8;
  border-left: 2px solid var(--accent-red);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

/* Section Styling */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--silver);
}

.section:last-of-type {
  border-bottom: none;
}

.section header {
  text-align: left;
  margin-bottom: 3rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.section header::before {
  content: counter(section, upper-roman);
  counter-increment: section;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--slate);
  flex-shrink: 0;
}

body {
  counter-reset: section;
}

.section header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--ink-black);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section header p {
  display: none;
}

/* Footer - Colophon Style */
.footer {
  background: var(--ink-black);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
}

.footer-about .site-logo a {
  color: var(--white);
  font-size: 1.75rem;
}

.footer-tagline {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 400px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(8px);
}

.footer-bottom {
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid var(--graphite);
}

.copyright, .copyright a {
  color: var(--slate);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Animations */
@keyframes drawLine {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeSlide 0.7s 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; }

/* Selection */
::selection {
  background: var(--ink-black);
  color: var(--white);
}

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