/* ==========================================================================
1. ROOT VARIABLES AND GLOBAL SELECTORS */

:root {
    --sections-maxwidth: 95vw;

    /* colors */   /* rgba(156, 254, 250, 0.70) */

    /* accents */ /* rgb(245, 155, 65) */ /* FAUX BORDER - inset shadow */ /* FAUX BORDER - inset shadow */

    /* window */ /* #2c2116 */

    /* blur effects */ /* rgba(46, 18, 0, 0.05); */  /* #rgba(90, 72, 58, 0.15) */ /* #rgba(14, 14, 14, 0.05) */

    /* props */

    /* reg text */
}

@media (min-width: 992px) {

:root { --sections-maxwidth: 80vw;
} }

@media (min-width: 1200px) {

:root { --sections-maxwidth: 76vw;
} }

@media (min-width: 1400px) {

:root { --sections-maxwidth: 1050px;
} }

:root {

	--sections-block-padding: 30px;
}

@media (min-width: 992px) {

:root { --sections-block-padding: 60px;
} }

:root {
    --bg-primary: #1d1612;
    --bg-primary-darker: #15100d;
    --bg-primary-transluscent: rgba(29,22,18,0.82745);
    --dot-color: rgba(255, 157, 0, 0.65);
    --theme-main-color: rgb(255, 109, 11);
    --theme-secondary-color: rgb(255, 183, 0);
    --theme-tertiary-color: rgb(31, 222, 228);
    --theme-halo-color: rgb(255, 174, 11);
    --theme-glow-color: #ff8c00;
    --text-glow-main: 
        0 0 5px var(--theme-main-color), 
        0 0 15px var(--theme-main-color);
    --text-glow-warm: 
        0 0 5px var(--theme-secondary-color), 
        0 0 15px var(--theme-secondary-color);
    --text-glow-cool: 
        0 0 5px var(--theme-tertiary-color), 
        0 0 15px var(--theme-tertiary-color);
    --text-glow-white:
        0 0 5px var(--text-color-primary),
        0 0 15px var(--text-color-primary);
    --text-glow-white-subdued:
        0 0 5px var(--text-color-primary);

    --border-glow-main: 
        0 0 10px 0 rgb(from var(--theme-main-color) r g b / 35%), 
        inset 0 0 10px 0 rgb(from var(--theme-main-color) r g b / 35%);
    --border-glow-warm: 
        0 0 10px 0 rgb(from var(--theme-glow-color) r g b / 20%), 
        inset 0 0 10px 0 rgb(from var(--theme-glow-color) r g b / 20%);
    --border-glow-cool: 
        0 0 10px 0 rgb(from var(--theme-tertiary-color) r g b / 25%), 
        inset 0 0 10px 0 rgb(from var(--theme-tertiary-color) r g b / 25%);

    --glow-filter-main: 
        drop-shadow(0 0 5px var(--theme-main-color)) 
        drop-shadow(0 0 10px var(--theme-main-color));
    --glow-filter-warm: 
        drop-shadow(0 0 5px var(--theme-glow-color)) 
        drop-shadow(0 0 10px var(--theme-glow-color));
    --glow-filter-cool: 
        drop-shadow(0 0 5px var(--theme-tertiary-color)) 
        drop-shadow(0 0 10px var(--theme-tertiary-color));

    --image-tint-color: rgba(126, 246, 246, 0.80);
    --tinted-img-border: inset 0 0 0 1px var(--theme-tertiary-color);
    --tinted-img-border-active: inset 0 0 0 1px var(--theme-secondary-color);

    --tech-pill-bg: rgba(148, 84, 7, 0.50);

    --input-tint-color: rgb(39, 134, 147);
    --input-border-default: 1px solid rgb(from var(--theme-secondary-color) r g b / 25%);
    --input-border-filled: 1px solid rgb(from var(--theme-tertiary-color) r g b / 40%);

    --mybtn-border: .5px solid rgb(from var(--theme-main-color) r g b / 60%);
    --window-bg: rgba(120, 60, 15, 0.55);
    --window-bg-alt: rgba(10, 40, 38, 0.65);
    --window-bg-active: rgba(120, 60, 15, 0.75);
    --window-bg-dark-active: rgba(27, 24, 22, 0.75);
    --window-inset-shadow: 
        inset 0 0 4px rgba(0, 0, 0, 0.1), 
        inset 0 0 12px rgba(0, 0, 0, 0.05);
    --window-shadow-def: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --window-shadow-active: 0 20px 50px 10px rgba(13, 5, 0, 0.5);
    --window-border: 1px solid rgba(255, 174, 11, 0.15);
    --window-border-alt: 1px solid rgba(255, 174, 11, 0.10);
    --window-border-active: 1px solid rgba(255, 174, 11, 0.25);
    --element-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --main-container-color: rgba(0, 0, 0, 0.05);
    --main-container-color-darker: rgba(0, 0, 0, 0.08);
    --main-container-blur: 4px;
    --nav-scrolled-color: rgba(19, 19, 19, 0.15);
    --nav-scrolled-blur: 10px;
    --frost-color: rgba(48, 39, 32, 0.15);
    --frost-blur: 7px;
    --dark-bg: rgba(19, 19, 19, 0.15);
    --extra-dark-bg: rgba(19, 19, 19, 0.20);
    --dark-blur: 10px;
    --progress-bar-height: 1.5px; 
    --border-color: #bdbdbd;
    --dashed-line: 1px dashed rgba(255, 117, 26, 0.25);
    --dashed-line-yellow: .5px dashed rgba(255, 174, 11, 0.25);
    --line-halo: 1px solid rgb(from var(--theme-halo-color) r g b / 15%);
    --subtext-font: "Bitcount Prop Single", "Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
    --maintext-font: "Figtree", ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    --text-color-primary : #eedcca;
    --text-color-secondary : rgba(225,211,196,0.92157);
    --text-color-tertiary : rgba(183, 183, 183, 0.768);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

html { scroll-behavior: auto
} }

