/*
 ___ ___ _______ ______ _______ _______ _______ ______                 __
|   |   |    ___|   __ \_     _|    |  |    ___|   __ \  .-----.-----.|  |_
|   |   |    ___|      < |   | |       |    ___|      <__|     |  -__||   _|
 \_____/|_______|___|__| |___| |__|____|_______|___|__|__|__|__|_____||____|

CSS hand-built with liberal inspiration from
	http://n-o-d-e.net
	https://alddesign.github.io/cyberpunk-css/
	https://www.wendyzhou.se/
*/

/* ===== FONTS ===== */
@font-face { font-family: 'ChakraPetch'; font-weight: 300; src: url('/fonts/ChakraPetch-Light.ttf'); }
@font-face { font-family: 'ChakraPetch'; font-weight: 400; src: url('/fonts/ChakraPetch-Regular.ttf'); }
@font-face { font-family: 'ChakraPetch'; font-weight: 500; src: url('/fonts/ChakraPetch-Medium.ttf'); }
@font-face { font-family: 'ChakraPetch'; font-weight: 600; src: url('/fonts/ChakraPetch-SemiBold.ttf'); }
@font-face { font-family: 'ChakraPetch'; font-weight: 700; src: url('/fonts/ChakraPetch-Bold.ttf'); }
@font-face { font-family: 'Rajdhani'; font-weight: 300; src: url('/fonts/Rajdhani-Light.ttf'); }
@font-face { font-family: 'Rajdhani'; font-weight: 400; src: url('/fonts/Rajdhani-Regular.ttf'); }
@font-face { font-family: 'Rajdhani'; font-weight: 500; src: url('/fonts/Rajdhani-Medium.ttf'); }
@font-face { font-family: 'Rajdhani'; font-weight: 600; src: url('/fonts/Rajdhani-SemiBold.ttf'); }
@font-face { font-family: 'Rajdhani'; font-weight: 700; src: url('/fonts/Rajdhani-Bold.ttf'); }
@font-face { font-family: 'ShareTechMono'; font-weight: 400; src: url('/fonts/ShareTechMono-Regular.ttf'); }

/* ===== VARIABLES ===== */
:root {
	--b: #000;
	--w: #fff;
	--d: #111;
	--d2: #1a1a1a;
	--d3: #222;
	--lgrey: #c8c8c8;
	--dgrey: #666;
	--accent: #76d537;
	--accent-dim: #599c2c;
	--accent-glow: rgba(118, 213, 55, 0.3);
	--accent-cyan: #00ffd2;
	--accent-yellow: #f8ef02;
	--red: #ff003c;

	--font-display: 'ChakraPetch', 'Courier New', monospace;
	--font-body: 'Rajdhani', Arial, sans-serif;
	--font-mono: 'ShareTechMono', 'Courier New', monospace;

	--tile-edges: 20px;
	--clip-polygon: polygon(
		0 0,
		0 calc(100% - var(--tile-edges)),
		var(--tile-edges) 100%,
		100% 100%,
		100% var(--tile-edges),
		calc(100% - var(--tile-edges)) 0
	);

	--max-width: 960px;
	--content-padding: 40px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 18px;
	scroll-behavior: smooth;
}

body {
	background-color: var(--b);
	background-image: url('/tech.png');
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	color: var(--lgrey);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.6;
	min-height: 100vh;
}

/* ===== LINKS ===== */
a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
	color: var(--accent);
	text-shadow: 0 0 8px var(--accent-glow);
}

/* ===== TYPOGRAPHY ===== */
h1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 4rem;
	letter-spacing: 0.05em;
	line-height: 1.1;
}

h2 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.8rem;
	letter-spacing: 0.03em;
	line-height: 1.2;
	color: var(--w);
}

h3 {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ===== HEADER ===== */
.header {
	max-width: var(--max-width);
	margin: 16px auto 0;
	padding: 0;
	position: relative;
}

.header-inner {
	background-color: rgba(17, 17, 17, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 16px 24px;
	clip-path: var(--clip-polygon);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	border: 1px solid rgba(118, 213, 55, 0.08);
}

.header-scanline {
	position: absolute;
	bottom: 0;
	left: var(--tile-edges);
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
	opacity: 0.4;
}

.brand a {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--w);
	letter-spacing: 0.15em;
	text-decoration: none;
}

.brand a:hover {
	text-shadow: 0 0 12px var(--accent-glow);
}

.brand-dot {
	color: var(--accent);
}

.nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav a {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--lgrey);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 4px 6px;
	transition: color 0.2s ease;
}

.nav a:hover {
	color: var(--accent);
	text-shadow: 0 0 8px var(--accent-glow);
}

