/* ============================================================
   MONOGRAM TERMINAL — Monochrome Terminal Editorial portfolio
   Pure greyscale. White is the only "accent."
   ============================================================ */

/* ---- Fonts (vendored locally) ---- */
@font-face {
	font-family: "Inter";
	src: url("./fonts/Inter.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("./fonts/JetBrainsMono.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Merriweather";
	src: url("./fonts/Merriweather.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Merriweather";
	src: url("./fonts/Merriweather-Italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}

/* ---- Tokens ---- */
:root {
	--bg: #050505;
	--surface: #0f0f0f;
	--card: #111111;
	--chip: #1a1a1a;
	--chip-hover: #242424;
	--line-dim: rgba(255, 255, 255, 0.06);
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.22);
	--tx: #ffffff;
	--tx-2: #9ca3af;
	--tx-3: #6b7280;
	--mono: "JetBrains Mono", ui-monospace, monospace;
	--sans: "Inter", system-ui, sans-serif;
	--serif: "Merriweather", Georgia, serif;
	--col: 1150px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--tx);
	font-family: var(--sans);
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

::selection {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

::-webkit-scrollbar {
	width: 7px;
}
::-webkit-scrollbar-track {
	background: var(--bg);
}
::-webkit-scrollbar-thumb {
	background: #2a2a2a;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #3a3a3a;
}

a {
	color: inherit;
	text-decoration: none;
}
button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}
img {
	display: block;
	max-width: 100%;
}

:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---- Page texture overlays ---- */
.grain,
.scan {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 200;
}
.grain {
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grainShift 6s steps(6) infinite;
}
.scan {
	opacity: 0.5;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0,
		transparent 2px,
		rgba(255, 255, 255, 0.012) 3px,
		rgba(255, 255, 255, 0.012) 3px
	);
}
@keyframes grainShift {
	0% {
		transform: translate(0, 0);
	}
	20% {
		transform: translate(-4%, 3%);
	}
	40% {
		transform: translate(3%, -2%);
	}
	60% {
		transform: translate(-2%, 4%);
	}
	80% {
		transform: translate(4%, -3%);
	}
	100% {
		transform: translate(0, 0);
	}
}

/* ---- Frame / column ---- */
.frame {
	position: relative;
	max-width: var(--col);
	margin: 0 auto;
	min-height: 100vh;
	background: var(--bg);
	border-left: 1px solid var(--line-dim);
	border-right: 1px solid var(--line-dim);
}

/* ---- Header ---- */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 28px;
	background: rgba(5, 5, 5, 0.78);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-dim);
}
.wordmark {
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: var(--tx-2);
}
.wordmark .blink {
	color: var(--tx);
	animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink {
	50% {
		opacity: 0;
	}
}

.nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-family: var(--mono);
	font-size: 13px;
	color: var(--tx-3);
}
.nav a:not(.btn-pill):hover {
	color: var(--tx);
}
.nav a {
	transition: color 0.25s;
}

.btn-pill {
	background: #fff;
	color: #000;
	padding: 9px 20px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition:
		transform 0.25s var(--ease),
		background 0.25s;
	display: inline-block;
}
.btn-pill:hover {
	transform: scale(1.05);
	background: #e6e6e6;
}

.burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background 0.2s;
}
.burger:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ---- Mobile overlay menu ---- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(0, 0, 0, 0.97);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	transform: translateX(100%);
	transition: transform 0.35s var(--ease);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 34px;
}
.mobile-menu.open {
	transform: translateX(0);
}
.mobile-menu a {
	font-family: var(--mono);
	font-size: 22px;
	color: var(--tx-3);
	transition: color 0.2s;
}
.mobile-menu a:hover {
	color: #fff;
}
.mobile-menu .btn-pill {
	font-size: 14px;
	padding: 12px 28px;
}
.mobile-close {
	position: absolute;
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.mobile-close:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ---- Main / sections ---- */
main {
	padding: 0 28px 80px;
}
section {
	margin-bottom: 110px;
}

.path-label {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--tx-3);
	margin-bottom: 28px;
}
.path-label::before {
	content: "";
}

