/**
 * WehfiGO Atmosphere System (v2.18.256)
 * Background-only: same map-paper mood, layered depth + scroll parallax.
 * Does not change content, structure, fonts, or card colors.
 */

body.wehfigo-has-atmosphere {
	position: relative;
	isolation: isolate;
}

/* Solid stage color only — texture lives in #wehfigo-atmosphere */
body.wehfigo-has-atmosphere.wehfigo-journal-page {
	background-color: #f3ebe0 !important;
	background-image: none !important;
}

html[data-theme="dark"] body.wehfigo-has-atmosphere.wehfigo-journal-page,
body#dark-mode.wehfigo-has-atmosphere.wehfigo-journal-page {
	background-color: #060708 !important;
	background-image: none !important;
}

@media (min-width: 900px) {
	body.wehfigo-has-atmosphere.wehfigo-journal-page,
	html[data-theme="dark"] body.wehfigo-has-atmosphere.wehfigo-journal-page,
	body#dark-mode.wehfigo-has-atmosphere.wehfigo-journal-page {
		background-image: none !important;
	}

	body.wehfigo-has-atmosphere.wehfigo-journal-page::before {
		content: none !important;
		display: none !important;
	}
}

.wehfigo-atmosphere {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	contain: paint;
}

body.wehfigo-has-atmosphere #wrapper,
body.wehfigo-has-atmosphere #header-container,
body.wehfigo-has-atmosphere footer#footer,
body.wehfigo-has-atmosphere #footer {
	position: relative;
	z-index: 1;
}

.wehfigo-atmosphere__base,
.wehfigo-atmosphere__texture,
.wehfigo-atmosphere__wash,
.wehfigo-atmosphere__noise,
.wehfigo-atmosphere__grain,
.wehfigo-atmosphere__vignette {
	position: absolute;
	inset: -12% 0;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

.wehfigo-atmosphere__base {
	background-image: var(--wehfigo-atm-paper, url("../journal/map-paper-light.jpg"));
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
}

.wehfigo-atmosphere__texture {
	background-image: var(--wehfigo-atm-paper, url("../journal/map-paper-light.jpg"));
	background-size: 780px auto;
	background-position: 18% -8%;
	background-repeat: repeat;
	opacity: 0.38;
	mix-blend-mode: multiply;
}

.wehfigo-atmosphere__wash {
	inset: -20% -10%;
	opacity: 0.55;
}

.wehfigo-atmosphere__wash--a {
	background:
		radial-gradient(ellipse 55% 45% at 12% 22%, rgba(214, 0, 28, 0.1), transparent 62%),
		radial-gradient(ellipse 48% 40% at 88% 70%, rgba(0, 120, 70, 0.06), transparent 58%);
}

.wehfigo-atmosphere__wash--b {
	background:
		radial-gradient(ellipse 50% 42% at 78% 18%, rgba(214, 0, 28, 0.07), transparent 60%),
		radial-gradient(ellipse 60% 50% at 30% 88%, rgba(60, 42, 28, 0.05), transparent 65%);
	opacity: 0.45;
}

.wehfigo-atmosphere__noise {
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
	background-size: 180px 180px;
	mix-blend-mode: multiply;
}

.wehfigo-atmosphere__grain {
	inset: 0;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	background-size: 120px 120px;
	animation: wehfigo-atm-grain 8s steps(6) infinite;
	mix-blend-mode: soft-light;
	will-change: auto;
}

.wehfigo-atmosphere__vignette {
	inset: 0;
	will-change: auto;
	background:
		radial-gradient(ellipse 78% 72% at 50% 42%, transparent 40%, rgba(60, 42, 28, 0.08) 100%);
	opacity: 0.7;
}

@keyframes wehfigo-atm-grain {
	0% { transform: translate3d(0, 0, 0); }
	20% { transform: translate3d(-1%, 0.6%, 0); }
	40% { transform: translate3d(0.8%, -0.4%, 0); }
	60% { transform: translate3d(-0.5%, -0.7%, 0); }
	80% { transform: translate3d(0.6%, 0.5%, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

/* Dark mode: same assets + dark aura */
html[data-theme="dark"] .wehfigo-atmosphere__base,
body#dark-mode .wehfigo-atmosphere__base {
	background-image: var(--wehfigo-atm-paper-dark, url("../journal/map-paper-dark.jpg"));
}

html[data-theme="dark"] .wehfigo-atmosphere__texture,
body#dark-mode .wehfigo-atmosphere__texture {
	background-image: var(--wehfigo-atm-paper-dark, url("../journal/map-paper-dark.jpg"));
	opacity: 0.3;
	mix-blend-mode: soft-light;
}

html[data-theme="dark"] .wehfigo-atmosphere__wash--a,
body#dark-mode .wehfigo-atmosphere__wash--a {
	background:
		radial-gradient(ellipse 55% 45% at 12% 22%, rgba(214, 0, 28, 0.22), transparent 62%),
		radial-gradient(ellipse 85% 65% at 50% 18%, rgba(18, 10, 16, 0.5), rgba(4, 5, 8, 0.72) 78%);
	opacity: 0.85;
}

html[data-theme="dark"] .wehfigo-atmosphere__wash--b,
body#dark-mode .wehfigo-atmosphere__wash--b {
	background:
		radial-gradient(ellipse 50% 42% at 78% 18%, rgba(214, 0, 28, 0.14), transparent 60%),
		linear-gradient(180deg, rgba(8, 9, 12, 0.35), rgba(5, 6, 9, 0.55));
	opacity: 0.7;
}

