:root {
  --ink: #0e0c0a;
  --ink-2: #1a1612;
  --paper: #e8e2d4;
  --snow: #f6f1e7;
  --gold: #c4a36a;
  --gold-2: #e4d2a8;
  --ember: #a33b2b;
  --ash: #9a9286;
  --line: #2c271f;
  --line-paper: #d4ccbc;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--ember);
  color: var(--snow);
}

.skip:focus {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker.ember {
  color: var(--ember);
}

.serif {
  font-family: var(--serif);
}

.rule {
  height: 2px;
  width: 2.75rem;
  background: var(--ember);
}

.ash {
  color: var(--ash);
}

section[id] {
  scroll-margin-top: 4.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  backdrop-filter: blur(12px);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img,
.logo-lg {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  background: var(--snow);
  border-radius: 2px;
}

.logo-lg {
  width: 4rem;
  height: 4rem;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.desk-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desk-nav a {
  font-size: 0.875rem;
  color: var(--ash);
}

.desk-nav a:hover {
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  color: var(--ink);
}

.btn-line {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-line:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn:active {
  transform: scale(0.96);
}

.desk-cta {
  display: none;
  height: 2.75rem;
}

.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
}

.menu-btn svg,
.social a svg,
.arrow {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  height: 2.75rem;
  font-size: 1rem;
}

.hero,
.book,
.series,
.press,
.record,
.close,
.author,
.read,
.dedication {
  padding-block: 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.display {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-size: 3.75rem;
  line-height: 0.95;
  font-weight: 500;
  color: var(--snow);
}

.display span {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
  color: var(--gold-2);
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
}

.byline {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.fine {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ash);
}

.cover-wrap {
  position: relative;
  width: min(100%, 24rem);
  margin-inline: auto;
}

.cover-offset {
  position: absolute;
  top: 1rem;
  right: 0;
  bottom: 0;
  left: 1rem;
  border: 1px solid var(--gold);
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.cover-cap {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

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

.dedication {
  background: var(--snow);
  color: var(--ink);
  text-align: center;
}

.dedication blockquote {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}

.book,
.series,
.press,
.close {
  border-bottom: 1px solid var(--line);
}

.close {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.record {
  background: var(--ink-2);
}

.hero-grid,
.split,
.series-grid,
.author-grid,
.read-grid,
.close-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.h2 {
  margin: 0.75rem 0 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1.15;
}

.deck {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.beats {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.beat {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.beat h3,
.panel h3,
.read h3 {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.beat p,
.note,
.panel p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ash);
}

.after {
  margin: 2.5rem 0 0;
  max-width: 40rem;
  line-height: 1.65;
  color: var(--ash);
}

.read,
.author {
  background: var(--snow);
  color: var(--ink);
}

.tabs {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

.tabs button,
.vols button {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-paper);
  padding: 0.75rem 0;
  text-align: left;
  cursor: pointer;
}

.vols button {
  border-top-color: var(--line);
  color: var(--ash);
  justify-content: flex-start;
}

.tabs button {
  height: 3rem;
  align-items: center;
  font-size: 0.875rem;
}

.tabs button.is-on {
  color: var(--ember);
}

.tabs .state {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.piece p {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
}

.drop::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.4rem;
  line-height: 0.78;
  padding: 0.15rem 0.45rem 0 0;
  color: var(--ember);
  font-weight: 620;
}

.note {
  border-top: 1px solid var(--line-paper);
  padding-top: 1rem;
}

.series-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.series-head p {
  margin: 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ash);
}

.series-grid {
  margin-top: 2.5rem;
}

.vols {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.vol-n {
  width: 2rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--gold);
}

.vol-title {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.vol-status {
  display: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vols button.is-on {
  color: var(--snow);
}

.panel {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 1.5rem;
}

.panel h3 {
  font-size: 1.875rem;
  color: var(--paper);
}

.panel .body {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
}

.status {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}

.panel .btn,
.read .btn {
  margin-top: 2rem;
}

.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.caption {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.bio h2 {
  margin: 0.75rem 0 0;
}

.aka {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.bio p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.links a {
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 4px;
}

.press-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.press-list a {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.press-list li:first-child a {
  border-top: 0;
}

.press-list a:hover .press-title {
  color: var(--gold-2);
}

.press-meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.press-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

.press-list .arrow {
  display: none;
  color: var(--ash);
}

.frames {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.frames .wide {
  grid-column: span 2;
}

.frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.frame-wide {
  aspect-ratio: 16 / 10;
}

.frames figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ash);
}

.close-cover {
  width: min(100%, 20rem);
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 6rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-lockup p {
  margin: 0;
}

.brand-lockup .name {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social a {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.legal {
  max-width: 28rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ash);
}

.buybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
}

.buybar p {
  margin: 0;
}

.buybar .title {
  font-family: var(--serif);
  font-size: 0.875rem;
}

.buybar .price {
  font-size: 0.75rem;
  color: var(--ash);
}

.buybar .btn {
  height: 2.75rem;
}

.grain {
  position: relative;
}

.grain::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: rise 700ms cubic-bezier(0.2, 0, 0, 1) both;
}

.d2 { animation-delay: 90ms; }
.d3 { animation-delay: 180ms; }
.d4 { animation-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 640px) {
  .cta-row,
  .close .cta-row {
    flex-direction: row;
  }

  .press-list a {
    grid-template-columns: 3fr 8fr 1fr;
    align-items: baseline;
  }

  .press-list .arrow {
    display: block;
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .desk-nav,
  .desk-cta {
    display: flex;
  }

  .menu-btn,
  .mobile-nav,
  .buybar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .hero,
  .book,
  .series,
  .press,
  .record,
  .close,
  .author,
  .read,
  .dedication {
    padding-block: 6rem;
  }

  .display {
    font-size: 6rem;
  }

  .lede {
    font-size: 1.875rem;
  }

  .h2 {
    font-size: 3rem;
  }

  .close .h2 {
    font-size: 3.75rem;
  }

  .dedication blockquote {
    font-size: 2.25rem;
  }

  .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .split,
  .close-grid {
    grid-template-columns: 4fr 8fr;
  }

  .beats {
    grid-template-columns: repeat(3, 1fr);
  }

  .read-grid,
  .author-grid {
    grid-template-columns: 5fr 7fr;
  }

  .series-grid {
    grid-template-columns: 7fr 5fr;
  }

  .series-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .vol-status {
    display: inline;
  }

  .vol-title {
    font-size: 1.5rem;
  }

  .panel {
    padding: 2rem;
  }

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

  .footer-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
