/* ABUNDANCE: shared design tokens for the public page and the production hub.
   One bloom in the dark, then the whole field in daylight. Editorial type, cut paper colour, paper grain. */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
:root {
  /* night (mystery) */
  --ink: #140a1c;          /* aubergine black: the dark the first bloom sits in */
  --ink-2: #24102f;
  --ink-soft: #3a2247;
  /* day (abundance) */
  --paper: #fff6e6;        /* warm cream paper */
  --paper-2: #ffeccd;
  --fuchsia: #e5127d;
  --poppy: #ff4b2b;
  --marigold: #ffb000;
  --lemon: #ffe24a;
  --leaf: #1f9d55;
  --leaf-deep: #0e5a3a;
  --iris: #3b3bf5;
  --lilac: #b79cff;
  --sky: #8fd3ff;
  /* type */
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: clamp(.82rem, .78rem + .2vw, .95rem);
  --step-0: clamp(1rem, .95rem + .3vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.1rem + .8vw, 1.7rem);
  --step-2: clamp(1.8rem, 1.4rem + 2vw, 3rem);
  --step-3: clamp(2.6rem, 1.8rem + 4.5vw, 5.5rem);
  --step-4: clamp(3.4rem, 2rem + 9vw, 10rem);
  /* shape and motion */
  --radius: 18px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-paper: 0 1px 0 rgba(20,10,28,.06), 0 18px 40px -18px rgba(20,10,28,.35);
}

/* added for the public page (Dec 5): deeper day tones that keep cream text readable, and the paper grain */
:root {
  --fuchsia-deep: #b80d63;   /* cream text on this passes 4.5:1 */
  --marigold-deep: #e89400;
  --pink: #ff8fc8;
  --cream-ink: #2a1530;      /* body text on cream and gold */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* added for the painted public page (Dec 5, later): pastel oil colours, linen and primed canvas, three rich accents.
   The tokens above keep their values (the hub uses them). */
:root {
  --linen: #e6dccb;          /* bare linen */
  --primed: #f6f0e6;         /* primed canvas */
  --primed-2: #eee5d5;
  --oil-ink: #1c1620;        /* lettering */
  --oil-ink-soft: #3a3038;
  --hairline: rgba(28,22,32,.32);
  --blush: #f1cdc3;
  --peach: #f4c6a3;
  --butter: #f2e2a2;
  --lilac: #d2c2e4;
  --powder: #c2d7eb;
  --sage: #c7d3bd;
  --cobalt: #1f4fb5;         /* rich accents: cobalt, golden yellow, coral */
  --golden: #d99a1c;
  --coral: #e4644d;
  --cobalt-text: #0f2863;    /* accent colours deep enough for text on primed canvas */
  --golden-text: #523400;
  --coral-text: #621f0e;
  --didone: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
}