.nav-sep {
	color: var(--dgrey);
	font-family: var(--font-mono);
	font-size: 0.65rem;
	user-select: none;
}

.social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.social a {
	color: var(--dgrey);
	transition: color 0.2s ease, filter 0.2s ease;
	display: flex;
	align-items: center;
}

.social a:hover {
	color: var(--accent);
	filter: drop-shadow(0 0 4px var(--accent-glow));
}

/* ===== CONTENT BLOCKS ===== */
.content {
	max-width: var(--max-width);
	margin: 24px auto;
	padding: var(--content-padding);
	background-color: rgba(17, 17, 17, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	clip-path: var(--clip-polygon);
	border: 1px solid rgba(118, 213, 55, 0.06);
	position: relative;
}

/* Subtle top-left accent line on content blocks */
.content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--accent);
	opacity: 0.5;
}

/* ===== HERO SECTION ===== */
.hero {
	padding: 48px var(--content-padding);
}

.hero-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 40px;
	align-items: center;
}

.hero-photo {
	display: flex;
	justify-content: center;
}

.hero-label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--accent);
	letter-spacing: 0.15em;
	margin-bottom: 8px;
	opacity: 0.7;
}

.hero-pronouns {
	color: var(--dgrey);
	font-size: 1rem;
	margin-top: 4px;
}

.hero-pronouns em {
	color: var(--lgrey);
	font-style: normal;
}

.hero-roles {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--accent-dim);
	letter-spacing: 0.1em;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(118, 213, 55, 0.15);
}

.hero-hint {
	color: var(--dgrey);
	font-size: 0.85rem;
	margin-top: 4px;
}

/* CTA button style — uses pseudo-element so border follows clip-path */
.cta {
	--btn-edges: 10px;
	--btn-border: 1px;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--accent);
	letter-spacing: 0.08em;
	display: inline-block;
	margin-top: 8px;
	padding: 8px 20px;
	position: relative;
	background-color: rgba(118, 213, 55, 0.25);
	clip-path: polygon(
		0 0,
		0 calc(100% - var(--btn-edges)),
		var(--btn-edges) 100%,
		100% 100%,
		100% var(--btn-edges),
		calc(100% - var(--btn-edges)) 0
	);
	transition: all 0.2s ease;
}

.cta::before {
	content: '';
	position: absolute;
	inset: var(--btn-border);
	background-color: rgba(17, 17, 17, 0.92);
	clip-path: polygon(
		0 0,
		0 calc(100% - var(--btn-edges)),
		var(--btn-edges) 100%,
		100% 100%,
		100% var(--btn-edges),
		calc(100% - var(--btn-edges)) 0
	);
	z-index: -1;
}

.cta:hover {
	color: var(--w);
	background-color: var(--accent);
	text-shadow: 0 0 10px var(--accent-glow);
}

.cta:hover::before {
	background-color: rgba(118, 213, 55, 0.15);
}

.cta-large {
	--btn-edges: 14px;
	font-size: 1.2rem;
	padding: 12px 28px;
	margin-top: 16px;
}

/* ===== TILES ===== */
.tile-lg {
	--tw: 220px;
	width: var(--tw);
	position: relative;
	clip-path: var(--clip-polygon);
	overflow: hidden;
}

.tile-lg img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(30%) contrast(1.05);
	transition: filter 0.3s ease;
}

.tile-lg:hover img {
	filter: grayscale(0%) contrast(1.1);
}

/* Corner brackets on tile */
.tile-corner {
	position: absolute;
	width: 12px;
	height: 12px;
	border-color: var(--accent);
	border-style: solid;
	border-width: 0;
	opacity: 0.4;
	pointer-events: none;
}

.tile-corner.tl {
	top: 4px;
	left: 4px;
	border-top-width: 1px;
	border-left-width: 1px;
}

.tile-corner.tr {
	top: 4px;
	right: 4px;
	border-top-width: 1px;
	border-right-width: 1px;
}

.tile-corner.bl {
	bottom: 4px;
	left: 4px;
	border-bottom-width: 1px;
	border-left-width: 1px;
}

.tile-corner.br {
	bottom: 4px;
	right: 4px;
	border-bottom-width: 1px;
	border-right-width: 1px;
}

/* ===== SECTION LABELS ===== */
.section-label {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--accent);
	letter-spacing: 0.12em;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(118, 213, 55, 0.12);
}

.label-prefix {
	color: var(--accent-dim);
	margin-right: 4px;
}

