/* ============================================
   LUMEN — Main Stylesheet
   Loaded async via preload. Critical CSS handles
   above-the-fold so this can render whenever.
   ============================================ */

:root {
	--lumen-bg:          #0a0a0a;
	--lumen-bg-alt:      #141414;
	--lumen-text:        #f0f0f0;
	--lumen-text-muted:  #9a9a9a;
	--lumen-accent:      #d4af37;
	--lumen-border:      #2a2a2a;
	--lumen-link:        #ffffff;

	--lumen-font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
	--lumen-font-display: Georgia, 'Times New Roman', serif;

	--lumen-max-w:       1400px;
	--lumen-prose-w:     680px;
	--lumen-radius:      2px;

	--lumen-space-1:     0.25rem;
	--lumen-space-2:     0.5rem;
	--lumen-space-3:     1rem;
	--lumen-space-4:     1.5rem;
	--lumen-space-5:     2.5rem;
	--lumen-space-6:     4rem;
	--lumen-space-7:     6rem;
}

* { box-sizing: border-box; }

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--lumen-bg);
	color: var(--lumen-text);
	font-family: var(--lumen-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--lumen-link);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	transition: opacity 0.2s ease;
}

a:hover { opacity: 0.7; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lumen-font-display);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 var(--lumen-space-3);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 var(--lumen-space-3); }

/* ============================================
   SKIP LINK & ACCESSIBILITY
   ============================================ */

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--lumen-text);
	color: var(--lumen-bg);
	padding: var(--lumen-space-2) var(--lumen-space-3);
	z-index: 9999;
}

.skip-link:focus { top: 0; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
	position: sticky;
	top: 0;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--lumen-border);
	z-index: 100;
}

.site-header__inner {
	max-width: var(--lumen-max-w);
	margin: 0 auto;
	padding: var(--lumen-space-3) var(--lumen-space-4);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--lumen-space-4);
}

.site-title {
	font-family: var(--lumen-font-display);
	font-size: 1.5rem;
	margin: 0;
}

.site-title a { text-decoration: none; }

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

/* Note: site-nav styling (ul, a, mobile menu) handled by PMP Nav plugin.
   v1.4.0 had Lumen-native hamburger CSS here that conflicted with PMP Nav's
   mobile menu — removed in v1.4.5. */

/* ============================================
   BREADCRUMBS
   ============================================ */

.lumen-breadcrumbs {
	max-width: var(--lumen-max-w);
	margin: 0 auto;
	padding: var(--lumen-space-3) var(--lumen-space-4) 0;
	font-size: 0.85rem;
	color: var(--lumen-text-muted);
}

.lumen-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--lumen-space-2);
}

.lumen-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: var(--lumen-space-2);
	color: var(--lumen-border);
}

.lumen-breadcrumbs a {
	color: var(--lumen-text-muted);
	text-decoration: none;
}

.lumen-breadcrumbs a:hover { color: var(--lumen-text); }

/* ============================================
   MAIN / LAYOUT
   ============================================ */

.site-main { min-height: 70vh; }

.wrap {
	max-width: var(--lumen-max-w);
	margin: 0 auto;
	padding: var(--lumen-space-5) var(--lumen-space-4);
}

.page-header {
	max-width: var(--lumen-prose-w);
	margin: 0 auto var(--lumen-space-5);
	padding: var(--lumen-space-5) var(--lumen-space-4) 0;
	text-align: center;
}

/* ============================================
   POST GRID
   ============================================ */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--lumen-space-4);
}

.card {
	background: var(--lumen-bg-alt);
	overflow: hidden;
	border-radius: var(--lumen-radius);
	transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-4px); }

.card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.card:hover .card__img { transform: scale(1.04); }

.card__body { padding: var(--lumen-space-3); }

.card__title {
	font-size: 1.25rem;
	margin: 0 0 var(--lumen-space-2);
}

