/*
Theme Name: Paranwo
Theme URI: https://paranwo.com
Author: Sojan TS
Author URI: https://paranwo.com
Description: A dark, professional theme for Paranwo, the work of a paranormal researcher studying psychology, parapsychology and demonology. Full-width landing page with a full-screen photo hero and Airbnb-style article rows, plus a classic article list. Top navbar with a Library dropdown of sub-categories, a centred feed of horizontal article cards, and blank left/right columns reserved for ads, sponsored banners and events.
Version: 3.13.2
Requires at least: 6.4
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: paranwo
Tags: blog, dark, three-columns, custom-menu, featured-images, threaded-comments
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #000000;
	--panel: #111111;
	--panel-2: #1a1a1a;
	--panel-3: #222222;
	--line: #232323;
	--text: #f5f5f5;
	--text-2: #d4d4d4;
	--muted: #a3a3a3;
	--faint: #6b6b6b;
	--accent: #c9956b;
	--accent-light: #e6c09a;

	--r-xl: 24px;
	--r-lg: 20px;
	--r-md: 16px;
	--r-sm: 12px;

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-brand: "Cinzel", Georgia, serif;
	--font-serif: "Cormorant Garamond", Georgia, serif;

	--rail-w: 300px;
	--main-w: 720px;
	--gap: 32px;
	--shell-w: calc(var(--main-w) + 2 * var(--rail-w) + 2 * var(--gap) + 48px);
	--center-w: calc(var(--main-w) + 48px);
	--wide-w: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 15px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* keep the footer at the bottom on short pages */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body > .app, body > .landing { flex: 1 0 auto; width: 100%; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
/* no dragging photos out of the page, no long-press "Save image" menu on phones (see nav.js for right-click) */
img, canvas { -webkit-user-drag: none; -webkit-touch-callout: none; }
.seq-stage { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Space background (every page) ---------- */
body {
	background:
		radial-gradient(60% 45% at 85% 0%, rgba(140, 94, 59, .16), transparent 70%),
		radial-gradient(50% 40% at 0% 35%, rgba(70, 80, 170, .1), transparent 70%),
		radial-gradient(55% 45% at 100% 85%, rgba(201, 149, 107, .08), transparent 70%),
		var(--bg);
	background-attachment: fixed;
}
.space-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; border-radius: 8px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 12px; left: 12px; z-index: 1000;
	padding: 10px 16px;
	background: var(--text); color: #000;
	border-radius: 999px;
}

.panel {
	background: var(--panel);
	border-radius: var(--r-xl);
}

.eyebrow {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--faint);
}

.dot::before { content: "·"; color: var(--faint); }

/* ---------- Top navbar ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(0, 0, 0, .82);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }

.header-inner {
	max-width: var(--wide-w);
	height: 72px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.footer-logo { height: 64px; max-width: 280px; }
.brand-mark {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 11px;
	background: var(--text);
	color: #000;
	font: 600 1.3rem/1 var(--font-brand);
}
.brand-name {
	font: 600 1.25rem/1 var(--font-brand);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text);
}

.top-nav ul { list-style: none; margin: 0; padding: 0; }
.top-nav > ul { display: flex; align-items: center; gap: 4px; }
.top-nav li { position: relative; }
.top-nav > ul > li { display: flex; align-items: center; }
.top-nav > ul > li > a {
	display: block;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 600;
	color: var(--muted);
	transition: color .15s ease, background .15s ease;
}
.top-nav > ul > li > a:hover,
.top-nav > ul > li.is-open > a { color: var(--text); background: var(--panel-2); }
.top-nav > ul > li.current-menu-item > a,
.top-nav > ul > li.current-menu-ancestor > a,
.top-nav > ul > li.current-menu-parent > a { color: var(--text); background: var(--panel-2); }

.top-nav .menu-item-has-children > a { padding-right: 36px; }
.sub-toggle {
	position: absolute;
	right: 8px;
	width: 24px; height: 24px;
	display: grid; place-items: center;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.sub-toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
.top-nav li:hover > .sub-toggle, .top-nav .is-open > .sub-toggle { color: var(--text); }
.top-nav .is-open > .sub-toggle svg { transform: rotate(180deg); }

.top-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 230px;
	padding: 8px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
/* Hover bridge so the dropdown doesn't close in the gap */
.top-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.top-nav li:hover > .sub-menu,
.top-nav li:focus-within > .sub-menu,
.top-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.top-nav .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	font-size: .93rem;
	font-weight: 500;
	color: var(--text-2);
}
.top-nav .sub-menu a:hover { background: var(--panel-2); color: var(--text); }
.top-nav .sub-menu .current-menu-item > a { background: var(--panel-2); color: var(--text); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.header-search { width: 250px; }
.header-search .search-form { height: 44px; border-radius: 999px; padding: 0 14px; gap: 10px; }
.header-search .search-field { font-size: .92rem; }

.icon-btn {
	width: 44px; height: 44px;
	display: inline-grid; place-items: center;
	flex-shrink: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--text);
	cursor: pointer;
}
.icon-btn:hover { background: var(--panel-2); }
.icon-btn .icon { width: 19px; height: 19px; }
.search-toggle, .menu-toggle { display: none; }

.btn-pill {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--text);
	color: #000;
	font-weight: 600;
}
.btn-pill:hover { background: #fff; }

/* ---------- Layout: rail | main | rail ---------- */
.app {
	max-width: var(--shell-w);
	margin: 0 auto;
	padding: 28px 24px 56px;
	display: grid;
	grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--rail-w);
	gap: var(--gap);
	align-items: start;
}
.app-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Rails stay blank until widgets are added (ads, AdSense, events, banners). */
.rail { position: sticky; top: 100px; min-height: 1px; }
.admin-bar .rail { top: 132px; }

