/*
Theme Name: Lawrence Zombie Walk
Theme URI: https://lawrence-zombie-walk.websitepro-staging.com/
Author: Wildman Web Solutions
Author URI: https://wildmanwebsolutions.com/
Description: Purpose-built block theme for the annual Lawrence Zombie Walk landing page - a foggy, grain-flecked one-pager whose copy lives entirely in native Gutenberg blocks. Pair it with the "Lawrence Zombie Walk - Support" plugin, which enqueues this stylesheet and the webfonts, drives the countdown, and serves the calendar (.ics) file.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lawrence-zombie-walk
Tags: one-column, full-site-editing, block-patterns, custom-colors, custom-logo, editor-style
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
	--zw-ink: #14120f;
	--zw-ink-soft: #1a1713;
	--zw-bone: #ece6d9;
	--zw-cream: #f3efe6;
	--zw-fog: #e7e1d6;
	--zw-blood: #9a2b2f;
	--zw-blood-dark: #7d2226;
	--zw-blood-lit: #c0393e;

	/* Hero sits on the pale, foggy end of the photograph, so its copy runs dark. */
	--zw-hero-fg: #1a1712;
	--zw-hero-fg-soft: rgba(26, 23, 18, 0.72);
	--zw-hero-fg-body: rgba(26, 23, 18, 0.78);
	--zw-hero-rule: rgba(26, 23, 18, 0.3);

	--zw-oswald: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	--zw-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;

	--zw-gutter: clamp(20px, 5vw, 56px);
	--zw-max: 1180px;
}

/* ==========================================================================
   Reset
   Loaded after wp-block-library, so the equal-specificity block rules below
   resolve here. The :where() group carries zero specificity and only has to
   beat the browser default sheet, which any author rule does.
   ========================================================================== */

.wp-block-image,
.wp-block-buttons,
.wp-block-group,
.wp-block-columns,
.wp-block-list,
.wp-block-heading {
	margin: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd) {
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--zw-ink);
	color: var(--zw-bone);
	font-family: var(--zw-serif);
	font-size: 19px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Film grain over the whole page. Kept off the editor canvas so it cannot sit
   on top of block outlines while someone is working. */
body:not(.editor-styles-wrapper)::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.055;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}

.zw-main {
	margin: 0;
	padding: 0;
	max-width: none;
}

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

.zw-main ul {
	list-style: none;
	padding: 0;
}

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

/* ==========================================================================
   Buttons
   className on core/button lands on the outer .wp-block-button wrapper.
   ========================================================================== */

.wp-block-button__link {
	display: inline-block;
	border-radius: 0;
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1.15;
	padding: 14px 26px 12px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.zw-btn-blood > .wp-block-button__link {
	color: var(--zw-bone);
	background: var(--zw-blood);
	border: 1px solid rgba(0, 0, 0, 0.25);
}

.zw-btn-blood > .wp-block-button__link:hover,
.zw-btn-blood > .wp-block-button__link:focus-visible {
	color: var(--zw-bone);
	background: var(--zw-blood-dark);
}

.zw-btn-bone > .wp-block-button__link {
	color: var(--zw-ink);
	background: rgba(236, 230, 217, 0.92);
	border: 1px solid rgba(20, 18, 15, 0.22);
}

.zw-btn-bone > .wp-block-button__link:hover,
.zw-btn-bone > .wp-block-button__link:focus-visible {
	background: var(--zw-bone);
	color: var(--zw-blood);
}

.zw-btn-ghost > .wp-block-button__link {
	color: rgba(236, 230, 217, 0.85);
	background: transparent;
	border: 1px solid rgba(236, 230, 217, 0.3);
}

.zw-btn-ghost > .wp-block-button__link:hover,
.zw-btn-ghost > .wp-block-button__link:focus-visible {
	color: var(--zw-bone);
	border-color: var(--zw-bone);
}

/* Compact variant used by the masthead call to action. */
.zw-btn-sm > .wp-block-button__link {
	font-size: 12.5px;
	padding: 9px 16px 8px;
	border-color: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Hero
   The prototype stacked seven absolutely-positioned decorative divs. Those are
   folded into two pseudo-elements here so the editable block tree holds nothing
   but real content:
     ::before - photograph, its top/bottom fade, the fog wash and the drifting
                highlights, all under one colour-grade filter
     ::after  - the cream copy veil over the dark bottom ramp
   ========================================================================== */

.zw-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	isolation: isolate;
	overflow: hidden;
	background: var(--zw-fog);
}

.zw-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	--zw-hero-img: url(assets/hero-scene.jpg);
	background-image:
		radial-gradient(closest-side, rgba(236, 230, 217, 0.42), rgba(236, 230, 217, 0)),
		radial-gradient(closest-side, rgba(236, 230, 217, 0.34), rgba(236, 230, 217, 0)),
		linear-gradient(180deg, var(--zw-fog) 0%, rgba(231, 225, 214, 0.55) 16%, rgba(231, 225, 214, 0) 34%),
		linear-gradient(180deg, var(--zw-fog) 0%, rgba(231, 225, 214, 0) 13%, rgba(231, 225, 214, 0) 86%, var(--zw-fog) 100%),
		var(--zw-hero-img);
	background-size: 150% 120%, 120% 100%, 100% 100%, 100% 62.5vw, 100% auto;
	background-position: -6% 40%, 110% 62%, center top, center 78%, center 78%;
	background-repeat: no-repeat;
	background-color: var(--zw-fog);
	filter: saturate(0.82) contrast(1.04);
	animation: zwHeroFog 46s ease-in-out infinite alternate;
}

