/*
Theme Name: GenArt Gallery
Theme URI: https://example.com/genart-gallery
Description: A curated, specimen-catalogue theme for generative art NFT collections. Designed to pair with the GenArt NFT Studio plugin. The artwork carries the colour; the interface stays quiet, typographic, and precise.
Version: 1.0.0
Author: GenArt Studio
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: genart-gallery
*/

:root {
	--g-ink: #101012;
	--g-paper: #ffffff;
	--g-line: #e6e6e3;
	--g-mut: #86867f;
	--g-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
	--g-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--g-max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--g-paper);
	color: var(--g-ink);
	font-family: var(--g-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.g-wrap { max-width: var(--g-max); margin: 0 auto; padding: 0 24px; }

/* Header */
.g-header {
	border-bottom: 1px solid var(--g-line);
	position: sticky;
	top: 0;
	background: rgba(255,255,255,0.86);
	backdrop-filter: saturate(180%) blur(10px);
	z-index: 50;
}
.g-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 66px;
}
.g-brand {
	font-family: var(--g-mono);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.g-brand .g-dot { width: 10px; height: 10px; background: var(--g-ink); display: inline-block; }
.g-nav a { text-decoration: none; margin-left: 24px; font-size: 14px; color: var(--g-mut); }
.g-nav a:hover { color: var(--g-ink); }

/* Hero */
.g-hero { border-bottom: 1px solid var(--g-line); padding: 88px 0 72px; }
.g-hero__eyebrow {
	font-family: var(--g-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--g-mut);
	margin-bottom: 20px;
}
.g-hero__title {
	font-size: clamp(38px, 6vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 24px;
	font-weight: 680;
	max-width: 14ch;
}
.g-hero__lede { font-size: 19px; color: #3a3a3c; max-width: 52ch; margin: 0 0 32px; }
.g-hero__meta {
	display: flex;
	gap: 40px;
	font-family: var(--g-mono);
	font-size: 13px;
	color: var(--g-mut);
	border-top: 1px solid var(--g-line);
	padding-top: 22px;
	max-width: 620px;
}
.g-hero__meta b { display: block; color: var(--g-ink); font-size: 22px; font-weight: 600; margin-bottom: 2px; }

/* Section */
.g-section { padding: 64px 0; }
.g-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--g-line);
	padding-bottom: 16px;
}
.g-section__title { font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.g-section__link { font-family: var(--g-mono); font-size: 13px; text-decoration: none; color: var(--g-mut); }
.g-section__link:hover { color: var(--g-ink); }

/* Content prose */
.g-content { padding: 48px 0 72px; }
.g-content h1 { font-size: 34px; letter-spacing: -0.02em; }

/* Footer */
.g-footer {
	border-top: 1px solid var(--g-line);
	padding: 40px 0;
	font-family: var(--g-mono);
	font-size: 12px;
	color: var(--g-mut);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

@media (max-width: 640px) {
	.g-hero__meta { flex-direction: column; gap: 18px; }
	.g-nav a { margin-left: 16px; }
}
