/* ==========================================================================
   Design tokens — the single source of truth for the whole site.
   Change a value here and it updates everywhere.
   ========================================================================== */

:root {

	/* --- Colour ------------------------------------------------------- */
	--bs-bg:            #FAF8F5;   /* page background, warm off-white */
	--bs-surface:       #FFFFFF;   /* cards, product tiles */
	--bs-ink:           #2A2E2A;   /* body text, near-black green */
	--bs-ink-soft:      #5C625C;   /* captions, meta, secondary text */
	--bs-line:          #E5E0D8;   /* borders, dividers */

	--bs-accent:        #6B7F5E;   /* sage — links, highlights */
	--bs-accent-dark:   #55684A;   /* hover state */

	--bs-cta:           #B5654A;   /* terracotta — add to cart, buy */
	--bs-cta-dark:      #99513A;   /* hover state */
	--bs-cta-text:      #FFFFFF;

	--bs-success:       #4F7A52;
	--bs-error:         #A8452F;

	/* --- Typography --------------------------------------------------- */
	--bs-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
	                "Helvetica Neue", Arial, sans-serif;
	--bs-font-head: var(--bs-font-body);

	/* Fluid type scale — shrinks on mobile, grows on desktop, no media queries */
	--bs-text-xs:   0.8125rem;
	--bs-text-sm:   0.9375rem;
	--bs-text-base: 1rem;
	--bs-text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
	--bs-text-xl:   clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
	--bs-text-2xl:  clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
	--bs-text-3xl:  clamp(2.25rem, 1.6rem + 2.75vw, 3.5rem);

	--bs-weight-normal: 400;
	--bs-weight-medium: 500;
	--bs-weight-bold:   600;

	--bs-leading-tight: 1.15;
	--bs-leading-body:  1.65;

	--bs-tracking-tight: -0.02em;
	--bs-tracking-wide:   0.08em;

	/* --- Spacing scale ------------------------------------------------ */
	--bs-space-1:  0.25rem;
	--bs-space-2:  0.5rem;
	--bs-space-3:  0.75rem;
	--bs-space-4:  1rem;
	--bs-space-6:  1.5rem;
	--bs-space-8:  2rem;
	--bs-space-12: 3rem;
	--bs-space-16: 4rem;
	--bs-space-24: 6rem;

	/* Vertical rhythm between page sections */
	--bs-section-y: clamp(3rem, 2rem + 5vw, 6rem);

	/* --- Layout ------------------------------------------------------- */
	--bs-container:      1200px;
	--bs-container-text: 680px;  /* comfortable reading width */
	--bs-gutter:         clamp(1rem, 0.5rem + 2vw, 2rem);

	/* --- Borders & shadow --------------------------------------------- */
	--bs-radius-sm: 2px;
	--bs-radius:    4px;
	--bs-radius-lg: 8px;

	--bs-shadow-sm: 0 1px 2px rgba(42, 46, 42, 0.05);
	--bs-shadow:    0 2px 8px rgba(42, 46, 42, 0.07);
	--bs-shadow-lg: 0 8px 28px rgba(42, 46, 42, 0.10);

	/* --- Motion ------------------------------------------------------- */
	--bs-ease:      cubic-bezier(0.4, 0, 0.2, 1);
	--bs-duration:  200ms;
}

/* Respect users who've asked their OS to reduce animation. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}