/*
 * Kelly Blaze reskin — global token overrides for the Astra parent theme.
 *
 * SCOPE: this is a light-mode expression of the cinema palette from
 * docs/redesign-plan.md §2 (warm off-white background, gold accent,
 * warm near-black text) — NOT the full dark hero background from the
 * Next.js exploration. The live homepage's hero image and transparent-on-
 * light logo are Elementor page content I can't edit from here, so a
 * full dark-background flip risks those assets going unreadable. The
 * dark cinema tone (#0F0F23) is applied to color-7, which Astra already
 * uses for a handful of dark-styled sections (e.g. the footer) — giving
 * a preview of the full dark direction without touching page content.
 * See wordpress-theme/kellyblaze-child/README.md for the full rationale
 * and how to extend this to a full dark treatment later.
 */

:root,
:where(:root) {
	/* --- Astra's 9 global color slots (confirmed live via getComputedStyle) --- */
	--ast-global-color-0: #ca8a04 !important; /* was #6528F7 — primary/button */
	--ast-global-color-1: #a66f03 !important; /* was #5511F8 — hover/darker accent */
	--ast-global-color-2: #14110b !important; /* was #0F172A — heading text, warmed */
	--ast-global-color-3: #4b4740 !important; /* was #454F5E — body text, warmed */
	--ast-global-color-4: #faf9f6 !important; /* was #F2F0FE — page background, de-tinted */
	--ast-global-color-5: #ffffff !important; /* was #FFFFFF — unchanged */
	--ast-global-color-6: #f1eee7 !important; /* was #D8D8F5 — card/subtle bg, warmed */
	--ast-global-color-7: #0f0f23 !important; /* was #0D0614 — dark sections: full cinema bg */
	--ast-global-color-8: #1a1712 !important; /* was #222222 — dark neutral, warmed */

	/* Elementor's mirrored copies of the same slots */
	--e-global-color-astglobalcolor0: #ca8a04 !important;
	--e-global-color-astglobalcolor1: #a66f03 !important;
	--e-global-color-astglobalcolor2: #14110b !important;
	--e-global-color-astglobalcolor3: #4b4740 !important;
	--e-global-color-astglobalcolor4: #faf9f6 !important;
	--e-global-color-astglobalcolor5: #ffffff !important;
	--e-global-color-astglobalcolor6: #f1eee7 !important;
	--e-global-color-astglobalcolor7: #0f0f23 !important;
	--e-global-color-astglobalcolor8: #1a1712 !important;

	/* New tokens used by this stylesheet + kellyblaze-interactions.js */
	--kb-accent: #ca8a04;
	--kb-accent-foreground: #14110b;
	--kb-dark-bg: #0f0f23;
	--kb-dark-foreground: #f8fafc;
}

/* --- Typography: replace Astra's Poppins with the new pairing --- */

body,
p,
li,
input,
textarea,
button,
.menu-link {
	font-family: "Inter", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.elementor-heading-title {
	font-family: "Saira Extra Condensed", sans-serif !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	line-height: 0.95;
}

.kb-mono {
	font-family: "JetBrains Mono", monospace !important;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.75rem;
}

/* --- Navigation --- */

.site-navigation .menu-link {
	transition: color 150ms ease-out;
}

.site-navigation .menu-link:hover {
	color: var(--kb-accent) !important;
}

/* --- Buttons: fully-rounded pill, matching the Next.js exploration's
   convention that both Halo Lab and Antigravity converged on --- */

.elementor-button {
	border-radius: 9999px !important;
	font-family: "Inter", sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	transition: background-color 150ms ease-out, transform 150ms ease-out;
}

/* --- kb-pill-cta: the two-part pill+arrow CTA. Reserve this class for
   exactly one primary CTA per page — kellyblaze-interactions.js injects
   the circular arrow and wires the magnetic hover. Add the class via
   Elementor's Advanced > CSS Classes field on the button widget. --- */

.kb-pill-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding-right: 0.375rem !important;
}

.kb-pill-cta__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: #ffffff;
	color: var(--kb-accent);
	flex: none;
	will-change: transform;
}

/* --- kb-arrow-link: the arrow-shift hover link. Add via Elementor's
   Advanced > CSS Classes field on a text link or button widget. --- */

.kb-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.kb-arrow-link__arrow {
	display: inline-flex;
	will-change: transform;
}
