:root {
  --navy: #1a2c6b;
  --link: #1a4ea8;
  --text: #1a1a1a;
  --bg: #ffffff;
  --rule: #e6e6e6;
  --max-width: 980px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, p, a, li {
  overflow-wrap: break-word;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.hero {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.hero .logo {
  width: 88px;
  height: 88px;
  display: block;
}

.hero-title {
  text-align: center;
  min-width: 0;
}

.hero-title h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: 0.2px;
}

.hero-title p {
  margin: 0 auto;
  max-width: 520px;
  font-size: 0.98rem;
  color: #2a2a2a;
}

.section {
  margin: 22px 0;
}

.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.18rem;
  margin: 0 0 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section p {
  margin: 0 0 6px;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: #0d2f6d; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.section--with-art {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
}

.section--with-art.section--reverse {
  grid-template-columns: 1fr 160px;
}

.art {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
}

/* Stylized "Big Book" cover */
.book {
  width: 110px;
  height: 150px;
  background: linear-gradient(180deg, #6e9bd1 0%, #3a6db0 50%, #2c5894 100%);
  border-radius: 2px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
}

.book-band {
  position: absolute;
  left: 0; right: 0;
  background: #f1d97a;
}
.book-band--top { top: 12px; height: 36px; }
.book-band--mid { top: 78px; height: 4px; background: #1a1a1a; opacity: 0.35; }

.book-title {
  position: absolute;
  top: 18px;
  left: 0; right: 0;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}

.book-monogram {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  text-align: center;
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  font-size: 44px;
  color: rgba(255, 255, 255, 0.55);
}

/* Stylized literature rack */
.rack {
  width: 150px;
  height: 160px;
  background: linear-gradient(180deg, #d8d8d8 0%, #b6b6b6 100%);
  border: 1px solid #8a8a8a;
  border-radius: 4px;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}

.pamphlet {
  background: var(--c, #888);
  border-radius: 1px;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.pamphlets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  padding-left: 30px;
}

.pamphlets li {
  margin: 0;
}

.pamphlets a {
  display: inline-block;
  padding: 2px 0;
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  text-align: center;
  color: #333;
}

.footer p {
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .hero {
    grid-template-columns: 64px 1fr 64px;
    gap: 12px;
  }
  .hero .logo { width: 64px; height: 64px; }

  .section--with-art,
  .section--with-art.section--reverse {
    grid-template-columns: 1fr;
  }

  .art { justify-content: flex-start; }

  .pamphlets {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-columns: 48px 1fr 48px;
    gap: 10px;
  }
  .hero .logo { width: 48px; height: 48px; }
  .hero-title h1 { font-size: 1.45rem; }
  .page { padding: 18px 16px 40px; }
}