.cursor {
	animation: blink 1s step-end infinite;
	color: var(--accent);
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

/* ===== POST LIST ===== */
.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post-list li {
	margin-bottom: 2px;
}

.post-list li a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	color: var(--lgrey);
	transition: all 0.15s ease;
	border-left: 2px solid transparent;
}

.post-list li a:hover {
	background-color: rgba(118, 213, 55, 0.04);
	border-left-color: var(--accent);
	text-shadow: none;
}

.post-list li a:hover .post-title {
	color: var(--w);
}

.post-list li a:hover .post-arrow {
	color: var(--accent);
	transform: translateX(4px);
}

.post-date {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--dgrey);
	letter-spacing: 0.08em;
	min-width: 60px;
	flex-shrink: 0;
}

.post-title {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1.05rem;
	flex-grow: 1;
	transition: color 0.15s ease;
}

.post-arrow {
	font-size: 0.9rem;
	color: transparent;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.view-all {
	margin-top: 20px;
	text-align: right;
}

.view-all a {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: var(--dgrey);
	transition: color 0.2s ease;
}

.view-all a:hover {
	color: var(--accent);
}

/* ===== IDENTITY CARDS ===== */
.identity-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.identity-card {
	padding: 24px 20px;
	background-color: rgba(0, 0, 0, 0.4);
	clip-path: polygon(
		0 0,
		0 calc(100% - 12px),
		12px 100%,
		100% 100%,
		100% 12px,
		calc(100% - 12px) 0
	);
	border: 1px solid rgba(118, 213, 55, 0.08);
	transition: border-color 0.2s ease;
}

.identity-card:hover {
	border-color: rgba(118, 213, 55, 0.2);
}

.identity-tag {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--w);
	letter-spacing: 0.15em;
	margin-bottom: 8px;
	position: relative;
	padding-bottom: 10px;
}

.identity-tag::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--accent);
	opacity: 0.6;
}

.identity-card p {
	font-size: 0.9rem;
	color: var(--dgrey);
	line-height: 1.5;
}

/* ===== IDENTITY BLOCKS (homepage who_am_i) ===== */
.identity-block {
	margin-top: 32px;
	text-align: center;
}

.identity-block .identity-tag {
	font-size: 1.8rem;
	letter-spacing: 0.2em;
	padding-bottom: 12px;
	margin-bottom: 4px;
}

.identity-block .identity-tag::after {
	left: 50%;
	transform: translateX(-50%);
}

.identity-desc {
	font-size: 1rem;
	color: var(--dgrey);
	font-style: italic;
	margin-bottom: 20px;
	text-align: right;
}

.identity-gallery {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	margin-bottom: 8px;
}

.identity-gallery img {
	flex: 1;
	min-width: 0;
	height: 300px;
	object-fit: cover;
	display: block;
	clip-path: polygon(
		0 0,
		0 calc(100% - 10px),
		10px 100%,
		100% 100%,
		100% 10px,
		calc(100% - 10px) 0
	);
	filter: grayscale(30%) contrast(1.05);
	transition: filter 0.3s ease;
	border: 1px solid rgba(118, 213, 55, 0.1);
}

.identity-gallery img:hover {
	filter: grayscale(0%) contrast(1.1);
}

/* ===== CONNECT SECTION ===== */
.connect-section {
	text-align: center;
}

.connect-section .section-label {
	text-align: left;
}

.connect-text {
	font-size: 1.05rem;
	color: var(--lgrey);
	margin-bottom: 8px;
}

.connect-text a {
	border-bottom: 1px dotted rgba(118, 213, 55, 0.3);
}

.connect-text a:hover {
	border-bottom-color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
	max-width: var(--max-width);
	margin: 24px auto 16px;
	padding: 0;
}

.footer-inner {
	background-color: rgba(17, 17, 17, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 20px 24px;
	clip-path: var(--clip-polygon);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	border: 1px solid rgba(118, 213, 55, 0.06);
}

.footer-brand {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--dgrey);
	letter-spacing: 0.1em;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-links a {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	color: var(--dgrey);
	letter-spacing: 0.08em;
}

.footer-links a:hover {
	color: var(--accent);
}

.footer-copy {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	color: rgba(102, 102, 102, 0.6);
	letter-spacing: 0.06em;
}

/* ===== HAMBURGER TOGGLE (hidden on desktop) ===== */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	flex-direction: column;
	gap: 5px;
	z-index: 10;
}

.menu-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--lgrey);
	transition: all 0.25s ease;
	transform-origin: center;
}

/* Animate to X when open */
.menu-toggle.open .menu-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
	background-color: var(--accent);
}

.menu-toggle.open .menu-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.open .menu-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
	background-color: var(--accent);
}