.zw-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		linear-gradient(180deg, rgba(233, 228, 217, 0.9) 0%, rgba(233, 228, 217, 0.86) 40%, rgba(233, 228, 217, 0.64) 68%, rgba(233, 228, 217, 0.14) 88%, rgba(233, 228, 217, 0) 100%),
		linear-gradient(180deg, rgba(20, 18, 15, 0.28) 0%, rgba(20, 18, 15, 0) 26%, rgba(20, 18, 15, 0.06) 52%, rgba(20, 18, 15, 0.78) 86%, var(--zw-ink) 100%);
}

.zw-hero > * {
	position: relative;
	z-index: 3;
}

/* --- masthead --- */

.zw-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	padding: 22px var(--zw-gutter);
}

.zw-brand {
	font-family: var(--zw-oswald);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--zw-hero-fg);
}

.zw-navlinks {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(14px, 2.2vw, 30px);
}

.zw-navlink {
	font-family: var(--zw-oswald);
	font-weight: 400;
	font-size: 12.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1.2;
}

.zw-navlink a {
	color: var(--zw-hero-fg-soft);
	text-decoration: none;
}

.zw-navlink a:hover,
.zw-navlink a:focus-visible {
	color: var(--zw-blood);
}

/* --- hero copy --- */

.zw-hero-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: clamp(18px, 3vh, 34px);
	padding: clamp(20px, 4vh, 60px) var(--zw-gutter) clamp(30px, 6vh, 70px);
}

.zw-logo {
	width: min(940px, 88vw);
}

.zw-logo img {
	width: 100%;
	filter: drop-shadow(0 2px 18px rgba(20, 18, 15, 0.28));
}

.zw-hero-titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.zw-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(11px, 1.3vw, 14px);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--zw-hero-fg-soft);
}

.zw-eyebrow::before,
.zw-eyebrow::after {
	content: '';
	flex: none;
	width: clamp(24px, 6vw, 74px);
	height: 1px;
	background: var(--zw-hero-rule);
}

.zw-hero-h1 {
	font-family: var(--zw-oswald);
	font-weight: 600;
	font-size: clamp(30px, 5.4vw, 64px);
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--zw-hero-fg);
}

.zw-hero-h1 mark {
	background: transparent;
	color: var(--zw-blood);
}

.zw-hero-titles .zw-hero-sub {
	margin-top: 6px;
	max-width: 34ch;
	font-size: clamp(17px, 2.1vw, 23px);
	line-height: 1.45;
	color: var(--zw-hero-fg-body);
	text-wrap: pretty;
}

.zw-hero-sub strong {
	font-weight: 600;
}

.zw-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* --- countdown --- */

