/* ============================================================
   Reset & Box Model
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   Base
   ============================================================ */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Droid Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.75;
  color: #2c2c2c;
  background-color: #fafaf8;
}

/* ============================================================
   Layout — single centred column, fluid on small screens
   ============================================================ */
.container {
  width: 100%;
  max-width: 740px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid #e2e2dc;
  text-align: center;
}

.site-logo {
  display: block;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  max-width: 280px;
  width: 100%;
  height: auto;
}

.site-label {
  font-family: 'Droid Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

/* ============================================================
   Headline hierarchy
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  margin-top: 2.75rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #e2e2dc;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}

/* ============================================================
   Body copy
   ============================================================ */
p {
  margin-bottom: 1rem;
  line-height: 2em;
}

.lead {
  font-size: 1.15rem;
  font-style: italic;
  color: #555;
  margin-top: 0.5rem;
}

.quote {
  margin-block: 1.5rem;
  color: #9b0000;
  font-style: italic;
  font-size: 2rem;
}

.quote p {
  margin-bottom: 0;
}

strong { font-weight: 700; }
em     { font-style: italic; }

code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background-color: #f0f0eb;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* ============================================================
   Lists
   ============================================================ */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ============================================================
   Manifesto — flowing prose
   ============================================================ */
.manifesto {
}

.manifesto p {
  margin-bottom: 2.5rem;
}

/* Indent every paragraph except the very first (drop-cap paragraph) */
.manifesto p + p {
  /* text-indent: -0.5em; */
}

/* First letter on every paragraph */
.manifesto p::first-letter {
  /* font-family: 'Droid Serif', serif; */
  font-size: 1.2em;
  font-weight: 700;
  margin-left: -0.25em;
  margin-right: 0.02em;
  /* float: left; */
  /* line-height: 0.82;
  margin-left: -0.25em;
  color: #1a1a1a;
  /* padding-right: 0.1em; */
}

/* Reset first-letter for .quote paragraphs */
.manifesto .quote p::first-letter, .manifesto .manifesto-outro p::first-letter {
  font-size: inherit;
  font-weight: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

/* Closing nouns — bold, slightly larger */
.manifesto-close {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 2;
  color: #1a1a1a;
  text-indent: 0 !important;
  margin-top: 2.5rem;
}

/* Outro paragraph after the closing nouns */
.manifesto-outro {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid #e2e2dc;
  color: #313131;
  font-style: italic;
  font-size: 1.2em;
}

/* ============================================================
   Sections
   ============================================================ */
section {
  margin-bottom: 3rem;
}

main.container {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid #e2e2dc;
  padding-block: 1.5rem;
  font-family: 'Droid Sans', sans-serif;
  font-size: 0.8rem;
  color: #aaa;
  text-align: center;
}

/* ============================================================
   Responsive tweaks
   ============================================================ */
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .site-header {
    padding-block: 2rem 1.5rem;
  }
}