/* ===== MOBILE NAV DROPDOWN (hidden on desktop) ===== */
.nav-mobile {
	display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	:root {
		--content-padding: 24px;
		--tile-edges: 14px;
	}

	html {
		font-size: 16px;
	}

	/* Header: brand + social + hamburger on one row */
	.header-inner {
		flex-wrap: wrap;
		gap: 10px;
	}

	/* Hide desktop nav, show hamburger */
	.nav {
		display: none;
	}

	.social {
		display: none;
	}

	.menu-toggle {
		display: flex;
		margin-left: auto;
	}

	.nav-mobile-social {
		display: flex;
		justify-content: flex-end;
		gap: 16px;
		padding-top: 14px;
		margin-top: 6px;
		border-top: 1px solid rgba(118, 213, 55, 0.1);
	}

	.nav-mobile-social a {
		color: var(--dgrey);
		display: flex;
		align-items: center;
		transition: color 0.2s ease, filter 0.2s ease;
	}

	.nav-mobile-social a:hover {
		color: var(--accent);
		filter: drop-shadow(0 0 4px var(--accent-glow));
	}

	/* Mobile dropdown */
	.nav-mobile {
		display: flex;
		flex-direction: column;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s ease;
		background-color: rgba(17, 17, 17, 0.95);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		margin: 0;
		padding: 0 24px;
		border-left: 2px solid rgba(118, 213, 55, 0.15);
	}

	.nav-mobile.open {
		max-height: 300px;
		padding: 12px 24px 16px;
		align-items: flex-end;
		text-align: right;
	}

	.nav-mobile a {
		font-family: var(--font-mono);
		font-size: 0.8rem;
		color: var(--lgrey);
		letter-spacing: 0.12em;
		text-transform: uppercase;
		padding: 10px 0;
		border-bottom: 1px solid rgba(118, 213, 55, 0.06);
		transition: color 0.2s ease;
	}

	.nav-mobile a:last-child {
		border-bottom: none;
	}

	.nav-mobile a:hover {
		color: var(--accent);
		text-shadow: 0 0 8px var(--accent-glow);
	}

	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 24px;
	}

	.hero-photo {
		order: -1;
	}

	.tile-lg {
		--tw: 180px;
		margin: 0 auto;
	}

	.hero-roles {
		text-align: center;
	}

	.identity-grid {
		grid-template-columns: 1fr;
	}

	.identity-gallery {
		position: relative;
		height: 250px;
		overflow: hidden;
	}

	.identity-gallery img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		transition: opacity 0.8s ease;
	}

	.identity-gallery img.active {
		opacity: 1;
	}

	.identity-gallery img:first-child {
		opacity: 1;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}

	h2 {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	:root {
		--content-padding: 16px;
		--tile-edges: 10px;
	}

	.post-list li a {
		padding: 10px 8px;
		gap: 10px;
	}

	.post-date {
		display: none;
	}
}

/* ===== SUBTLE ANIMATIONS ===== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.content {
	animation: fadeInUp 0.4s ease-out both;
}

.content:nth-child(1) { animation-delay: 0s; }
.content:nth-child(2) { animation-delay: 0.08s; }
.content:nth-child(3) { animation-delay: 0.16s; }
.content:nth-child(4) { animation-delay: 0.24s; }

/* ===== RESUME LISTS ===== */
.resume-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.resume-list li {
	padding: 10px 0 10px 20px;
	border-left: 2px solid rgba(118, 213, 55, 0.1);
	margin-bottom: 4px;
	font-size: 0.95rem;
	line-height: 1.5;
	transition: border-color 0.2s ease;
}

.resume-list li:hover {
	border-left-color: rgba(118, 213, 55, 0.3);
}

.resume-list li strong {
	color: var(--w);
	font-weight: 500;
}

/* ===== TAG CLOUD ===== */
.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--dgrey);
	letter-spacing: 0.06em;
	padding: 5px 12px;
	border: 1px solid rgba(118, 213, 55, 0.12);
	transition: all 0.2s ease;
	cursor: default;
}

.tag:hover {
	color: var(--accent);
	border-color: rgba(118, 213, 55, 0.3);
}

.tag-inactive {
	color: var(--dgrey);
	font-style: italic;
	font-size: 0.85em;
}

/* ===== PULLQUOTE ===== */
.pullquote {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--w);
	border-left: 3px solid var(--accent);
	padding-left: 16px;
	margin: 20px 0;
	line-height: 1.5;
}

.pullquote em {
	color: var(--accent);
	font-style: normal;
}

/* ===== CONNECT PAGE ===== */
.connect-link {
	font-family: var(--font-mono);
	font-size: 1.1rem;
	display: inline-block;
	margin-top: 8px;
}