.zw-count {
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2.5vh, 26px);
	align-items: center;
	border-top: 1px solid rgba(236, 230, 217, 0.12);
	background: linear-gradient(180deg, rgba(20, 18, 15, 0.92), var(--zw-ink));
	padding: clamp(22px, 4vh, 40px) var(--zw-gutter) clamp(26px, 4vh, 44px);
}

.zw-count > * {
	width: 100%;
	max-width: var(--zw-max);
}

.zw-count-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(11px, 1.3vw, 13px);
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: rgba(236, 230, 217, 0.62);
}

.zw-count-label::before {
	content: '';
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--zw-blood);
	animation: zwPulse 2s steps(1, end) infinite;
}

.zw-count-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: end;
	gap: clamp(6px, 1.6vw, 24px);
}

.zw-count-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border-right: 1px solid rgba(236, 230, 217, 0.12);
}

.zw-count-cell:last-child {
	border-right: 0;
}

.zw-count-num {
	font-family: var(--zw-oswald);
	font-weight: 300;
	font-size: clamp(42px, 8vw, 104px);
	line-height: 0.9;
	color: var(--zw-bone);
	font-variant-numeric: tabular-nums;
}

.zw-count-num.zw-ss {
	color: var(--zw-blood);
}

.zw-count-cap {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(9px, 1.1vw, 12px);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	line-height: 1.2;
	color: rgba(236, 230, 217, 0.5);
}

/* ==========================================================================
   Shared section furniture
   ========================================================================== */

.zw-h2 {
	font-family: var(--zw-oswald);
	font-weight: 600;
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--zw-bone);
}

.zw-sechead {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 18px;
}

.zw-kicker {
	flex: 1;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	font-family: var(--zw-oswald);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--zw-blood);
}

.zw-kicker::before {
	content: '';
	flex: 1;
	min-width: 40px;
	height: 1px;
	background: rgba(236, 230, 217, 0.16);
}

/* ==========================================================================
   What happens
   ========================================================================== */

.zw-night {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: clamp(34px, 6vh, 60px);
	align-items: center;
	background: var(--zw-ink);
	padding: clamp(70px, 11vh, 130px) var(--zw-gutter);
}

/* Decorative shambler. The source art is dark on white, so it is inverted to
   read as a pale ghost against the black. */
.zw-night::before {
	content: '';
	position: absolute;
	right: 2%;
	bottom: 0;
	height: min(78%, 620px);
	aspect-ratio: 290 / 675;
	background: url(assets/zombie.png) center bottom / contain no-repeat;
	opacity: 0.12;
	filter: invert(1);
	pointer-events: none;
	animation: zwSway 9s ease-in-out infinite;
}

.zw-night > * {
	position: relative;
	width: 100%;
	max-width: var(--zw-max);
}

.zw-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(18px, 2.4vw, 34px);
}

.zw-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px 28px 34px;
	border-top: 2px solid var(--zw-blood);
	background: linear-gradient(180deg, rgba(236, 230, 217, 0.045), rgba(236, 230, 217, 0.012));
}

.zw-card-num {
	font-family: var(--zw-oswald);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.28em;
	line-height: 1.2;
	color: rgba(236, 230, 217, 0.4);
}

.zw-card-h {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(21px, 2.2vw, 27px);
	line-height: 1.15;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--zw-bone);
}

.zw-card-p {
	font-size: 19px;
	line-height: 1.6;
	color: rgba(236, 230, 217, 0.72);
	text-wrap: pretty;
}

/* ==========================================================================
   Schedule
   ========================================================================== */

.zw-schedule {
	background: var(--zw-ink);
	padding: 0 var(--zw-gutter) clamp(70px, 11vh, 130px);
}

.zw-schedule > * {
	max-width: var(--zw-max);
	margin-inline: auto;
}

.zw-schedule > *:first-child {
	border-top: 1px solid rgba(236, 230, 217, 0.14);
	padding-top: clamp(48px, 7vh, 80px);
}

.zw-schedule .zw-h2 {
	margin-bottom: 12px;
}

.zw-schedule .zw-lede {
	margin-bottom: clamp(30px, 5vh, 52px);
	font-size: 20px;
	line-height: 1.5;
	color: rgba(236, 230, 217, 0.6);
}

.zw-rows {
	display: flex;
	flex-direction: column;
}

