/*
	KELD INSTITUTE FRAMEWORK - STYLESHEET V2.4 (FINAL DEPLOYMENT)
	BASE: SPECTRAL BY HTML5 UP (html5up.net | @ajlkn)
	RE-ARCHITECTED BY GEMINI
*/

@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Roboto+Slab:wght@700&display=swap");

:root {
	--color-background: #1a1a1a;
	--color-background-alt: #222222;
	--color-background-darkest: #111111;
	--color-text: #f1f1f1;
	--color-text-bold: #ffffff;
	--color-text-light: rgba(255, 255, 255, 0.5);
	--color-border: rgba(255, 255, 255, 0.7);
	--color-border-faint: rgba(255, 255, 255, 0.3);
	--color-accent-action: #ed4933;
	--color-accent-action-hover: #ef5e4a;
	--color-accent-action-active: #eb341c;
	--color-accent-info: #4a90e2;
	--color-accent-info-bg: rgba(74, 144, 226, 0.1);
	--font-family-body: "Roboto", sans-serif;
	--font-family-heading: "Roboto Slab", serif;
	--font-weight-body: 400;
	--font-weight-bold: 700;
	--transition-sharp: cubic-bezier(0.25, 0.1, 0.25, 1);
	--transition-duration: 0.2s;
}

