/* The Cozy Rose Studio — design tokens. Single source of truth for every piece. */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600&family=Jost:wght@400;500&family=Rosarivo:ital@0;1&family=Sacramento&display=swap");

:root {
  /* Color */
  --cream: #FAF4EC;        /* page background */
  --linen: #F3E9DD;        /* cards, alternate bands */
  --blush: #EBC8C4;        /* main brand color */
  --blush-soft: #F6E3E0;   /* tints, hovers */
  --rose: #B4636B;         /* accent, buttons, links */
  --rose-deep: #8E4650;    /* button hover, small text on blush */
  --sage: #A9B48E;         /* secondary, from her leaf fabric */
  --sage-deep: #6F7B56;    /* sage text */
  --ink: #2E2A28;          /* text and line art */
  --ink-soft: #6B625D;     /* secondary text */
  --thread: #FFFFFF;       /* stitch lines on color */

  /* Type */
  --font-script: "Sacramento", cursive;                 /* logo wordmark only */
  --font-display: "Rosarivo", "Georgia", serif;         /* headings */
  --font-body: "Figtree", system-ui, sans-serif;        /* body */
  --font-label: "Jost", system-ui, sans-serif;          /* small woven-label text, lowercase + tracked */

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3.25rem;
  --text-4xl: 4.5rem;

  /* Space (8px base) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-6: 3rem; --s-8: 4rem; --s-12: 6rem; --s-16: 8rem;

  /* Shape */
  --radius-sm: 4px;     /* woven labels: nearly square, like the sewn tag */
  --radius-md: 14px;    /* cards: soft, padded */
  --radius-pill: 999px;
  --stitch: 1.5px dashed var(--ink);          /* running stitch on light */
  --stitch-light: 1.5px dashed var(--thread); /* running stitch on color */
  --shadow-soft: 0 10px 30px -18px rgba(46, 42, 40, 0.35);
}

/* Signature pieces every surface can reuse */

/* Sewn-in label: the brand's signature. Small lowercase tracked text inside a stitched tag. */
.label-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--ink);
  background: var(--thread);
  padding: 0.45em 1em 0.5em;
  border-radius: var(--radius-sm);
  outline: var(--stitch);
  outline-offset: -5px;
  padding-inline: 1.4em;
  padding-block: 0.9em;
}

/* Quilted diamond stitch background (thread lines on any color) */
.quilted {
  background-image:
    repeating-linear-gradient(45deg, transparent 0 46px, rgba(255,255,255,0.55) 46px 47.5px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgba(255,255,255,0.55) 46px 47.5px);
}

/* Pinked edge (pinking-shear zigzag) for the bottom of a band. Set --pink-color to the band color. */
.pinked-bottom {
  position: relative;
}
.pinked-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 10px;
  background:
    linear-gradient(135deg, var(--pink-color, var(--blush)) 50%, transparent 50%) 0 0 / 20px 10px repeat-x,
    linear-gradient(225deg, var(--pink-color, var(--blush)) 50%, transparent 50%) 0 0 / 20px 10px repeat-x;
}
