/* Kapitan's Daughters — design tokens
   Palette sampled directly from InterestAndPrinciple_ebook_cover_1600x2560.jpg */
:root {
  /* Core — from the cover */
  --ink:        #242B45;  /* the cover navy: stripes, spine, author band */
  --cream:      #FAF7F0;  /* the cover field */
  --cream-warm: #FEFCF4;  /* highlight cream, page top */

  /* Extensions — derived, for depth only. Never introduce a new hue. */
  --ink-soft:   #3D4560;  /* secondary text on cream */
  --ink-faint:  #5F6478;  /* captions, source lines; clears WCAG AA on both grounds */
  --rule:       #DCD5C6;  /* hairlines on cream */
  --parchment:  #F5EEDE;  /* the map ground */
  --sepia:      #8A7350;  /* engraved map linework */
  --sepia-deep: #5C4A2E;  /* map labels, coastline */

  /* Type */
  --display: "Cormorant Garamond", "Optima", "Palatino", Georgia, serif;
  --body:    "EB Garamond", "Iowan Old Style", Georgia, serif;

  --track-display: 0.18em;  /* the cover's generous cap tracking */
  --track-eyebrow: 0.34em;

  /* Rhythm */
  --measure: 34rem;         /* max reading width */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section: clamp(4rem, 10vw, 9rem);
}

/* The Art Deco pinstripe. Header bands and section dividers only — never a fill. */
.stripe {
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink) 0 calc(var(--stripe-w, 22px) * 0.62),
    transparent calc(var(--stripe-w, 22px) * 0.62) var(--stripe-w, 22px)
  );
}