.zw-row {
	display: grid;
	grid-template-columns: minmax(120px, 200px) 1fr;
	align-items: baseline;
	gap: clamp(16px, 4vw, 56px);
	padding: 26px 0;
	border-bottom: 1px solid rgba(236, 230, 217, 0.12);
}

.zw-row-time {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 34px);
	line-height: 1.1;
	letter-spacing: 0.04em;
	color: var(--zw-blood);
}

.zw-row-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.zw-row-h {
	font-family: var(--zw-oswald);
	font-weight: 400;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--zw-bone);
}

.zw-row-p {
	font-size: 19px;
	line-height: 1.55;
	color: rgba(236, 230, 217, 0.62);
}

/* ==========================================================================
   South Park
   ========================================================================== */

.zw-where {
	background: var(--zw-ink-soft);
	padding: clamp(70px, 11vh, 130px) var(--zw-gutter);
}

.zw-where > * {
	max-width: var(--zw-max);
	margin-inline: auto;
}

.zw-where-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

.zw-where-copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.zw-eyebrow-blood {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--zw-blood);
}

.zw-where .zw-h2 {
	font-size: clamp(34px, 5vw, 62px);
}

.zw-where-p {
	max-width: 44ch;
	font-size: 21px;
	line-height: 1.6;
	color: rgba(236, 230, 217, 0.75);
	text-wrap: pretty;
}

.zw-facts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zw-where-copy .zw-facts {
	margin-top: 6px;
}

.zw-facts li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 19px;
	line-height: 1.5;
	color: rgba(236, 230, 217, 0.7);
}

.zw-facts li::before {
	content: '';
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--zw-blood);
}

.zw-where-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.zw-where-copy .zw-where-ctas {
	margin-top: 8px;
}

.zw-sign {
	position: relative;
}

.zw-sign img {
	width: 100%;
	filter: saturate(0.7) contrast(1.05) brightness(0.92);
}

.zw-sign::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(26, 23, 19, 0) 45%, rgba(26, 23, 19, 0.55) 100%);
}

/* ==========================================================================
   Sponsors
   ========================================================================== */

.zw-sponsors {
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 6vh, 58px);
	align-items: center;
	background: var(--zw-bone);
	color: var(--zw-ink);
	padding: clamp(70px, 11vh, 124px) var(--zw-gutter);
}

.zw-sponsors > * {
	width: 100%;
	max-width: var(--zw-max);
}

.zw-sponsors .zw-h2 {
	font-size: clamp(28px, 4vw, 50px);
	color: var(--zw-ink);
}

.zw-sechead-light {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 18px;
}

.zw-sechead-light::after {
	content: '';
	flex: 1;
	min-width: 60px;
	height: 1px;
	background: rgba(20, 18, 15, 0.14);
}

/* One-pixel grid gaps double as the cell rules. */
.zw-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	background: var(--zw-cream);
	border-top: 1px solid rgba(20, 18, 15, 0.14);
	border-left: 1px solid rgba(20, 18, 15, 0.14);
}

.zw-logo-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 28px;
	min-height: 150px;
	background: var(--zw-cream);
	box-shadow: 1px 0 0 rgba(20, 18, 15, 0.14), 0 1px 0 rgba(20, 18, 15, 0.14);
}

.zw-logo-cell img {
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.zw-cell-lhs img { max-height: 74px; }
.zw-cell-granada img { max-height: 112px; }
.zw-cell-ul img { max-height: 80px; }
.zw-cell-dli img { max-height: 78px; }
.zw-cell-1313 img { max-height: 104px; }
.zw-cell-amfam img { max-height: 78px; }
.zw-cell-cooper img { max-height: 96px; }
.zw-cell-wildman img { max-height: 52px; }

.zw-cell-cta {
	flex-direction: column;
	gap: 8px;
	text-align: center;
}

.zw-cell-cta-label {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	line-height: 1.2;
	color: rgba(20, 18, 15, 0.45);
}

.zw-cell-cta-link {
	font-size: 18px;
}

.zw-cell-cta-link a {
	color: var(--zw-blood);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.zw-sponsor-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 22px;
	padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 44px);
	background: var(--zw-ink);
	color: var(--zw-bone);
	border-left: 4px solid var(--zw-blood);
}