body {
	position: relative;
	overflow-x: hidden;
	min-height: 100svh;

	font-family: "Figtree", ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;

	font-family: var(--maintext-font);
	color: #eedcca;
	color: var(--text-color-primary);
	background-color: #15100d;
	background-color: var(--bg-primary-darker);
}

@media (color-gamut: p3) {

body { background-color:#1d1612; background-color:var(--bg-primary)
} }

body::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		
		background-image: radial-gradient(rgba(255, 157, 0, 0.65) 1px, transparent 1px);
		
		background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
		background-size: 10px 10px;

		-webkit-mask-image: radial-gradient(
			circle 550px at -1000px -1000px, 
			rgb(255, 255, 255) 25%,
			rgb(255, 255, 255, .85) 50%,
			rgb(255, 255, 255, .55) 75%,
			rgba(255, 255, 255, .35) 100%
		);
		mask-image: radial-gradient(
			circle 550px at -1000px -1000px, 
			rgb(255, 255, 255) 25%,
			rgb(255, 255, 255, .85) 50%,
			rgb(255, 255, 255, .55) 75%,
			rgba(255, 255, 255, .35) 100%
		);

		will-change: mask-image, -webkit-mask-image;
	}

@supports (color: rgb(0, 0, 0, 0)) {
body::before {

		-webkit-mask-image: radial-gradient(
			circle 550px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), 
			rgb(255, 255, 255) 25%,
			rgb(255, 255, 255, .85) 50%,
			rgb(255, 255, 255, .55) 75%,
			rgba(255, 255, 255, .35) 100%
		);
		mask-image: radial-gradient(
			circle 550px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), 
			rgb(255, 255, 255) 25%,
			rgb(255, 255, 255, .85) 50%,
			rgb(255, 255, 255, .55) 75%,
			rgba(255, 255, 255, .35) 100%
		);
	}
}

section { 
	max-width: 95vw; 
	max-width: var(--sections-maxwidth);
	padding-top: 30px;
	padding-bottom: 30px;
	padding-top: var(--sections-block-padding);
	padding-bottom: var(--sections-block-padding);
}

section#intro {
        max-width: 750px;
        min-height: 45vh;
        padding-top: 80px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

@media (min-width: 992px) {

section#intro {
            max-width: 95vw;
            max-width: var(--sections-maxwidth);
            min-height: 85vh;
            padding-left: 2rem;
            padding-right: 2rem
    }
        }

@media (min-width: 1200px) {

section#intro {
			padding-left: 3rem;
			padding-right: 3rem
    }
		}

section#about {
		max-width: 750px;
	}

@media (min-width: 992px) {

section#about { max-width: 95vw; max-width: var(--sections-maxwidth)
	}}

section#about > div:first-child { min-height: 50vh; }

section#projects > div { padding: 0; }

section#projects .unfeatured {
			padding-left: 15px;
			padding-right: 15px;
		}

@media (min-width: 768px) {

section#projects .unfeatured { padding-left: 3rem; padding-right: 3rem
		} }

section#dash_form_solo { padding-top: 100px; }

section .sections-container{
		padding: 1.5rem;
		opacity: .55;
		border-radius: 1.5rem;
		border: 1px solid transparent;
		transition: opacity 0.5s ease;
	}

@media (min-width: 992px) {

section .sections-container{
			padding: 3rem;
			opacity: 1;
			border-radius: 2rem
	}
		}

section .sections-container.is-visible { opacity: 1; }

ol li::marker {
	font-family: "Bitcount Prop Single",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
	color: rgb(255, 109, 11);
	color: var(--theme-main-color);
	text-shadow:
		0 0 5px #ff8c00,
		0 0 15px #ff8c00;
	text-shadow:
		0 0 5px var(--theme-glow-color),
		0 0 15px var(--theme-glow-color);
}

svg { width: 2rem; height: 2rem; }


/* ==========================================================================
2. SPECIFIC SECTIONS */

#main-container {
	animation: slideUpFadeIn 0.7s ease-out forwards;
}

#main-container.halo::after { border-top: none; border-bottom: none; }

@keyframes slideUpFadeIn {
  from {
      opacity: 0;
      transform: translateY(-40px);
  }
  to {
      opacity: 1;
      transform: translateY(0px);
  }
}

#vText.vertical-text-wrapper {
	display: none;
}

@media (min-width: 992px){

#vText.vertical-text-wrapper {
		display: inline;
		display: initial;
		position: fixed;
		z-index: 50;
		padding: 5px;
		writing-mode: vertical-lr;
		transform: rotate(180deg) translateX(0);
		background-color: transparent;
		transition:
			z-index 0s 0.7s, opacity 0.5s ease, transform 0.7s ease-in-out
}

		#vText.vertical-text-wrapper.vtext-hidden {
			z-index: -1;
			opacity: 0;
			transform: rotate(180deg) translateX(-100%);
		}
	}

