/**
 * posers design tokens.
 *
 * Every colour, size, radius and timing lives here as a custom property.
 * Nothing in this file is tied to a product or a print: the chrome stays
 * fixed while the imagery changes.
 *
 * The one rule: Signal appears once per screen.
 */

:root {
	/* ---- colour: brand (from BRAND.md, do not change) ---- */
	--ink:    #0B0B0B;   /* base, backgrounds, display type. NOT pure black */
	--paper:  #F4F2ED;   /* light backgrounds, body text on Ink */
	--signal: #CCFF00;   /* acid lime. once per screen. never as text on light */
	--mute:   #6E6E6E;   /* secondary text on Paper, borders, disabled */

	/* ---- colour: derived (mixes of the four, not new brand colours) ---- */
	--paper-dim:     #A2A19E; /* Paper 65% over Ink. secondary text on Ink, 7.4:1. Mute on Ink is only 3.9:1 */
	--mute-deep:     #5A5A5A; /* Mute, darker. secondary text on raised Paper, 5.3:1. Mute there is only 4.05:1 */
	--ink-raised:    #181818; /* raised surfaces on Ink */
	--paper-raised:  #E8E5DE; /* raised surfaces on Paper */
	--line-on-paper: #D2CFC7;
	--line-on-ink:   #2B2B2B;
	--scrim:         rgb(11 11 11 / 0.62);

	/* ---- type ---- */
	/* Inter sits second in the display stack only to supply ₹, which Archivo Black does not have. */
	--font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
	--font-body:    'Inter', system-ui, sans-serif;
	--font-mono:    ui-monospace, 'SFMono-Regular', Consolas, monospace;

	/* fluid scale, 390px phone to 1440px desktop */
	--step--2: clamp(0.75rem, 0.73rem + 0.08vw, 0.8125rem);
	--step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
	--step-0:  clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
	--step-1:  clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	--step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--step-3:  clamp(2rem, 1.6rem + 1.8vw, 3rem);
	--step-4:  clamp(2.5rem, 1.8rem + 3.2vw, 4.5rem);
	--step-5:  clamp(3.25rem, 2rem + 5.5vw, 7rem);
	--step-6:  clamp(4rem, 2.2rem + 8vw, 10rem);

	--leading-display: 0.9;
	--leading-tight:   1.1;
	--leading-body:    1.55;
	--tracking-display: -0.025em;
	--tracking-label:   0.04em;

	/* ---- space ---- */
	--space-3xs: 0.25rem;
	--space-2xs: 0.5rem;
	--space-xs:  0.75rem;
	--space-s:   1rem;
	--space-m:   1.5rem;
	--space-l:   2rem;
	--space-xl:  3rem;
	--space-2xl: 4rem;
	--space-3xl: 6rem;

	--gutter:    clamp(1rem, 0.4rem + 2.5vw, 2.5rem);
	--section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);
	--container: 1440px;
	--measure:   65ch;

	/* ---- shape ---- */
	--radius-0:    0;
	--radius-s:    2px;
	--radius-pill: 999px;
	--hairline:    1px;

	/* ---- layout ---- */
	--announce-h: 34px;
	--header-h:   60px;
	--torn-h:     40px;
	--tap:        44px;
	--z-header:   50;

	/* ---- motion ---- */
	--ease:  cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur-1: 150ms;
	--dur-2: 250ms;
	--dur-3: 400ms;

	/* ---- focus ---- */
	--focus-width:  2px;
	--focus-offset: 3px;
}

@media (min-width: 768px) {
	:root {
		--torn-h: 56px;
	}
}

@media (min-width: 1024px) {
	:root {
		--header-h: 76px;
		--torn-h:   70px;
	}
}