html[data-theme="dark"] .wehfigo-atmosphere__noise,
body#dark-mode .wehfigo-atmosphere__noise {
	opacity: 0.06;
	mix-blend-mode: soft-light;
}

html[data-theme="dark"] .wehfigo-atmosphere__vignette,
body#dark-mode .wehfigo-atmosphere__vignette {
	background:
		radial-gradient(ellipse 78% 72% at 50% 42%, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
	opacity: 0.85;
}

/* Soft light pools behind sections (depth only) */
body.wehfigo-has-atmosphere .wehfigo-section--journal {
	isolation: isolate;
}

body.wehfigo-has-atmosphere .wehfigo-section--journal::before {
	content: "";
	position: absolute;
	inset: 8% 6%;
	z-index: -1;
	pointer-events: none;
	border-radius: 40% / 35%;
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(247, 241, 232, 0.22) 0%, rgba(247, 241, 232, 0.06) 55%, transparent 78%);
	opacity: 0.9;
	transform: translateZ(0);
}

html[data-theme="dark"] body.wehfigo-has-atmosphere .wehfigo-section--journal::before,
body#dark-mode.wehfigo-has-atmosphere .wehfigo-section--journal::before {
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(214, 0, 28, 0.08) 0%, rgba(5, 6, 8, 0.2) 50%, transparent 78%);
}

body.wehfigo-has-atmosphere .wehfigo-section--journal-featured::before {
	background:
		radial-gradient(ellipse 75% 65% at 40% 40%, rgba(214, 0, 28, 0.1) 0%, rgba(247, 241, 232, 0.12) 45%, transparent 75%);
}

body.wehfigo-has-atmosphere .wehfigo-section--journal-vibe::before {
	background:
		radial-gradient(ellipse 70% 60% at 60% 35%, rgba(214, 0, 28, 0.08) 0%, rgba(247, 241, 232, 0.1) 50%, transparent 78%);
}

body.wehfigo-has-atmosphere .wehfigo-section--journal-map::before,
body.wehfigo-has-atmosphere .wehfigo-section--journal-places::before {
	background:
		radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 120, 70, 0.06) 0%, rgba(247, 241, 232, 0.1) 48%, transparent 78%);
}

body.wehfigo-has-atmosphere .wehfigo-section--journal-moments::before,
body.wehfigo-has-atmosphere .wehfigo-section--journal-food::before {
	background:
		radial-gradient(ellipse 68% 58% at 55% 42%, rgba(214, 0, 28, 0.06) 0%, rgba(247, 241, 232, 0.11) 50%, transparent 78%);
}

html[data-theme="dark"] body.wehfigo-has-atmosphere .wehfigo-section--journal-featured::before,
body#dark-mode.wehfigo-has-atmosphere .wehfigo-section--journal-featured::before {
	background:
		radial-gradient(ellipse 75% 65% at 40% 40%, rgba(214, 0, 28, 0.16) 0%, rgba(5, 6, 8, 0.18) 50%, transparent 78%);
}

/* Per-section paper becomes a soft local sheet (not a second fixed wallpaper) */
body.wehfigo-has-atmosphere .wehfigo-journal__paper {
	opacity: 0.22 !important;
	background-attachment: scroll !important;
}

@media (min-width: 900px) {
	body.wehfigo-has-atmosphere .wehfigo-journal__topo {
		background-attachment: scroll !important;
		opacity: 0.2 !important;
	}
}

