/*
Theme Name: Zazona Field Notes
Author: Rowan Vale Studio
Description: A classic PHP editorial theme with a dark two-column SaaS-style layout, live WordPress categories, editable homepage text, and Customizer-driven design tokens.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: zzn-theme
*/

:root {
	--zzn-bg: #0e0e0d;
	--zzn-surface: #171713;
	--zzn-surface-alt: #2b2a28;
	--zzn-text: #ffffff;
	--zzn-muted: #aaa9a1;
	--zzn-accent: #dcff00;
	--zzn-border: #3c3c44;
	--zzn-font: Inter, "IBM Plex Sans", Arial, sans-serif;
	--zzn-hero-title-size: 68px;
	--zzn-body-text-size: 16px;
	--zzn-card-title-size: 22px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(180deg, rgba(220, 255, 0, 0.05), rgba(14, 14, 13, 0) 320px),
		var(--zzn-bg);
	color: var(--zzn-text);
	font-family: var(--zzn-font);
	font-size: var(--zzn-body-text-size);
	line-height: 1.65;
	letter-spacing: 0;
	text-rendering: geometricPrecision;
}

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

a:hover,
a:focus-visible {
	color: var(--zzn-accent);
}

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

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

[hidden] {
	display: none !important;
}

.zzn-panel-control {
	height: 1px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 1px;
}

.zzn-site {
	min-height: 100vh;
	overflow-x: hidden;
}

