@font-face {
    font-family: "SukkhaCitta";
    src: url("assets/fonts/sukkhacitta.woff") format("woff");
    src: url("assets/fonts/sukkhacitta.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Alegreya Sans";
    src: url("assets/fonts/AlegreyaSans-Regular.woff") format("woff");
    src: url("assets/fonts/AlegreyaSans-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Alegreya Sans";
    src: url("assets/fonts/AlegreyaSans-Italic.woff") format("woff");
    src: url("assets/fonts/AlegreyaSans-Italic.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Alegreya Sans";
    src: url("assets/fonts/AlegreyaSans-Medium.woff") format("woff");
    src: url("assets/fonts/AlegreyaSans-Medium.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
	--bg-color: #341e13;
	--text-color: rgba(0, 0, 0, 0.75);
	--text-black: #000;
	--text-white: #fff;
	--text-muted: rgba(0, 0, 0, 0.75);
	--border-color: rgba(0, 0, 0, 0.25);
}

img{user-drag: none; user-select: none;-moz-user-select: none;-webkit-user-drag: none;-webkit-user-select: none;-ms-user-select: none;}

::selection {
    background-color: #341e13;
    color: #fff;
    text-shadow: none;
}

*{
	transition: all 0.3s ease;
	scroll-behavior: smooth;
}

/*
@media (prefers-color-scheme: dark) {
	:root {
		--bg-color: #000;
		--text-color: #fff;
		--text-muted: #999;
		--project-bg: #111;
		--project-hover: #1a1a1a;
		--border-color: #222;
	}
}
*/

body {
	font-family: "SukkhaCitta", -apple-system, BlinkMacSystemFont, sans-serif;
	letter-spacing: -.5px;
	background: var(--bg-color); /* fallback if video fails */
	color: var(--text-color);
	transition: background-color 0.3s ease, color 0.3s ease;
}

span{
	font-family: "Alegreya Sans", sans-serif;
	font-size: .95em;
	line-height: 1;
	letter-spacing: 0px;
}
span strong{
	font-weight: bold;
}

#video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    filter:grayscale(.5);
    -webkit-filter:grayscale(.5);
}

.video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    background: var(--bg-color);
    pointer-events: none;
}

#video:before{
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(37, 22, 14, 0.85); /* dark overlay */
}

#content{
	max-width: 400px;
	margin: 7rem auto;
	padding: 2rem;
	background-image: linear-gradient(#fff, rgba(255,255,255,.5) 7.5%, transparent 25%);
	background-color:rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Header Styles */
header {
	border-bottom: 1px solid var(--border-color);
}

.logo {
	margin: 2rem 0 2rem;
	max-width: 256px;
}

.logo img{
	width:100%
}

.tagline {
	font-size: 1.1rem;
	color: var(--text-color);
	margin-bottom: 2rem;
}
.tagline p:hover,.tagline span:hover{
	color: var(--text-black);
}
.tagline p{
	line-height: 1.5;
}
.tagline span{
	font-size: 1rem;
	line-height: 1.5;
}
.tagline a:hover{
	opacity: .75;
}

/* Link Styles */
#main{
	display: block;
	max-width: 100%;
}
#main .hero{
	color: var(--text-white);
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--bg-color);
	filter:grayscale(0.35);
	-webkit-filter:grayscale(0.35);
	padding: 1.25rem 1rem;
	margin-bottom: .5rem;
	position: relative; /* Add this */
    overflow: hidden; 
}
#main .hero:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-color);
	opacity: 0.65;
	pointer-events: none;
    z-index: 1;
	transition: all 0.3s ease;
}
#main .hero > * {
    position: relative;
    z-index: 2;
}
#main .hero:hover{
	background-size: 105%;
	filter:grayscale(0);
	-webkit-filter:grayscale(0);
}
#main .hero:hover:before{
	opacity: 0.5;
}
#main .hero p{
	margin: 0 0 1.5rem;
	line-height: 1.5;
}
#main .hero a{
	font-family: "Alegreya Sans", sans-serif;
	letter-spacing: 0px;
	border: solid 1px;
	padding: .5em .85em;
	background: rgba(37, 22, 14, 0.25);
	color: var(--text-white);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
