/* ShitResume — static SEO layer stylesheet.
   Minimal, dependency-free, monochrome + one accent. A4-resume preview styled inline. */

:root {
	--bg: #ffffff;
	--fg: #1a1a1a;
	--muted: #6b6b6b;
	--border: #e5e5e5;
	--accent: #c22f2f; /* "fix my shit resume" red */
	--accent-fg: #ffffff;
	--radius: 10px;
	--maxw: 1080px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--fg);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--fg);
	color: var(--bg);
	padding: 8px 12px;
	z-index: 100;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

/* ---------- header ---------- */
.site-header {
	border-bottom: 1px solid var(--border);
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header nav {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.brand {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	color: var(--fg);
}

.brand:hover {
	text-decoration: none;
}

.brand-name {
	font-weight: 800;
	font-size: 18px;
	letter-spacing: -0.02em;
}

.brand-tag {
	font-size: 11px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nav-links {
	display: flex;
	gap: 18px;
	font-size: 14px;
	font-weight: 500;
}

.nav-links a {
	color: var(--fg);
}

.nav-links a:hover {
	color: var(--accent);
	text-decoration: none;
}

/* ---------- layout ---------- */
#main {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 24px 20px 56px;
}

/* ---------- buttons ---------- */
.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0;
}

.btn {
	display: inline-block;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	transition:
		transform 0.08s ease,
		box-shadow 0.08s ease;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--accent);
	color: var(--accent-fg);
}

.btn-primary:hover {
	filter: brightness(0.94);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(194, 47, 47, 0.24);
}

.btn-ghost {
	border: 1px solid var(--border);
	color: var(--fg);
	background: var(--bg);
}

.btn-ghost:hover {
	border-color: var(--fg);
}

.btn-lg {
	padding: 14px 26px;
	font-size: 16px;
}

/* ---------- content page ---------- */
.seo-article {
	max-width: 760px;
}

.breadcrumb {
	color: var(--muted);
	font-size: 13px;
	margin: 0 0 8px;
}

.breadcrumb a {
	color: var(--muted);
}

.article-header h1 {
	font-size: clamp(30px, 5vw, 42px);
	line-height: 1.15;
	margin: 0 0 12px;
	letter-spacing: -0.025em;
}

.article-intro {
	font-size: 18px;
	color: #333;
	margin: 0 0 8px;
}

.content-section {
	margin: 28px 0;
}

.content-section h2 {
	font-size: 26px;
	margin: 32px 0 8px;
	letter-spacing: -0.015em;
}

.content-section h3 {
	font-size: 20px;
	margin: 24px 0 6px;
}

.prose p {
	margin: 12px 0;
}

.prose ul,
.prose ol {
	padding-left: 24px;
}

.prose li {
	margin: 6px 0;
}

.muted {
	color: var(--muted);
	font-size: 14px;
}

/* ---------- example resume (the A4 "paper" preview) ---------- */
.resume-example-block {
	margin: 20px 0;
}

.resume-paper {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 32px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	font-size: 14px;
	max-width: 720px;
}

.resume-header {
	border-bottom: 2px solid var(--fg);
	padding-bottom: 12px;
	margin-bottom: 14px;
}

.resume-name {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.resume-headline {
	margin: 4px 0;
	color: var(--fg);
	font-weight: 600;
}

.resume-contact {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.resume-section {
	margin: 14px 0;
}

.resume-section-title {
	margin: 0 0 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--fg);
	border-bottom: 1px solid var(--border);
	padding-bottom: 4px;
}

.resume-summary {
	margin: 0;
}

.resume-entry {
	margin: 0 0 12px;
}

.resume-entry-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: baseline;
}

.resume-entry-title {
	font-weight: 700;
}

.resume-entry-period {
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}

.resume-entry-loc {
	margin: 2px 0;
	color: var(--muted);
	font-size: 13px;
}

.resume-bullets {
	margin: 6px 0 0;
	padding-left: 20px;
}

.resume-bullets li {
	margin: 4px 0;
}

.resume-project-desc {
	margin: 4px 0 0;
}

.resume-skill-line {
	margin: 4px 0;
}

/* ---------- home ---------- */
.home-hero {
	padding: 48px 0 20px;
	max-width: 820px;
}

.home-hero h1 {
	font-size: clamp(36px, 6vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
}

.hero-sub {
	font-size: 19px;
	color: #333;
	margin: 0 0 10px;
}

.home-features h2,
.home-resources h2 {
	font-size: 28px;
	letter-spacing: -0.02em;
}

.feature-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.feature-grid li {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px;
	background: #fff;
}

.feature-grid strong {
	display: block;
	margin-bottom: 6px;
}

.resource-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.resource-list li {
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}

.resource-list a {
	color: var(--fg);
	font-weight: 600;
	font-size: 17px;
}

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

/* ---------- article footer ---------- */
.article-footer {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
}

.article-footer h2 {
	font-size: 26px;
	margin: 0 0 8px;
}

.article-footer p {
	margin: 0 0 14px;
}

/* ---------- footer ---------- */
.site-footer {
	border-top: 1px solid var(--border);
	background: #fafafa;
	padding: 32px 20px;
	margin-top: 32px;
}

.footer-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.site-footer p {
	margin: 0;
}

.site-footer nav {
	display: flex;
	gap: 16px;
}

.site-footer nav a {
	color: var(--fg);
}

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

@media (max-width: 640px) {
	.site-header nav {
		flex-wrap: wrap;
	}

	.resume-entry-head {
		flex-direction: column;
		gap: 2px;
	}
}