/* ---------- Sponsor areas ---------- */
.sponsor-area { display: flex; flex-direction: column; gap: 16px; }
.sponsor-area .widget { margin: 0; }
.sponsor-area img { border-radius: var(--r-md); width: 100%; }
.sponsor-area .widget-title { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ---------- Site footer ---------- */
.site-footer {
	margin-top: 24px;
	border-top: 1px solid var(--line);
	background: rgba(6, 6, 8, .78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.footer-inner {
	max-width: var(--wide-w);
	margin: 0 auto;
	padding: 56px 24px 28px;
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(var(--footer-cols, 2), minmax(0, 1fr));
	gap: 40px 32px;
}

.footer-meaning { margin: 14px 0 0; max-width: 34ch; font: italic 600 1.08rem/1.35 var(--font-serif); color: var(--accent-light); text-wrap: balance; }
.footer-meaning + .footer-desc { margin-top: 10px; }
.footer-desc { margin: 16px 0 0; max-width: 34ch; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.socials { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--muted);
	transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}
.socials a:hover { color: #000; background: var(--text); border-color: var(--text); transform: translateY(-2px); }
.social-icon { width: 17px; height: 17px; }

.footer-col-title {
	margin: 4px 0 16px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--faint);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: .93rem; color: var(--text-2); transition: color .15s ease; }
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}
.copyright { margin: 0; font-size: .85rem; color: var(--faint); }
.to-top { font-size: .85rem; font-weight: 600; color: var(--muted); }
.to-top:hover { color: var(--text); }

/* ---------- Search field ---------- */
.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 18px;
	height: 56px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	transition: border-color .15s ease, background .15s ease;
}
.search-form:focus-within { border-color: var(--faint); background: var(--panel-2); }
.search-form .icon { width: 18px; height: 18px; color: var(--muted); }
.search-field {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 500 1rem var(--font);
}
.search-field::placeholder { color: var(--faint); }
.search-field:focus { outline: none; }
.search-field::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search-kbd {
	padding: 1px 7px;
	border: 1px solid var(--panel-3);
	border-radius: 6px;
	font: 500 .75rem var(--font);
	color: var(--faint);
}

/* ---------- Chips ---------- */
.chip {
	flex-shrink: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--panel-2);
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-2);
	white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.chip:hover { background: var(--panel-3); color: var(--text); }
.chip.is-active { background: var(--text); color: #000; }
.chip--sm { padding: 5px 12px; font-size: .78rem; }

/* ---------- Page head (archives, search) ---------- */
.page-head { padding: 12px 6px 4px; }
.page-head h1 { margin: 6px 0 0; font-size: clamp(1.6rem, 3vw, 2rem); }
.page-desc { margin-top: 6px; color: var(--muted); }
.page-desc p { margin: 0; }
.page-count { margin: 8px 0 0; font-size: .86rem; font-weight: 600; color: var(--faint); }

/* ---------- Article cards (horizontal) ---------- */
.post-list { display: flex; flex-direction: column; gap: 16px; }

.card {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 22px;
	padding: 14px;
	background: var(--panel);
	border-radius: var(--r-xl);
	transition: background .2s ease;
}
.card:hover { background: #151515; }

.card-thumb {
	position: relative;
	display: block;
	align-self: center;
	aspect-ratio: 16 / 10;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--panel-2);
}
.card-thumb img,
.mini-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card-thumb img,
.mini-card:hover .mini-thumb img { transform: scale(1.05); }

.thumb-fallback {
	width: 100%; height: 100%;
	display: grid; place-items: center;
	background: radial-gradient(120% 100% at 20% 0%, rgba(201, 149, 107, .25), transparent 60%), var(--panel-2);
	font: 600 2.4rem/1 var(--font-brand);
	color: rgba(230, 192, 154, .45);
}

.card-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 6px 8px 4px 0;
}
.card-cat {
	align-self: flex-start;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent-light);
}
.card-cat:hover { color: var(--accent); }

.card-title {
	margin: 6px 0 8px;
	font-size: 1.22rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card-title a:hover { color: var(--accent-light); }

.card-excerpt {
	margin: 0;
	color: var(--muted);
	font-size: .93rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 14px;
	font-size: .84rem;
	color: var(--faint);
}
.meta-author { font-weight: 600; color: var(--text-2); }
.meta-author:hover { color: var(--text); }

.initials {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--panel-3);
	color: var(--text);
	font-weight: 700;
	letter-spacing: .02em;
}
.initials--sm { width: 28px; height: 28px; font-size: .68rem; margin-right: 2px; }
.initials--md { width: 44px; height: 44px; font-size: .88rem; }
.initials--lg { width: 60px; height: 60px; font-size: 1.1rem; }

/* ---------- List heading ---------- */
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 6px 2px; }
.list-title { margin: 0; font-size: 1.35rem; }
.list-sub { font-size: .88rem; font-weight: 600; color: var(--faint); }

/* ---------- Pagination ---------- */
.pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	padding: 24px 2px 4px;
	border-top: 1px solid var(--line);
}
.pager-prev { justify-self: start; }
.pager-next { justify-self: end; }
.pager-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border: 1px solid rgba(201, 149, 107, .3);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-2);
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.pager-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
a.pager-btn:hover { background: rgba(201, 149, 107, .1); border-color: rgba(230, 192, 154, .65); color: var(--accent-light); }
a.pager-prev:hover svg { transform: translateX(-3px); }
a.pager-next:hover svg { transform: translateX(3px); }
.pager-btn.is-disabled { border-color: var(--line); color: var(--faint); opacity: .5; cursor: default; }

.pager-middle { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pager-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager-pages .page-numbers {
	min-width: 40px; height: 40px;
	padding: 0 10px;
	display: inline-grid;
	place-items: center;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: .92rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pager-pages a.page-numbers:hover { border-color: rgba(201, 149, 107, .35); color: var(--text); }
.pager-pages .page-numbers.current {
	border-color: rgba(240, 200, 160, .35);
	background: linear-gradient(180deg, #a8754a, #7f5332 60%, #6a4429);
	color: #fbefe1;
	box-shadow: 0 6px 18px rgba(120, 72, 36, .35), inset 0 1px 0 rgba(255, 220, 180, .3);
}
.pager-pages .dots { min-width: 24px; padding: 0; color: var(--faint); }
.pager-status { display: none; margin: 0; font-size: .86rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.pager-status strong { color: var(--text); font-weight: 600; }

/* ---------- Single article ---------- */
.article { padding: 32px 36px 36px; }

.article-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.article-title { margin: 0 0 20px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }

.article-meta { display: flex; align-items: center; gap: 12px; }
.article-meta .meta-author { font-size: 1rem; }
.meta-sub { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--faint); }

.article-hero { margin: 28px 0 32px; border-radius: var(--r-lg); overflow: hidden; }
.article-hero img { width: 100%; }
.article-hero figcaption { padding: 10px 4px 0; font-size: .82rem; color: var(--faint); text-align: center; }

/* Gutenberg content */
.entry-content { font-size: 1.07rem; line-height: 1.8; color: var(--text-2); }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.entry-content a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(230, 192, 154, .4); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--accent-light); }
.entry-content strong { color: var(--text); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-left: 0; margin-right: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--panel-2);
	font-size: 1.18rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1.55;
	color: var(--text);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: .85rem; font-style: normal; color: var(--faint); }
