/* =========================================================================
   The Faerie-Court Verdicts — the three Bracken-of-the-Index cases gathered
   as one volume.

   Layered on assets/styles.css, which supplies the palette, type scale and
   the shared nav/footer. Everything here is scoped to the volume page, so
   nothing in this file can reach short-stories.html.

   The Vasilisa volume wears assets/vasilisa.css: same bones, but that file
   also carries the bilingual switch this volume has no use for, and none of
   the numbered section headings the notary files his verdicts under.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Title page
   ------------------------------------------------------------------------- */
.vol-title {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-10) var(--s-6) var(--s-9);
  text-align: center;
}
/* The notary's seal: split white and black, pressed together at the seam —
   both Courts have signed every one of these petitions. */
.vol-title__seal {
  display: flex;
  justify-content: center;
  color: var(--amber);
  filter: drop-shadow(0 0 12px var(--amber-glow));
  margin: 0 0 var(--s-6);
}
.vol-title__seal svg { width: 40px; height: 40px; display: block; }
.vol-title__overline {
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: var(--s-5);
}
.vol-title__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto var(--s-6);
  max-width: 16em;
}
.vol-title__rule {
  width: 84px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto var(--s-6);
}
.vol-title__lede {
  font-family: var(--body);
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 34rem;
  margin: 0 auto;
  font-style: italic;
}

/* -------------------------------------------------------------------------
   Contents
   ------------------------------------------------------------------------- */
.vol-contents {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--s-8) var(--s-6) var(--s-9);
  border-top: 1px solid var(--rule);
}
.vol-contents__title {
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-fade);
  font-weight: 500;
  text-align: center;
  margin: 0 0 var(--s-6);
}
.vol-contents__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vol-contents__list li + li { border-top: 1px solid var(--rule); }
.vol-contents__link {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-2);
  transition: background var(--dur-fast) var(--ease),
              padding-left var(--dur-fast) var(--ease);
}
.vol-contents__link:hover,
.vol-contents__link:focus-visible {
  background: var(--paper-2);
  padding-left: var(--s-4);
  outline: none;
}
.vol-contents__num {
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  color: var(--amber);
  font-weight: 500;
}
.vol-contents__name {
  font-family: var(--display);
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--ink);
}
/* The verdict itself, set small beside the name — these are cases, and a
   reader coming to the volume is allowed to know how each one landed. */
.vol-contents__verdict {
  display: block;
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-top: var(--s-2);
}

/* -------------------------------------------------------------------------
   The verdicts
   ------------------------------------------------------------------------- */
.vol-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6) var(--s-9);
}
.tale {
  padding-top: var(--s-9);
  border-top: 2px solid var(--rule);
  margin-top: var(--s-9);
}
.tale:first-child { margin-top: 0; }
/* Scroll-margin keeps a linked case clear of the sticky nav. */
.tale, .vol-contents { scroll-margin-top: 5rem; }

.tale__art {
  max-width: 340px;
  margin: 0 auto var(--s-7);
}
.tale__art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-3);
  border-radius: 2px;
  filter: contrast(1.02) saturate(0.92);
  box-shadow: 0 18px 35px -22px rgba(26, 29, 34, 0.4);
}
.tale__head {
  max-width: var(--reading);
  margin: 0 auto var(--s-7);
  text-align: center;
}
.tale__num {
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.tale__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.tale__body {
  max-width: var(--reading);
  margin: 0 auto;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.tale__body p {
  margin: 0 0 var(--s-4);
  text-align: left;
  hyphens: auto;
}
.tale__body em { font-style: italic; color: var(--ink); }
.tale__body strong { font-weight: 600; color: var(--ink); }

/* An opening capital for each case, as a printed volume would set it. */
.tale__body > p:first-child::first-letter {
  font-family: var(--display);
  font-size: 3.4em;
  float: left;
  line-height: 0.88;
  padding: 0.04em 0.08em 0 0;
  color: var(--ink);
  font-weight: 400;
}

/* The notary files under numbered heads; they read as docket entries, not
   as chapter titles. */
.tale__body h3 {
  font-family: var(--ui);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-fade);
  font-weight: 500;
  margin: var(--s-7) 0 var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

/* Foot of the volume: where the conversation about each case lives. */
.vol-end {
  max-width: var(--reading);
  margin: 0 auto;
  padding: var(--s-9) var(--s-6);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.vol-end__text {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-mute);
  margin: 0 0 var(--s-4);
}

@media (max-width: 720px) {
  .vol-title { padding: var(--s-8) var(--s-5) var(--s-7); }
  .vol-contents { padding: var(--s-7) var(--s-5) var(--s-8); }
  .vol-body { padding: 0 var(--s-5) var(--s-8); }
  .tale { padding-top: var(--s-8); margin-top: var(--s-8); }
  .tale__art { max-width: 260px; }
  .vol-contents__link { grid-template-columns: 2.6rem 1fr; gap: var(--s-3); }
}
