@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap");

:root {
  --paper: #f2eadf;
  --ink: #171717;
  --muted: #171717;
  --line: #171717;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page {
  width: min(100%, 956px);
  margin: 0 auto;
  padding: 0 22px;
}

.site-header {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.diamond {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--ink);
  transform: rotate(45deg);
}

.nav {
  display: flex;
  gap: 33px;
  align-items: center;
}

.hero {
  text-align: center;
  padding: 64px 0 64px;
}

.hero-mark {
  width: 174px;
  display: block;
  margin: 0 auto 26px;
}

.hero h1 {
  margin: 0 0 31px;
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero p {
  max-width: 470px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400 !important;
}

.feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
  display: block;
  max-width: 520px;
}

.feature h2,
.selected h2,
.two-col h2,
.preorder h2,
.archive h1,
.archive h2 {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.poem-preview {
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.53;
  font-weight: 400;
  margin: 0 0 24px;
}

.read-link,
.preorder-button {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-panel,
.small-mark {
  display: none;
}

.selected {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 30px;
  display: block;
}

.poem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poem-list li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  padding: 6px 0;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 400;
}

.poem-list .tag {
  color: var(--ink);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.two-col {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.copy {
  color: var(--ink);
  max-width: 580px;
  font-weight: 400 !important;
}

.preorder {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 38px;
}

.preorder-button {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--ink);
  padding: 12px 16px;
}


.epigraph {
  margin-top: 28px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-epigraph {
  margin: 0 0 34px !important;
}

.book-entry .index-number {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer {
  padding: 36px 0 48px;
  text-align: center;
  color: var(--ink);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive {
  padding: 58px 0 80px;
}

.archive h1 {
  font-size: 22px;
  margin-bottom: 28px;
}

.archive-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 34px;
}

.archive p {
  max-width: 760px;
  font-weight: 400;
}

.poem-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 58px 0 90px;
}

.back-link,
.poem-source {
  color: var(--ink);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.poem-source {
  margin-top: 26px;
}

.poem-title {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 34px 0 42px;
}

.poem-text {
  white-space: pre-wrap;
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

.poem-arrows {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poem-prev {
  text-align: left;
}

.poem-index {
  text-align: center;
}

.poem-next {
  text-align: right;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    display: block;
    padding: 22px 0;
  }

  .nav {
    margin-top: 16px;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero h1 {
    letter-spacing: 0.18em;
    font-size: 24px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .poem-arrows {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .poem-prev,
  .poem-index,
  .poem-next {
    text-align: left;
  }
}


/* Notes & Fragments */
.note-fragment h2 {
  margin-bottom: 34px;
}

.note-fragment .poem-text {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
}