.entry-content img { border-radius: var(--r-md); }
.entry-content figcaption, .wp-element-caption { font-size: .82rem; color: var(--faint); text-align: center; margin-top: 8px; }
.entry-content hr, .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.4em auto; }
.entry-content code { padding: 2px 6px; border-radius: 6px; background: var(--panel-2); font-size: .9em; }
.entry-content pre { padding: 18px 20px; overflow-x: auto; border-radius: var(--r-md); background: var(--panel-2); font-size: .9rem; }
.entry-content pre code { padding: 0; background: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { margin-left: 0; margin-right: 0; }

.page-links { margin: 2em 0; color: var(--muted); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.author-box {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 32px;
	padding: 20px;
	border-radius: var(--r-lg);
	background: var(--panel-2);
}
.author-box .author-name { display: block; margin: 2px 0 2px; font-size: 1.1rem; font-weight: 700; }
.author-box .author-name:hover { color: var(--accent-light); }
.author-box p { margin: 0; color: var(--muted); font-size: .92rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 18px 22px; transition: background .15s ease; }
.post-nav a:hover { background: var(--panel-2); }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav-title { display: block; margin-top: 4px; font-weight: 600; line-height: 1.35; }

.section-title { margin: 0 0 18px; font-size: 1.3rem; }

.related { margin-top: 12px; }
.related .section-title { padding: 0 6px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mini-card {
	display: flex;
	flex-direction: column;
	padding: 12px 12px 16px;
	background: var(--panel);
	border-radius: var(--r-xl);
	transition: background .2s ease;
}
.mini-card:hover { background: #151515; }
.mini-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--panel-2); margin-bottom: 14px; }
.mini-card .card-cat { padding: 0 6px; }
.mini-title { margin: 6px 0 0; padding: 0 6px; font-size: 1.05rem; line-height: 1.35; }
.mini-title a:hover { color: var(--accent-light); }
.mini-card .card-meta { padding: 10px 6px 0; }

/* ---------- Comments ---------- */
.comments-area { padding: 28px 32px; }
.comment-list { list-style: none; margin: 0 0 28px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; border-left: 1px solid var(--line); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author .avatar { border-radius: 50%; width: 36px; height: 36px; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; margin: 2px 0 0 46px; }
.comment-metadata a { color: var(--faint); }
.comment-content { margin-left: 46px; color: var(--text-2); }
.reply { margin-left: 46px; font-size: .85rem; font-weight: 600; color: var(--accent-light); }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }
.comment-notes a, .logged-in-as a { color: var(--accent-light); }
.comment-form label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	background: var(--panel-2);
	border: 1px solid transparent;
	border-radius: var(--r-md);
	color: var(--text);
	font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--faint); }
.comment-form p { margin: 0 0 16px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form-cookies-consent label { margin: 0; }
.form-submit input[type="submit"] {
	padding: 13px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--text);
	color: #000;
	font: 600 .95rem var(--font);
	cursor: pointer;
}
.form-submit input[type="submit"]:hover { background: #fff; }

/* ---------- Empty / 404 ---------- */
.empty-state { padding: 64px 28px; text-align: center; }
.empty-state h1, .empty-state h2 { margin: 0 0 10px; font-size: 1.7rem; }
.empty-state p { margin: 0 auto 24px; max-width: 44ch; color: var(--muted); }
.error-code {
	font: 600 clamp(4rem, 12vw, 6.5rem)/1 var(--font-brand);
	background: linear-gradient(180deg, var(--accent-light), #8c5e3b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 8px;
}

/* ---------- Mobile drawer ---------- */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear .32s;
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
html.drawer-open, html.drawer-open body { overflow: hidden; }

.drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .62);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .3s ease;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }

.drawer-panel {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: min(340px, 88vw);
	display: flex;
	flex-direction: column;
	background: #0c0c0c;
	border-right: 1px solid var(--line);
	box-shadow: 24px 0 60px rgba(0, 0, 0, .55);
	transform: translateX(-100%);
	transition: transform .32s cubic-bezier(.2, .8, .2, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open .drawer-panel { transform: none; }

.drawer-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 14px 20px;
	background: #0c0c0c;
	border-bottom: 1px solid var(--line);
}
.drawer-logo { height: 40px; }

.drawer-search { padding: 18px 20px 6px; }
.drawer-search .search-form { height: 48px; border-radius: 14px; padding: 0 14px; gap: 10px; }
.drawer-search .search-kbd { display: none; }

.drawer-label {
	margin: 0 0 8px;
	padding: 0 8px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--faint);
}

.drawer-nav { padding: 18px 12px 12px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav > ul { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav li { position: relative; }
.drawer-nav > ul > li > a {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	padding: 0 52px 0 12px;
	border-radius: 14px;
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--text-2);
	transition: background .15s ease, color .15s ease;
}
.drawer-nav > ul > li > a .icon { width: 21px; height: 21px; color: var(--muted); }
.drawer-nav > ul > li > a:hover,
.drawer-nav > ul > li.is-open > a { background: var(--panel); color: var(--text); }
.drawer-nav > ul > li.current-menu-item > a,
.drawer-nav > ul > li.current-menu-ancestor > a { background: var(--panel-2); color: var(--text); }
.drawer-nav > ul > li.current-menu-item > a .icon,
.drawer-nav > ul > li.current-menu-ancestor > a .icon { color: var(--accent-light); }

.drawer-nav .sub-toggle {
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
}
.drawer-nav .sub-toggle:hover { background: var(--panel-2); color: var(--text); }
.drawer-nav .is-open > .sub-toggle svg { transform: rotate(180deg); }

.drawer-nav .sub-menu {
	display: none;
	margin: 4px 0 6px 22px;
	padding-left: 14px;
	border-left: 1px solid var(--panel-3);
}
.drawer-nav .is-open > .sub-menu { display: block; animation: paranwo-sub-in .2s ease; }
@keyframes paranwo-sub-in { from { opacity: 0; transform: translateY(-4px); } }
.drawer-nav .sub-menu a {
	display: block;
	padding: 11px 12px;
	border-radius: 10px;
	font-size: .95rem;
	font-weight: 500;
	color: var(--muted);
}
.drawer-nav .sub-menu a:hover { background: var(--panel); color: var(--text); }
.drawer-nav .sub-menu .current-menu-item > a { color: var(--text); background: var(--panel-2); font-weight: 600; }

.drawer-foot {
	margin-top: auto;
	padding: 20px 20px 24px;
	border-top: 1px solid var(--line);
}
.drawer-foot .drawer-label { padding: 0; }
.drawer-foot .socials { margin-top: 10px; }
.drawer-copy { margin: 16px 0 0; font-size: .8rem; color: var(--faint); }

@media (max-width: 782px) {
	.admin-bar .drawer-panel { top: 46px; }
}
@media (min-width: 761px) {
	.drawer { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
	:root { --rail-w: 160px; --gap: 24px; }
}

@media (max-width: 1180px) {
	.app { grid-template-columns: minmax(0, var(--main-w)); justify-content: center; }
	.rail { display: none; }
}

@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: repeat(var(--footer-cols, 2), minmax(0, 1fr)); }
	.footer-about { grid-column: 1 / -1; }
	.header-search {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		width: auto;
		padding: 12px 24px;
		background: #000;
		border-bottom: 1px solid var(--line);
	}
	.search-open .header-search { display: block; }
	.search-toggle { display: inline-grid; }
}

