/* ==========================================================================
   KORO BLOG — DESIGN TOKENS
   --------------------------------------------------------------------------
   Everything visual in this theme is driven by the custom properties below.
   To redesign the theme, change values HERE first — no other file needed.
   ========================================================================== */

:root {
	/* ---- Layout ---------------------------------------------------------- */
	--koro-container: 1160px;
	--koro-container-narrow: 720px;
	--koro-sidebar-width: 320px;
	--koro-gap: clamp(1.5rem, 3vw, 2.75rem);
	--koro-header-height: 76px;
	--koro-header-height-sticky: 64px;

	/* ---- Color: light mode ---------------------------------------------- */
	--koro-color-bg: #fbf9f6;
	--koro-color-surface: #ffffff;
	--koro-color-surface-alt: #f5f1ea;
	--koro-color-surface-sink: #efe9e0;
	--koro-color-text: #1b1917;
	--koro-color-text-soft: #56504a;
	--koro-color-text-mute: #8a8378;
	--koro-color-border: #e6dfd4;
	--koro-color-border-strong: #d3c9ba;
	--koro-color-accent: #d9480f;
	--koro-color-accent-hover: #b53a08;
	--koro-color-accent-soft: #fceee6;
	--koro-color-on-accent: #ffffff;

	/* ---- Typography ------------------------------------------------------ */
	--koro-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--koro-font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--koro-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--koro-fs-xs: 0.75rem;
	--koro-fs-sm: 0.875rem;
	--koro-fs-base: 1.0625rem;
	--koro-fs-md: 1.1875rem;
	--koro-fs-lg: 1.375rem;
	--koro-fs-xl: 1.75rem;
	--koro-fs-2xl: clamp(2rem, 1.4rem + 2vw, 2.75rem);
	--koro-fs-3xl: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);

	--koro-lh-tight: 1.15;
	--koro-lh-snug: 1.35;
	--koro-lh-normal: 1.7;

	--koro-fw-normal: 400;
	--koro-fw-medium: 500;
	--koro-fw-semibold: 600;
	--koro-fw-bold: 700;

	--koro-tracking-tight: -0.015em;
	--koro-tracking-wide: 0.08em;

	/* ---- Spacing scale --------------------------------------------------- */
	--koro-space-1: 0.25rem;
	--koro-space-2: 0.5rem;
	--koro-space-3: 0.75rem;
	--koro-space-4: 1rem;
	--koro-space-5: 1.5rem;
	--koro-space-6: 2rem;
	--koro-space-7: 3rem;
	--koro-space-8: 4.5rem;

	/* ---- Radius ---------------------------------------------------------- */
	--koro-radius-sm: 6px;
	--koro-radius-md: 12px;
	--koro-radius-lg: 18px;
	--koro-radius-pill: 999px;

	/* ---- Shadow ---------------------------------------------------------- */
	--koro-shadow-sm: 0 1px 2px rgba(27, 25, 23, 0.05), 0 2px 8px rgba(27, 25, 23, 0.04);
	--koro-shadow-md: 0 8px 30px rgba(27, 25, 23, 0.09);
	--koro-shadow-lg: 0 18px 50px rgba(27, 25, 23, 0.14);

	/* ---- Motion ---------------------------------------------------------- */
	--koro-transition: 180ms cubic-bezier(0.22, 0.61, 0.36, 1);
	--koro-transition-slow: 320ms cubic-bezier(0.22, 0.61, 0.36, 1);

	/* ---- Layers ---------------------------------------------------------- */
	--koro-z-header: 90;
	--koro-z-menu: 95;
	--koro-z-overlay: 80;
	--koro-z-totop: 70;
}
