/* ForgePath base: tokens and the rules every design page shares.
   Values come from the handoff README / Brand Guide and the page-level <style> blocks. */

:root {
	--fp-navy: #011521;
	--fp-navy-deep: #042A41;
	--fp-panel: #082738;
	--fp-panel-raised: #0B3348;
	--fp-menu-panel: #04202F;
	--fp-blue: #0096E1;
	--fp-blue-accent: #29ABE2;
	--fp-lime: #8DC63F;
	--fp-lime-hover: #9ED94E;
	--fp-lime-bright: #A5D45E;
	--fp-lime-light: #D8F2A4;
	--fp-orange: #FF8800;
	--fp-orange-light: #FF9B2E;
	--fp-body: #C4D5E0;
	--fp-muted: #A9C2D2;
	--fp-dim: #7E99AB;

	--fp-sev-critical: #FF1616;
	--fp-sev-high: #FF8800;
	--fp-sev-medium: #8DC63F;
	--fp-sev-low: #29ABE2;

	--fp-hairline: linear-gradient(90deg, #0096E1, #8DC63F);
	--fp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--fp-notch: 999px 999px 999px 10px;
	--fp-container: 1280px;
}

html, body { margin: 0; padding: 0; background: #011521; }
body { font-family: 'Raleway', Helvetica, sans-serif; color: #FFFFFF; }
* { box-sizing: border-box; }
a { color: #A5D45E; } a:hover { color: #D8F2A4; }
/* The design wraps every section in overflow-x: clip, so content that bleeds past the window edge
   (glitch bars, decorative art) never causes a sideways page scroll. */
main { overflow-x: clip; }

.fp-skip { position: absolute; left: 16px; top: -100px; z-index: 10001; background: #8DC63F; color: #011521; padding: 10px 18px; border-radius: 999px 999px 999px 10px; font-weight: 700; text-decoration: none; }
.fp-skip:focus { top: 16px; color: #011521; }

/* Puck (the navy circle with a chevron inside lime buttons) */
a:has(> .fp-puck), button:has(> .fp-puck), div:has(> .fp-puck) { position: relative; transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.35s ease, background 0.3s ease; }
a:has(> .fp-puck):hover, button:has(> .fp-puck):hover, div:has(> .fp-puck):hover { box-shadow: 0 0 0 3px rgba(141,198,63,0.22); }
.fp-puck { transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1), border-radius 0.35s cubic-bezier(0.22,0.61,0.36,1); }
a:hover > .fp-puck, button:hover > .fp-puck, div:hover > .fp-puck { transform: translateX(5px); border-radius: 50% !important; }

/* Pulsing orange dot used by "Under attack?" */
@keyframes fp-beacon { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,155,46,0.55); } 60% { box-shadow: 0 0 0 8px rgba(255,155,46,0); } }
.fp-beacon { width: 8px; height: 8px; border-radius: 50%; background: #FF9B2E; animation: fp-beacon 2s ease-out infinite; flex: none; }

@keyframes fp-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fp-panel-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* BF type */
.bf-h { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; color: #FFFFFF; margin: 0; }
.bf-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #8DC63F; margin: 0 0 18px; }
.bf-h, .bf-eyebrow { position: relative; z-index: 1; }
.bf-d1 { font-size: 104px !important; } .bf-d2 { font-size: 64px !important; } .bf-d3 { font-size: 40px !important; }
.bf-b1 { font-size: 17px !important; line-height: 1.75 !important; } .bf-b2 { font-size: 15.5px !important; line-height: 1.7 !important; } .bf-b3 { font-size: 13.5px !important; line-height: 1.55 !important; }
@media (max-width: 1023px) { .bf-d1 { font-size: 72px !important; } .bf-d2 { font-size: 48px !important; } .bf-d3 { font-size: 32px !important; } }
@media (max-width: 767px) {
	.bf-d1 { font-size: clamp(44px, 12vw, 60px) !important; } .bf-d2 { font-size: clamp(32px, 9vw, 40px) !important; } .bf-d3 { font-size: 26px !important; } .bf-b1 { font-size: 16px !important; }
	.bf-eyebrow { font-size: 12.5px !important; letter-spacing: 0.2em !important; margin-bottom: 14px !important; }
}

/* Glitch bars: one scroll-driven burst as the block enters, then hold. Nothing loops. */
@keyframes bf-glitch { 0% { transform: translateX(-40px) scaleX(0.2); opacity: 0; } 20% { transform: translateX(14px) scaleX(1.1); opacity: 1; } 32% { transform: translateX(-8px) scaleX(0.7); opacity: .4; } 44% { transform: translateX(4px) scaleX(1); opacity: 1; } 100% { transform: none; opacity: .85; } }
.bf-glitch { position: absolute; pointer-events: none; z-index: 0; }
.bf-glitch span { position: absolute; height: 3px; display: block; transform-origin: left; animation: bf-glitch 1ms steps(1, end) both; animation-timeline: view(); animation-range: entry 10% entry 45%; }
.bf-glitch span:nth-child(2) { animation-range: entry 16% entry 52%; }
.bf-glitch span:nth-child(3) { animation-range: entry 22% entry 58%; }
.bf-glitch span:nth-child(4) { animation-range: entry 28% entry 64%; }
/* Unified section reveal */
@keyframes bf-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.bf-reveal { animation: bf-rise 1ms both; animation-timeline: view(); animation-range: entry 6% entry 38%; }
@supports not (animation-timeline: view()) { .bf-glitch span { animation: bf-glitch .9s steps(1, end) both; } .bf-reveal { animation: bf-rise .5s cubic-bezier(.22,.61,.36,1) both; } }
/* Halftone idle drift: 30s, barely perceptible */
@keyframes bf-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-1.2%, 0.8%) scale(1.025); } 100% { transform: translate(0, 0) scale(1); } }
.bf-ht { animation: bf-drift 30s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .bf-ht, .bf-glitch span, .bf-reveal { animation: none !important; opacity: 1; } }

/* Section side padding */
@media (min-width: 768px) and (max-width: 1023px) { .bf-sec { padding-left: 32px !important; padding-right: 32px !important; } }
@media (max-width: 767px) { .bf-sec { padding-left: 20px !important; padding-right: 20px !important; } .bf-glitch { display: none !important; } }

/* Section spacing choices (Spacing tab on each page section). "body #main >" outranks the sections' own #id rules. */
body #main > .fp-pt-none { padding-top: 0 !important; }
body #main > .fp-pb-none { padding-bottom: 0 !important; }
body #main > .fp-pt-large { padding-top: 130px !important; }
body #main > .fp-pb-large { padding-bottom: 130px !important; }
body #main > .fp-pt-touch { padding-top: 0 !important; }
body #main > .fp-pb-touch { padding-bottom: 0 !important; }
@media (max-width: 1023px) {
	body #main > .fp-pt-large, body #main > .fp-pt-touch { padding-top: 100px !important; }
	body #main > .fp-pb-large, body #main > .fp-pb-touch { padding-bottom: 100px !important; }
}
@media (max-width: 767px) {
	body #main > .fp-pt-large, body #main > .fp-pt-touch { padding-top: 80px !important; }
	body #main > .fp-pb-large, body #main > .fp-pb-touch { padding-bottom: 80px !important; }
}

/* Grid cells (Senior Bench, stat grids) */
.bf-cell { padding: 30px 28px; border-right: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bf-cell:last-child { border-right: 0; }
@media (max-width: 767px) { .bf-cell { padding: 22px 0 !important; } }

/* BF primary button */
.bf-btn { display: inline-flex; align-items: center; gap: 12px; color: #011521; background: #8DC63F; text-decoration: none; font-size: 15px; font-weight: 700; padding: 8px 26px 8px 8px; border-radius: 999px 999px 999px 10px; transition: background .3s, box-shadow .35s; white-space: nowrap; }
.bf-btn:hover, .bf-btn:focus-visible { background: #9ED94E; color: #011521 !important; box-shadow: 0 0 0 3px rgba(141,198,63,0.22); }
.bf-btn:hover > *, .bf-btn:hover span { color: #011521; }
.bf-btn .fp-puck { width: 32px; height: 32px; border-radius: 50% 50% 50% 24%; background: #011521; display: flex; align-items: center; justify-content: center; transition: transform .35s cubic-bezier(.22,.61,.36,1), border-radius .35s; }
.bf-btn:hover .fp-puck { transform: translateX(5px); border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}

/* BF ghost button (library style, e.g. "Show everything", "All resources"). */
.bf-ghost { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 700; padding: 14px 30px; border: 1.5px solid rgba(255,255,255,0.28); border-radius: 999px 999px 999px 10px; position: relative; transition: border-color .3s ease, color .3s ease; white-space: nowrap; }
.bf-ghost:hover { border-color: #8DC63F; color: #FFFFFF; }
.bf-ghost::after { content: ''; position: absolute; left: 30px; right: 30px; bottom: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #29ABE2, #8DC63F); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.bf-ghost:hover::after { transform: scaleX(1); }
button.bf-ghost { cursor: pointer; font-family: inherit; background: transparent; }

/* Form honeypot (inc/forms.php): off screen for people, still filled in by spam bots. */
.fp-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Visually hidden, still read by screen readers (WordPress convention). */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }


/* Cloudflare Turnstile on the site forms (inc/forms.php). Most of the time the widget is invisible, but as a grid
   row it still adds a 22px gap; pull the button row up by that gap so the form spaces exactly as designed.
   While a challenge is on screen (.is-shown) the normal spacing returns. */
.fp-captcha { align-self: start; }
.gs-form .fp-captcha:not(.is-shown) + .gs-actions { margin-top: -14px; } /* 8px design margin minus the 22px gap */
.ua-form .fp-captcha:not(.is-shown) + .ua-actions { margin-top: -16px; } /* 6px design margin minus the 22px gap */