@media (max-width: 760px) {
	.header-inner { height: 64px; padding: 0 16px; gap: 12px; }
	.brand-name { font-size: 1.08rem; }
	.brand-mark { width: 36px; height: 36px; }
	.brand-logo { height: 42px; }
	.footer-logo { height: 50px; }
	.menu-toggle { display: inline-grid; }
	.icon-btn { width: 40px; height: 40px; }

	.top-nav { display: none; }
	.header-search { padding: 12px 16px; }

	.app { padding: 16px 14px 40px; }
	.footer-inner { padding: 40px 16px 24px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }

	.pager { gap: 10px; padding-top: 20px; }
	.pager-pages { display: none; }
	.pager-status { display: block; }
	.pager-btn { padding: 0 14px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	/* phone cards: same layout as desktop (photo left, text right) with a 16:10 rectangle photo */
	.card { grid-template-columns: 44% minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: var(--r-lg); align-items: center; }
	.card-thumb { aspect-ratio: 16 / 10; border-radius: var(--r-sm); align-self: center; }
	.card-body { padding: 2px 4px 2px 0; }
	.card-cat { font-size: .64rem; }
	.card-title { font-size: .98rem; margin: 4px 0 0; line-height: 1.28; }
	.card-excerpt { display: none; }
	.card-meta { padding-top: 8px; font-size: .74rem; gap: 4px; }
	.card-meta .initials { display: none; }
	.hide-sm { display: none; }

	.article { padding: 22px 18px 24px; border-radius: var(--r-lg); }
	.comments-area { padding: 22px 18px; }
	.mini-grid { grid-template-columns: minmax(0, 1fr); }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav .next { grid-column: 1; }
	.search-kbd { display: none; }
}

/* =========================================================
   Landing page (front-page.php)
   ========================================================= */
.wrap { width: 100%; max-width: var(--wide-w); margin-inline: auto; padding-inline: 24px; }

.is-landing .site-footer { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: .97rem;
	font-weight: 700;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--bronze {
	border: 1px solid rgba(240, 200, 160, .35);
	background: linear-gradient(180deg, #a8754a 0%, #7f5332 55%, #6a4429 100%);
	color: #fbefe1;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
	box-shadow: 0 12px 30px rgba(120, 72, 36, .35), inset 0 1px 0 rgba(255, 220, 180, .35), inset 0 -1px 0 rgba(0, 0, 0, .25);
}
.btn--bronze:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, #b8835a 0%, #8c5e3b 55%, #74492c 100%);
	box-shadow: 0 16px 40px rgba(150, 95, 50, .45), inset 0 1px 0 rgba(255, 220, 180, .4), inset 0 -1px 0 rgba(0, 0, 0, .25);
}
.btn--ghost {
	border: 1px solid rgba(201, 149, 107, .45);
	background: rgba(120, 80, 50, .16);
	color: #f1dcc4;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(140, 94, 59, .3); border-color: rgba(230, 192, 154, .7); color: #fff; }

/* ---------- Hero (layouts: cinematic, split, mosaic — Appearance → Homepage) ---------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(540px, calc(100vh - 72px), 860px);
	min-height: clamp(540px, calc(100svh - 72px), 860px);
}
.hero-inner { position: relative; width: 100%; padding-block: 72px; }

.hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--accent-light);
}
/* thin bronze line after the label, fading out */
.hero-eyebrow::after {
	content: "";
	flex: 0 0 auto;
	width: 64px;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), rgba(201, 149, 107, 0));
}

.hero-title {
	margin: 22px 0 20px;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -.035em;
	color: #fff;
	text-wrap: balance;
}
.hero-title em {
	font-family: var(--font-serif);
	font-size: 1.12em;
	font-style: italic;
	font-weight: 600;
	letter-spacing: -.01em;
	padding-right: .06em;
	background: linear-gradient(100deg, #f6dfc4, #c9956b 45%, #8c5e3b 78%, #e6c09a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-lead { margin: 0; max-width: 48ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.7; color: rgba(236, 229, 218, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-actions .btn:only-child { grid-column: 1 / -1; } /* one button left (empty section hidden): full row in the phone grid */

.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* drifting ground fog */
.hero-fog { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fog span {
	position: absolute;
	bottom: 0;
	width: 120%;
	height: 100%;
	background:
		radial-gradient(40% 50% at 20% 70%, rgba(214, 205, 230, .08), transparent 70%),
		radial-gradient(35% 45% at 60% 80%, rgba(230, 210, 190, .07), transparent 70%),
		radial-gradient(30% 40% at 90% 65%, rgba(214, 205, 230, .06), transparent 70%);
	filter: blur(12px);
	animation: paranwo-fog 40s ease-in-out infinite alternate;
}
.hero-fog span:nth-child(2) { left: -20%; opacity: .8; animation-duration: 55s; animation-direction: alternate-reverse; }

/* 1. Cinematic: full-screen photo, centred text */
.hero--cinematic { background: #05060a; text-align: center; }
.hero--cinematic::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: .06;
	pointer-events: none;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-media { position: absolute; inset: 0; z-index: -4; overflow: hidden; }
.hero--cinematic .hero-img {
	object-position: 58% 50%;
	filter: saturate(.85) contrast(1.05) brightness(1.08);
	transform-origin: 60% 45%;
	animation: paranwo-kenburns 36s ease-in-out infinite alternate;
}
.hero-shade {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(55% 55% at 50% 50%, rgba(3, 4, 8, .5), rgba(3, 4, 8, .62) 60%, rgba(3, 4, 8, .86)),
		linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 25%, transparent 70%, #000 100%);
}
.hero--cinematic .hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 880px; margin-inline: auto; }
.hero--cinematic .hero-inner { padding-block: 64px 112px; }
.hero--cinematic .hero-title { font-size: clamp(2.8rem, 6.2vw, 5.4rem); text-shadow: 0 4px 60px rgba(0, 0, 0, .6); }
.hero--cinematic .hero-lead { max-width: 54ch; }
.hero--cinematic .hero-actions { justify-content: center; }
.hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	transform: translateX(-50%);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--muted);
}
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--accent-light), transparent); transform-origin: top; animation: paranwo-scroll 2.4s ease-in-out infinite; }
.hero-scroll:hover { color: var(--text); }