.card__excerpt {
	color: var(--lumen-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

/* ============================================
   SINGLE ARTICLE / PAGE
   ============================================ */

.single-article__hero,
.single-page__hero {
	max-width: var(--lumen-max-w);
	margin: 0 auto var(--lumen-space-5);
	max-height: 80vh;
	overflow: hidden;
	/* Aspect ratio reserves layout space pre-image-load → no CLS. */
	aspect-ratio: 3 / 2;
	background: var(--lumen-bg-alt);
	width: 100%;
}

.single-article__hero-img,
.single-page__hero-img {
	width: 100%;
	height: 100%;
	max-height: 80vh;
	object-fit: cover;
	object-position: center;
	display: block;
}

.single-article__header,
.single-page__header {
	max-width: var(--lumen-prose-w);
	margin: 0 auto var(--lumen-space-5);
	padding: 0 var(--lumen-space-4);
	text-align: center;
}

.single-article__meta {
	color: var(--lumen-text-muted);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.single-article__content,
.single-page__content {
	max-width: var(--lumen-prose-w);
	margin: 0 auto;
	padding: 0 var(--lumen-space-4) var(--lumen-space-6);
	font-size: 1.05rem;
}

.single-article__content img,
.single-page__content img,
.single-article__content figure,
.single-page__content figure {
	max-width: 100%;
	margin: var(--lumen-space-4) auto;
}

.single-article__content .alignwide,
.single-page__content .alignwide {
	max-width: 1100px;
	width: 90vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.single-article__content .alignfull,
.single-page__content .alignfull {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

/* ============================================
   FOOTER
   ============================================ */

/* ============================================
   404
   ============================================ */

.error-404 {
	max-width: var(--lumen-prose-w);
	margin: var(--lumen-space-6) auto;
	padding: 0 var(--lumen-space-4);
	text-align: center;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
	margin: var(--lumen-space-5) 0;
	text-align: center;
}

.page-numbers {
	display: inline-block;
	padding: var(--lumen-space-2) var(--lumen-space-3);
	margin: 0 var(--lumen-space-1);
	text-decoration: none;
	border: 1px solid var(--lumen-border);
	color: var(--lumen-text);
}

.page-numbers.current {
	background: var(--lumen-text);
	color: var(--lumen-bg);
}

/* ============================================
   PRINT
   ============================================ */

@media print {
	.site-header,
	.site-footer,
	.lumen-breadcrumbs,
	.site-nav { display: none; }

	body { background: #fff; color: #000; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ============================================================
   v1.4.3 — Header layout + Footer (production rebuild)
   ============================================================ */

/* ============================================
   HEADER — logo/title left, nav right, same row
   ============================================ */
.site-header__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: var(--lumen-max-w, 1400px);
	margin: 0 auto;
	padding: 1.2rem 1.5rem;
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding .custom-logo {
	max-height: 70px;
	width: auto;
	display: block;
}

.site-branding .site-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 300;
	letter-spacing: 0.04em;
	margin: 0;
	color: var(--lumen-text, #f5f0eb);
}

.site-branding .site-title a {
	color: inherit;
	text-decoration: none;
}

.site-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.site-nav #nav_wrapper {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

/* ============================================
   FOOTER — matches live PMP layout
   Order:
     A. Brand block (centered): name + quick links + phone + legal
     B. Address block (centered): biz name + addr + email/phone + socials
     C. 4-column widget grid (intro + locations + styles + venues)
     D. Copyright (centered)
   ============================================ */
.site-footer {
	background: #0a0908;
	color: #c8c0b8;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	font-size: 14px;
	line-height: 1.7;
	padding: 0 1.5rem;
	margin-top: 0;
}

.site-footer a {
	color: #c9a96e;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}

.site-footer a:hover {
	border-bottom-color: #c9a96e;
}

/* === A. Brand block === */
.site-footer__brand {
	max-width: 760px;
	margin: 0 auto;
	padding: 4rem 1rem 2.5rem;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__brand-name {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 300;
	color: #f5f0eb;
	margin-bottom: 2rem;
	line-height: 1.2;
}

.site-footer__brand-main {
	font-weight: 400;
}

.site-footer__brand-italic {
	font-style: italic;
	color: #c9a96e;
	margin-left: 0.3em;
}

.site-footer__quicklinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.4rem 2.4rem;
	margin: 0 auto 2rem;
	font-size: 13px;
	letter-spacing: 0.04em;
	max-width: 700px;
}

.site-footer__quicklinks a {
	color: #c9a96e;
	padding: 0;
}

.site-footer__phone {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 18px;
	color: #c9a96e;
	margin: 0 0 2rem;
	text-align: center;
}

.site-footer__phone a {
	color: #c9a96e;
}

.site-footer__legal {
	max-width: 720px;
	margin: 0 auto;
	font-size: 12px;
	font-style: italic;
	color: #807870;
	line-height: 1.7;
	text-align: center;
}

.site-footer__legal a {
	color: #c9a96e;
	font-style: normal;
}

/* === B. Address block === */
.site-footer__address {
	max-width: 600px;
	margin: 0 auto;
	padding: 3rem 1rem 2.5rem;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__biz-name {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.28em;
	color: #c9a96e;
	margin: 0 0 1rem;
}

.site-footer__biz-addr {
	font-size: 13px;
	color: #c8c0b8;
	margin: 0 0 0.6rem;
}

.site-footer__biz-contact {
	font-size: 13px;
	color: #c8c0b8;
	margin: 0 0 1.5rem;
}

.site-footer__biz-contact a {
	color: #c9a96e;
}

.site-footer__socials {
	list-style: none;
	padding: 0;
	margin: 1.5rem auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
}

.site-footer__socials li {
	margin: 0;
}

.site-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #6a6258;
	border: 0;
	border-bottom: 0;
	transition: color 0.2s;
}

.site-footer__socials a:hover {
	color: #c9a96e;
	border-bottom: 0;
}

/* === C. 4-column widget grid === */
.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem;
	max-width: 1300px;
	margin: 0 auto;
	padding: 3rem 1rem;
}

.site-footer__col {
	min-width: 0;
	text-align: center;
}

.footer-widget {
	margin: 0;
}

.footer-widget + .footer-widget {
	margin-top: 1.5rem;
}

.footer-widget__title {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #807870;
	margin: 0 0 1.2rem;
	font-family: inherit;
}

.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widget ul li {
	padding: 0.3em 0;
	font-size: 13px;
	border: 0;
}

.footer-widget ul li::before {
	content: none;
}

.footer-widget ul li a {
	color: #c9a96e;
	border-bottom: 0;
}

.footer-widget ul li a:hover {
	color: #f5f0eb;
}

.footer-widget p {
	font-size: 13px;
	color: #807870;
	line-height: 1.7;
	margin: 0 0 0.8rem;
	font-style: italic;
}

/* Column 1 (intro) — no heading, slightly different feel */
.site-footer__col--intro p {
	color: #807870;
	font-style: italic;
}

/* === D. Copyright === */
.site-footer__copyright {
	text-align: center;
	padding: 1.5rem 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: #6a6258;
	max-width: 1300px;
	margin: 0 auto;
}

.site-footer__copyright p {
	margin: 0;
}

/* === Responsive === */
@media (max-width: 880px) {
	.site-footer__columns {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding: 0 1.25rem;
	}

	.site-footer__brand {
		padding: 3rem 0.5rem 2rem;
	}

	.site-footer__quicklinks {
		gap: 0.8rem 1.6rem;
	}

	.site-footer__address {
		padding: 2.5rem 0.5rem 2rem;
	}

	.site-footer__columns {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding: 2.5rem 0.5rem;
	}

	.site-header__inner {
		padding: 1rem;
		gap: 1rem;
	}

	.site-branding .custom-logo {
		max-height: 50px;
	}
}

/* ============================================
   v1.4.5 — Mobile menu fix + horizontal scroll prevention
   ============================================ */

/* Prevent horizontal scroll/sway on all viewports.
   100vw-based elements can exceed visible width when a scrollbar
   is present. Hiding x-overflow at the html/body level prevents
   the page from being able to scroll horizontally regardless. */
html, body {
	overflow-x: hidden;
}

/* PMP Nav mobile panel — use position:fixed so it spans the full
   viewport regardless of its DOM ancestor's containment.
   The panel becomes visible when #pmp-nav has class .pmp-mobile-open
   (PMP Nav's own JS toggles this). */
@media (max-width: 960px) {
	#pmp-mobile-panel {
		position: fixed !important;
		top: var(--lumen-mobile-nav-top, 82px);
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		max-height: calc(100vh - var(--lumen-mobile-nav-top, 82px)) !important;
		overflow-y: auto;
		z-index: 9999;
	}
}
