/*
	## CSS Variables
	Semantic color mapping.
	Japanese Washi paper background + Cali sunset accents.
*/

:root {
	--bg: #F9F7F2; /* Washi white */
	--fg: #2D3436; /* Ink black */
	--dim: #636E72;
	--accent-start: #FF7043; /* Cali sunset orange */
	--accent-end: #D81B60; /* Deep pink */
	--mono: 'Menlo', 'Monaco', 'Courier New', monospace;
	--sans: 'Inter', system-ui, -apple-system, sans-serif;
	--space-unit: 1.5rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121212;
		--fg: #FAFAFA;
		--dim: #B0BEC5;
	}
}

/*	## Reset & Base */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg);
	color: var(--fg);
	font-family: var(--sans);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/*	## Layout Container
	Strict max-width for readability. */
main {
	width: 100%;
	max-width: 600px;
	padding: var(--space-unit);
}

/*	## Header */
header {
	margin-bottom: calc(var(--space-unit) * 3);
	border-left: 2px solid var(--fg);
	padding-left: var(--space-unit);
}

h1 {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.subtitle {
	font-family: var(--mono);
	font-size: 0.875rem;
	color: var(--dim);
	margin-top: 0.5rem;
}

/*	## Link List */
ul {
	list-style: none;
}

li {
	margin-bottom: var(--space-unit);
}

/*	## Link Styling
	Minimal default, expressive hover. */
a {
	display: block;
	text-decoration: none;
	color: var(--fg);
	font-size: 1.125rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(128, 128, 128, 0.2);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

/* ## Hover State */
a:hover {
	border-bottom-color: transparent;
}

/* ## Text Gradient 
   Note: Gradients cannot be transitioned smoothly without pseudo-elements. 
   This will snap to gradient on hover. */
a:hover .link-text {
	background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0.5px var(--accent-start); /* Simulates bold */
}

/*	## Metadata Technical details
	aligned right. */
.meta {
	float: right;
	font-family: var(--mono);
	font-size: 0.75rem;
	color: var(--dim);
	opacity: 0.6;
}