#vText.vertical-text-wrapper:hover .vertical-text {
		font-weight: 300;
		background-color: rgba(19, 19, 19, 0.15);
		backdrop-filter: blur(5px);
		filter: 
			drop-shadow(0 10px 8px rgba(0, 0, 0, .04))
			drop-shadow(0 4px 3px rgba(0, 0, 0, .1));
	}

#vText.vertical-text-wrapper:hover .vertical-text a {
			font-weight: 300;
			color: rgb(255, 183, 0);
			color: var(--theme-secondary-color);
			text-shadow:
				0 0 10px rgb(255, 183, 0),
				0 0 15px rgb(255, 183, 0);
			text-shadow:
				0 0 10px var(--theme-secondary-color),
				0 0 15px var(--theme-secondary-color);
			transform: translateY(3px);
		}

#vText.vertical-text-wrapper .vertical-text{
		font-size: 18px;
		letter-spacing: 0.1em;
		white-space: nowrap;
		transition:
			backdrop-filter 0.5s ease, background-color 0.5s ease, filter 0.3s ease, font-weight 0.3s ease;
	}

#vText.vertical-text-wrapper .vertical-text a {
			display: flex;
			-webkit-text-decoration: none;
			text-decoration: none;
			color: rgb(255, 109, 11);
			color: var(--theme-main-color);
			text-shadow: 0 0 5px rgb(255, 109, 11), 
        0 0 15px rgb(255, 109, 11);
			text-shadow: var(--text-glow-main);
			transition:
				color 0.5s ease, text-shadow 0.5s ease, transform 0.3s ease;
		}

#socials-sidebar {
    position: fixed;
	align-items: center;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
	opacity: 1;
    z-index: 100;
    
    transition:
        z-index 0s 0.7s, transform 0.7s ease-in-out;
}

#socials-sidebar.sbar-hidden { transform: translateY(100%); }

#socials-sidebar .socials-list {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
		list-style: none;
        align-items: center;
        margin: 0;
        padding: 15px 0;
        width: 100%;
        border-radius: 0;
    }

@media (min-width: 992px) {

#socials-sidebar {
        bottom: auto;
        left: auto;
        right: 40px;
        width: -moz-max-content;
        width: max-content;
        z-index: 50;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        box-shadow: var(--element-shadow)
}

		#socials-sidebar.sbar-hidden {
            z-index: -1;
            opacity: 0;
            transform: translateX(-200%);
        }

        #socials-sidebar .socials-list {
            flex-direction: column; 
			border-radius: 3rem;
			gap: 1.5rem;
			padding-left: 0.5rem;
			padding-right: 0.5rem;
            padding-top: 1.5rem;
            padding-bottom: 1.5rem;
        }

		#socials-sidebar .darker-blur {
			--bg-primary-transluscent: var(--frost-color);
			--dark-blur: var(--frost-blur);
		}
    }

.navbar-container {
	position: fixed;
	max-width: 95vw;
	max-width: var(--sections-maxwidth);
	width: 100%;

	top: calc(env(safe-area-inset-top) + 30px);
	left: 50%;
	z-index: 1030;
	transform: translateX(-50%);
}

.navbar-container #myNavbar {
		width: 100%;
		border-radius: 2rem;

		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

		box-shadow: var(--element-shadow);
		background-color: rgba(29,22,18,0.82745);
		background-color: var(--bg-primary-transluscent);
		backdrop-filter: blur(10px);
		backdrop-filter: blur(var(--nav-scrolled-blur));
				
		transition:
			background-color 0.3s ease-in-out, transform 0.7s ease-in-out;
	}

.navbar-container #myNavbar.navbar-hidden{ transform: translateY(-150%); }

.navbar-container #myNavbar.navbar-scrolled {
			background-color: rgba(19, 19, 19, 0.15);
			background-color: var(--nav-scrolled-color);
			backdrop-filter: blur(10px);
			backdrop-filter: blur(var(--nav-scrolled-blur));
			opacity: 1;
		}

.navbar-container #myNavbar .navbar-toggler {
			border: none;
		}

.navbar-container #myNavbar .navbar-toggler svg { stroke-width: 1.2; }

#about .window-bg { padding-left: 20px; padding-right: 20px; }

@media (min-width: 992px) {

#about .window { min-height: 580px
    } }

#about .tech-list {
        display: grid;
		list-style-type: none;
        grid-template-columns: 1fr 1fr;
        grid-gap: 5px 15px;
        gap: 5px 15px;
    }

@media (min-width: 992px) {

#about .tech-list { gap: 3px 10px
    } }

#about .tech-list li {
            font-size: 0.85rem;
            position: relative;
            padding-left: 1rem;
            margin-bottom: 0.5rem;
        }

@media (min-width: 992px) {

#about .tech-list li { font-size: 0.95rem
        } }

#about .tech-list li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 0.5rem; 
                width: 5px;
                height: 5px;
                border-radius: 50%;
                background-color: rgb(31, 222, 228);
                background-color: var(--theme-tertiary-color);
                filter: drop-shadow(0 0 5px rgb(31, 222, 228)) 
        drop-shadow(0 0 10px rgb(31, 222, 228));
                filter: var(--glow-filter-cool);
                border: 1px solid rgb(31, 222, 228);
                border: 1px solid var(--theme-tertiary-color);
                opacity: 0.75;
            }

