/*
 * Design tokens — the one place every colour, radius, shadow and gradient is defined.
 * Values come from the app: spincity-ui/src/assets/scss/spincity-variables.scss and
 * design-lab/final-cards/final-cards.component.scss. The colours are also registered in theme.json (editor
 * palette) — change both together.
 */
:root {
	/* colour */
	--sc-page: #212121;                      /* app: $spincity-dark */
	--sc-surface: #272727;                   /* app: $surface-1 */
	--sc-surface-raised: #2f2f2f;            /* app: $surface-2 */
	--sc-text: #eeeeee;                      /* app: $spincity-white */
	--sc-text-muted: rgba(238, 238, 238, 0.7);   /* app: $light-secondary-text */
	--sc-hairline: rgba(238, 238, 238, 0.12);    /* app: $light-dividers */
	--sc-primary: #007cc2;                   /* app: $spincity-primary */
	--sc-primary-dark: #0059a9;              /* app: $spincity-dark-blue */
	--sc-accent: #6cb5e4;                    /* app: $spincity-light-blue */
	--sc-gray: #777777;                      /* app: $spincity-light-gray */
	--sc-warn: #be3731;                      /* app: $spincity-warn */
	--sc-ok: #5cc46a;                        /* app: $ok-text */
	--sc-ok-bg: rgba(76, 175, 80, 0.16);     /* app: $ok-bg */
	--sc-pending: #d9c84a;                   /* app: $pend-text */
	--sc-pending-bg: rgba(217, 200, 74, 0.15);   /* app: $pend-bg */
	--sc-amber: #fbbf24;                     /* app: $amber-text */
	--sc-amber-bg: rgba(245, 158, 11, 0.16); /* app: $amber-bg */

	/* gradients */
	--sc-gradient-primary: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
	--sc-gradient-header: linear-gradient(90deg, rgba(0, 124, 194, 0.18), rgba(0, 124, 194, 0.04));
	--sc-scrim: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 70%);
	--sc-scrim-tall: linear-gradient(to top, rgba(0, 0, 0, 0.9) 5%, rgba(0, 0, 0, 0.35) 45%, transparent 78%);   /* app: .ev-scrim--tall (card-showcase I) — photo + title + description */
	--sc-scrim-hero: linear-gradient(100deg, rgba(33, 33, 33, 0.92) 0%, rgba(33, 33, 33, 0.6) 45%, rgba(33, 33, 33, 0.1) 80%),
		linear-gradient(to top, rgba(33, 33, 33, 0.7) 0%, transparent 40%);   /* site-only: hero photo darkened toward the text side, in the page colour (--sc-page) */
	/* Hero scrim alternatives: paste one value over --sc-scrim-hero in the inspector (or swap it in here).
	   A  even dim, no direction:
	   --sc-scrim-hero: linear-gradient(rgba(33, 33, 33, 0.55), rgba(33, 33, 33, 0.55));
	   B  strong left, text column only, video clear on the right:
	   --sc-scrim-hero: linear-gradient(90deg, rgba(33, 33, 33, 0.95) 0%, rgba(33, 33, 33, 0.8) 35%, transparent 65%);
	   C  bottom-up, text sits low, top of the video stays bright:
	   --sc-scrim-hero: linear-gradient(to top, rgba(33, 33, 33, 0.95) 0%, rgba(33, 33, 33, 0.6) 40%, rgba(33, 33, 33, 0.15) 75%);
	   D  vignette: dark edges and bottom, lighter centre:
	   --sc-scrim-hero: radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(33, 33, 33, 0.85) 100%), linear-gradient(to top, rgba(33, 33, 33, 0.8) 0%, transparent 35%);
	   E  near-black with a faint brand-blue tint on the left (keeps a hint of colour):
	   --sc-scrim-hero: linear-gradient(100deg, rgba(10, 24, 36, 0.94) 0%, rgba(14, 40, 60, 0.6) 45%, transparent 80%), linear-gradient(to top, rgba(33, 33, 33, 0.7) 0%, transparent 40%);
	*/
	--sc-gradient-band: linear-gradient(135deg, rgba(0, 124, 194, 0.28), rgba(0, 89, 169, 0.1));   /* site-only: CTA band */

	/* shape and depth */
	--sc-radius: 16px;                       /* app: $border-radius-default */
	--sc-radius-glass: 14px;                 /* app: .ev-glass */
	--sc-radius-pill: 999px;
	--sc-shadow-card: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03);  /* app: .fc-card */
	--sc-glass-bg: rgba(20, 20, 20, 0.45);
	--sc-glass-border: 1px solid rgba(255, 255, 255, 0.14);
	--sc-glass-blur: blur(14px) saturate(140%);

	/* motion */
	--sc-transition: 0.3s ease;              /* app: $transition-default */

	/* site-only: roomier than the dense app */
	--sc-card-pad: 1.5rem;
	--sc-gutter: clamp(1rem, 4vw, 2rem);            /* side space on small screens */
	--sc-section-gap: clamp(2.5rem, 6vw, 4.5rem);   /* vertical space between page sections */
	--sc-content: 820px;                            /* = theme.json contentSize */
	--sc-wide: 1200px;                              /* = theme.json wideSize */
}
