/* Ailyse Designs -- design tokens, library release r2 (2026-10-03, ws6r5: CSS push pins, paper stickers, no studio sketch).
   Every colour, type, spacing, element size and asset URL the components use lives here, so a frozen
   library release can ship this file on its own. Light only. Contrast pairs in README. */

@font-face { font-family: "Young Serif"; src: url(../fonts/young-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/nunito-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(../fonts/nunito-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* colour: grounds */
  --c-paper: #f8f3ea;        /* page ground */
  --c-kraft: #ece0cb;        /* kraft bands, footer */
  --c-card: #fffdf9;         /* index cards, form, header bar */
  --c-white: #ffffff;        /* photo mat */
  --c-line: #e2d5bf;         /* hairlines, table rules */
  /* colour: ink */
  --c-ink: #2b2622;          /* charcoal, matches the logo strokes */
  --c-muted: #5c4f43;
  /* colour: brand accents */
  --c-rose: #9e3d56;         /* links, buttons, sketch tint */
  --c-rose-dark: #7a2c41;    /* hover / pressed */
  --c-blush: #f7d6d6;
  --c-butter: #f6e3a8;
  --c-mint: #cfe6d9;
  --c-sage: #cfe6d9;         /* alias of mint for the library */
  --c-index-rule: #c96a7e;   /* CSS index-card header rule */
  /* colour: measured from the real kit photos (used as the text ground on them) */
  --c-postit-blush: #f5b2bb;
  --c-postit-butter: #f7dd8f;
  --c-postit-sage: #bcbea2;
  --c-indexcard: #f1ede6;    /* index-card-a after the warm filter */
  --c-polaroid: #efece6;     /* polaroid strip after the warm filter */
  /* colour: corkboard */
  --c-cork: #c49a6c;         /* fallback under the cork tile */
  --c-cork-veil: rgba(248, 243, 234, .18); /* calms the tile a touch (R4: .14 -> .18) */
  --c-wood-1: #e9cfa3;       /* light pine frame, highlight */
  --c-wood-2: #cfa772;       /* light pine frame, mid */
  --c-wood-3: #a97d4b;       /* light pine frame, grain shadow */

  /* type */
  --f-serif: "Young Serif", Georgia, "Times New Roman", serif;
  --f-sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --t-body: 17px;
  --t-small: 15px;
  --t-h1: clamp(30px, 6.4vw, 46px);
  --t-h2: clamp(25px, 4.6vw, 34px);
  --t-h3: 20px;
  --t-hand: 25px;
  --lh-body: 1.65;

  /* spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --gutter: 16px;
  --wrap: 1180px;
  --wrap-narrow: 1040px;

  /* element sizes (kit in img/kit/, sizes from kit.json) */
  --el-polaroid-ratio: 346 / 396;        /* polaroid-straight */
  --el-polaroid-win-l: 7.51%;            /* transparent photo window, kit.json window_pct */
  --el-polaroid-win-t: 7.58%;
  --el-polaroid-win-w: 84.98%;           /* 92.49 - 7.51 */
  --el-polaroid-win-h: 70.96%;           /* 78.54 - 7.58 */
  --el-pin: 11px;                        /* r2: CSS push-pin HEAD seen from the front (no stem to fake) -- shop card */
  --el-pin-lg: 14px;                     /* hero index card / polaroids / spec card (r5b: smaller, flatter, higher) */
  --el-sticker: 96px;                    /* paper cut-out doodle on the board */
  --el-postit: 112px;                    /* section-label post-it */
  --el-postit-sm: 92px;
  --el-icon: 56px;                       /* path-card sketch icon */
  --el-stitch-h: 9px;                    /* stitch line under the header */
  --el-frame: 14px;                      /* corkboard pine frame */
  --el-frame-sm: 8px;
  --el-divider-w: 200px;                 /* stitched divider under section headings */
    --el-tap: 44px;                        /* minimum tap target */

  /* assets */
  /* R4 cork: one generated board PER PANEL SHAPE (no tiling, no seams), shown with background-size: cover.
     Panel inner sizes measured (playwright): hero 1120x695 @>=1200, 840x860 @900, 708x1223 @768, 390x1160 @390 (r2 board: 6 photos + stickers);
     strip 1132x311 @>=1200, 852x757 @900, 720x445 @768, 390x326 @390. Only the matching file is fetched. */
  --img-cork-hero: url(../img/kit/tex/cork-hero-phone.webp);   /* 588x1740  (<640; r2 regen at 0.34) */
  --img-cork-strip: url(../img/kit/tex/cork-square.webp);      /* 1272x1284 (<640) */
  --img-polaroid: url(../img/kit/real/polaroid-straight.webp);
  --img-indexcard: url(../img/kit/real/index-card-a.webp);
  --img-postit-blush: url(../img/kit/real/postit-blush.webp);
  --img-postit-butter: url(../img/kit/real/postit-butter.webp);
  --img-postit-sage: url(../img/kit/real/postit-sage.webp);
  --img-washi-hearts: url(../img/kit/real/washi-hearts.webp);
  /* r2: more washi (OpenArt GPT Image 2.5 cut-out sheet, chroma-keyed) */
  --img-washi-polka: url(../img/kit/real/washi-polka.webp);
  --img-washi-candy-stripe: url(../img/kit/real/washi-candy-stripe.webp);
  --img-washi-cherry: url(../img/kit/real/washi-cherry.webp);
  --img-washi-daisy: url(../img/kit/real/washi-daisy.webp);
  --img-washi-stars: url(../img/kit/real/washi-stars.webp);
  --img-washi-leopard: url(../img/kit/real/washi-leopard.webp);
  /* r2 (ws6r5 R5): gingham + rainbow back as OPAQUE tape (inside-strip semi-alpha 0.0004 / 0) */
  --img-washi-gingham-mint: url(../img/kit/real/washi-gingham-mint.webp);
  --img-washi-rainbow: url(../img/kit/real/washi-rainbow.webp);
  /* r2: pin colours (CSS heads replace the generated pin/tack photos, whose stems never went through the paper) */
  --c-pin-rose: #c2506d; --c-pin-berry: #8e2a4a; --c-pin-blush: #dc8494; --c-pin-plum: #6e4a78; --c-pin-sage: #6f8f74; /* r5c: no white or near-white pins (HRB) */ --c-pin-mustard: #d2a33a; --c-pin-brass: #c9a24a;
  --c-tape: rgba(246, 238, 220, .78);    /* sticker tape strip */
  --sk-heart: url(../img/kit/sketch/heart.webp);
  --sk-tag: url(../img/kit/sketch/tag.webp);
  --sk-scissors: url(../img/kit/sketch/scissors.webp);
  --sk-arrow-curve: url(../img/kit/sketch/arrow-curve.webp);
  --sk-stitch: url(../img/kit/sketch/stitch-line.webp);
  --sk-sparkle: url(../img/kit/sketch/sparkle.webp);
  /* sketch set 2 (R4: a few, by HRB ruling -- restraint, not wallpaper) */
  --sk-divider: url(../img/kit/sketch2/divider-stitch.webp);
  --sk-bag: url(../img/kit/sketch2/bag-crossbody.webp);
  --sk-pincushion: url(../img/kit/sketch2/pincushion.webp);

  /* surfaces */
  --r-1: 3px; --r-2: 6px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(43, 38, 34, .12), 0 3px 10px rgba(43, 38, 34, .08);
  --sh-2: 0 1px 2px rgba(43, 38, 34, .16), 0 10px 24px rgba(43, 38, 34, .12);
  --ds-real: drop-shadow(0 2px 2px rgba(43, 38, 34, .28)) drop-shadow(0 6px 8px rgba(43, 38, 34, .16)); /* kit cut-outs carry no shadow */
  --ds-pin: 0 1px 1.5px rgba(43, 38, 34, .32); /* r2: one soft contact shadow for the flat CSS pin head */
  --ds-sticker: drop-shadow(0 1px 1px rgba(43, 38, 34, .35)) drop-shadow(0 4px 6px rgba(43, 38, 34, .18));
  --warm: sepia(.14) saturate(1.15) brightness(1.03); /* takes the cool cast off the white kit paper */
  --bar-h: 0px;
}
@media (min-width: 640px) { :root { --img-cork-hero: url(../img/kit/tex/cork-tall.webp); --img-cork-strip: url(../img/kit/tex/cork-hero-desk.webp); } }
@media (min-width: 900px) { :root { --img-cork-hero: url(../img/kit/tex/cork-square.webp); --img-cork-strip: url(../img/kit/tex/cork-square.webp); } }
@media (min-width: 1200px) { :root { --img-cork-hero: url(../img/kit/tex/cork-hero-desk.webp); --img-cork-strip: url(../img/kit/tex/cork-strip-desk.webp); } }
