/**
 * Design tokens — Musi Atchar (matches the approved Claude Design).
 * Single source of truth. Consume via var(--token).
 */

:root {
	/* ---- Colour ---- */
	--c-cream: #FAF4E8;      /* page background */
	--c-cream-2: #F2E9D6;    /* alt section bg */
	--c-surface: #FFFDF7;    /* cards */
	--c-ink: #14110C;        /* near-black text / dark sections */
	--c-ink-2: #241F17;      /* dark stripe */
	--c-ink-3: #1B1710;      /* dark stripe alt */
	--c-rust: #D64B2B;       /* primary accent / links / CTAs */
	--c-gold: #F2A93B;       /* secondary accent / highlights */
	--c-muted: #4A4234;      /* body-muted on cream */
	--c-muted-2: #6E6455;    /* mono meta */
	--c-muted-3: #8E8368;    /* faint labels */
	--c-stripe-a: #EDE2CC;   /* image-frame stripes */
	--c-stripe-b: #E4D8BE;

	/* Semantic aliases */
	--c-bg: var(--c-cream);
	--c-text: var(--c-ink);
	--c-text-muted: var(--c-muted);
	--c-brand: var(--c-rust);
	--c-link: var(--c-rust);
	--c-focus: var(--c-gold);

	/* Hairlines on cream / on dark */
	--line: rgba(20, 17, 12, 0.10);
	--line-strong: rgba(20, 17, 12, 0.16);
	--line-dark: rgba(250, 244, 232, 0.14);

	/* ---- Type ---- */
	--ff-display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
	--ff-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Fluid display sizes (clamp) — mirror the design */
	--t-hero: clamp(48px, 8.4vw, 104px);
	--t-h2-xl: clamp(44px, 9vw, 124px);
	--t-h2: clamp(38px, 5.6vw, 72px);
	--t-h2-sm: clamp(38px, 5.2vw, 66px);
	--t-h3: 22px;
	--t-lead: clamp(16px, 1.9vw, 19px);
	--t-base: 16px;
	--t-mono: 11px;

	/* ---- Radius ---- */
	--r-card: 24px;
	--r-lg: 28px;
	--r-md: 18px;
	--r-sm: 12px;
	--r-pill: 999px;

	/* ---- Shadow ---- */
	--shadow-card: 0 22px 46px rgba(20, 17, 12, 0.14);
	--shadow-soft: 0 12px 28px rgba(214, 75, 43, 0.28);
	--shadow-hero: 0 30px 70px rgba(20, 17, 12, 0.16);

	/* ---- Layout ---- */
	--w-content: 1280px;
	--gutter: 20px;

	/* Striped placeholder frame (used where a real photo is absent) */
	--frame-stripe: repeating-linear-gradient(135deg, var(--c-stripe-a) 0 9px, var(--c-stripe-b) 9px 18px);
	--frame-stripe-dark: repeating-linear-gradient(135deg, var(--c-ink-2) 0 9px, var(--c-ink-3) 9px 18px);

	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---- §8 placeholder styling: deliberately clashing, impossible to miss ---- */
.fts-placeholder {
	display: inline-block;
	font-family: var(--ff-mono);
	font-weight: 700;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ff00ff;
	background: #000;
	padding: 0.15em 0.5em;
	border: 2px dashed #ff00ff;
	border-radius: 2px;
	line-height: 1.3;
}
.fts-placeholder::before { content: "\26A0 "; }
.fts-placeholder-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 3px dashed #ff00ff;
	background: repeating-linear-gradient(45deg, #000 0 12px, #ff00ff 12px 24px);
	color: #fff;
}
.fts-ph-warning {
	position: sticky; top: 0; z-index: 9999;
	background: #000; color: #ff00ff;
	font-family: var(--ff-mono); font-weight: 700;
	text-align: center; padding: 8px 16px;
	border-bottom: 3px dashed #ff00ff;
}