#about .tinted-img {
        width: 250px;
        max-width: 100%;
    }

#about .sections-container:has(.p-regular-text:hover) .window { opacity: 1; }

#about .sections-container:has(.p-regular-text:hover) .window-bg { background-color: rgba(120, 60, 15, 0.55); background-color: var(--window-bg); }

#projects svg {
		width: 1.1rem;
		height: 1.1rem;
		stroke-width: 1;
	}

#projects strong, #projects em {
		color: rgb(31, 222, 228);
		color: var(--theme-tertiary-color);
		text-shadow: 0 0 5px rgb(31, 222, 228), 
        0 0 15px rgb(31, 222, 228);
		text-shadow: var(--text-glow-cool);
	}

#projects .tech-list {
		display: flex;
		gap: 0.5rem;
		padding: 0;
		margin: 0;
		list-style-type: none;
	}

#projects .tech-list li {
			cursor: default;
			background-color: rgba(148, 84, 7, 0.50);
			background-color: var(--tech-pill-bg);
			backdrop-filter: blur(7px);
			backdrop-filter: blur(var(--frost-blur));
			-webkit-backdrop-filter: blur(7px);
			-webkit-backdrop-filter: blur(var(--frost-blur));
			padding: 0.3rem 0.6rem;
			border-radius: 1rem;
			font-size: 0.9rem;
		}

#projects .tech-list li:hover { cursor: pointer; }

#projects .tech-list .ms-auto {
			background-color: transparent;
			border-radius: none;
			backdrop-filter: none;
			-webkit-backdrop-filter: none;
		}

#projects .project-showcase:has(.tinted-img:hover) .window { opacity: 1; }

#projects .project-showcase:has(.tinted-img:hover) .window-bg { background-color: rgba(120, 60, 15, 0.55); background-color: var(--window-bg); }

.project-showcase {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 4rem;
    gap: 0;
    transform: none;
}

.project-showcase .project-img-wrapper {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden; 
    }

.project-showcase .project-content-card {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0 0 0;        
        padding: 0;
        transform: translate(0, 0);
    }

.project-showcase .project-content-card .d-flex.z-3 {
            justify-content: flex-start;
            padding-left: 0.5rem;
        }

@media (min-width: 768px) {

.project-showcase {
        flex-direction: row;
        align-items: center;
        max-width: 100%;
        overflow: visible;
        margin-top: 0;
        margin-bottom: 0
}

        .project-showcase .project-img-wrapper {
            order: initial;
            flex: 0 0 55%;
            max-width: 55%;
            z-index: 1;
            overflow: visible;
        }

        .project-showcase .project-content-card {
            order: initial;
            flex: 0 0 60%;
            max-width: 60%;
            margin: 0 0 0 -15%;
            z-index: 2;
            pointer-events: auto;
        }

            .project-showcase .project-content-card .d-flex.z-3 {
                justify-content: initial; 
                padding-left: 0; 
            }

        .project-showcase.inverted .project-content-card {
            margin-left: 0;
            margin-right: -15%;
        }
    }

#contact-form svg.icon { width: 20px; height: 20px; }

#contact-form .form-label { font-weight: 100;}

#contact-form .form-control {
		font-family: "Bitcount Prop Single", "Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
		font-family: var(--subtext-font);
		font-weight: 300;
		caret-color: rgb(255, 183, 0);
		caret-color: var(--theme-secondary-color);
		text-shadow: 0 0 5px #eedcca;
		text-shadow: var(--text-glow-white-subdued);
		background-color: rgba(19, 19, 19, 0.15);
		background-color: var(--dark-bg);
		border: 1px solid rgba(255, 183, 0, 0.25);
		border: var(--input-border-default); 
		box-shadow: 0 0 10px 0 rgba(255, 140, 0, 0.2), 
        inset 0 0 10px 0 rgba(255, 140, 0, 0.2); 
		box-shadow: var(--border-glow-warm); 
		background-clip: padding-box;
		border-radius: .5rem;
		-moz-appearance: none;
		     appearance: none;
		-webkit-appearance: none;
		will-change: box-shadow; 
		transition: 
			background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	}

#contact-form .form-control::-webkit-contacts-auto-fill-button,
	#contact-form .form-control::-webkit-credentials-auto-fill-button {
		background-color: #ffffff; 
	}

#contact-form .form-control:focus { outline: none !important; }

#contact-form .form-control:-webkit-autofill,
	#contact-form .form-control:-webkit-autofill:hover,
	#contact-form .form-control:-webkit-autofill:focus,
	#contact-form .form-control:-webkit-autofill:active {
		-webkit-transition: background-color 10000s ease-in-out 0s !important;
		transition: background-color 10000s ease-in-out 0s !important;
		-webkit-text-fill-color: rgb(255, 109, 11) !important;
		-webkit-text-fill-color: var(--theme-main-color) !important;
		border: 1px solid rgba(31, 222, 228, 0.4) !important;
		border: var(--input-border-filled) !important;
		box-shadow: 0 0 10px 0 rgba(31, 222, 228, 0.25), 
        inset 0 0 10px 0 rgba(31, 222, 228, 0.25) !important;
		box-shadow: var(--border-glow-cool) !important;
	}

