/*
 * BadmintonClick design tokens - global entry point for the whole site.
 *
 * This is the same token system used across the brand (colors, type,
 * spacing, radii, shadows): black-first, shuttle-yellow + sale-red accents,
 * a condensed italic display face echoing the wordmark, and a clean
 * grotesque for body/UI copy. Every other stylesheet on the site (home-v2,
 * category-page, post-page, home-ui) consumes these custom properties
 * instead of hard-coded values, so the whole site reads as one brand.
 *
 * Loaded first, before home-ui.css / home-v2.css / category-page.css /
 * post-page.css, so later files can rely on every variable here.
 */

/* ============================================================
   COLOR TOKENS
   ============================================================ */
:root {
	--bc-black:        #0E0E0E;
	--bc-white:        #FFFFFF;

	--neutral-0:       #FFFFFF;
	--neutral-50:      #F7F6F4;
	--neutral-100:     #EFEDEA;
	--neutral-200:     #E2DFDA;
	--neutral-300:     #CBC7C0;
	--neutral-400:     #A29D95;
	--neutral-500:     #7A756D;
	--neutral-600:     #57534C;
	--neutral-700:     #3A3733;
	--neutral-800:     #232120;
	--neutral-900:     #161514;
	--neutral-950:     #0E0E0E;

	--red-50:          #FDECEC;
	--red-100:         #FAD2D4;
	--red-400:         #EF4452;
	--red-500:         #E11225;
	--red-600:         #C20D1E;
	--red-700:         #970916;

	--yellow-300:      #FFE15C;
	--yellow-400:      #FFD400;
	--yellow-500:      #F5BE00;
	--yellow-600:      #C99700;

	--green-500:       #1F9D55;
	--green-50:        #E7F5EC;
	--amber-500:       #E08A00;
	--info-500:        #2563C9;

	/* Warm near-black hero ground - the dark band under the nav on every page. */
	--hero-1: #1E150E;
	--hero-2: #1A120C;
	--hero-3: #120C08;
	--hero-overlay: #14100B;

	--bg:                 var(--neutral-50);
	--surface:            var(--neutral-0);
	--surface-elevated:   var(--neutral-0);
	--surface-sunken:     var(--neutral-100);
	--surface-inverse:    var(--bc-black);

	--text-primary:       var(--neutral-950);
	--text-secondary:     var(--neutral-600);
	--text-muted:         var(--neutral-500);
	--text-inverse:       var(--neutral-0);
	--text-on-accent:     var(--bc-white);

	--border:             var(--neutral-200);
	--border-strong:      var(--neutral-300);
	--border-inverse:     rgba(255,255,255,0.16);

	--action:             var(--bc-black);
	--action-hover:       var(--neutral-800);
	--action-text:        var(--bc-white);

	--accent-sale:        var(--red-500);
	--accent-sale-hover:  var(--red-600);
	--accent-energy:      var(--yellow-400);

	--success:            var(--green-500);
	--warning:            var(--amber-500);
	--danger:             var(--red-500);

	--focus-ring:         rgba(225,18,37,0.55);
}

/* ============================================================
   TYPOGRAPHY TOKENS
   ============================================================ */
:root {
	--font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
	--font-sans:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
	--font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

	--fw-regular:   400;
	--fw-medium:    500;
	--fw-semibold:  600;
	--fw-bold:      700;
	--fw-extra:     800;
	--fw-black:     900;

	--fs-2xs:   0.6875rem;
	--fs-xs:    0.75rem;
	--fs-sm:    0.875rem;
	--fs-base:  1rem;
	--fs-md:    1.125rem;
	--fs-lg:    1.375rem;
	--fs-xl:    1.75rem;
	--fs-2xl:   2.25rem;
	--fs-3xl:   3rem;
	--fs-4xl:   4rem;
	--fs-5xl:   5.5rem;

	--lh-tight:   1.02;
	--lh-snug:    1.18;
	--lh-normal:  1.5;
	--lh-relaxed: 1.65;

	--tracking-tight:  -0.01em;
	--tracking-normal: 0;
	--tracking-wide:   0.04em;
	--tracking-caps:   0.12em;
}

/* ============================================================
   SPACING, RADII, SHADOWS, MOTION
   ============================================================ */
:root {
	--space-0:   0;
	--space-1:   4px;
	--space-2:   8px;
	--space-3:   12px;
	--space-4:   16px;
	--space-5:   20px;
	--space-6:   24px;
	--space-8:   32px;
	--space-10:  40px;
	--space-12:  48px;
	--space-16:  64px;
	--space-20:  80px;
	--space-24:  96px;

	--radius-xs:   2px;
	--radius-sm:   4px;
	--radius-md:   8px;
	--radius-lg:   12px;
	--radius-xl:   18px;
	--radius-pill: 999px;

	--border-w:        1px;
	--border-w-strong: 2px;

	--shadow-xs:  0 1px 2px rgba(14,14,14,0.06);
	--shadow-sm:  0 1px 3px rgba(14,14,14,0.08), 0 1px 2px rgba(14,14,14,0.04);
	--shadow-md:  0 4px 14px rgba(14,14,14,0.10);
	--shadow-lg:  0 12px 32px rgba(14,14,14,0.14);
	--shadow-focus: 0 0 0 3px var(--focus-ring);

	--container-max: 1280px;
	--container-pad: 24px;

	--ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-fast:   120ms;
	--dur-base:   200ms;
	--dur-slow:   360ms;
}

/* ============================================================
   Wordmark - "MASTER" over tracked "BADMINTON", the text lockup used
   everywhere the raster logo used to be: header, mobile menu, footer.
   ============================================================ */
.bc-wordmark {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	line-height: 1;
}

.bc-wordmark-master {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 27px;
	letter-spacing: .3em;
	text-indent: .3em;
	color: #fff;
}

.bc-wordmark-sub {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bc-wordmark-rule {
	width: 16px;
	height: 1px;
	background: rgba(255, 255, 255, .34);
}

.bc-wordmark-badminton {
	font-family: var(--font-sans);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .44em;
	text-indent: .44em;
	color: rgba(255, 255, 255, .66);
}

.bc-wordmark-sm .bc-wordmark-master { font-size: 21px; }
.bc-wordmark-sm .bc-wordmark-badminton { font-size: 7px; }
