/*
 * Linen: design tokens
 * Soft, minimal shop for objects people keep: warm oat and cream surfaces, big light serif
 * headlines with tight tracking, quiet DM Sans text and a muted clay accent used sparingly.
 * The hero is an inset card with large rounded corners, a frosted pill nav floats inside it,
 * and products rest on a soft flowing ribbon.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: cream page, oat for the inset hero and quiet sections, linen for product tiles */
  --ln-cream: #fbf8f3;
  --ln-oat: #f4ede3;
  --ln-linen: #ebe1d3;
  --ln-white: #ffffff;
  --ln-line: #e4dacc;
  --ln-line-strong: #d3c6b4;

  /* Text */
  --ln-ink: #2a2522;
  --ln-soft: #756a61;
  --ln-faint: #a89c90;

  /* The one accent: clay. Prices on sale, a single highlighted word, active states */
  --ln-clay: #b0704f;
  --ln-clay-dark: #93593c;
  --ln-clay-soft: #f2dfd2;

  /* The ribbon behind products: two warm tones that fade into the oat */
  --ln-ribbon-1: #e7d2bb;
  --ln-ribbon-2: #d9bc9c;

  /* Glaze colors, only for drawing products */
  --ln-glaze-sage: #a9b49b;
  --ln-glaze-sky: #b9c6cc;
  --ln-glaze-sand: #dcc7a8;
  --ln-glaze-ink: #3b3633;

  /* Type */
  --ln-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ln-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ln-text-hero: clamp(46px, 7.2vw, 96px);
  --ln-text-h2: clamp(32px, 4.4vw, 56px);
  --ln-text-h3: 24px;
  --ln-text-lead: 19px;
  --ln-text-body: 16px;
  --ln-text-small: 14px;
  --ln-text-micro: 12px;

  --ln-tracking-hero: -.045em;
  --ln-tracking-h2: -.035em;
  --ln-tracking-caps: .14em;

  /* Shape: big soft corners on surfaces, pills on controls, hairlines, almost no shadow */
  --ln-radius-sm: 10px;
  --ln-radius: 18px;
  --ln-radius-lg: 28px;
  --ln-radius-pill: 999px;
  --ln-border: 1px solid var(--ln-line);
  --ln-shadow: 0 1px 2px rgba(42, 37, 34, .04), 0 10px 30px rgba(90, 60, 30, .06);
  --ln-shadow-float: 0 18px 40px rgba(90, 60, 30, .14);
  --ln-blur: saturate(140%) blur(14px);

  /* Space: generous. The inset gap is the margin around the hero card */
  --ln-inset: clamp(10px, 1.8vw, 24px);
  --ln-section: clamp(80px, 11vw, 140px);
  --ln-container: 1200px;
  --ln-narrow: 720px;

  /* Motion */
  --ln-ease: cubic-bezier(.25, .8, .25, 1);
}