@media (max-width: 899px) {
	.wehfigo-atmosphere__texture {
		opacity: 0.28;
		background-size: 640px auto;
	}

	.wehfigo-atmosphere__wash {
		opacity: 0.35;
	}

	.wehfigo-atmosphere__grain {
		animation: none;
		opacity: 0.02;
	}

	.wehfigo-atmosphere__base,
	.wehfigo-atmosphere__texture,
	.wehfigo-atmosphere__wash,
	.wehfigo-atmosphere__noise {
		inset: -6% 0;
	}

	body.wehfigo-has-atmosphere .wehfigo-section--journal::before {
		opacity: 0.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wehfigo-atmosphere__grain {
		animation: none;
	}

	.wehfigo-atmosphere__base,
	.wehfigo-atmosphere__texture,
	.wehfigo-atmosphere__wash,
	.wehfigo-atmosphere__noise {
		will-change: auto;
		transform: none !important;
	}
}

/* ==========================================================================
   v2.18.261 — Mid-canvas drawings (under content, through softer veil)
   Center slots: c / cn / cs / cm-l / cm-r
   ========================================================================== */

body.wehfigo-journal-page .wehfigo-journal__veil {
	background:
		radial-gradient(ellipse 48% 42% at 50% 46%, rgba(247, 241, 232, 0.12) 0%, rgba(247, 241, 232, 0.03) 55%, transparent 78%) !important;
}

html[data-theme="dark"] body.wehfigo-journal-page .wehfigo-journal__veil,
body#dark-mode.wehfigo-journal-page .wehfigo-journal__veil {
	background:
		radial-gradient(ellipse 50% 44% at 50% 46%, rgba(5, 6, 8, 0.18) 0%, rgba(5, 6, 8, 0.05) 55%, transparent 78%) !important;
}