#contact-form .form-control:not(:-moz-placeholder) {
		background-color: rgba(39, 134, 147, 0.25);
		border: 1px solid rgba(31, 222, 228, 0.4);
		border: var(--input-border-filled);
		box-shadow: 0 0 10px 0 rgba(31, 222, 228, 0.25), 
        inset 0 0 10px 0 rgba(31, 222, 228, 0.25);
		box-shadow: var(--border-glow-cool);
		animation: flicker-input-light-in 0.3s ease-out forwards; 
		}

#contact-form .form-control:not(:placeholder-shown) {
		background-color: rgba(39, 134, 147, 0.25);
		border: 1px solid rgba(31, 222, 228, 0.4);
		border: var(--input-border-filled);
		box-shadow: 0 0 10px 0 rgba(31, 222, 228, 0.25), 
        inset 0 0 10px 0 rgba(31, 222, 228, 0.25);
		box-shadow: var(--border-glow-cool);
		animation: flicker-input-light-in 0.3s ease-out forwards; 
		}

@supports (color: color-mix(in lch, red, blue)) {
#contact-form .form-control:not(:-moz-placeholder) {
		background-color: color-mix(in srgb, var(--input-tint-color) 25%, transparent); 
		}
#contact-form .form-control:not(:placeholder-shown) {
		background-color: color-mix(in srgb, var(--input-tint-color) 25%, transparent); 
		}
}

#contact-form textarea.form-control { resize: vertical; }

#contact-form .blink-colon { animation: blink-colon 1s step-end infinite; } @keyframes flicker-input-light-in {
	0% {
		background-color: rgba(19, 19, 19, 0.15);
		background-color: var(--dark-bg);
		border: 1px solid rgba(255, 183, 0, 0.25);
		border: var(--input-border-default);
		box-shadow: 0 0 10px 0 rgba(255, 140, 0, 0.2), 
        inset 0 0 10px 0 rgba(255, 140, 0, 0.2);
		box-shadow: var(--border-glow-warm);
	}
	10%, 40%, 70%, 90% {
		background-color: rgba(39, 134, 147, 0.25);
		border: 1px solid rgba(31, 222, 228, 0.4);
		border: var(--input-border-filled);
		box-shadow: 0 0 10px 0 rgba(31, 222, 228, 0.25), 
        inset 0 0 10px 0 rgba(31, 222, 228, 0.25);
		box-shadow: var(--border-glow-cool);
	}

@supports (color: color-mix(in lch, red, blue)) {
10%, 40%, 70%, 90% {
		background-color: color-mix(in srgb, var(--input-tint-color) 25%, transparent);
	}
}
	30%, 60%, 80% {
		background-color: rgba(19, 19, 19, 0.15);
		background-color: var(--dark-bg);
		border: 1px solid rgba(255, 183, 0, 0.25);
		border: var(--input-border-default);
		box-shadow: 0 0 10px 0 rgba(255, 140, 0, 0.2), 
        inset 0 0 10px 0 rgba(255, 140, 0, 0.2);
		box-shadow: var(--border-glow-warm);
	}
	100% {
		background-color: rgba(39, 134, 147, 0.25);
		border: 1px solid rgba(31, 222, 228, 0.4);
		border: var(--input-border-filled);
		box-shadow: 0 0 10px 0 rgba(31, 222, 228, 0.25), 
        inset 0 0 10px 0 rgba(31, 222, 228, 0.25);
		box-shadow: var(--border-glow-cool);
	}

@supports (color: color-mix(in lch, red, blue)) {
100% {
		background-color: color-mix(in srgb, var(--input-tint-color) 25%, transparent);
	}
}
} @keyframes blink-colon {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

#messages .message-list { height: 550px; }

#messages-archive .message-list { height: 700px; }

.message-list {

	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1), 
        inset 0 0 12px rgba(0, 0, 0, 0.05);

	box-shadow: var(--window-inset-shadow);
  	border-radius: 0 0 1rem 1rem;
}

.message-list .message-item {
		border: 1px solid transparent;
		border-radius: 1rem;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		transition: 
			background-color 0.3s ease, border 0.3s ease;
	}

.message-list .message-item:hover { background-color: rgba(120, 60, 15, 0.75); background-color: var(--window-bg-active); }

#messages .sections-container:has(.window:hover) .message-list .message-item {
            border: 1px solid rgba(255, 174, 11, 0.10);
            border: var(--window-border-alt);
        }

#messages-archive .sections-container:has(.window:hover) .message-list .message-item {
            border: 1px solid rgba(255, 174, 11, 0.10);
            border: var(--window-border-alt);
        }

.message-list .message-header {
		height: 35px;
  		border-radius: 2rem;
	}

.message-list .message-header.msg-header-new { background-color: rgba(148, 84, 7, 0.50); background-color: var(--tech-pill-bg); }

.message-list .message-header .mybtn svg {
			width: 1.5rem !important;
			height: 1.5rem !important;
			stroke-width: 2;
		}

.message-list .timestamp {
		font-size: 0.8rem;
  		color: rgba(183, 183, 183, 0.768);
  		color: var(--text-color-tertiary)
	}


/* ==========================================================================
3. GLOBAL COMPONENTS */

/* progress bar */
.progress-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 1.5px;
	height: var(--progress-bar-height);
	background-color: transparent;
	z-index: 1031;
}
.progress-container .progress-bar {
		margin: 0;
		opacity: .5;
		height: 100%;
		width: 0;
		background-color: rgb(255, 183, 0);
		background-color: var(--theme-secondary-color);
		filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
		filter: var(--glow-filter-warm);
	}