/* 2. Split: text left over the space background, framed photo right */
.hero--split, .hero--mosaic { background: radial-gradient(55% 70% at 78% 45%, rgba(201, 149, 107, .1), transparent 70%); }
.hero--split .hero-inner,
.hero--mosaic .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; padding-block: 56px; }
.hero-frame { position: relative; justify-self: end; width: min(100%, 540px); margin: 0 24px 24px 0; }
.hero-frame::before {
	content: "";
	position: absolute;
	inset: 24px -24px -24px 24px;
	z-index: -1;
	border: 1px solid rgba(230, 192, 154, .25);
	border-radius: 30px;
}
.hero-frame-img {
	aspect-ratio: 6 / 5;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
.hero-frame-img .hero-img { object-position: 64% 50%; filter: saturate(.85) contrast(1.05); }
.hero-caption {
	position: absolute;
	left: -40px;
	bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 290px;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	background: rgba(10, 10, 14, .72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
	transition: transform .25s ease, border-color .25s ease;
}
.hero-caption:hover { transform: translateY(-3px); border-color: rgba(230, 192, 154, .4); }
.hero-caption small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero-caption strong { font-size: 1.02rem; line-height: 1.3; color: #fff; }
.hero-caption span { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); }
.hero-caption .icon { width: 14px; height: 14px; color: var(--accent); }

/* 3. Mosaic: text left, latest investigations as a photo grid right */
.mosaic {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	height: clamp(420px, 60vh, 560px);
}
.mosaic-item {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 22px;
	overflow: hidden;
	background: var(--panel);
}
.mosaic-item--0 { grid-row: 1 / 3; }
.mosaic-item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mosaic-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .88)); }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-label { display: flex; flex-direction: column; gap: 4px; }
.mosaic-label small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.mosaic-label strong { font-size: 1rem; line-height: 1.3; color: #fff; }
.mosaic-item--0 .mosaic-label strong { font-size: 1.3rem; }

/* 4. Showcase: dark left half for the text, hero photo on the right half */
.hero--showcase {
	background:
		radial-gradient(60% 70% at 18% 45%, rgba(140, 94, 59, .16), transparent 70%),
		radial-gradient(40% 50% at 5% 90%, rgba(70, 80, 150, .1), transparent 70%),
		#0c0b0e;
}
.hero--showcase::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 140px;
	z-index: -1;
	background: linear-gradient(180deg, transparent, var(--bg));
	pointer-events: none;
}
.hero-stars {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mix-blend-mode: screen;
}
.showcase-bg {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 78%;
	z-index: -2;
	overflow: hidden;
	/* long, soft fade on the left edge so the photo melts into the background (no seam) */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 14%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .9) 46%, #000 58%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .15) 14%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .9) 46%, #000 58%);
}
.showcase-bg .hero-img { object-position: 70% 50%; filter: saturate(1) contrast(1.03) brightness(1.08); transform-origin: 70% 50%; animation: paranwo-kenburns 36s ease-in-out infinite alternate; }
.showcase-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 11, 14, .35) 0%, transparent 40%),
		linear-gradient(180deg, rgba(12, 11, 14, .25) 0%, transparent 20%, transparent 78%, rgba(12, 11, 14, .7) 100%);
}
.hero--showcase .hero-inner { padding-block: 56px; }
.hero--showcase .hero-copy { max-width: 600px; }

@media (max-width: 960px) {
	.showcase-bg { width: 100%; -webkit-mask-image: none; mask-image: none; }
	.showcase-bg .hero-img { object-position: 84% 50%; }
	.showcase-bg::after { background: linear-gradient(180deg, rgba(12, 11, 14, .55) 0%, rgba(12, 11, 14, .78) 55%, #0c0b0e 100%); }
}
/* Phone: the whole scene (bungalow, chapel, path) as a large square picture, text below it */
@media (max-width: 760px) {
	/* exactly one screen below the 64px menu bar: picture takes the free space, text at the bottom */
	.hero.hero--showcase {
		display: flex;
		flex-direction: column;
		min-height: calc(100vh - 64px);
		min-height: calc(100svh - 64px);
		background: transparent;
	}
	.admin-bar .hero.hero--showcase { min-height: calc(100svh - 110px); }
	.hero--showcase::after { display: none; }
	.hero--showcase .showcase-bg {
		position: relative;
		inset: auto;
		flex: 1 1 auto;
		width: 100%;
		min-height: 240px;
		-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	}
	.showcase-bg .hero-img { position: absolute; inset: 0; object-position: 92% 50%; filter: saturate(1.05) contrast(1.03) brightness(1.1); animation: none; }
	.showcase-bg::after { background: linear-gradient(180deg, rgba(12, 11, 14, .3) 0%, transparent 18%); }
	.hero.hero--showcase .hero-inner { flex: 0 0 auto; margin-top: -48px; padding-block: 0 20px; }
	.hero--showcase .hero-eyebrow { font-size: .7rem; letter-spacing: .2em; }
	.hero--showcase .hero-title { margin: 12px 0 10px; font-size: clamp(2.05rem, 9.4vw, 2.5rem); line-height: 1.05; }
	.hero--showcase .hero-lead { font-size: .93rem; line-height: 1.6; color: rgba(236, 229, 218, .72); }
	/* both buttons side by side, compact */
	.hero--showcase .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
	.hero--showcase .hero-actions .btn { height: 44px; padding: 0 8px; gap: 6px; font-size: clamp(.76rem, 3.4vw, .86rem); font-weight: 700; }
	.hero--showcase .hero-actions .btn .icon { display: none; }
	.hero--showcase .btn--ghost { border-color: rgba(201, 149, 107, .55); background: rgba(120, 80, 50, .18); color: #f1dcc4; }
	.landing > .hero.hero--showcase + .section { padding-top: 28px; }
}



/* ---------- Sections ---------- */
.section { padding-top: 96px; }
.landing > .section:last-child { padding-bottom: 104px; }
.landing > .hero + .section { padding-top: 72px; }

.reveal { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
}
.sec-eyebrow::before,
.sec-head--center .sec-eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.sec-title { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; }
.sec-lead { margin: 12px 0 0; max-width: 58ch; font-size: 1.02rem; color: var(--muted); }
.sec-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-2);
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.sec-link .icon { width: 16px; height: 16px; }
.sec-link:hover { background: var(--panel); border-color: var(--panel-3); color: var(--text); }

.tile-cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }

/* ---------- Featured ---------- */
/* Featured article (left) beside the list of the next 3 (right).
   Newspaper layout: title across the top, the 16:10 photo on the left (same shape as every other
   thumbnail), and the opening of the article flowing beside the photo and on underneath it. */
.featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; }

