:root {
  --ink: #181a1f;
  --cream: #eae4d7;
  --rust: #e3593f;
  --hairline: rgba(234, 228, 215, 0.16);
  --muted: rgba(234, 228, 215, 0.55);
  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: ui-serif, Charter, "Iowan Old Style", Georgia, serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rust);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 1.3rem;
  border-bottom: 3px double rgba(234, 228, 215, 0.3);
}

.issue {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.house-name {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

main {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  flex: 1;
}

.intro {
  margin-top: 7rem;
}

.creed {
  font-size: clamp(1.45rem, 1.2rem + 1.6vw, 1.9rem);
  line-height: 1.5;
  text-wrap: balance;
}

.dropcap {
  color: var(--rust);
  font-size: 3.1em;
  font-weight: 600;
  line-height: 0.8;
  float: left;
  padding: 0.05em 0.1em 0 0;
}

.shelf {
  margin-top: 6rem;
}

.shelf + .shelf {
  margin-top: 4rem;
}

.shelf-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

.product {
  padding: 2.4rem 0;
}

.fleuron {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(227, 89, 63, 0.65);
  user-select: none;
}

.product .mark {
  display: block;
  margin-bottom: 1.1rem;
}

.product .mark--round {
  border-radius: 50%;
}

.product h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.product h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 89, 63, 0.45);
  transition: border-color 0.15s ease;
}

.product h3 a:hover,
.product h3 a:focus {
  border-bottom-color: var(--rust);
}

.product .pitch {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(234, 228, 215, 0.85);
}

.product .availability {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

footer {
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 560px) {
  .intro {
    margin-top: 4rem;
  }

  .shelf {
    margin-top: 4rem;
  }

  .shelf + .shelf {
    margin-top: 3rem;
  }

  .product {
    padding: 2rem 0;
  }

  .product .mark {
    width: 56px;
    height: 56px;
  }
}
