/**
 * Ebbert Law Firm — design tokens.
 *
 * Every value here was MEASURED from the approved Claude Design artboard in Chromium, not read
 * off the design's markup. The artboard's 336 inline styles override its own linked design
 * system, so the token file that ships with the design is NOT authoritative.
 * See .claude/docs/design-tokens-measured.md for the measurement table.
 */

:root {
	/* --- Palette (measured computed values) --- */
	--ebbert-brand:        #541A13;  /* oxblood — links, outline buttons */
	--ebbert-accent:       #DFB03E;  /* gold — CTA fill, eyebrows, phone, stars */
	--ebbert-ink:          #1B1919;  /* near-black — headings, header bg, footer bg */
	--ebbert-secondary:    #383838;
	--ebbert-body:         #535353;
	--ebbert-bg:           #FFFFFF;
	--ebbert-bg-alt:       #F0F0F0;  /* alternating section background */
	--ebbert-cta-text:     #1B1919;  /* dark text ON gold */
	--ebbert-accent-hover: #BD9635;  /* gold button HOVER fill — client QA (Markup #1), not measured */
	--ebbert-shadow-panel: 0 10px 28px rgba(27, 25, 25, 0.14);  /* sidebar panels — client QA (Markup #15), not measured */
	--ebbert-link-hover:   #7A2A20;
	--ebbert-hero-bg: radial-gradient(120% 100% at 50% 0%, #6E241B 0%, #3A120D 45%, #14100F 100%);

	/* --- Type ---
	 * Oswald loads ONLY at 400 and 700 despite the font URL requesting 500 and 600.
	 * Never set a heading to 500 — it silently synthesises. Headings are 700.
	 * Nunito Sans does load 600, so buttons / nav / eyebrows at 600 are safe.
	 */
	--ebbert-font-heading: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
	--ebbert-font-body:    'Nunito Sans', system-ui, -apple-system, sans-serif;
	--ebbert-w-body:       400;
	--ebbert-w-semi:       600;
	--ebbert-w-head:       700;

	--ebbert-h1: 56px;  --ebbert-h1-lh: 66px;
	--ebbert-h2: 48px;  --ebbert-h2-lh: 58px;
	--ebbert-h3: 34px;  --ebbert-h3-lh: 42px;
	--ebbert-text:    18px; --ebbert-text-lh: 28px;
	--ebbert-btn:     20px; --ebbert-btn-lh:  28px;
	--ebbert-nav:     16px; --ebbert-nav-lh:  28px;
	--ebbert-eyebrow: 20px; --ebbert-eyebrow-ls: 2.4px;
	--ebbert-nav-ls:  0.64px;

	/* --- Layout (measured) --- */
	--ebbert-container:  1200px;
	--ebbert-pad-x:      40px;
	--ebbert-section-y:  80px;
	--ebbert-gap-card:   28px;
	--ebbert-radius:     2px;
}

/* Mobile scale — the artboard is a fixed 1200px desktop canvas with NO mobile layout, so these
   come from the design system's own mobile tokens (client decision, 2026-08-19). */
@media (max-width: 768px) {
	:root {
		--ebbert-h1: 40px;  --ebbert-h1-lh: 52px;
		--ebbert-h2: 32px;  --ebbert-h2-lh: 42px;
		--ebbert-h3: 26px;  --ebbert-h3-lh: 34px;
		--ebbert-text:   16px; --ebbert-text-lh: 22px;
		--ebbert-btn:    16px;
		--ebbert-pad-x:     20px;
		--ebbert-section-y: 48px;
	}
}

/* Inline icon data — kept as a token so markup stays free of SVG (Astra strips inline SVG from
   its header HTML component). */
:root {
	--ebbert-phone-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Logo, referenced ROOT-RELATIVE so the stylesheet stays portable across environments (Rule 10).
   Used as a decorative hero watermark — it is a background, never content, so it is not announced
   by screen readers and not indexed. */
:root {
	--ebbert-logo: url("/wp-content/uploads/2026/08/Ebbert-logo.webp");
}

/* Social glyphs — kept as tokens so the CFM shortcodes stay plain links in the markup. */
:root {
	--ebbert-icon-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M22 12a10 10 0 1 0-11.56 9.88v-6.99H7.9V12h2.54V9.8c0-2.5 1.49-3.89 3.77-3.89 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56V12h2.78l-.45 2.89h-2.33v6.99A10 10 0 0 0 22 12z'/%3E%3C/svg%3E");
	--ebbert-icon-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9h4v12H3V9zm7 0h3.8v1.64h.05c.53-.95 1.82-1.95 3.75-1.95 4.01 0 4.75 2.5 4.75 5.76V21h-4v-5.68c0-1.36-.03-3.1-1.9-3.1-1.9 0-2.2 1.48-2.2 3v5.78h-4V9z'/%3E%3C/svg%3E");
}

/* Hero texture — root-relative (Rule 10). Licensed iStock asset, client-confirmed. */
:root {
	--ebbert-hero-texture: url("/wp-content/uploads/2026/08/iStock-898365664-scaled.jpg");
}

/* Why-Choose card icons. The artboard uses Lucide via unpkg; these are the same six glyphs
   inlined as data URIs so the site carries no CDN dependency. Applied as masks so the colour
   comes from CSS (oxblood, per the artboard's var(--color-brand)). */
:root {
	--ebbert-icon-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z'/%3E%3Cpath d='M7 21h10'/%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2'/%3E%3C/svg%3E");
	/* Lucide `mail` — same 24px stroked family as the other icons. Used as a CSS mask, so the
	   colour comes from background-color, not from the stroke baked into the data URI. */
	--ebbert-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--ebbert-icon-map-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--ebbert-icon-handshake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2'/%3E%3Cpath d='M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E");
	--ebbert-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
	--ebbert-icon-file-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3Cpath d='M10 9H8'/%3E%3C/svg%3E");
	--ebbert-icon-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* Tennessee star — the decorative motif behind the team portrait (artboard: opacity .22 white). */
:root {
	--ebbert-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23ffffff'%3E%3Cpath d='M50 2 61.8 36.5 98 36.5 68.8 57.9 80.2 92.5 50 71.2 19.8 92.5 31.2 57.9 2 36.5 38.2 36.5Z'/%3E%3C/svg%3E");
}
