
:root {
	--hnnn-bg: #f6f4ee;
	--hnnn-surface: #ffffff;
	--hnnn-text: #111111;
	--hnnn-muted: #76736d;
	--hnnn-line: #d9d5cc;
	--hnnn-max: 1500px;

	--space-1: 6px;
	--space-2: 10px;
	--space-3: 16px;
	--space-4: 24px;
	--space-5: 36px;
	--space-6: 56px;
	--space-7: 80px;
	--space-8: 120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--hnnn-bg);
	color: var(--hnnn-text);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.site-shell {
	width: min(calc(100% - 48px), var(--hnnn-max));
	margin-inline: auto;
}

.site-header {
	position: relative;
	background: var(--hnnn-bg);
	border-bottom: 1px solid var(--hnnn-line);
}

.site-header__inner {
	min-height: 72px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
}

.site-brand {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	justify-self: start;
}

.site-brand img {
	max-height: 36px;
	width: auto;
}

.site-nav__list,
.site-footer__nav {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 26px;
	align-items: center;
}

.site-nav {
	justify-self: center;
}

.site-nav a,
.site-actions a,
.site-footer__nav a {
	font-size: 13px;
}

.site-actions {
	justify-self: end;
	display: flex;
	gap: 20px;
}

.home-hero {
	padding: clamp(90px, 12vw, 180px) 0 clamp(70px, 9vw, 130px);
	border-bottom: 1px solid var(--hnnn-line);
}

.eyebrow,
.meta,
.section-heading > span {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 10px;
	line-height: 1.4;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hnnn-muted);
}

.home-hero h1,
.page-header h1 {
	margin: 12px 0 0;
	font-size: clamp(54px, 11vw, 160px);
	line-height: .88;
	letter-spacing: -.06em;
	font-weight: 650;
}

.home-hero__intro {
	margin: 26px 0 0;
	font-size: clamp(18px, 2vw, 28px);
	line-height: 1.25;
	letter-spacing: -.025em;
	max-width: 720px;
}

.home-grid {
	padding: var(--space-7) 0 var(--space-8);
}

.section-heading {
	display: grid;
	grid-template-columns: 70px 1fr;
	align-items: baseline;
	border-top: 1px solid var(--hnnn-line);
	padding-top: 14px;
	margin-bottom: var(--space-5);
}

.section-heading h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.025em;
}

.content-wrap,
.shop-wrap {
	padding-top: var(--space-7);
	padding-bottom: var(--space-8);
}

.page-header {
	margin-bottom: var(--space-7);
}

.page-header h1 {
	font-size: clamp(48px, 8vw, 110px);
}

.prose {
	max-width: 780px;
	font-size: 18px;
	line-height: 1.7;
}

.prose > *:first-child {
	margin-top: 0;
}

.post-list {
	border-top: 1px solid var(--hnnn-line);
}

.post-card {
	padding: 24px 0 34px;
	border-bottom: 1px solid var(--hnnn-line);
}

.post-card h2 {
	margin: 8px 0;
	font-size: clamp(24px, 3vw, 44px);
	letter-spacing: -.035em;
}

.system-note {
	border-top: 1px solid var(--hnnn-line);
	border-bottom: 1px solid var(--hnnn-line);
	padding: 28px 0;
	color: var(--hnnn-muted);
}

.site-footer {
	border-top: 1px solid var(--hnnn-line);
}

.site-footer__inner {
	min-height: 180px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 30px;
	padding-top: 38px;
	padding-bottom: 38px;
}

.site-footer__brand {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .16em;
}

.site-footer__meta {
	justify-self: end;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 9px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hnnn-muted);
}

/* WooCommerce baseline — deliberately restrained */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 20px;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	font-weight: 500;
	padding: 12px 0 0;
	letter-spacing: -.01em;
}

.woocommerce ul.products li.product .price {
	color: var(--hnnn-text);
	font-size: 13px;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	border-radius: 0;
	background: var(--hnnn-text);
	color: #fff;
	font-weight: 500;
	padding: 12px 16px;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
	gap: clamp(36px, 6vw, 100px);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto;
	float: none;
}

.woocommerce div.product .product_title {
	font-size: clamp(38px, 5vw, 72px);
	letter-spacing: -.05em;
	line-height: .95;
	font-weight: 620;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--hnnn-text);
	font-size: 18px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 1px solid var(--hnnn-text);
	background: var(--hnnn-surface);
}

@media (max-width: 980px) {
	.site-header__inner {
		grid-template-columns: 1fr auto;
	}

	.site-nav {
		display: none;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.site-footer__meta {
		justify-self: start;
	}
}

@media (max-width: 640px) {
	.site-shell {
		width: min(calc(100% - 28px), var(--hnnn-max));
	}

	.site-header__inner {
		min-height: 62px;
		gap: 16px;
	}

	.site-actions {
		gap: 12px;
	}

	.site-actions a:first-child {
		display: none;
	}

	.home-hero {
		padding-top: 72px;
		padding-bottom: 68px;
	}

	.home-grid,
	.content-wrap,
	.shop-wrap {
		padding-top: 48px;
		padding-bottom: 72px;
	}

	.section-heading {
		grid-template-columns: 44px 1fr;
	}

	.woocommerce ul.products {
		gap: 28px 10px;
	}

	.site-footer__nav {
		flex-wrap: wrap;
		gap: 12px 20px;
	}
}
