/* Unwrap theme — calm, precise, builder / shipping-log (standalone; not demo) */

.theme-unwrap {
	--graphit: #1a1a1a;
	--paper: #fafaf8;
	--fog: #e8e8e4;
	--unwrap-green: #2f5d4a;

	--color-bg: var(--paper);
	--color-text: var(--graphit);
	--color-text-muted: #5c5c58;
	--color-accent: var(--fog);

	--link-color: var(--graphit);
	--link-hover: var(--graphit);

	--unwrap-blog-max: 42rem;
}

.theme-unwrap .page-frame {
	background: var(--color-bg);
}

/* Header: title + subtitle stacked left (editorial, not split hero) */
.theme-unwrap .site-header .container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.35rem;
}

/* Landing / homepage */
.theme-unwrap .unwrap-home {
	margin-top: var(--space-m, 1.5rem);
	margin-bottom: var(--space-xl, 2.5rem);
}

.theme-unwrap .unwrap-home-title {
	font-size: var(--font-size-h1, 2.2rem);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 var(--space-xs, 0.5rem);
	letter-spacing: -0.02em;
}

.theme-unwrap .unwrap-home-tagline {
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-l, 2rem);
	max-width: 28rem;
}

.theme-unwrap .unwrap-home-links {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.theme-unwrap .unwrap-home-links > li {
	margin: 0 0 var(--space-s, 1rem);
}

.theme-unwrap .unwrap-home-links > li::before {
	content: none;
}

.theme-unwrap .unwrap-home-links a {
	display: inline-block;
	font-size: 1.05rem;
	text-decoration: none;
	border-bottom: none;
}

.theme-unwrap .unwrap-home-links a:hover {
	border-bottom: none;
	padding-bottom: 0;
}

.theme-unwrap .unwrap-home-links a::before {
	content: "→ ";
	color: var(--unwrap-green);
	font-weight: 500;
}

/* Narrow editorial column */
.theme-unwrap main.container,
.theme-unwrap main.container-wide {
	max-width: var(--unwrap-blog-max);
	width: min(var(--unwrap-blog-max), 100% - 2rem);
}

/* Links: body color; accent underline on hover (not default blue) */
.theme-unwrap a {
	color: var(--color-text);
	border-bottom: none;
}

.theme-unwrap a:hover {
	color: var(--color-text);
	border-bottom: 2px solid var(--unwrap-green);
	padding-bottom: 0.05em;
}

.theme-unwrap .site-title a,
.theme-unwrap .site-title a:hover {
	border-bottom: none;
	padding-bottom: 0;
}

.theme-unwrap .site-title a:hover {
	opacity: 0.88;
}

.theme-unwrap .site-subtitle {
	margin-top: 0;
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 1.45;
	max-width: 22rem;
}

.theme-unwrap .footer-nav a,
.theme-unwrap .footer-nav a:hover {
	border-bottom: none;
	padding-bottom: 0;
	color: var(--color-text-muted);
}

.theme-unwrap .footer-nav a:hover {
	color: var(--color-text);
}

/* Blog home */
.theme-unwrap .unwrap-blog-intro {
	margin-top: 0;
	margin-bottom: var(--space-xl, 2.5rem);
}

.theme-unwrap .unwrap-blog-kicker {
	font-size: 0.68rem;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: #9a9a96;
	margin-top: 0;
	margin-bottom: 0.65rem;
}

.theme-unwrap .unwrap-blog-lede {
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--color-text-muted);
	max-width: 34rem;
}

/* Section label: quieter than post titles */
.theme-unwrap .unwrap-blog-section-title {
	font-size: 0.78rem;
	font-weight: 500;
	margin-top: 0;
	margin-bottom: 0.85rem;
	letter-spacing: 0.06em;
	color: #a3a39f;
	text-transform: uppercase;
}

.theme-unwrap .unwrap-blog-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.theme-unwrap .unwrap-blog-list > li {
	margin: 0;
}

.theme-unwrap .unwrap-blog-list > li::before {
	content: none;
}

.theme-unwrap .unwrap-post-card {
	border-bottom: 1px solid rgba(0, 0, 0, 0.045);
	padding: 1.35rem 0 1.5rem;
}

.theme-unwrap .unwrap-blog-list > li:first-child .unwrap-post-card {
	padding-top: 0;
}

.theme-unwrap .unwrap-post-link {
	display: block;
	padding: 0;
	border-bottom: none;
}

.theme-unwrap .unwrap-post-link:hover {
	border-bottom: none;
	padding-bottom: 0;
}

.theme-unwrap .unwrap-post-link:hover .unwrap-post-title {
	color: var(--unwrap-green);
}

.theme-unwrap .unwrap-post-title {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.015em;
	margin: 0 0 0.35rem;
	line-height: 1.32;
	color: var(--color-text);
	transition: color 0.15s ease;
}

.theme-unwrap .unwrap-post-sub {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--color-text-muted);
	margin: 0 0 0.45rem;
}

.theme-unwrap .unwrap-post-meta {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin: 0;
	letter-spacing: 0.02em;
}

/* Keep stacked header left-aligned on small screens (global responsive centers header) */
@media (max-width: 800px) {
	.theme-unwrap .site-header .container {
		align-items: flex-start;
		text-align: left;
		gap: 0.35rem;
	}
}
