* {
  box-sizing: border-box;
}

:root {
  --bg: #17120f;
  --paper: #f0c17d;
  --ink: #16191d;
  --gold: #d69a4b;
  --cream: #f2dfbd;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.visual-home {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #17120f;
}

.homepage-art {
  display: block;
  width: 100%;
  height: auto;
}

/* Transparent functional click areas positioned over the approved mockup.
   Coordinates use percentages so they scale with the image. */
.hotspot {
  position: absolute;
  display: block;
  background: transparent;
}

.nav-book {
  left: 71.0%;
  top: 0.7%;
  width: 5.5%;
  height: 5.5%;
}

.nav-read {
  left: 77.7%;
  top: 0.7%;
  width: 5.5%;
  height: 5.5%;
}

.nav-about {
  left: 84.0%;
  top: 0.7%;
  width: 6.5%;
  height: 5.5%;
}

.read-button {
  left: 6.65%;
  top: 52.9%;
  width: 15.8%;
  height: 5.0%;
}

.learn-button {
  left: 23.35%;
  top: 52.9%;
  width: 14.2%;
  height: 5.0%;
}

.hotspot:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
  border-radius: 4px;
}

.content-section {
  padding: 76px 24px;
  background: #e8b56d;
  color: #181818;
  border-top: 1px solid rgba(0,0,0,.22);
}

.content-section.dark {
  background: #171717;
  color: var(--cream);
}

.content {
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: #714116;
}

.dark .eyebrow {
  color: var(--gold);
}

h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
}

p {
  font-size: 1.08rem;
  line-height: 1.7;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--cream);
}

.small {
  font-size: .9rem;
  opacity: .75;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  /* Keep the approved artwork visible on mobile. It scales down rather than
     attempting to reconstruct the desktop layout. */
  .content-section {
    padding: 56px 22px;
  }
}
