/*
 * Tyson Vape design tokens.
 * Source: tyson-vape-redesign-mockup.html (:root block and component CSS).
 * Tokens only. No selectors other than :root live in this file.
 */

:root {
	/* ---------- Color: taken verbatim from the mockup :root ---------- */
	--ink: #070707;        /* deepest black: footer, text on bone/gold */
	--canvas: #0d0d0e;     /* page background */
	--panel: #151517;      /* cards, inputs, notices */
	--line: #26262a;       /* hairlines and borders */
	--red: #e10600;        /* primary action, accents */
	--red-deep: #8f0400;   /* pressed / deep accents */
	--gold: #d9a93a;       /* eyebrow labels, links, focus */
	--gold-soft: #f3d98b;  /* link hover, soft highlights */
	--bone: #f4efe6;       /* main light text on dark */
	--mute: #8d8a85;       /* secondary text */

	/* Extra values used directly in the mockup CSS. */
	--red-hover: #b80500;  /* button hover. Mockup used #ff1a13, but white on it is only 3.88:1; #b80500 gives 6.86:1 */
	--nav-text: #cfcac2;   /* .menu a, .chip */
	--lede: #c9c4bb;       /* .lede, .legacy p.intro */
	--foot-text: #b5b0a8;  /* .foot-top li */
	--white: #ffffff;
	--on-red: #ffffff;     /* text on red: white is 4.97:1, bone only 4.34:1 */

	/* ---------- Font stacks: verbatim from the mockup ---------- */
	--font-display: 'Anton', 'Anton Fallback', Impact, 'Arial Narrow', sans-serif;
	--body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, Menlo, monospace;

	/* ---------- Type scale (sizes used in the mockup) ---------- */
	--fs-micro: 10px;      /* badges, product line labels */
	--fs-label: 11px;      /* mono labels, legal-adjacent captions */
	--fs-eyebrow: 12px;    /* .eyebrow, small buttons */
	--fs-small: 13px;      /* nav, button text */
	--fs-body-sm: 14px;    /* footer lists, card copy */
	--fs-body: 16px;       /* default body copy */
	--fs-lede: 18px;       /* .lede */
	--fs-h6: 18px;
	--fs-h5: 22px;         /* .svc h4 */
	--fs-h4: 28px;         /* .post-body h4 */
	--fs-h3: clamp(26px, 2.6vw, 38px);   /* .fighter h3 = 38px */
	--fs-h2: clamp(36px, 4.4vw, 74px);   /* .gate-box h2 = 74px */
	--fs-h1: clamp(44px, 6vw, 92px);     /* .legacy h2 clamp(46px,6vw,92px) */
	--fs-section: clamp(48px, 6.6vw, 104px); /* .sec-head h2 */
	--fs-hero: clamp(76px, 11.5vw, 188px);   /* .hero h1 */

	--lh-display: 0.9;     /* .display */
	--lh-tight: 1;         /* card titles, numbers */
	--lh-body: 1.5;        /* body */
	--lh-mono: 1.7;        /* .rev p */

	--ls-display: 0.01em;  /* .display */
	--ls-button: 0.16em;   /* .btn */
	--ls-nav: 0.14em;      /* .menu, .chip */
	--ls-eyebrow: 0.22em;  /* .eyebrow */

	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-black: 800;       /* buttons, warning bar */

	/* ---------- Spacing (values that repeat in the mockup) ---------- */
	--sp-3xs: 4px;
	--sp-2xs: 6px;
	--sp-xs: 10px;
	--sp-sm: 14px;   /* .cta-row gap */
	--sp-md: 20px;   /* grid gaps, card padding */
	--sp-lg: 28px;   /* .wrap gutter, stat padding */
	--sp-xl: 36px;   /* hero grid gap, svc padding */
	--sp-2xl: 52px;  /* .sec-head margin-bottom */
	--sp-3xl: 76px;  /* section padding, small screens */
	--sp-4xl: 110px; /* section padding */

	--wrap: 1280px;
	--gutter: 28px;

	/* ---------- Shape ---------- */
	--radius: 0;
	--radius-pill: 100px;  /* .chip */
	--border-w: 1.5px;
	--clip-btn: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);       /* .btn-red / .btn-gold */
	--clip-btn-sm: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);      /* .cart pill */

	/* ---------- Buttons ---------- */
	--btn-pad-y: 17px;
	--btn-pad-x: 30px;
	--btn-pad-y-sm: 11px;
	--btn-pad-x-sm: 18px;

	/* ---------- Focus ---------- */
	--focus-color: var(--gold);  /* 8.96:1 against --canvas */
	--focus-width: 3px;
	--focus-offset: 3px;

	/* ---------- Motion ---------- */
	--t-fast: 0.15s;
	--t-base: 0.25s;
}

/* Width-matched local fallbacks (round 12): text wraps the same before and after the web fonts swap in,
   so the hero buttons do not move. Ratios measured against Arial / Courier New with the site's hero text. */
@font-face {
	font-family: 'Anton Fallback';
	src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
	size-adjust: 70.7%;
	ascent-override: 166.3%;
	descent-override: 46.5%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Inter Fallback';
	src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
	size-adjust: 106.8%;
	ascent-override: 90.7%;
	descent-override: 22.6%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'JetBrains Mono Fallback';
	src: local('Courier New'), local('CourierNewPSMT'), local('Roboto Mono'), local('Liberation Mono');
	size-adjust: 100%;
	ascent-override: 102.0%;
	descent-override: 30.0%;
	line-gap-override: 0%;
}
