:root {
  --night: #081117;
  --night-soft: #111d23;
  --paper: #eee9df;
  --ink: #141a1c;
  --steel: #7c8b8e;
  --mist: #bdc7c7;
  --orange: #9c4c0f;
  --line-dark: rgba(238, 233, 223, .18);
  --line-light: rgba(20, 26, 28, .18);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 12%, rgba(124, 175, 189, .13), transparent 24rem),
    linear-gradient(180deg, #050b0f 0 38rem, var(--paper) 38rem 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.masthead {
  position: relative;
  min-height: 38rem;
  padding: clamp(3.5rem, 7vw, 7rem) max(1.25rem, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.masthead::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -3rem;
  width: min(64vw, 48rem);
  height: 23rem;
  opacity: .18;
  background:
    linear-gradient(164deg, transparent 0 47%, #dce4e1 48% 52%, transparent 53%),
    linear-gradient(188deg, transparent 0 58%, #8ca0a1 59% 64%, transparent 65%);
  transform: rotate(-4deg);
  pointer-events: none;
}

.masthead__rule {
  width: 3.5rem;
  height: .35rem;
  margin-bottom: 2.1rem;
  background: var(--orange);
}

.eyebrow,
.section-mark,
.kicker,
.meta,
.edition,
footer {
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #9cafb2;
  font-size: .73rem;
  font-weight: 800;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .79;
}

.dek {
  margin: 2rem 0 0;
  color: #d2d9d8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
}

.edition {
  position: absolute;
  right: max(1.25rem, calc((100vw - 1180px) / 2));
  top: clamp(4rem, 8vw, 7.5rem);
  display: grid;
  gap: .35rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-dark);
  color: #7f9194;
  font-size: .64rem;
}

.edition strong { color: var(--paper); font-size: .8rem; }

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--ink);
}

.intro {
  display: grid;
  grid-template-columns: minmax(12rem, .7fr) minmax(18rem, 1.45fr) minmax(16rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line-light);
}

.section-mark {
  margin: .45rem 0 0;
  color: #526063;
  font-size: .66rem;
  font-weight: 800;
}

.intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.intro > p:last-child {
  margin: .3rem 0 0;
  color: #445053;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

.chapters { padding: clamp(3.5rem, 7vw, 6.5rem) 0 7rem; }

.chapter-card {
  display: grid;
  grid-template-columns: minmax(17rem, .82fr) minmax(18rem, 1.18fr);
  gap: clamp(2rem, 7vw, 6.5rem);
  align-items: center;
}

.chapter-card + .chapter-card {
  margin-top: clamp(5rem, 10vw, 10rem);
}

.chapter-card--two .cover,
.chapter-card--four .cover,
.chapter-card--six .cover { order: 2; }
.chapter-card--two .chapter-card__body,
.chapter-card--four .chapter-card__body,
.chapter-card--six .chapter-card__body { order: 1; }

.cover {
  position: relative;
  display: block;
  max-width: 29rem;
  padding: .7rem;
  background: #111719;
  box-shadow: 1.3rem 1.3rem 0 rgba(25, 35, 38, .11), 0 2rem 4rem rgba(9, 17, 22, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cover:hover,
.cover:focus-visible {
  transform: translateY(-.35rem);
  box-shadow: 1.3rem 1.65rem 0 rgba(200, 120, 45, .2), 0 2.2rem 4.5rem rgba(9, 17, 22, .25);
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  background: #d5d4cf;
}

.cover__number {
  position: absolute;
  left: -.9rem;
  bottom: 1.4rem;
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  color: white;
  background: var(--orange);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.kicker {
  display: flex;
  gap: .8rem;
  margin: 0 0 1rem;
  color: #526063;
  font-size: .67rem;
  font-weight: 900;
}

.kicker span + span {
  padding-left: .8rem;
  border-left: 1px solid var(--line-light);
  color: var(--orange);
}

.chapter-card h3 {
  margin: 0 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
}

.chapter-card__body > p:not(.kicker) {
  max-width: 37rem;
  margin: 0;
  color: #445053;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 1.75rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: #526063;
  font-size: .64rem;
  font-weight: 800;
  list-style: none;
}

.read-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  padding: .85rem 1rem;
  color: var(--paper);
  background: var(--night-soft);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.read-link:hover,
.read-link:focus-visible { background: var(--orange); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1rem, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line-dark);
  color: #829194;
  background: var(--night);
  font-size: .61rem;
  font-weight: 700;
}

footer p { margin: 0; }

@media (max-width: 800px) {
  body { background: linear-gradient(180deg, #050b0f 0 35rem, var(--paper) 35rem 100%); }
  .masthead { min-height: 35rem; }
  .edition { position: static; margin-top: 3rem; }
  .intro { grid-template-columns: 1fr; gap: 1.25rem; }
  .chapter-card { grid-template-columns: 1fr; }
  .chapter-card--two .cover,
  .chapter-card--two .chapter-card__body,
  .chapter-card--four .cover,
  .chapter-card--four .chapter-card__body,
  .chapter-card--six .cover,
  .chapter-card--six .chapter-card__body { order: initial; }
  .cover { width: min(100%, 28rem); margin: 0 auto; }
}

@media (max-width: 520px) {
  .masthead { padding-left: 1.15rem; padding-right: 1.15rem; }
  h1 { font-size: clamp(3.6rem, 22vw, 6rem); }
  main { width: min(100% - 1.5rem, 1180px); }
  .cover__number { left: .5rem; }
  .chapter-card h3 { font-size: 3.5rem; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .cover { transition: none; }
}