/* True center field — large, soft, sits under cards/copy */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--c {
	top: 38% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(9rem, 18vw, 16rem) !important;
	opacity: 0.38 !important;
	z-index: 0 !important;
	transform: translate3d(-50%, -42%, 0) !important;
	margin-left: 0 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--c[data-wehfigo-parallax] {
	transform: translate3d(-50%, calc(-42% + var(--wehfigo-jp-y, 0px)), 0) !important;
}

/* Upper mid — below typical title band */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cn {
	top: 22% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(5.5rem, 11vw, 9.5rem) !important;
	opacity: 0.42 !important;
	z-index: 0 !important;
	transform: translate3d(-50%, 0, 0) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cn[data-wehfigo-parallax] {
	transform: translate3d(-50%, var(--wehfigo-jp-y, 0px), 0) !important;
}

/* Lower mid — between grids / above footer of section */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cs {
	bottom: 18% !important;
	left: 50% !important;
	top: auto !important;
	right: auto !important;
	width: clamp(8rem, 16vw, 14rem) !important;
	opacity: 0.4 !important;
	z-index: 0 !important;
	transform: translate3d(-50%, 0, 0) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cs[data-wehfigo-parallax] {
	transform: translate3d(-50%, var(--wehfigo-jp-y, 0px), 0) !important;
}

/* Center-left / center-right — gaps beside card columns */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cm-l {
	top: 42% !important;
	left: 18% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(6rem, 12vw, 11rem) !important;
	opacity: 0.44 !important;
	z-index: 0 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cm-r {
	top: 36% !important;
	right: 16% !important;
	left: auto !important;
	bottom: auto !important;
	width: clamp(6rem, 12vw, 11rem) !important;
	opacity: 0.44 !important;
	z-index: 0 !important;
}

/* Map / landscape in center can be a touch larger */
body.wehfigo-journal-page .wehfigo-journal--map.wehfigo-journal--rich .wehfigo-journal__slot--c,
body.wehfigo-journal-page .wehfigo-journal--island.wehfigo-journal--rich .wehfigo-journal__slot--c,
body.wehfigo-journal-page .wehfigo-journal--featured.wehfigo-journal--rich .wehfigo-journal__slot--c,
body.wehfigo-journal-page .wehfigo-journal--nature.wehfigo-journal--rich .wehfigo-journal__slot--c {
	width: clamp(11rem, 22vw, 20rem) !important;
	opacity: 0.34 !important;
}

body.wehfigo-journal-page .wehfigo-journal--nature.wehfigo-journal--rich .wehfigo-journal__slot--cs {
	width: clamp(10rem, 20vw, 18rem) !important;
	opacity: 0.36 !important;
}

@media (max-width: 899px) {
	/* Mobile only: clear the reading path.
	   Drop ALL mid/scatter art + ink (they sit on top of titles/cards on narrow screens).
	   Keep only soft corner paints. PC / desktop layout is unchanged. */
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--art,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--c,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cn,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cs,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cm-l,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--cm-r,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--nw,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--n,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--ne,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--w,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--e,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--sw,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--s,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--se,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--edge-l,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--edge-r {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* Corner paints only — quiet, out of the title column */
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tl,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tr {
		width: clamp(4.5rem, 28vw, 7.5rem) !important;
		opacity: 0.28 !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--bl,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--br {
		width: clamp(4rem, 26vw, 7rem) !important;
		opacity: 0.22 !important;
	}

	/* Stronger mobile veil so any leftover wash stays under copy */
	body.wehfigo-journal-page .wehfigo-journal__veil {
		inset: 4% 3% !important;
		background:
			radial-gradient(ellipse 90% 78% at 50% 42%, rgba(247, 241, 232, 0.88) 0%, rgba(247, 241, 232, 0.45) 52%, transparent 78%) !important;
	}

	html[data-theme="dark"] body.wehfigo-journal-page .wehfigo-journal__veil,
	body#dark-mode.wehfigo-journal-page .wehfigo-journal__veil {
		background:
			radial-gradient(ellipse 90% 78% at 50% 42%, rgba(5, 6, 8, 0.72) 0%, rgba(5, 6, 8, 0.35) 52%, transparent 78%) !important;
	}
}

/* ==========================================================================
   v2.18.259 — Unique scatter layout (no repeated bird/map parade)
   Compass slots: nw n ne / w e / sw s se — non-overlapping.
   ========================================================================== */

/* Corner paints stay quiet */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tl {
	top: 1% !important;
	left: 2% !important;
	width: clamp(8rem, 16vw, 13rem) !important;
	opacity: 0.55 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tr {
	top: 1% !important;
	right: 2% !important;
	width: clamp(8rem, 16vw, 13rem) !important;
	opacity: 0.52 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--bl {
	bottom: 2% !important;
	left: 2% !important;
	width: clamp(7.5rem, 15vw, 12rem) !important;
	opacity: 0.5 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--br {
	bottom: 2% !important;
	right: 2% !important;
	width: clamp(7.5rem, 15vw, 12rem) !important;
	opacity: 0.5 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--art,
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink {
	visibility: visible !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--art {
	opacity: 0.68 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink {
	opacity: 0.55 !important;
	color: rgba(60, 42, 28, 0.7);
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink svg {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

html[data-theme="dark"] body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink,
body#dark-mode.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink {
	color: rgba(255, 228, 200, 0.55);
}

/* Scatter grid — each slot owns a zone; sections pick different assets into these */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--nw {
	top: 7% !important;
	left: 5% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(4.5rem, 9vw, 7.5rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--n {
	top: 5% !important;
	left: 42% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(6.5rem, 12vw, 10.5rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--ne {
	top: 7% !important;
	right: 5% !important;
	left: auto !important;
	bottom: auto !important;
	width: clamp(5.5rem, 11vw, 9.5rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--w {
	top: 38% !important;
	left: 4% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(5.75rem, 11vw, 9.75rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--e {
	top: 34% !important;
	right: 5% !important;
	left: auto !important;
	bottom: auto !important;
	width: clamp(5.5rem, 10.5vw, 9.25rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--sw {
	bottom: 8% !important;
	left: 6% !important;
	top: auto !important;
	right: auto !important;
	width: clamp(6rem, 12vw, 10.5rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--s {
	bottom: 5% !important;
	left: 40% !important;
	top: auto !important;
	right: auto !important;
	width: clamp(6rem, 12vw, 10rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--se {
	bottom: 8% !important;
	right: 6% !important;
	top: auto !important;
	left: auto !important;
	width: clamp(6.5rem, 13vw, 11.5rem) !important;
}

/* Map only when present (map / island sections) — keep in SE, a bit larger */
body.wehfigo-journal-page .wehfigo-journal--map.wehfigo-journal--rich .wehfigo-journal__slot--se,
body.wehfigo-journal-page .wehfigo-journal--island.wehfigo-journal--rich .wehfigo-journal__slot--se {
	width: clamp(8rem, 15vw, 13.5rem) !important;
	opacity: 0.58 !important;
}

/* Featured bird: NE only (not every section) */
body.wehfigo-journal-page .wehfigo-journal--featured.wehfigo-journal--rich .wehfigo-journal__slot--ne {
	width: clamp(7.5rem, 14vw, 12rem) !important;
	opacity: 0.75 !important;
}

/* Nature bird sits top-left edge (not over titles) */
body.wehfigo-journal-page .wehfigo-journal--nature.wehfigo-journal--rich .wehfigo-journal__slot--nw {
	width: clamp(7rem, 13vw, 11rem) !important;
	opacity: 0.72 !important;
}

/* Mid-height gutter fillers — stay in empty side margins, never center */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--edge-l {
	top: 48% !important;
	left: 1.25% !important;
	right: auto !important;
	bottom: auto !important;
	width: clamp(3.75rem, 7.5vw, 6.25rem) !important;
	opacity: 0.48 !important;
	z-index: 0 !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--edge-r {
	top: 42% !important;
	right: 1.25% !important;
	left: auto !important;
	bottom: auto !important;
	width: clamp(4rem, 8vw, 6.75rem) !important;
	opacity: 0.5 !important;
	z-index: 0 !important;
}

/* Keep n/s away from title column */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--n {
	top: 4% !important;
	left: 8% !important;
	right: auto !important;
	width: clamp(5rem, 9vw, 8rem) !important;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--s {
	bottom: 4% !important;
	left: auto !important;
	right: 10% !important;
	width: clamp(5rem, 9vw, 8rem) !important;
}

/* Continuous bob / glide — never hard-cuts (CSS infinite, separate from enter fade) */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob {
	display: block;
	width: 100%;
	transform-origin: 50% 55%;
	will-change: transform;
	animation: wehfigo-journal-bob 8.5s ease-in-out infinite;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob img,
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob svg {
	display: block;
	width: 100%;
	height: auto;
}

@keyframes wehfigo-journal-bob {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(-0.7deg);
	}
	25% {
		transform: translate3d(5px, -6px, 0) rotate(0.9deg);
	}
	50% {
		transform: translate3d(-4px, 3px, 0) rotate(-0.5deg);
	}
	75% {
		transform: translate3d(3px, 5px, 0) rotate(0.6deg);
	}
}

/* Bird fly-in once, then seamless infinite glide (no pause cut) */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob--flight {
	animation:
		wehfigo-journal-fly-in 1.55s cubic-bezier(0.22, 0.82, 0.24, 1) both,
		wehfigo-journal-glide 6.8s ease-in-out 1.55s infinite;
}

body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--flight.is-gliding .wehfigo-journal__bob--flight {
	animation: wehfigo-journal-glide 6.8s ease-in-out infinite;
}

@keyframes wehfigo-journal-fly-in {
	0% {
		transform: translate3d(28vw, 16vh, 0) scale(0.72) rotate(-14deg);
		filter: blur(0.4px);
	}
	55% {
		transform: translate3d(-4%, -8%, 0) scale(1.04) rotate(4deg);
		filter: blur(0);
	}
	100% {
		transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
		filter: blur(0);
	}
}

@keyframes wehfigo-journal-glide {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(-2deg);
	}
	20% {
		transform: translate3d(-12px, -16px, 0) rotate(3.5deg);
	}
	40% {
		transform: translate3d(8px, -8px, 0) rotate(-1deg);
	}
	60% {
		transform: translate3d(-6px, -22px, 0) rotate(2.5deg);
	}
	80% {
		transform: translate3d(10px, -10px, 0) rotate(-2.5deg);
	}
}

/* Scroll parallax via CSS var (does not fight bob animation) */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer[data-wehfigo-parallax] {
	transform: translate3d(0, var(--wehfigo-jp-y, 0px), 0);
}

@media (max-width: 767px) {
	/* Edges already removed ≤899px — do not re-enable them here */
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob--flight {
		animation: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob--flight,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--flight.is-gliding .wehfigo-journal__bob--flight {
		animation: none !important;
	}
}

/* Mountains / landscape need more width in their zones */
body.wehfigo-journal-page .wehfigo-journal--nature.wehfigo-journal--rich .wehfigo-journal__slot--se {
	width: clamp(9rem, 18vw, 16rem) !important;
	opacity: 0.55 !important;
}

body.wehfigo-journal-page .wehfigo-journal--nature.wehfigo-journal--rich .wehfigo-journal__slot--sw,
body.wehfigo-journal-page .wehfigo-journal--posts.wehfigo-journal--rich .wehfigo-journal__slot--sw,
body.wehfigo-journal-page .wehfigo-journal--ink.wehfigo-journal--rich .wehfigo-journal__slot--se {
	width: clamp(7.5rem, 14vw, 12.5rem) !important;
}

@media (max-width: 767px) {
	/* Corner paints only on phone — art/ink already killed ≤899px */
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tl,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__slot--tr {
		width: clamp(4rem, 26vw, 6.5rem) !important;
		opacity: 0.24 !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__bob--flight {
		animation: none !important;
	}
}

/* Soft GPU hint — keep scroll parallax var (do not override with bare translateZ) */
body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer[data-wehfigo-drift] {
	will-change: transform;
	transform: translate3d(0, var(--wehfigo-jp-y, 0px), 0);
}

@media (prefers-reduced-motion: reduce) {
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer[data-wehfigo-drift] {
		will-change: auto;
	}
}

/* Our Story: keep center drawings out of the copy column.
   Recompose them as a loose vertical sketch rail to the right of the text. */
@media (min-width: 900px) {
	body.wehfigo-journal-page .wehfigo-journal--story.wehfigo-journal--rich .wehfigo-journal__slot--c {
		top: 23% !important;
		right: 12% !important;
		left: auto !important;
		bottom: auto !important;
		width: clamp(8rem, 12vw, 10rem) !important;
		transform: translate3d(0, var(--wehfigo-jp-y, 0px), 0) !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--story.wehfigo-journal--rich .wehfigo-journal__slot--cn {
		top: 5% !important;
		right: 5% !important;
		left: auto !important;
		bottom: auto !important;
		width: clamp(4.75rem, 7vw, 5.75rem) !important;
		transform: translate3d(0, var(--wehfigo-jp-y, 0px), 0) !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--story.wehfigo-journal--rich .wehfigo-journal__slot--cm-r {
		top: 58% !important;
		right: 13% !important;
		left: auto !important;
		bottom: auto !important;
		width: clamp(5.5rem, 8vw, 6.5rem) !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--story.wehfigo-journal--rich .wehfigo-journal__slot--cs {
		right: 2% !important;
		bottom: 2% !important;
		left: auto !important;
		top: auto !important;
		width: clamp(6rem, 9vw, 7rem) !important;
		transform: translate3d(0, var(--wehfigo-jp-y, 0px), 0) !important;
	}
}

/* ==========================================================================
   v2.18.263 — MOBILE ONLY final pass (must stay last in this file)
   Earlier rules force art visibility/opacity; this block overrides them on
   narrow screens so drawings never sit on titles/cards. PC untouched.
   ========================================================================== */
@media (max-width: 899px) {
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--art,
	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--ink {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	body.wehfigo-journal-page .wehfigo-journal--rich .wehfigo-journal__layer--paint {
		opacity: 0.26 !important;
	}

	body.wehfigo-journal-page .wehfigo-journal__veil {
		inset: 3% 2% !important;
		background:
			radial-gradient(ellipse 92% 80% at 50% 40%, rgba(247, 241, 232, 0.9) 0%, rgba(247, 241, 232, 0.5) 48%, transparent 76%) !important;
	}

	html[data-theme="dark"] body.wehfigo-journal-page .wehfigo-journal__veil,
	body#dark-mode.wehfigo-journal-page .wehfigo-journal__veil {
		background:
			radial-gradient(ellipse 92% 80% at 50% 40%, rgba(5, 6, 8, 0.78) 0%, rgba(5, 6, 8, 0.4) 48%, transparent 76%) !important;
	}
}

/* ==========================================================================
   v2.18.264 — No decorative drawings behind the parish map (PC + mobile)
   ========================================================================== */
body.wehfigo-journal-page .wehfigo-parish-map .wehfigo-journal--rich .wehfigo-journal__layer--art,
body.wehfigo-journal-page .wehfigo-parish-map .wehfigo-journal--rich .wehfigo-journal__layer--ink,
body.wehfigo-journal-page .wehfigo-parish-map .wehfigo-journal--rich .wehfigo-journal__layer--paint,
body.wehfigo-journal-page .wehfigo-section--journal-map .wehfigo-journal--map .wehfigo-journal__layer--art,
body.wehfigo-journal-page .wehfigo-section--journal-map .wehfigo-journal--map .wehfigo-journal__layer--ink,
body.wehfigo-journal-page .wehfigo-section--journal-map .wehfigo-journal--map .wehfigo-journal__layer--paint {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