.connect-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0 0;
}

.connect-list li {
	padding: 8px 0;
	font-size: 1rem;
	border-bottom: 1px solid rgba(118, 213, 55, 0.06);
}

.connect-list li:last-child {
	border-bottom: none;
}

/* ===== POST ARTICLE ===== */
.post-article h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--w);
	margin-top: 32px;
	margin-bottom: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--accent);
}

.post-article p {
	margin-bottom: 16px;
	line-height: 1.75;
}

.post-article blockquote {
	border-left: 3px solid var(--accent);
	padding: 12px 20px;
	margin: 20px 0;
	background: rgba(118, 213, 55, 0.03);
	font-style: italic;
	color: var(--dgrey);
}

.post-article blockquote p {
	margin-bottom: 0;
}

.post-article ul, .post-article ol {
	padding-left: 24px;
	margin-bottom: 16px;
}

.post-article li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(118, 213, 55, 0.08);
}

.post-date-full {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--accent);
	letter-spacing: 0.06em;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.post-hero-img {
	margin-bottom: 28px;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.post-hero-img img {
	max-width: 100%;
	max-height: 420px;
	width: auto;
	height: auto;
	display: inline-block;
	clip-path: var(--clip-polygon);
	filter: grayscale(30%) contrast(1.05);
	transition: filter 0.3s ease;
	object-fit: contain;
}

.post-hero-img img:hover {
	filter: grayscale(0%) contrast(1.1);
}

/* ===== POST LIST (Thoughts/Projects) ===== */
.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post-list li {
	border-bottom: 1px solid rgba(118, 213, 55, 0.06);
}

.post-list li:last-child {
	border-bottom: none;
}

.post-list a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	text-decoration: none;
	transition: all 0.2s ease;
}

.post-list a:hover {
	padding-left: 8px;
}

.post-list a:hover .post-title {
	color: var(--accent);
}

.post-list a:hover .post-arrow {
	color: var(--accent);
	opacity: 1;
}

.post-list .post-date {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--dgrey);
	letter-spacing: 0.06em;
	min-width: 60px;
	flex-shrink: 0;
}

.post-list .post-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--lgrey);
	transition: color 0.2s ease;
	flex: 1;
}

.post-list .post-arrow {
	font-family: var(--font-mono);
	color: var(--dgrey);
	opacity: 0.4;
	transition: all 0.2s ease;
}

/* ===== POST NAV (prev/next) ===== */
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.post-nav-link {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--dgrey);
	letter-spacing: 0.04em;
	transition: color 0.2s ease;
}

.post-nav-link:hover {
	color: var(--accent);
}

.post-nav-link.next {
	margin-left: auto;
	text-align: right;
}

/* ===== POST ARTICLE ===== */
.post-article .post-meta {
	margin-bottom: 2rem;
}

.post-body p {
	margin-bottom: 1.6em;
	line-height: 1.85;
}

.post-body h3, .post-body h4 {
	font-family: var(--font-display);
	color: var(--accent);
	margin: 2.5rem 0 1.2rem;
}

.post-body img {
	max-width: 100%;
	height: auto;
	margin: 2rem auto;
	display: block;
	clip-path: var(--clip-polygon);
	border: 1px solid rgba(118, 213, 55, 0.08);
	filter: grayscale(30%) contrast(1.05);
	transition: filter 0.3s ease;
}

.post-body img:hover {
	filter: grayscale(0%) contrast(1.1);
}

.post-body blockquote {
	border-left: 3px solid var(--accent);
	padding-left: 1.2em;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--fg-dim);
}

.post-body ul, .post-body ol {
	padding-left: 1.5em;
	margin-bottom: 1.2em;
}

.post-body li {
	margin-bottom: 0.5em;
	line-height: 1.7;
}

.post-body a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-body a:hover {
	color: #fff;
}

.post-body em {
	color: var(--fg);
}

.post-body strong {
	color: var(--fg);
	font-weight: 600;
}

.post-body figure {
	margin: 1.5rem 0;
}

.post-body figcaption {
	font-size: 0.85rem;
	color: var(--fg-dim);
	margin-top: 0.5rem;
	font-style: italic;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--accent-dim);
}

.post-nav a {
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	max-width: 45%;
}

.post-nav a:hover {
	color: #fff;
}

.post-nav .post-nav-link.prev {
	text-align: left;
	margin-right: auto;
}

.post-nav .post-nav-link.next {
	text-align: right;
	margin-left: auto;
}

/* ===== SELECTION ===== */
::selection {
	background-color: var(--accent);
	color: var(--b);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: var(--b);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-dim);
	border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}