.feature {
	display: flex;
	flex-direction: column;
	padding: 30px 32px 26px;
	border-radius: 28px;
	background: var(--panel);
}
.feature-media {
	position: relative;
	float: left;
	width: 46%;
	aspect-ratio: 16 / 10;
	margin: 6px 26px 12px 0;
	border-radius: 18px;
	overflow: hidden;
	background: var(--panel-2);
}
.feature-media .thumb-fallback { position: absolute; inset: 0; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(10, 10, 12, .55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #f1dcc4;
}
.feature-head { margin-bottom: 20px; }
.feature-label { margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.feature-title {
	margin: 0;
	font-size: clamp(1.45rem, 2.1vw, 1.95rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.025em;
	color: #fff;
	text-wrap: balance;
}
.feature-title a:hover { color: var(--accent-light); }
.feature-body { flex: 1 0 auto; }
.feature-body::after { content: ""; display: block; clear: both; }
.feature-text { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--text-2); }
.feature-more { margin-left: 4px; font-weight: 700; color: var(--accent-light); white-space: nowrap; }
.feature-more::after { content: " →"; }
.feature-more:hover { color: #fff; }
.feature-excerpt { display: none; margin: 0; color: var(--muted); } /* the short version, for phones */
.feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--faint); }
.feature-meta strong { font-weight: 600; color: var(--text-2); }
.feature-meta .initials { background: var(--panel-3); }

.feature-list {
	list-style: none;
	margin: 0;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 28px;
	background: var(--panel);
}
.feature-item {
	position: relative;
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	padding: 12px;
	border-radius: 20px;
	transition: background .2s ease;
}
.feature-item + .feature-item::before { content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 1px; background: var(--line); }
.feature-item:hover { background: var(--panel-2); }
.feature-item-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--panel-2); }
.feature-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-item h3 {
	margin: 6px 0;
	font-size: 1.04rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.feature-item h3 a:hover { color: var(--accent-light); }
.feature-item .card-meta { padding-top: 4px; }

/* ---------- Horizontal cards on the homepage (same card as the list pages) ---------- */
.home-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 601px) {
	.home-list .card { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
	.home-list .card-title { font-size: 1.12rem; }
}
/* keep the meta on one line in the half-width cards */
.home-list .card-meta .hide-sm { display: none; }

/* tiles: still used by "More places we visited" on an investigation */
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--panel-2);
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-badge {
	position: absolute;
	top: 12px; left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(8, 8, 12, .6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: .74rem;
	font-weight: 600;
}
.tile-badge .icon { width: 13px; height: 13px; }
.tile-body { padding: 14px 2px 0; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--faint); }
.tile-title {
	margin: 6px 0 4px;
	font-size: 1.04rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tile-title a:hover { color: var(--accent-light); }
.tile-excerpt { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-author { margin: 6px 0 0; font-size: .86rem; color: var(--faint); }
.tile-author strong { font-weight: 600; color: var(--text-2); }

/* ---------- Method ---------- */
.method {
	position: relative;
	padding: 64px 48px;
	border: 1px solid rgba(230, 192, 154, .1);
	border-radius: 32px;
	background:
		radial-gradient(ellipse 70% 80% at 50% 0%, rgba(201, 149, 107, .12), transparent 70%),
		linear-gradient(180deg, #0d0b0a, #070707);
}
.method .sec-head { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
	position: relative;
	padding: 28px 24px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 22px;
	background: rgba(255, 255, 255, .025);
	transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.step:hover { border-color: rgba(230, 192, 154, .25); background: rgba(201, 149, 107, .05); transform: translateY(-3px); }
.step-icon {
	width: 48px; height: 48px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(230, 192, 154, .25);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(230, 192, 154, .2), rgba(140, 94, 59, .08));
	color: #f6dfc4;
}
.step-num { position: absolute; top: 24px; right: 24px; font: 600 1.7rem/1 var(--font-brand); color: rgba(255, 255, 255, .08); }
.step h3 { margin: 20px 0 8px; font-size: 1.15rem; }
.step p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--muted); }

/* ---------- Call to action ---------- */
.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 36px;
	padding: 48px 56px;
	border: 1px solid rgba(230, 192, 154, .18);
	border-radius: 32px;
	background: linear-gradient(120deg, #1a120c, #0b0908 55%, #120d0a);
}
.cta-glow {
	position: absolute;
	z-index: -1;
	left: -140px; top: -220px;
	width: 560px; height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 149, 107, .3), transparent 65%);
	pointer-events: none;
}
.cta-emblem { width: 112px; height: auto; filter: drop-shadow(0 0 24px rgba(201, 149, 107, .35)); }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.cta p { margin: 0; max-width: 52ch; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* ---------- Motion ---------- */
@keyframes paranwo-kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes paranwo-fog { to { transform: translateX(-12%); } }
@keyframes paranwo-scroll { 0% { transform: scaleY(0); opacity: 0; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(18px); opacity: 0; } }

/* ---------- Landing responsive ---------- */
@media (max-width: 1180px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
	.home-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
	.hero--split .hero-inner,
	.hero--mosaic .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.hero-frame { justify-self: center; width: min(100%, 560px); margin: 0 18px 18px 0; }
	.hero-frame::before { inset: 18px -18px -18px 18px; }
	.hero-frame-img { aspect-ratio: 16 / 11; }
	.hero-caption { left: 16px; bottom: 16px; }
	.mosaic { height: 420px; }
	.featured { grid-template-columns: minmax(0, 1fr); }
	.cta { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.cta-actions { justify-content: center; }
}

@media (max-width: 760px) {
	.wrap { padding-inline: 16px; }
	.hero { min-height: 0; }
	.hero-inner, .hero--split .hero-inner, .hero--mosaic .hero-inner { padding-block: 56px 48px; }
	.hero--cinematic .hero-inner { padding-block: 96px 112px; }
	.hero-actions .btn { flex: 1 1 auto; }
	.hero-caption { position: static; max-width: none; margin-top: 12px; }
	.hero-frame { margin: 0; }
	.hero-frame::before { display: none; }
	.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px; height: auto; gap: 10px; }
	.mosaic-item--0 { grid-row: auto; grid-column: 1 / -1; }
	.mosaic-item { padding: 14px; border-radius: 16px; }
	.mosaic-label strong { font-size: .9rem; }

	.section { padding-top: 64px; }
	.landing > .section:last-child { padding-bottom: 72px; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
	.sec-head--center { align-items: center; }

	.feature { padding: 20px 18px 18px; border-radius: 22px; }
	.feature-list { padding: 6px; border-radius: 22px; }
	.feature-item { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 10px; }
	.feature-item .card-meta .initials { display: none; }

	.method { padding: 44px 18px 18px; border-radius: 24px; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.cta { padding: 40px 22px; border-radius: 24px; gap: 22px; }
	.cta-emblem { width: 84px; }
}

@media (max-width: 480px) {
	.hero-title, .hero--cinematic .hero-title { font-size: 2.3rem; }
	.feature-item { grid-template-columns: 104px minmax(0, 1fr); }
}

/* Phones: same newspaper layout, smaller. The short excerpt replaces the long opening text. */
@media (max-width: 600px) {
	.feature-head { margin-bottom: 14px; }
	.feature-label { margin-bottom: 6px; font-size: .66rem; }
	.feature-title { font-size: 1.22rem; line-height: 1.25; }
	.feature-media { width: 44%; margin: 3px 14px 8px 0; border-radius: var(--r-sm); }
	.feature-badge { top: 6px; left: 6px; padding: 3px 7px; font-size: .55rem; letter-spacing: .1em; }
	.feature-text { display: none; }
	.feature-excerpt { display: block; font-size: .9rem; line-height: 1.55; }
	.feature-meta { margin-top: 14px; padding-top: 12px; font-size: .76rem; gap: 6px; }
	.feature-meta .initials { display: none; }
}

/* =========================================================
   Investigations (haunted places visited)
   ========================================================= */


/* investigation rows in the list (same card as articles) */
.meta-location { display: inline-flex; align-items: center; gap: 4px; }
.meta-location .icon { width: 14px; height: 14px; color: var(--accent); }

/* single investigation */
.case-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 0 32px;
}
.case-facts > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel-2); }
.case-facts dt { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.case-facts dt .icon { width: 14px; height: 14px; color: var(--accent); }
.case-facts dd { margin: 6px 0 0; font-size: .98rem; font-weight: 600; color: var(--text); }
.investigation .article-hero { margin-top: 8px; margin-bottom: 20px; }
.related-more { margin: 24px 0 0; text-align: center; }


@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Hero "Scroll film" (template-parts/hero-sequence.php, assets/js/sequence.js)
   The homepage video as frames on a sticky canvas, played by scrolling.
   ========================================================= */
.seq {
	--hh: 72px;
	position: relative;
	/* slide under the see-through navbar, so the film starts at the very top */
	margin-top: calc(-1 * var(--hh));
	background: #050607;
}
/* scroll length of the film: longer = each wheel step moves fewer frames = calmer */
.seq.is-live { height: 720vh; height: 720svh; }
.seq-stage {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 520px;
	overflow: hidden;
	isolation: isolate;
}
.seq.is-live .seq-stage { position: sticky; top: 0; }

.seq-poster, .seq-poster img, .seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq-poster img { object-fit: cover; transition: opacity .6s ease; }
.seq.is-drawn .seq-poster img { opacity: 0; }
.seq-canvas { display: block; z-index: 1; }

/* Opening: the film rests in the dark and is lifted into view by the first scroll (gone at ~9%). */
.seq-veil {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		radial-gradient(60% 55% at 68% 42%, rgba(140, 94, 59, .1), transparent 70%),
		radial-gradient(90% 80% at 60% 45%, rgba(8, 9, 12, .9), #020203 80%);
	opacity: calc(.95 - var(--seq-p, 0) * 11);
}
/* tiny drifting crosses and triangles over the dark opening; they sweep outward and fade as the film starts */
.seq-dust {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: calc(1 - var(--seq-p, 0) * 7);
}

/* legibility: dark left side for the text, soft vignette, top under the menu, bottom into the page */
.seq-shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(3, 4, 6, .78) 0%, rgba(3, 4, 6, .5) 30%, rgba(3, 4, 6, 0) 58%),
		linear-gradient(180deg, rgba(3, 4, 6, .55) 0%, rgba(3, 4, 6, 0) 22%, rgba(3, 4, 6, 0) 70%, var(--bg) 100%),
		radial-gradient(120% 90% at 60% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* ---------- Chapters ---------- */
.seq-chapters {
	position: absolute;
	inset: var(--hh) 0 0;
	z-index: 3;
	pointer-events: none;
}
.seq-ch {
	position: absolute;
	top: 50%;
	left: 24px;
	right: 24px;
	max-width: 600px;
	translate: 0 -50%;
	will-change: opacity, transform;
}
.seq.is-live .seq-ch { opacity: 0; visibility: hidden; }
.seq.is-live .seq-ch--intro { opacity: 1; visibility: visible; }
.seq:not(.is-live) .seq-ch:not(.seq-ch--intro) { display: none; }
.seq-ch.is-on, .seq:not(.is-live) .seq-ch { pointer-events: auto; }

.seq-ch--intro { max-width: 660px; }
.seq-ch--intro .hero-title { text-shadow: 0 4px 40px rgba(0, 0, 0, .55); }
.seq-ch--intro .hero-lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

.seq-step {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(236, 229, 218, .6);
}
.seq-step span { color: var(--accent-light); }
.seq-step i { width: 28px; height: 1px; background: rgba(201, 149, 107, .55); }
.seq-title {
	margin: 18px 0 16px;
	font: italic 600 clamp(3rem, 6.4vw, 5.6rem)/.95 var(--font-serif);
	letter-spacing: -.01em;
	background: linear-gradient(100deg, #fbeee0 0%, #e6c09a 45%, #c9956b 80%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .6));
}
.seq-text {
	margin: 0;
	max-width: 44ch;
	font-size: clamp(1.02rem, 1.3vw, 1.2rem);
	line-height: 1.7;
	color: rgba(236, 229, 218, .86);
	text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.seq-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(201, 149, 107, .5);
	font-size: .95rem;
	font-weight: 700;
	color: #f1dcc4;
	transition: border-color .2s ease, color .2s ease;
}
.seq-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.seq-link:hover { color: #fff; border-color: var(--accent-light); }
.seq-link:hover .icon { transform: translateX(4px); }

/* ---------- Chapter dots (right edge) ---------- */
.seq-nav {
	position: absolute;
	right: max(24px, calc((100vw - var(--wide-w)) / 2 + 24px));
	top: 50%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 6px;
	translate: 0 -50%;
}
.seq:not(.is-live) .seq-nav { display: none; }
.seq-nav button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: rgba(236, 229, 218, .5);
	font: 600 .74rem/1 var(--font);
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}
.seq-nav button::after {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid rgba(236, 229, 218, .45);
	border-radius: 50%;
	transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.seq-nav span { opacity: 0; translate: 6px 0; transition: opacity .3s ease, translate .3s ease; }
.seq-nav button:hover span, .seq-nav button:focus-visible span, .seq-nav button.is-active span { opacity: 1; translate: 0 0; }
.seq-nav button.is-active { color: var(--accent-light); }
.seq-nav button.is-active::after { background: var(--accent); border-color: var(--accent-light); transform: scale(1.25); }

/* ---------- Scroll hint, loading line ---------- */
.seq-hint {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	translate: -50% 0;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: rgba(236, 229, 218, .7);
	transition: opacity .5s ease;
}
.seq-hint-line { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(236, 229, 218, .18); }
.seq-hint-line::after {
	content: "";
	position: absolute;
	left: 0;
	top: -50%;
	width: 1px;
	height: 50%;
	background: linear-gradient(180deg, transparent, var(--accent-light));
	animation: seq-hint 1.8s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes seq-hint { to { top: 100%; } }
.seq.is-scrolled .seq-hint, .seq:not(.is-live) .seq-hint { opacity: 0; }

.seq-load {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	height: 2px;
	transition: opacity .6s ease .3s;
}
.seq-load span {
	display: block;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--accent), var(--accent-light));
	transition: transform .25s ease;
}
.seq.is-loaded .seq-load, .seq:not(.is-live) .seq-load { opacity: 0; }

.landing > .seq + .section { padding-top: 40px; }

@media (max-width: 960px) {
	.seq-nav { display: none; }
}

/* Phone: portrait frames, text at the bottom over a darker fade, buttons side by side */
@media (max-width: 760px) {
	.seq { --hh: 64px; }
	.seq-shade {
		background: linear-gradient(180deg, rgba(3, 4, 6, .5) 0%, rgba(3, 4, 6, 0) 20%, rgba(3, 4, 6, 0) 40%, rgba(3, 4, 6, .82) 72%, var(--bg) 100%);
	}
	.seq-ch {
		top: auto;
		bottom: 40px;
		left: 16px;
		right: 16px;
		translate: none;
	}
	.seq-ch--intro { bottom: 96px; }
	.seq-ch--intro .hero-title { margin: 12px 0 10px; font-size: clamp(2.05rem, 9.4vw, 2.5rem); line-height: 1.05; }
	.seq-ch--intro .hero-lead { font-size: .93rem; line-height: 1.6; }
	.seq-ch--intro .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
	.seq-ch--intro .hero-actions .btn { height: 44px; padding: 0 8px; gap: 6px; font-size: clamp(.76rem, 3.4vw, .86rem); }
	.seq-ch--intro .hero-actions .btn .icon { display: none; }
	.seq-title { margin: 12px 0 10px; font-size: clamp(2.6rem, 13vw, 3.4rem); }
	.seq-text { font-size: .95rem; line-height: 1.6; }
	.seq-link { margin-top: 18px; }
	.seq-hint { bottom: 22px; }
	.seq-hint-line { height: 28px; }
}

/* =========================================================
   Loading screen (functions.php + assets/js/preloader.js)
   First page of a visit only; never shown without JavaScript.
   ========================================================= */
.preloader { display: none; }
html.pl-lock, html.pl-lock body { overflow: hidden; }
html.pl-on .preloader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	background:
		radial-gradient(42% 38% at 50% 46%, rgba(140, 94, 59, .16), transparent 70%),
		radial-gradient(80% 70% at 50% 50%, #0b0a0c, #030304 75%);
	transition: opacity .8s cubic-bezier(.6, 0, .2, 1), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; transition: transform .8s cubic-bezier(.6, 0, .2, 1); }
.preloader.is-done .preloader-inner { transform: scale(1.08); }

.preloader-mark { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
.preloader-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.preloader-ring circle { fill: none; stroke-width: 1.2; }
.preloader-track { stroke: rgba(201, 149, 107, .14); }
.preloader-bar {
	stroke: var(--accent-light);
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	filter: drop-shadow(0 0 4px rgba(230, 192, 154, .6));
}
.preloader-orbit {
	stroke: rgba(230, 192, 154, .5);
	stroke-linecap: round;
	stroke-dasharray: 4 96;
	transform-origin: 60px 60px;
	animation: pl-orbit 2.4s linear infinite;
}
@keyframes pl-orbit { to { transform: rotate(360deg); } }

.preloader-emblem {
	width: 96px;
	height: 96px;
	object-fit: contain;
	animation: pl-breathe 2.8s ease-in-out infinite;
}
@keyframes pl-breathe {
	0%, 100% { transform: scale(.96); filter: drop-shadow(0 0 6px rgba(201, 149, 107, .25)) brightness(.92); }
	50% { transform: scale(1.02); filter: drop-shadow(0 0 22px rgba(230, 192, 154, .55)) brightness(1.08); }
}

.preloader-word {
	display: flex;
	gap: .42em;
	margin: 0;
	font: 600 1.15rem/1 var(--font-brand);
	letter-spacing: .1em;
}
.preloader-word span {
	display: inline-block;
	background: linear-gradient(170deg, #f6dfc4, #c9956b 55%, #8c5e3b);
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	opacity: 0;
	transform: translateY(8px);
	filter: blur(4px);
	animation: pl-letter .7s cubic-bezier(.2, .7, .2, 1) forwards;
	animation-delay: calc(.25s + var(--i) * .09s);
}
@keyframes pl-letter { to { opacity: 1; transform: none; filter: none; } }

.preloader-pct {
	margin: -10px 0 0;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .3em;
	color: rgba(236, 229, 218, .45);
	font-variant-numeric: tabular-nums;
}

/* Hero text rises in once the loading screen lifts (only after a loading screen) */
html.pl-intro .seq-ch--intro .hero-copy > *,
html.pl-intro .hero-inner .hero-copy > * {
	opacity: 0;
	transform: translateY(22px);
}
html.pl-intro.pl-ready .seq-ch--intro .hero-copy > *,
html.pl-intro.pl-ready .hero-inner .hero-copy > * {
	opacity: 1;
	transform: none;
	transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}
html.pl-intro.pl-ready .hero-copy > :nth-child(1) { transition-delay: .25s; }
html.pl-intro.pl-ready .hero-copy > :nth-child(2) { transition-delay: .37s; }
html.pl-intro.pl-ready .hero-copy > :nth-child(3) { transition-delay: .49s; }
html.pl-intro.pl-ready .hero-copy > :nth-child(4) { transition-delay: .61s; }

@media (prefers-reduced-motion: reduce) {
	.preloader-orbit, .preloader-emblem { animation: none; }
	.preloader-word span { animation: none; opacity: 1; transform: none; filter: none; }
	html.pl-intro .seq-ch--intro .hero-copy > *, html.pl-intro .hero-inner .hero-copy > * { opacity: 1; transform: none; }
}