/* Base Resets & Typography */
html, body, div, span, h1, h2, h3, p, a, img, ul, li, article, aside, footer, header, nav, section { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, footer, header, nav, section { display: block; }
body { line-height: 1; }
ul { list-style: none; }
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { background: var(--color-background); }
body.is-preload *, body.is-preload *:before, body.is-preload *:after { animation: none !important; transition: none !important; }
body, input, select, textarea { color: var(--color-text); font-family: var(--font-family-body); font-size: 15pt; font-weight: var(--font-weight-body); line-height: 1.65em; }
@media screen and (max-width: 1280px) { body, input, select, textarea { font-size: 12pt; } }
@media screen and (max-width: 736px) { body, input, select, textarea { font-size: 11pt; } }
a { transition: color var(--transition-duration) var(--transition-sharp); border-bottom: dotted 1px; color: inherit; text-decoration: none; }
a:hover { border-bottom-color: transparent; }
strong, b { color: var(--color-text-bold); font-weight: var(--font-weight-bold); }
p { margin: 0 0 2em 0; }
h1, h2, h3, h4, h5, h6 { color: var(--color-text-bold); font-family: var(--font-family-heading); font-weight: var(--font-weight-bold); text-transform: uppercase; margin: 0 0 1em 0; }
h2 { font-size: 1.35em; }
h3 { font-size: 1.15em; }
input:focus, select:focus, textarea:focus, button:focus, .button:focus, a:focus { outline: 2px solid var(--color-accent-action); outline-offset: 2px; }

/* Buttons & Actions */
.button { transition: background-color var(--transition-duration) var(--transition-sharp); background-color: transparent; border-radius: 3px; border: 0; box-shadow: inset 0 0 0 2px var(--color-border); color: var(--color-text-bold); cursor: pointer; display: inline-block; font-size: 0.8em; font-weight: var(--font-weight-bold); height: 3.125em; letter-spacing: 0.225em; line-height: 3.125em; padding: 0 2.75em; text-align: center; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.button:hover { background-color: rgba(255, 255, 255, 0.1); }
.button:active { background-color: rgba(255, 255, 255, 0.2); }
.button.primary { background-color: var(--color-accent-action); box-shadow: none !important; color: var(--color-text-bold) !important; }
.button.primary:hover { background-color: var(--color-accent-action-hover) !important; }
.button.primary:active { background-color: var(--color-accent-action-active) !important; }
.button.fit { width: 100%; }
.actions.special { display: flex; justify-content: center; width: 100%; margin-left: 0; }
.actions.stacked { display: flex; flex-direction: column; width: 100%; }
.actions.stacked li { margin-top: 1em; }
.actions.stacked li:first-child { margin-top: 0; }

/* Header & Menu */
#page-wrapper { padding-top: 3em; }
#header { background: var(--color-background); transition: background-color 0.2s ease-in-out; height: 3em; left: 0; line-height: 3em; position: fixed; top: 0; width: 100%; z-index: 10000; }
#header h1 { position: absolute; left: 1.25em; top: 0; }
#header nav { position: absolute; right: 0; top: 0; }
#header nav > ul { margin: 0; }
#header nav > ul > li { display: inline-block; }
#header nav > ul > li > a.menuToggle { text-decoration: none; border: 0; padding: 0 1.5em; }
#header nav > ul > li > a.menuToggle span { display: none; }
#header.alt { background: transparent; }
#header.is-scrolling-fast { animation: header-flash 0.5s ease-out; }
@keyframes header-flash { 0%, 100% { background-color: var(--color-background); } 50% { background-color: var(--color-accent-action); } }
#menu { transform: translateX(100%); transition: transform 0.4s var(--transition-sharp), opacity 0.4s var(--transition-sharp); opacity: 0; -webkit-overflow-scrolling: touch; background: #1f1f1f; color: var(--color-text-bold); height: 100%; max-width: 80%; overflow-y: auto; padding: 3em 2em; position: fixed; right: 0; top: 0; width: 20em; z-index: 10002; }
body.is-menu-visible #page-wrapper { opacity: 0.35; }
body.is-menu-visible #menu { transform: translateX(0); opacity: 1; }
#menu .close { display: block; position: absolute; top: 0; right: 0; width: 7em; height: 3em; cursor: pointer; text-indent: -9999px; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M21.41,20l8.29-8.29a1,1,0,0,0-1.41-1.41L20,18.59,11.71,10.29a1,1,0,1,0-1.41,1.41L18.59,20,10.29,28.29a1,1,0,1,0,1.41,1.41L20,21.41l8.29,8.29a1,1,0,0,0,1.41-1.41Z' fill='%23fff'/%3E%3C/svg%3E"); background-position: 80% 50%; background-repeat: no-repeat; }
#menu ul > li { border-top: solid 1px var(--color-border-faint); margin: 0.5em 0 0 0; padding: 0.5em 0 0 0; }
#menu ul > li:first-child { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
#menu ul > li > a { border: 0; color: inherit; display: block; font-size: 0.8em; letter-spacing: 0.225em; text-transform: uppercase; }

/* Layout Sections */
.wrapper { padding: 6em 0 4em 0; }
.wrapper > .inner { width: 60em; margin: 0 auto; }
@media screen and (max-width: 1280px) { .wrapper > .inner { width: 90%; } }
.wrapper.style1 { background-color: var(--color-background-alt); }
.wrapper.style3 { background-color: #2a2f38; }
.wrapper.style4 { background-color: var(--color-background-darkest); }
.spotlight { display: flex; align-items: center; }
.spotlight .image { width: 40%; }
.spotlight .image img { display: block; width: 100%; }
.spotlight .content { width: 60%; padding: 2em 4em; }
.spotlight:nth-child(2n) { flex-direction: row-reverse; }
.spotlight:nth-child(1) { background-color: rgba(0, 0, 0, 0.15); }
.spotlight:nth-child(2) { background-color: rgba(0, 0, 0, 0.25); }
.spotlight:nth-child(3) { background-color: rgba(0, 0, 0, 0.35); }
@media screen and (max-width: 980px) { .spotlight { display: block; } .spotlight .image, .spotlight .content { width: 100%; } .spotlight .content { padding: 4em 3em 2em 3em; text-align: center; } }

/* Banner */
#banner { display: flex; flex-direction: column; justify-content: center; height: 100vh; min-height: 35em; position: relative; text-align: center; }
#banner .inner { z-index: 2; }
#banner h2 { font-size: 1.75em; border-top: 2px solid white; border-bottom: 2px solid white; padding: 0.35em 1em; min-height: 1.2em;}
#banner .more { position: absolute; bottom: 0; left: 50%; margin-left: -8em; width: 16em; height: 8.5em; border-bottom: none; z-index: 2; }
#banner .more:after { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid meet'%3E%3Cpath d='M88,34.2L52.2,69.9c-1.2,1.2-3.1,1.2-4.2,0L12,34.2c-1.2-1.2-1.2-3.1,0-4.2l4.2-4.2c1.2-1.2,3.1-1.2,4.2,0L50,55.4 l27.5-29.6c1.2-1.2,3.1-1.2,4.2,0l4.2,4.2C89.2,31.2,89.2,33,88,34.2z' fill='%23fff'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: contain; bottom: 4em; content: ''; display: block; height: 1.5em; left: 50%; margin: 0 0 0 -0.75em; position: absolute; width: 1.5em; }
#banner:after { content: ''; background: var(--color-background); display: block; width: 100%; height: 100%; position: absolute; left: 0; top: 0; opacity: 0; animation: heartbeat 1.2s infinite ease-in-out; }
body.is-preload #banner:after { opacity: 1; }
@keyframes heartbeat { 0%, 100% { background-color: rgba(26, 26, 26, 0.9); } 50% { background-color: rgba(20, 20, 20, 0.95); } }
#banner #banner-p, #banner #banner-actions { opacity: 0; transition: opacity 0.5s ease; }
#banner .cursor { background: var(--color-text-bold); display: inline-block; width: 2px; height: 1em; margin-left: 4px; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
#particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }

/* Footer */
#footer { padding: 4em 0; background-color: var(--color-background); text-align: center; }
#footer .copyright { color: var(--color-text-light); font-size: 0.8em; text-transform: uppercase; }

/* KELD Custom Styles */
#laser-dot { display: none; }
@media (hover: hover) and (pointer: fine) { #laser-dot { display: block; position: fixed; width: 10px; height: 10px; background-color: red; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); z-index: 9999; opacity: 0; box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.5); animation: pulse 1.5s infinite; transition: opacity 0.3s ease; } }
@keyframes pulse { 0% { box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.5); } 50% { box-shadow: 0 0 25px 10px rgba(255, 0, 0, 0.7); } 100% { box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.5); } }
#threat-ticker { position: absolute; bottom: 10em; left: 0; width: 100%; background: rgba(0,0,0,0.2); color: rgba(255, 0, 0, 0.7); font-family: 'Courier New', monospace; font-size: 0.8em; padding: 5px 0; z-index: 2; text-transform: uppercase; }
.flash { animation: flash-animation 0.3s ease; }
@keyframes flash-animation { 0% { background-color: rgba(255,0,0,0.2); } 100% { background-color: transparent; } }
#globe-container { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 500px; cursor: grab; }
#globe-instruction { font-size: 0.8em; color: var(--color-text-light); text-transform: none; letter-spacing: 0.075em; }
.scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,0,0,0.8), transparent); box-shadow: 0 0 10px red; opacity: 0; }
.redacted { background-color: var(--color-text-bold); color: var(--color-text-bold); transition: all 0.5s var(--transition-sharp); }
.redacted.revealed { background-color: transparent; color: inherit; }
.dossier-tabs { list-style: none; padding: 0; margin: 0 0 2em 0; text-align: center; }
.dossier-tabs li { display: inline-block; margin: 0 5px; padding: 10px 20px; cursor: pointer; background: rgba(144, 144, 144, 0.25); border-radius: 3px 3px 0 0; font-family: var(--font-family-heading); font-size: 0.8em; text-transform: uppercase; transition: background-color var(--transition-duration) var(--transition-sharp); }
.dossier-tabs li.active { background: var(--color-accent-info-bg); }
.dossier-content { display: none; padding: 2em; background: rgba(0,0,0,0.1); border-radius: 3px; }
.dossier-content.active { display: block; }
.dossier-content .icon.major { color: var(--color-accent-info); }
#live-social-proof { color: var(--color-accent-action); font-weight: var(--font-weight-bold); margin-bottom: 1em; text-transform: uppercase; font-size: 0.9em; }
#decline-button.declined { opacity: 0.4; transition: opacity 0.5s ease; }
