:root {
  --paper: #f4efe5;
  --ink: #211e1a;
  --muted: #6f685f;
  --accent: #722f37;
  --rule: #c8bcaa;
  --shade: #987c7a;
  --serif: Georgia, "Times New Roman", serif;
  --typewriter: "Courier New", Courier, monospace;
  --fancie: "Jazz LET", fantasy
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
}

a {
  color: var(--accent);
}

.site-header {
  max-width: 1100px;
  margin: auto;
  border-bottom: 1px solid var(--rule);
}

.header-box {
  display: flex;
  width: 100%;
}

.site-header > span{
  display: block;
  width:100%;
}
.site-header > nav {
  display: flex;
  justify-content: flex-start;
  border:#722f37;
}

.site-header > a {
  width: 100%;
  display:block;
  text-align: right;
}

.site-title {
  display: block;
  margin-top:2rem;
  color: var(--ink);
  font-size: 0.65rem;
  font-family: var(--fancie);
  text-decoration: none;
  text-align: right;
}

.tagline,
.eyebrow,
time,
nav {
  font-family: var(--typewriter);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rule); 
  text-shadow: 0 -1px -2px rgba(255,255,255,.3), 0 2px 2px var(--shade);
  text-align: right;

}

.tagline {
  color: var(--muted);
  font-size: 0.75rem;
  text-shadow: 0 -2px 3px rgba(255,255,255,.3), 0 2px 4px rgba(0,0,0,.2);

}

nav {
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

nav a {
  margin: 0 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.page {
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}

.hero {
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  margin: 0.3rem 0;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: normal;
  line-height: 1;
}

.hero-line {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-style: italic;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  font-weight: normal;
}

h2 {
  margin-bottom: 2rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.book img {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #ddd4c5;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-family: var(--typewriter);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.event {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.event time {
  color: var(--accent);
  font-size: 0.75rem;
}

.event h2,
.event h3 {
  margin-top: 0;
}

.lead {
  font-size: 1.35rem;
}

footer {
  padding: 3rem 2rem;
  color: var(--muted);
  text-align: center;
  font-family: var(--typewriter);
  font-size: 0.7rem;
}


/* Mobile */

@media (max-width: 650px) {

  .book-grid {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  nav a {
    display: inline-block;
    margin: 0.3rem 0.5rem;
  }

  .hero {
    padding: 5rem 0;
  }
}