.section-title {
	font-family: var(--mono);
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-bottom: 44px;
}

/* ---- Reveal animation ---- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
}
.reveal.in {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.6s var(--ease),
		transform 0.6s var(--ease);
}

/* ---- Hero ---- */
.hero {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: center;
	margin-top: 56px;
}
.hero h1 {
	font-family: var(--mono);
	font-size: clamp(3.25rem, 7vw, 6.5rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.04em;
	margin-bottom: 26px;
}
.hero h1 .dim {
	color: var(--tx-3);
}
.hero p.lede {
	color: var(--tx-2);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.65;
	max-width: 30rem;
	margin-bottom: 32px;
}
.hero p.lede em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	color: #e8e8e8;
}

.hero-cta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}
.btn-solid {
	background: #fff;
	color: #000;
	padding: 14px 30px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition:
		transform 0.25s var(--ease),
		background 0.25s;
}
.btn-solid:hover {
	transform: scale(1.05);
	background: #e6e6e6;
}

.icon-btn {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--chip);
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:
		background 0.25s,
		color 0.25s,
		transform 0.25s var(--ease);
}
.icon-btn:hover {
	background: #fff;
	color: #000;
}

.socials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.chip {
	display: flex;
	align-items: center;
	gap: 9px;
	background: var(--chip);
	border: 1px solid var(--line-dim);
	padding: 10px 13px;
	border-radius: 10px;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--tx-2);
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}
.chip:hover {
	background: var(--chip-hover);
	color: #fff;
	border-color: var(--line);
}
.chip svg {
	flex-shrink: 0;
}

.hero-aside {
	position: relative;
}
.terminal-card {
	background: var(--surface);
	border: 1px solid var(--line-dim);
	border-radius: 16px;
	overflow: hidden;
	font-family: var(--mono);
	font-size: 12.5px;
}
.terminal-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line-dim);
}
.terminal-bar .dot {
	width: 11px;
	height: 11px;
	border-radius: 999px;
	background: #2a2a2a;
	border: 1px solid var(--line);
}
.terminal-bar .label {
	margin-left: 8px;
	color: var(--tx-3);
	font-size: 11px;
	letter-spacing: 0.04em;
}
.terminal-body {
	padding: 18px 16px;
	line-height: 1.85;
	color: var(--tx-2);
}
.terminal-body .cmd {
	color: #fff;
}
.terminal-body .key {
	color: var(--tx);
}
.terminal-body .muted {
	color: var(--tx-3);
}
.terminal-body .cursor {
	display: inline-block;
	width: 8px;
	height: 15px;
	background: #fff;
	vertical-align: -2px;
	margin-left: 2px;
	animation: blink 1.05s steps(2, start) infinite;
}

/* ---- Slider ---- */
.slider {
	position: relative;
	height: 460px;
	border-radius: 24px;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line-dim);
}
.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.55s var(--ease);
}
.slide.active {
	opacity: 1;
	pointer-events: auto;
}
.slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
	filter: grayscale(1) contrast(1.05);
	transform: scale(1.02);
	transition:
		transform 7s ease,
		opacity 0.55s;
}
.slider:hover .slide.active img {
	transform: scale(1.1);
}
.slide .scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		#000 5%,
		rgba(0, 0, 0, 0.45) 45%,
		transparent 80%
	);
}
.slide-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 48px;
	max-width: 70%;
}
.slide-tag {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--tx-3);
	text-transform: uppercase;
	margin-bottom: 14px;
}
.slide-content h3 {
	font-family: var(--mono);
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.slide-content p {
	font-size: 0.85rem;
	color: #cfcfcf;
	font-weight: 300;
	max-width: 32rem;
	margin-bottom: 24px;
	line-height: 1.6;
}
.slide-actions {
	display: flex;
	gap: 12px;
}
.read-pill {
	background: #fff;
	color: #000;
	padding: 9px 22px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	transition:
		transform 0.25s var(--ease),
		background 0.25s;
}
.read-pill:hover {
	transform: scale(1.05);
	background: #e6e6e6;
}
.read-arrow {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:
		background 0.25s,
		color 0.25s;
}
.read-arrow:hover {
	background: #fff;
	color: #000;
}

.slider-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	padding: 0 6px;
}
.round-btn {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid var(--line-dim);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:
		background 0.25s,
		color 0.25s,
		border-color 0.25s;
}
.round-btn:hover {
	background: #fff;
	color: #000;
	border-color: #fff;
}
.dots {
	display: flex;
	gap: 8px;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	transition:
		width 0.35s var(--ease),
		background 0.35s;
}
.dot.active {
	width: 22px;
	background: #fff;
}