.progress-container .progress-bar--complete {
		box-shadow: none;
		filter: 
			drop-shadow(0 0 10px #ff8c00) 
			drop-shadow(0 0 10px #ff8c00);
		filter: 
			drop-shadow(0 0 10px var(--theme-glow-color)) 
			drop-shadow(0 0 10px var(--theme-glow-color));
	}

/* flash message */
.flash-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	width: auto;
	min-width: 300px;
	text-align: center;
	backdrop-filter: blur(4px);
}
.flash-container .alert {
		opacity: 0.75;
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
		box-shadow: var(--window-shadow-def);
        border: none !important;
		margin-bottom: 0;
        overflow: hidden;
        animation: autoHideAlert 5s forwards;
	}

@keyframes autoHideAlert {
    0% {
        opacity: 1;
        max-height: 150px;
        visibility: visible;
    }
    80% {
        opacity: 1;
        max-height: 150px;
        visibility: visible;
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 0;
    }
    100% {
        opacity: 0;
        max-height: 0;
        visibility: hidden;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        overflow: hidden;
    }
}

/* bouncing arrow */
.next-section-link svg {
	width: 1.2rem;
	height: 1.2rem;
	animation: bounce 1s infinite ease-in-out 1.5s;
}
@media (min-width: 991px) {
.next-section-link svg { width: 2rem; height: 2rem
} }
.next-section-link svg .nsl {
		opacity: 1;
		transition:
			opacity 0.5s ease, transform 0.7s ease-in-out;
	}
.next-section-link svg .nsl.nsl-hidden {
			opacity: 0;
			visibility: hidden;
			transform: translateY(-20px);
		} @keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* floating windows */
.window {
	overflow-y: auto; 
	border-radius: 1rem;
	opacity: 0.90;
	border: 1px solid rgba(255, 174, 11, 0.15);
	border: var(--window-border);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	box-shadow: var(--window-shadow-def);
	transition: 
		transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease, border 0.5s ease;
}
.window:hover {
		opacity: 1.00;
		transform: translateY(-4px);
		box-shadow: 0 20px 50px 10px rgba(13, 5, 0, 0.5);
		box-shadow: var(--window-shadow-active);
		border: 1px solid rgba(255, 174, 11, 0.25);
		border: var(--window-border-active);
	}
.window .window-header {
		border-bottom: 1px solid rgba(255, 174, 11, 0.15);
		border-bottom: var(--window-border);
		border-radius: 1rem 1rem 0 0;
	}
.window p { margin-bottom: 0; }
.window .window-bg {
		box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1), 
        inset 0 0 12px rgba(0, 0, 0, 0.05);
		box-shadow: var(--window-inset-shadow);
		border-top: 1px solid rgba(255, 174, 11, 0.15);
		border-top: var(--window-border);
		border-radius: 0 0 1rem 1rem;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		transition: 
			background-color 0.5s ease, opacity 0.5s ease;
	}
.window .window-bg:hover {
			filter: 
				drop-shadow(0 10px 8px rgba(0,0,0,.04))
				drop-shadow(0 4px 3px rgba(0,0,0,.1));
		}
.window .window-bg::before {
			border-radius: 1rem;
			pointer-events: none;
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 0.5px;
			background-color: #ff8c00;
			background-color: var(--theme-glow-color);
			filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
			filter: var(--glow-filter-warm);
			opacity: 0;
			transition: opacity 0.5s ease;
		}
.window .window-bg:hover::before { animation:flicker-in .3s ease-in forwards; }
.window .window-bg.window-bg-orange { background-color: rgba(120, 60, 15, 0.55); background-color: var(--window-bg); }
.window .window-bg.window-bg-orange:hover { background-color: rgba(120, 60, 15, 0.75); background-color: var(--window-bg-active); }
.window .window-bg.window-bg-dark { background-color: rgba(19, 19, 19, 0.15); background-color: var(--dark-bg); }
.window .window-bg.window-bg-dark:hover { background-color: rgba(120, 60, 15, 0.75); background-color: var(--window-bg-active); }
.window .desc-content {
		max-height: 6em;
		overflow: hidden;
	}
.window .desc-content::after {
			content: "";
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 1.5em;
			pointer-events: none;
			transition: opacity 0.4s ease;
		}
.window .desc-toggle-btn-cont {
		margin-top: 2px;
		border-top: 1px solid rgba(255, 174, 11, 0.15);
		border-top: var(--window-border);
		padding-top: 5px;
	}
.window .desc-toggle-btn::before {
			content: "[ show more ↓ ]";
			font-size: 0.85rem;
			cursor: pointer;
			-webkit-text-decoration: none;
			text-decoration: none;
		}
.window .desc-toggle ~ .desc-content {
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 4;
		}
.window .desc-toggle:checked ~ .desc-content {
				display: block;
				max-height: 1500px;
				-webkit-line-clamp: unset;
			}
.window .desc-toggle:checked ~ .desc-content::after {
					opacity: 0;
				}
.window .desc-toggle:checked ~ .desc-toggle-btn-cont .desc-toggle-btn::before {
				content: "[ show less ↑ ]";
			} @keyframes flicker-in {
	0% { opacity: 0.2; }
	10%, 40%, 70%, 90% { opacity: 0.8; }
	30%, 60%, 80% { opacity: 0.4; }
	100% { opacity: 1; }
}

