/*
 * Laurel Shelf: design tokens
 * A warm public-library style. A slate header band with capital links split by bullets,
 * a heavy geometric sans headline with a hard drop shadow set over a drawn shelf of spines,
 * then a bone-colored page where classic book typography (old-style serif, small capitals,
 * justified text, fleurons) sits on stacked page cards. Laurel wreaths mark honors.
 * Brick red, moss and ochre come from cloth bindings; slate does the structure.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;700;800&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: slate for the header and footer bands, bone for the page, paper for cards */
  --ls-slate: #2e3a46;
  --ls-slate-deep: #222b35;
  --ls-slate-soft: #4a5866;
  --ls-bone: #ece7dd;
  --ls-paper: #f8f5ef;
  --ls-white: #ffffff;
  --ls-line: #d7d0c2;
  --ls-line-strong: #b9b0a0;

  /* Text */
  --ls-ink: #1d242b;
  --ls-soft: #5c615f;
  --ls-faint: #8f918a;
  --ls-on-slate: #f3efe7;
  --ls-on-slate-soft: #b7c0c8;

  /* Cloth bindings: the accents. Brick leads, moss and ochre support */
  --ls-brick: #a8402c;
  --ls-brick-deep: #8a3221;
  --ls-brick-soft: #f1dcd4;
  --ls-moss: #4e7348;
  --ls-moss-soft: #dde7d6;
  --ls-ochre: #c3933a;
  --ls-ochre-soft: #f3e6c8;

  /* Spine colors, only for the drawn shelf and cover art */
  --ls-spine-1: #a8402c;
  --ls-spine-2: #d9c9a8;
  --ls-spine-3: #4e7348;
  --ls-spine-4: #7a5a3c;
  --ls-spine-5: #c3933a;
  --ls-spine-6: #3f5468;
  --ls-spine-7: #e8dfcd;
  --ls-shelf-wood: #5a4030;

  /* Type */
  --ls-display: "League Spartan", "Futura", "Century Gothic", system-ui, sans-serif;
  --ls-serif: "EB Garamond", "Garamond", "Iowan Old Style", Georgia, serif;

  --ls-text-hero: clamp(40px, 6.4vw, 88px);
  --ls-text-h2: clamp(30px, 3.8vw, 50px);
  --ls-text-h3: 23px;
  --ls-text-lede: clamp(20px, 1.9vw, 24px);
  --ls-text-body: 19px;
  --ls-text-small: 16px;
  --ls-text-caps: 15px;
  --ls-text-micro: 12px;

  --ls-tracking-caps: .06em;
  --ls-tracking-smcp: .08em;
  --ls-leading-display: .98;

  /* Shape: small radii, hairlines, one hard shadow for headlines and a soft lift for pages */
  --ls-radius: 4px;
  --ls-radius-lg: 10px;
  --ls-radius-device: 18px;
  --ls-hairline: 1px solid var(--ls-line);
  --ls-rule: 2px solid var(--ls-ink);
  --ls-text-shadow: 0 3px 0 rgba(29, 36, 43, .55), 0 6px 18px rgba(29, 36, 43, .35);
  --ls-shadow-page: 0 1px 0 rgba(29, 36, 43, .06), 0 14px 30px -12px rgba(29, 36, 43, .32);
  --ls-shadow-btn: 0 3px 0 var(--ls-brick-deep);

  /* Space */
  --ls-gutter: clamp(18px, 3vw, 40px);
  --ls-section: clamp(64px, 9vw, 120px);
  --ls-container: 1200px;
  --ls-narrow: 660px;

  /* Motion */
  --ls-ease: cubic-bezier(.25, .7, .3, 1);
  --ls-speed: .25s;
}