/* ---- About ---- */
.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.about .statement {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 300;
	line-height: 1.45;
	margin-bottom: 26px;
}
.about .statement em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	color: #fff;
}
.about .support {
	color: var(--tx-2);
	font-weight: 300;
	line-height: 1.7;
}
.portrait {
	aspect-ratio: 1;
	width: 86%;
	margin-left: auto;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid var(--line-dim);
	position: relative;
}
.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.04);
	transition:
		filter 0.7s ease,
		transform 0.7s var(--ease);
}
.portrait:hover img {
	filter: grayscale(0) contrast(1);
	transform: scale(1.04);
}
.portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 55%);
	pointer-events: none;
}

/* ---- Stack cards ---- */
.stack-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.stack-card {
	background: var(--surface);
	border: 1px solid var(--line-dim);
	border-radius: 22px;
	padding: 24px;
	transition:
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.stack-card:hover {
	border-color: var(--line);
	transform: translateY(-3px);
}
.stack-card .top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}
.stack-card h3 {
	font-family: var(--mono);
	font-size: 1.15rem;
	font-weight: 500;
}
.stack-card .badge {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--chip);
	border: 1px solid var(--line-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tx-2);
}
.stack-tags {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--tx-2);
	line-height: 1.9;
}
.stack-tags .sep {
	color: #3a3a3a;
	margin: 0 5px;
}

/* ---- Work timeline ---- */
.timeline {
	position: relative;
	max-width: 660px;
	margin: 0 auto;
}
.timeline::before {
	content: "";
	position: absolute;
	left: 58px;
	top: 6px;
	bottom: 56px;
	width: 1px;
	background: var(--line);
}
.job {
	display: flex;
	gap: 26px;
	position: relative;
}
.job .year {
	width: 50px;
	flex-shrink: 0;
	text-align: right;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	padding-top: 4px;
}
.job .year::after {
	content: "";
	position: absolute;
	left: 55px;
	top: 7px;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--bg);
	border: 1px solid var(--line-strong);
}
.job .body {
	flex: 1;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--line-dim);
	transition: border-color 0.3s;
}
.job:hover .body {
	border-color: var(--line);
}
.job h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 4px;
}
.job .dur {
	font-size: 11px;
	color: var(--tx-3);
	margin-bottom: 8px;
}
.job .role {
	font-family: var(--mono);
	font-size: 12px;
	color: #cfcfcf;
}
.timeline-total {
	text-align: right;
	margin-top: 22px;
}
.timeline-total .k {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--tx-2);
	display: block;
	margin-bottom: 4px;
}
.timeline-total .v {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.3rem;
}

/* ---- Projects ---- */
.projects-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.project-card {
	background: var(--surface);
	border: 1px solid var(--line-dim);
	border-radius: 24px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	transition:
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.project-card:hover {
	border-color: var(--line);
	transform: translateY(-3px);
}
.project-card h3 {
	font-family: var(--mono);
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 16px;
}
.tag-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.tag-pill {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.02em;
	color: #cfcfcf;
	background: var(--chip);
	border: 1px solid var(--line);
	padding: 5px 12px;
	border-radius: 999px;
}
.project-card .desc {
	color: var(--tx-2);
	font-weight: 300;
	font-size: 0.88rem;
	line-height: 1.6;
	margin-bottom: 18px;
	flex-grow: 1;
}
.project-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}
.act {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background 0.25s,
		color 0.25s,
		transform 0.25s var(--ease);
}
.act.ghost {
	background: var(--chip);
	color: #fff;
	border: 1px solid var(--line-dim);
}
.act.ghost:hover {
	background: #fff;
	color: #000;
}
.act.fill {
	background: #fff;
	color: #000;
}
.act.fill:hover {
	transform: scale(1.08);
	background: #e6e6e6;
}
.act.fill svg {
	transform: rotate(-45deg);
}
.project-thumb {
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line-dim);
	background: #151515;
}
.project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) brightness(0.78);
	transition:
		filter 0.55s ease,
		transform 0.6s var(--ease);
}
.project-card:hover .project-thumb img {
	filter: grayscale(1) brightness(1);
	transform: scale(1.05);
}