.message-item .desc-content{
  max-height: 3rem;
}

.link-filter-glow-main {
	color: rgb(255, 109, 11);
	color: var(--theme-main-color);
	filter: drop-shadow(0 0 5px rgb(255, 109, 11)) 
        drop-shadow(0 0 10px rgb(255, 109, 11));
	filter: var(--glow-filter-main);
	will-change: transform;
	transition: 
		color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.link-filter-glow-main:hover {
		color: rgb(255, 183, 0);
		color: var(--theme-secondary-color);
		filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
		filter: var(--glow-filter-warm);
		will-change: transform;
		transform: translateY(-2px);
		stroke-width: 1;
	}

.link-filter-glow-tertiary {
	color: rgb(31, 222, 228);
	color: var(--theme-tertiary-color);
	filter: drop-shadow(0 0 5px rgb(31, 222, 228)) 
        drop-shadow(0 0 10px rgb(31, 222, 228));
	filter: var(--glow-filter-cool);
	will-change: transform;
	transition: 
		color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.link-filter-glow-tertiary:hover {
		color: rgb(255, 183, 0);
		color: var(--theme-secondary-color);
		filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
		filter: var(--glow-filter-warm);
		will-change: transform;
		transform: translateY(-2px);
		stroke-width: 1;
	}

.text-glow-main {
	font-family: "Bitcount Prop Single",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
	color: rgb(255, 109, 11);
	color: var(--theme-main-color);
	text-shadow: 0 0 5px rgb(255, 109, 11), 
        0 0 15px rgb(255, 109, 11);
	text-shadow: var(--text-glow-main);
}

.text-glow-tertiary {
	font-family: "Bitcount Prop Single",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
	color: rgb(31, 222, 228);
	color: var(--theme-tertiary-color);
	text-shadow: 0 0 5px rgb(31, 222, 228), 
        0 0 15px rgb(31, 222, 228);
	text-shadow: var(--text-glow-cool);
}


/* ==========================================================================
4. VISUAL EFFECTS */

.color-grade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none; 
    z-index: 9999;
    background-color: rgba(255, 140, 50, 0.25);
    mix-blend-mode: multiply;
}

.container-blur-bg {
	background-color: #1d1612;
	background-color: var(--bg-primary);
	backdrop-filter: blur(4px);
	backdrop-filter: blur(var(--main-container-blur));
	opacity: 1;
}

@media (color-gamut: p3) {

.container-blur-bg { background-color:rgba(0, 0, 0, 0.05); background-color:var(--main-container-color)
} }

.typing-text {
	position: relative;
	white-space: nowrap;
	font-family: "Bitcount Prop Single",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;

	color: rgb(255, 109, 11);

	color: var(--theme-main-color);
	text-shadow:
		0 0 5px rgb(255, 109, 11),
		0 0 15px rgb(255, 109, 11);
	text-shadow:
		0 0 5px var(--theme-main-color),
		0 0 15px var(--theme-main-color);
	
	will-change: visibility;
	transition: visibility 0.5 ease;
}

.typing-text::after {
		content: '';
		position: absolute;
		top: 0;
		right: -0.5rem;
		width: .2rem;
		height: 80%;
		background-color: rgb(255, 183, 0);
		background-color: var(--theme-secondary-color);
		box-shadow: 
			0 0 8px rgb(255, 183, 0),
			0 0 12px rgb(255, 183, 0);
		box-shadow: 
			0 0 8px var(--theme-secondary-color),
			0 0 12px var(--theme-secondary-color);
		animation: blink .75s step-end infinite;
		will-change: opacity;
		transition: visibility 0.5 ease;
	} @keyframes blink {
    50% {
        background-color: transparent;
        box-shadow: none;
    }
}

.tinted-img {
    border-radius: .5rem;
    position: relative;
    display: block; 

    isolation: isolate; 
    transform: translateZ(0);
    backface-visibility: hidden;

    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-composite: intersect;
    -webkit-mask-composite: source-over;
}

.tinted-img img {
        filter: grayscale(100%);
        border-radius: .5rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        box-shadow: var(--element-shadow);
        transform: scale(1.02) translateZ(0); 
        transform-origin: center;
        backface-visibility: hidden;
        transition: filter 0.4s ease-in-out;
    }

.tinted-img::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(126, 246, 246, 0.80);
        background-color: var(--image-tint-color); 
        mix-blend-mode: multiply;
        z-index: 1; 
        clip-path: inset(0 0 0 0);
        transition: clip-path 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

.tinted-img::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: inherit;
        z-index: 2;
        pointer-events: none;
        box-shadow: inset 0 0 0 1px rgb(31, 222, 228);
        box-shadow: var(--tinted-img-border);
        filter: drop-shadow(0 0 5px rgb(31, 222, 228)) 
        drop-shadow(0 0 10px rgb(31, 222, 228));
        filter: var(--glow-filter-cool); 
        opacity: 0.25;
        clip-path: inset(0 0 0 0);
        transition: clip-path 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

.tinted-img::before,
    .tinted-img::after {
        clip-path: none; 
        transform: translate3d(0, 0, 0);
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

.tinted-img:hover img {
            filter: grayscale(0%);
            transition: filter 0.4s ease-in-out 0.15s;
        }

.tinted-img:hover::before,
        .tinted-img:hover::after {
            transform: translate3d(0, -100%, 0);
            transition: transform 0.4s ease-in-out 0.15s, opacity 0.4s ease-in-out 0.15s;
        }

.is-mac-chrome .tinted-img::before,
        .is-mac-chrome .tinted-img::after {
            transform: none; 
            clip-path: inset(0 0 0 0);
            transition: clip-path 0.4s ease-in-out, opacity 0.4s ease-in-out;
        }

.is-mac-chrome .tinted-img:hover::before,
        .is-mac-chrome .tinted-img:hover::after {
            transform: none;
            clip-path: inset(0 0 100% 0);
            transition: clip-path 0.4s ease-in-out 0.15s, opacity 0.4s ease-in-out 0.15s;
        }

.halo::after{
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		border-radius: inherit;
		border: 1px solid rgba(255, 174, 11, 0.15);
		border: var(--line-halo);
		filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
		filter: var(--glow-filter-warm);
		pointer-events: none;
	}

#about .halo::after,#contact .halo::after{
			opacity: 0;
  			transition: opacity 0.5s ease;
		}

#about .halo.is-visible::after, #contact .halo.is-visible::after { opacity: 1; }

.line-trigger .p-regular-text, .line-trigger .text {
		opacity: .80;
		transition: opacity 0.3s ease;
		will-change: opacity;
	}

.line-trigger:hover .p-regular-text, .line-trigger:hover .text { opacity: 1; }

.line-trigger:hover .line-animated-heading::after {
			transform: scaleX(1);
			will-change: transform;
		}

.line-trigger .line-animated-heading {
		display: flex;
		align-items: center;
		gap: 1rem;
	}

.line-trigger .line-animated-heading::after{
			content: '';
			display: block;
			height: 1px; 
			background-color: rgb(255, 183, 0); 
			background-color: var(--theme-secondary-color);
			filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
			filter: var(--glow-filter-warm);
			opacity: 0.25;
			flex-grow: 1;
			
			transform: scaleX(0);
			transform-origin: left;
			transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
			will-change: transform;
		}


/* ==========================================================================
5. QUICK APPLY UTILITIES */

.fw100 { font-weight: 100; }
.fw200 { font-weight: 200; }
.fw300 { font-weight: 300; }
.fw400 { font-weight: 400; }
.fw500 { font-weight: 500; }
.fw600 { font-weight: 600; }
.fw700 { font-weight: 700; }

.text-color-secondary { color: rgba(225,211,196,0.92157); color: var(--text-color-secondary); }
.p-regular-text { color: rgba(225,211,196,0.92157); color: var(--text-color-secondary); }

.bitcount { font-family: "Bitcount Prop Single", "Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif; font-family: var(--subtext-font); }
.googlesans { font-family: "Google Sans Code", monospace; }
.inter { font-family: "Inter", sans-serif; }
.mont { font-family: "Montserrat", sans-serif; }

.opac50 { opacity: .5; }
.opac75 { opacity: .75; }

.icon {
	stroke: currentColor;
	stroke-width: .5;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.frosty-blur {
  background-color: rgba(48, 39, 32, 0.15);
  background-color: var(--frost-color);
  backdrop-filter: blur(7px);
  backdrop-filter: blur(var(--frost-blur));
  opacity: 1;
}

.dark-blur {
  background-color: rgba(19, 19, 19, 0.15);
  background-color: var(--dark-bg);
  backdrop-filter: blur(10px);
  backdrop-filter: blur(var(--dark-blur));
  opacity: 1;
}

.extra-dark-blur {
  background-color: rgba(19, 19, 19, 0.20);
  background-color: var(--extra-dark-bg);
  backdrop-filter: blur(10px);
  backdrop-filter: blur(var(--dark-blur));
  opacity: 1;
}

.darker-blur {
	background-color: rgba(29,22,18,0.82745);
	background-color: var(--bg-primary-transluscent);
	backdrop-filter: blur(10px);
	backdrop-filter: blur(var(--dark-blur));
	opacity: 1;
}

.solid-bg {
	background-color: #1d1612;
	background-color: var(--bg-primary);
	opacity: 1;
}

.footer-container {
	position: relative;
	z-index: 2;
}

.glow-white {
	text-shadow:
		0 0 5px #eedcca,
		0 0 15px #eedcca;
	text-shadow:
		0 0 5px var(--text-color-primary),
		0 0 15px var(--text-color-primary);
}

.mybtn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	-webkit-text-decoration: none;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 200;
}

.mybtn.mybtn-no-border {
		background-color: transparent;
		border: none;
		color: rgb(31, 222, 228);
		color: var(--theme-tertiary-color);
		filter: drop-shadow(0 0 5px rgb(31, 222, 228)) 
        drop-shadow(0 0 10px rgb(31, 222, 228));
		filter: var(--glow-filter-cool);
		will-change: transform;
		opacity: 1;
		transition: 
			color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
	}

.mybtn.mybtn-no-border:hover {
			color: rgb(255, 183, 0);
			color: var(--theme-secondary-color);
			filter: drop-shadow(0 0 5px #ff8c00) 
        drop-shadow(0 0 10px #ff8c00);
			filter: var(--glow-filter-warm);
			transform: translateY(-2px);
		}

.mybtn.mybtn-no-border svg { width: 1rem; height: 1rem; }