.zw-sponsor-cta-p {
	max-width: 52ch;
	font-size: clamp(19px, 2.1vw, 24px);
	line-height: 1.5;
	text-wrap: pretty;
}

.zw-sponsor-cta-p a {
	color: var(--zw-bone);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--zw-blood);
}

.zw-sponsor-cta .wp-block-button__link {
	white-space: nowrap;
	padding: 15px 28px 13px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.zw-footer {
	display: flex;
	flex-direction: column;
	gap: 38px;
	align-items: center;
	background: var(--zw-ink);
	border-top: 1px solid rgba(236, 230, 217, 0.12);
	padding: clamp(56px, 9vh, 96px) var(--zw-gutter) clamp(40px, 6vh, 64px);
}

.zw-footer > * {
	width: 100%;
	max-width: var(--zw-max);
}

.zw-footer-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
}

.zw-footer-logo {
	width: min(420px, 72vw);
}

.zw-footer-logo img {
	width: 100%;
	opacity: 0.9;
}

.zw-footer-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 240px;
	text-align: right;
}

.zw-footer-when {
	font-family: var(--zw-oswald);
	font-weight: 500;
	font-size: clamp(15px, 1.8vw, 19px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--zw-bone);
}

.zw-footer-line {
	font-size: 18px;
	line-height: 1.45;
	color: rgba(236, 230, 217, 0.6);
}

.zw-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	border-top: 1px solid rgba(236, 230, 217, 0.12);
	padding-top: 26px;
}

.zw-footer-fine {
	font-size: 17px;
	color: rgba(236, 230, 217, 0.5);
}

.zw-footer-email {
	font-family: var(--zw-oswald);
	font-weight: 400;
	font-size: 12.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.zw-footer-email a {
	color: rgba(236, 230, 217, 0.6);
	text-decoration: none;
}

.zw-footer-email a:hover,
.zw-footer-email a:focus-visible {
	color: var(--zw-bone);
}

/* ==========================================================================
   Generic document pages (posts, 404, anything that is not the landing page)
   ========================================================================== */

.zw-doc {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	padding: clamp(48px, 9vh, 96px) var(--zw-gutter);
}

.zw-doc > * {
	width: 100%;
}

.zw-doc h1,
.zw-doc h2,
.zw-doc h3 {
	font-family: var(--zw-oswald);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.1;
	color: var(--zw-bone);
}

.zw-doc h1 { font-size: clamp(30px, 4.4vw, 52px); }
.zw-doc h2 { font-size: clamp(24px, 3vw, 34px); }

.zw-doc p {
	color: rgba(236, 230, 217, 0.75);
}

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes zwHeroFog {
	0% { background-position: -6% 40%, 110% 62%, center top, center 78%, center 78%; }
	50% { background-position: 1% 36%, 98% 57%, center top, center 78%, center 78%; }
	100% { background-position: 8% 33%, 84% 67%, center top, center 78%, center 78%; }
}

@keyframes zwPulse {
	0%, 100% { opacity: 0.25; }
	50% { opacity: 1; }
}

@keyframes zwSway {
	0%, 100% { transform: translateY(0) rotate(-0.6deg); }
	50% { transform: translateY(-10px) rotate(0.6deg); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	.zw-hero::before,
	.zw-night::before,
	.zw-count-label::before {
		animation: none;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.zw-hero::before {
		--zw-hero-img: url(assets/hero-scene-1200.jpg);
	}
}

@media (max-width: 782px) {
	.zw-nav {
		justify-content: center;
		gap: 16px;
	}

	.zw-navlinks {
		justify-content: center;
	}

	.zw-footer-top,
	.zw-footer-bottom {
		justify-content: flex-start;
	}

	.zw-footer-meta {
		text-align: left;
		min-width: 0;
	}

	.zw-count-grid {
		gap: 4px;
	}
}

@media (max-width: 560px) {
	.zw-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.zw-sponsor-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Keep the editor canvas workable: the hero does not need to be a full
   viewport tall while someone is editing copy inside it. */
.editor-styles-wrapper .zw-hero {
	min-height: 70vh;
}