.zzn-shell {
	margin: 0 auto;
	max-width: 1160px;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

.zzn-skip-link {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
	font-weight: 700;
	left: 16px;
	padding: 10px 14px;
	position: fixed;
	top: -80px;
	z-index: 1000;
}

.zzn-skip-link:focus {
	top: 16px;
}

.zzn-header {
	background: linear-gradient(180deg, rgba(14, 14, 13, 0.96), rgba(14, 14, 13, 0.82));
	padding-top: 14px;
	position: sticky;
	top: 0;
	z-index: 500;
}

.zzn-header-shell {
	align-items: center;
	background: rgba(23, 23, 19, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	min-height: 64px;
	padding-bottom: 8px;
	padding-top: 8px;
}

.zzn-brand,
.zzn-footer-logo {
	align-items: center;
	display: inline-flex;
	font-weight: 700;
	gap: 10px;
	line-height: 1;
	min-width: 0;
}

.zzn-brand {
	flex: 0 1 auto;
}

.zzn-brand-mark {
	background: var(--zzn-accent);
	border-radius: 50%;
	box-shadow: inset 0 0 0 5px rgba(43, 42, 40, 0.18);
	display: inline-block;
	flex: 0 0 auto;
	height: 24px;
	width: 24px;
}

.zzn-brand-text {
	max-width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zzn-brand-logo {
	align-items: center;
	display: inline-flex;
}

.zzn-custom-logo {
	max-height: 42px;
	width: auto;
}

.zzn-primary-nav {
	display: none;
}

.zzn-menu,
.zzn-mobile-menu-list,
.zzn-category-list,
.zzn-mobile-category-list,
.zzn-footer-menu,
.zzn-footer-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zzn-menu {
	align-items: center;
	display: flex;
	gap: 6px;
}

.zzn-menu-link {
	border-radius: 999px;
	color: var(--zzn-muted);
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 12px 14px;
}

.zzn-current-menu-item .zzn-menu-link,
.zzn-menu-link:hover,
.zzn-menu-link:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: var(--zzn-text);
}

.zzn-header-actions {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	margin-left: auto;
	position: relative;
	z-index: 3;
}

.zzn-header-cta,
.zzn-button,
.zzn-icon-button {
	align-items: center;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.zzn-header-cta {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
	font-size: 13px;
	min-height: 42px;
	padding: 0 16px;
}

.zzn-header-cta:hover,
.zzn-header-cta:focus-visible,
.zzn-button-primary:hover,
.zzn-button-primary:focus-visible {
	background: var(--zzn-text);
	color: var(--zzn-surface-alt);
}

.zzn-icon-button {
	background: rgba(255, 255, 255, 0.08);
	color: var(--zzn-text);
	gap: 8px;
	min-height: 42px;
	padding: 0 12px;
	position: relative;
	user-select: none;
	z-index: 4;
}

.zzn-icon-button:focus-visible {
	outline: 2px solid var(--zzn-accent);
	outline-offset: 3px;
}

.zzn-button-bars {
	display: inline-flex;
	height: 12px;
	position: relative;
	width: 16px;
}

.zzn-button-bars::before,
.zzn-button-bars::after {
	background: currentColor;
	border-radius: 999px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	width: 16px;
}

.zzn-button-bars::before {
	top: 2px;
}

.zzn-button-bars::after {
	bottom: 2px;
}

.zzn-button-text {
	font-size: 13px;
}

.zzn-mobile-panel {
	background: rgba(14, 14, 13, 0.98);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	display: none;
	padding: 14px 0 18px;
	position: relative;
	z-index: 2;
}

#zzn-mobile-panel-menu:checked ~ .zzn-mobile-menu-panel,
#zzn-mobile-panel-categories:checked ~ .zzn-mobile-categories-panel,
.zzn-mobile-panel.zzn-is-open {
	display: block;
}

#zzn-mobile-panel-menu:checked ~ .zzn-header-shell .zzn-menu-button,
#zzn-mobile-panel-categories:checked ~ .zzn-header-shell .zzn-category-button {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
}

.zzn-mobile-panel-inner {
	display: grid;
	gap: 14px;
}

.zzn-panel-head {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.zzn-panel-close {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: var(--zzn-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-self: end;
	line-height: 1;
	padding: 9px 12px;
	user-select: none;
}

.zzn-panel-close:hover,
.zzn-panel-close:focus-visible {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
	outline: 0;
}

.zzn-mobile-menu-list,
.zzn-mobile-category-list {
	display: grid;
	gap: 8px;
}

.zzn-mobile-menu-list .zzn-menu-link,
.zzn-mobile-category-list .zzn-cat-item a {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--zzn-text);
	display: flex;
	font-weight: 700;
	padding: 14px 16px;
}

.zzn-panel-label,
.zzn-category-label,
.zzn-eyebrow,
.zzn-nav-label {
	color: var(--zzn-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.zzn-category-strip {
	display: none;
	padding: 10px 0 0;
}

.zzn-category-strip-inner {
	align-items: center;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
	display: flex;
	gap: 18px;
	padding-bottom: 12px;
}

.zzn-category-list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zzn-category-list .zzn-cat-item a,
.zzn-footer-category-list .zzn-cat-item a {
	color: var(--zzn-muted);
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
}

.zzn-category-list .zzn-cat-item a {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 9px 12px;
}

.zzn-category-list .zzn-cat-item a:hover,
.zzn-category-list .zzn-cat-item a:focus-visible,
.zzn-current-cat a {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
}

.zzn-main {
	min-height: 60vh;
}

.zzn-hero {
	padding: 48px 0 42px;
}

.zzn-hero-grid {
	align-items: center;
	display: grid;
	gap: 34px;
}

.zzn-hero-copy {
	max-width: 720px;
}

.zzn-hero-title,
.zzn-section-title,
.zzn-single-title {
	color: var(--zzn-text);
	font-family: "Inter Tight", var(--zzn-font);
	font-weight: 700;
	letter-spacing: 0;
	margin: 0;
}

.zzn-hero-title {
	font-size: 42px;
	line-height: 0.98;
	margin-top: 16px;
	max-width: 820px;
}

.zzn-hero-intro {
	color: var(--zzn-muted);
	font-size: 18px;
	line-height: 1.7;
	margin-top: 22px;
	max-width: 660px;
}

.zzn-hero-intro p,
.zzn-about-copy p,
.zzn-footer-about p,
.zzn-card-excerpt p {
	margin: 0;
}

.zzn-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.zzn-button {
	min-height: 52px;
	padding: 0 22px;
}

.zzn-button-primary {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
}

.zzn-button-secondary {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--zzn-text);
}

.zzn-button-secondary:hover,
.zzn-button-secondary:focus-visible {
	background: var(--zzn-text);
	color: var(--zzn-surface-alt);
}

.zzn-hero-visual {
	position: relative;
}

.zzn-hero-visual::before {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 36px 36px;
	border-radius: 8px;
	content: "";
	inset: 18px -8px -8px 18px;
	opacity: 0.35;
	position: absolute;
}

.zzn-hero-media {
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(135deg, rgba(220, 255, 0, 0.22), transparent 42%),
		var(--zzn-surface-alt);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
	display: block;
	overflow: hidden;
	position: relative;
}

.zzn-hero-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.zzn-hero-media-empty::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 28px 28px;
	content: "";
	inset: 0;
	position: absolute;
}

.zzn-hero-metrics {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 12px;
	position: relative;
}

.zzn-metric {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 16px;
}

.zzn-metric-value,
.zzn-metric-label {
	display: block;
}

.zzn-metric-value {
	color: var(--zzn-text);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.zzn-metric-label {
	color: var(--zzn-muted);
	font-size: 13px;
	font-weight: 700;
	margin-top: 8px;
}

.zzn-about-band {
	background: rgba(43, 42, 40, 0.42);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 44px 0;
}

.zzn-about-grid {
	display: grid;
	gap: 24px;
}

.zzn-section-heading {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.zzn-section-title {
	font-size: 34px;
	line-height: 1.08;
	margin-top: 12px;
	max-width: 680px;
}

.zzn-about-copy {
	color: var(--zzn-muted);
	font-size: 18px;
	line-height: 1.75;
}

.zzn-posts {
	padding: 58px 0 72px;
}

.zzn-post-grid {
	display: grid;
	gap: 18px;
}

.zzn-post-card {
	background: rgba(23, 23, 19, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 8px;
	display: grid;
	overflow: hidden;
}

.zzn-card-image-link {
	aspect-ratio: 16 / 10;
	background: var(--zzn-surface-alt);
	display: block;
	overflow: hidden;
}

.zzn-card-thumbnail,
.zzn-card-placeholder {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.zzn-card-placeholder {
	background:
		linear-gradient(120deg, rgba(220, 255, 0, 0.2), rgba(255, 255, 255, 0.04)),
		var(--zzn-surface-alt);
	display: block;
}

.zzn-card-body {
	display: grid;
	gap: 14px;
	padding: 18px;
}

.zzn-card-meta,
.zzn-single-meta,
.zzn-single-topics {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zzn-card-topic,
.zzn-single-topic {
	background: var(--zzn-accent);
	border-radius: 999px;
	color: var(--zzn-surface-alt);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 8px 10px;
}

.zzn-post-date {
	color: var(--zzn-muted);
	font-size: 13px;
	font-weight: 600;
}

.zzn-card-title {
	color: var(--zzn-text);
	font-family: "Inter Tight", var(--zzn-font);
	font-size: var(--zzn-card-title-size);
	line-height: 1.16;
	margin: 0;
}

.zzn-card-title a:hover,
.zzn-card-title a:focus-visible {
	color: var(--zzn-accent);
}

.zzn-card-excerpt {
	color: var(--zzn-muted);
	font-size: 15px;
	line-height: 1.65;
}

.zzn-card-link {
	color: var(--zzn-accent);
	font-size: 14px;
	font-weight: 800;
	justify-self: start;
}

.zzn-card-link::after {
	content: " ->";
}

.zzn-empty-state {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--zzn-muted);
	padding: 22px;
}

.zzn-single-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 56px 0 42px;
}

.zzn-single-header-inner {
	max-width: 920px;
}

.zzn-single-title {
	font-size: 42px;
	line-height: 1.02;
	margin-top: 18px;
}

.zzn-single-meta {
	color: var(--zzn-muted);
	font-weight: 600;
	margin-top: 18px;
}

.zzn-meta-separator {
	background: var(--zzn-border);
	border-radius: 50%;
	height: 5px;
	width: 5px;
}

.zzn-single-layout {
	display: grid;
	justify-content: center;
	padding-bottom: 64px;
	padding-top: 44px;
}

.zzn-single-content {
	color: rgba(255, 255, 255, 0.88);
	max-width: 760px;
	width: 100%;
}

.zzn-single-content > *:first-child {
	margin-top: 0;
}

.zzn-single-content h2,
.zzn-single-content h3,
.zzn-single-content h4 {
	color: var(--zzn-text);
	font-family: "Inter Tight", var(--zzn-font);
	letter-spacing: 0;
	line-height: 1.18;
	margin: 34px 0 12px;
}

.zzn-single-content p,
.zzn-single-content ul,
.zzn-single-content ol {
	margin: 0 0 20px;
}

.zzn-single-content a {
	color: var(--zzn-accent);
	font-weight: 700;
}

.zzn-single-content blockquote {
	border-left: 3px solid var(--zzn-accent);
	color: var(--zzn-text);
	font-size: 20px;
	font-weight: 600;
	margin: 28px 0;
	padding: 8px 0 8px 18px;
}

.zzn-single-content img,
.zzn-single-content figure {
	border-radius: 8px;
}

.zzn-page-links {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 30px;
}

.zzn-page-links a,
.zzn-page-links span {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-width: 36px;
	padding: 6px 12px;
}

.zzn-post-navigation {
	border-top: 1px dashed rgba(255, 255, 255, 0.16);
	display: grid;
	gap: 14px;
	padding-bottom: 58px;
	padding-top: 24px;
}

.zzn-post-navigation-item a {
	color: var(--zzn-text);
	display: inline-flex;
	font-family: "Inter Tight", var(--zzn-font);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 8px;
}

.zzn-post-navigation-next {
	text-align: left;
}

.zzn-footer {
	background: var(--zzn-accent);
	color: var(--zzn-surface-alt);
	padding: 46px 0 24px;
}

.zzn-footer a:hover,
.zzn-footer a:focus-visible {
	color: var(--zzn-surface);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.zzn-footer-grid {
	display: grid;
	gap: 28px;
}

.zzn-footer-brand {
	display: grid;
	gap: 16px;
}

.zzn-footer-logo .zzn-brand-mark {
	background: var(--zzn-surface-alt);
	box-shadow: inset 0 0 0 5px rgba(220, 255, 0, 0.24);
}

.zzn-footer-about {
	max-width: 560px;
}

.zzn-footer-heading {
	font-family: "Inter Tight", var(--zzn-font);
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.zzn-footer-menu,
.zzn-footer-category-list {
	display: grid;
	gap: 8px;
}

.zzn-footer-menu .zzn-menu-link,
.zzn-footer-category-list .zzn-cat-item a {
	color: var(--zzn-surface-alt);
	font-weight: 700;
	padding: 0;
}

.zzn-footer-bottom {
	border-top: 1px solid rgba(43, 42, 40, 0.22);
	font-size: 14px;
	font-weight: 700;
	margin-top: 34px;
	padding-top: 18px;
}

.zzn-footer-bottom p {
	margin: 0;
}

@media (min-width: 700px) {
	.zzn-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zzn-post-navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zzn-post-navigation-next {
		text-align: right;
	}
}

@media (min-width: 900px) {
	.zzn-shell {
		padding-left: 28px;
		padding-right: 28px;
	}

	.zzn-primary-nav {
		display: block;
	}

	.zzn-menu-button,
	.zzn-category-button {
		display: none;
	}

	.zzn-category-strip {
		display: block;
	}

	.zzn-hero {
		padding: 70px 0 64px;
	}

	.zzn-hero-grid {
		gap: 54px;
		grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
	}

	.zzn-hero-title {
		font-size: var(--zzn-hero-title-size);
	}

	.zzn-about-grid {
		align-items: start;
		grid-template-columns: 0.92fr 1fr;
	}

	.zzn-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.zzn-footer-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.5fr) minmax(180px, 0.6fr);
	}
}

@media (min-width: 1180px) {
	.zzn-post-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.zzn-header-shell {
		border-radius: 8px;
		gap: 8px;
		padding-left: 14px;
		padding-right: 14px;
	}

	.zzn-header-cta {
		display: none;
	}

	.zzn-brand-text {
		max-width: 118px;
	}

	.zzn-menu-button {
		min-width: 42px;
		padding-left: 0;
		padding-right: 0;
	}

	.zzn-menu-button .zzn-button-text {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.zzn-button {
		width: 100%;
	}

	.zzn-hero-title,
	.zzn-single-title {
		font-size: 34px;
		overflow-wrap: break-word;
	}

	.zzn-hero-intro,
	.zzn-about-copy {
		font-size: 16px;
	}
}

@media (max-width: 440px) {
	.zzn-category-button,
	.zzn-menu-button {
		min-width: 42px;
		padding-left: 0;
		padding-right: 0;
	}

	.zzn-category-button .zzn-button-text {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}
}