/* ---- Articles ---- */
.articles-stage {
	position: relative;
	min-height: 360px;
}
.articles-page {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.articles-page.hidden {
	display: none;
}
.article-card {
	background: var(--surface);
	border: 1px solid var(--line-dim);
	border-radius: 24px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	transition:
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.article-card:hover {
	border-color: var(--line);
	transform: translateY(-3px);
}
.article-card h3 {
	font-family: var(--mono);
	font-size: 1.1rem;
	line-height: 1.35;
	margin-bottom: 14px;
	transition: text-decoration-color 0.2s;
	text-decoration: underline transparent;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
.article-card:hover h3 {
	text-decoration-color: #fff;
}
.article-card .deck {
	font-size: 0.78rem;
	color: var(--tx-2);
	font-weight: 300;
	line-height: 1.65;
	margin-bottom: 28px;
	flex-grow: 1;
}
.article-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}
.mini-arrow {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: var(--chip);
	border: 1px solid var(--line-dim);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition:
		background 0.25s,
		color 0.25s;
}
.mini-arrow:hover {
	background: #fff;
	color: #000;
}

.pager {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 48px;
}
.pager button {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--chip);
	color: var(--tx-2);
	border: 1px solid var(--line-dim);
	transition:
		background 0.2s,
		color 0.2s;
}
.pager button:hover {
	color: #fff;
}
.pager button.active {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.fade-swap {
	animation: fadeSwap 0.5s var(--ease);
}
@keyframes fadeSwap {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---- Footer ---- */
.footer-wrap {
	padding: 0 28px 50px;
}
footer {
	padding-top: 44px;
	border-top: 1px solid var(--line-dim);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 44px;
	margin-bottom: 44px;
}
.footer-nav {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--tx-2);
}
.footer-nav a:hover {
	color: #fff;
}
.footer-nav a {
	transition: color 0.2s;
}
.footer-credits h5 {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--tx-3);
	margin-bottom: 10px;
}
.footer-credits p {
	font-family: var(--mono);
	font-size: 11px;
	color: #555;
	line-height: 1.9;
}
.footer-name {
	text-align: right;
}
.footer-name .first {
	font-family: var(--serif);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}
.footer-name .last {
	font-family: var(--mono);
	font-size: 1.8rem;
	color: var(--tx-2);
}
.footer-name .cap {
	font-family: var(--mono);
	font-size: 10px;
	color: #555;
	display: block;
	margin-top: 8px;
}
.footer-socials {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}
.footer-socials .chip {
	justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
	.nav {
		display: none;
	}
	.burger {
		display: flex;
	}
	.hero {
		grid-template-columns: 1fr;
		gap: 38px;
	}
	.hero-aside {
		display: none;
	}
	.about {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.portrait {
		width: 100%;
	}
	.stack-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.projects-grid {
		grid-template-columns: 1fr;
	}
	.articles-page {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: left;
	}
	.footer-name {
		text-align: left;
	}
	.footer-socials {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 620px) {
	main {
		padding: 0 18px 60px;
	}
	.header {
		padding: 18px 18px;
	}
	.footer-wrap {
		padding: 0 18px 40px;
	}
	section {
		margin-bottom: 80px;
	}
	.slider {
		height: 360px;
	}
	.slide-content {
		padding: 28px;
		max-width: 100%;
	}
	.stack-grid {
		grid-template-columns: 1fr;
	}
	.socials {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms;
		animation-iteration-count: 1;
		transition-duration: 0.001ms;
		scroll-behavior: auto;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
}