#main .hero a:not(:last-child){
	margin-bottom: .5rem
}
#main .hero a:hover{
	border-color:rgba(255, 255, 255, 0.5);
	background: rgba(0, 0, 0, 0.05)
}
#main .link{
	border: solid 2px;
	padding: .5em .75em;
	width: 100%;
}
#main .hero.story{
	background-size: cover;
}
#shopify{
	display: flex;
	gap: .5rem;
	margin-bottom: 1rem;
	align-content: start;
}
#shopify:hover button{
	opacity: .65;
	filter:blur(1px);
	-webkit-filter:blur(1px)
}
#shopify button:hover{
	opacity: 1;
	filter:blur(0px);
	-webkit-filter: blur(0px);
}
#shopify button{
	max-width: 50%;
	font-family: "Alegreya Sans", sans-serif;
	letter-spacing: 0px;
	align-self: flex-start;
	color: #fff;
	background:transparent;
	border:none;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	cursor: zoom-in;
}
#shopify button p{
	font-size: .95em;
	line-height: 1.35 !important;
	margin: .5em 0 !important;
}
#shopify button img{
	max-width: 100%;
}

/* Featured Section */
.featured {
	position: relative;
	margin: 2rem 0 2rem ;
}

.featured p{
	padding: 0 1rem .5rem;
}

.featured-container {
	position: relative;
	overflow: hidden;
	height: 20px;
	mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
}

.featured-track {
	display: flex;
	width: fit-content;
}

.featured-list {
	display: flex;
	gap: 3rem;
}

.featured-track:hover {
	animation-play-state: paused;
}

.featured-list span {
	display: flex;
	align-items: center;
	height: 20px;
}

.featured-logo {
	height: 20px;
	width: auto;
	filter:grayscale(1)brightness(0.5);
}

.featured-list .www{
	height: 10px;
}

/* Contact Section */
.social{
	display: flex;
	flex-wrap: wrap;
	gap: 0rem;
	justify-content: space-around;
	margin: 2rem 0;
}
.social a img{
	width: 24px;
	height: 24px;
}
.social a{
	margin-right: 0.5rem;
}
.social:hover a{
	opacity: .5;
	filter:blur(1px);
	-webkit-filter:blur(1px)
}
.social a:hover{
	opacity: 1;
	filter:blur(0px);
	-webkit-filter:blur(0px)
}

/* Footer */
section+footer{
	border-top: 1px solid var(--border-color);
}
footer {
	padding: 1rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
footer span{
	color: var(--text-muted);
	font-size: 0.85rem;
}
footer div:last-child{
	text-align: right;
}
footer img{
	max-height: 30px;
}
footer img:hover{
	opacity: .75;
}
footer img.bc{
	margin-right: .5rem;
}
footer img.eh{
	max-height: 28px;
}

/* Link with arrow styles */
a{
	text-decoration: none;
	color: var(--text-color);
}
.ref:not(.header-logo) {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.ref:not(.header-logo)::after {
	content: '';
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 256 256'%3E%3Cpath d='M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
}

@media (prefers-color-scheme: dark) {
	.ref:not(.header-logo)::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 256 256'%3E%3Cpath d='M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z'%3E%3C/path%3E%3C/svg%3E");
	}
}

.ref:not(.header-logo):hover::after {
	transform: translate(2px, -2px);
}

/* Responsive Design */
@media (max-width: 600px) {
	#content {
		margin: auto;
		padding: 1rem 1.5rem;
	}
	#main .hero{
		background-size: cover;
	}
	#main .hero:hover{
		background-size: cover;
	}
	#main .hero a{
		font-size: 1.15rem;
		padding: .5em .85em;
	}
}

/* Image Loading Optimization */
img {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* White */
#video:before{
	background-color: rgba(255,255,255, 0.75); /* dark overlay */
}
#content{
	background-image: linear-gradient(#fff, transparent 20%);
	background-color:rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(7.5px);
	-webkit-backdrop-filter: blur(7.5px);
}