/* === Main page === */

@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-900i.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
}

.hero-bg {
  background-image: url('img/0-background.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.accent-line {
  width: 80px;
  height: 3px;
  background: #af191c;
  margin: 12px auto;
}

.drop-cap {
  font-size: 4.5rem;
  line-height: 0.8;
  float: left;
  margin: 0.1em 0.15em 0 0;
  color: #af191c;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.prose p {
  margin-bottom: 1.5rem;
}

/* === Sub pages === */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.page h1 {
  font-style: italic;
  font-weight: 900;
  color: var(--terracotta);
  font-size: clamp(2rem, 4vw, 3rem);
}
.page h2 { margin-top: 1.6em; color: var(--olive-dark); }
.back {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
  color: var(--olive-dark);
  font-family: "Playfair Display", serif;
}
.back:hover { color: var(--terracotta); }
