/* Wanderlost experience layer: paper, map hero, plates, loupe, atlas drawer, route line, compass. */
:root {
	--wl-ink: #1d3b2c;
	--wl-ink-soft: #4a5e50;
	--wl-cream: #f3ecdc;
	--wl-sheet: #fbf6ea;
	--wl-brass: #b08d57;
	--wl-brass-dark: #6e5530;
	--wl-rule: rgba(29, 59, 44, .3);
}

/* ---------- Paper grain over everything ---------- */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9998;
	opacity: .08;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .2 0 0 0 0 .14 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero over the 1857 survey ---------- */
.wl-hero--map {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(88vh, 880px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.wl-hero--map::before {
	content: "";
	position: absolute;
	inset: -6%;
	z-index: -2;
	background: var(--wl-img-hero) center 58% / cover no-repeat;
	transform-origin: 46% 60%;
	transform: scale(calc(1.04 + var(--wl-p, 0) * .42)) translateY(calc(var(--wl-p, 0) * -4%));
	filter: sepia(.2) saturate(.95) contrast(1.05);
	will-change: transform;
}
.wl-hero--map::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(98deg, rgba(17, 38, 27, .95) 0%, rgba(17, 38, 27, .86) 42%, rgba(17, 38, 27, .5) 75%, rgba(17, 38, 27, .35) 100%),
		radial-gradient(120% 90% at 50% 120%, rgba(10, 22, 15, .7), transparent 60%);
}
.wl-hero--map .wl-hero-title {
	font-size: clamp(2.8rem, 6.4vw, 5.6rem);
	line-height: .98;
	letter-spacing: -.01em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
	animation: wl-rise 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
.wl-hero--map .wl-lead { animation: wl-rise 1.1s .05s cubic-bezier(.2, .7, .2, 1) both; }
.wl-hero--map .wp-block-buttons { animation: wl-rise 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.wl-hero--map .wl-badge img {
	max-width: 340px;
	transform: rotate(-6deg);
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
	animation: wl-stamp 1.2s .35s cubic-bezier(.2, .9, .25, 1.15) both;
}
.wl-hero-coords {
	margin-top: 2.5rem !important;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .7rem;
	opacity: .65 !important;
	display: flex;
	align-items: center;
	gap: .9rem;
}
.wl-hero-coords::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
@keyframes wl-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes wl-stamp { from { opacity: 0; transform: rotate(-16deg) scale(1.25); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }

/* ---------- Plates (framed map images) ---------- */
.wl-plate { margin: 2.2rem 0 0; }
.wl-plate img {
	display: block;
	width: 100%;
	height: auto;
	padding: 10px;
	background: var(--wl-sheet);
	border: 1px solid rgba(29, 59, 44, .35);
	outline: 1px solid rgba(29, 59, 44, .16);
	outline-offset: 7px;
	box-shadow: 0 26px 50px -24px rgba(29, 59, 44, .55), 0 3px 8px rgba(29, 59, 44, .12);
}
.wl-plate figcaption {
	margin-top: 1.2rem !important;
	text-align: left;
	font-style: italic;
	font-size: .9rem;
	line-height: 1.5;
	color: var(--wl-ink-soft);
}
.wl-plate-no {
	font-family: var(--wp--preset--font-family--caps);
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .68rem;
	color: var(--wl-ink);
	margin-right: .7rem;
	padding-right: .7rem;
	border-right: 1px solid var(--wl-rule);
}

/* Drop cap opening the story */
.wl-dropcap::first-letter {
	font-family: var(--wp--preset--font-family--display);
	float: left;
	font-size: 4.6rem;
	line-height: .82;
	padding: .4rem .7rem 0 0;
	color: var(--wl-ink);
}
.wl-dropcap { font-size: 1.2rem; }

/* ---------- Loupe ---------- */
.wl-loupe-section { position: relative; }
.wl-loupe { position: relative; touch-action: pan-y; }
.wl-loupe img { cursor: crosshair; }
.wl-lens {
	position: absolute;
	top: 0;
	left: 0;
	width: clamp(140px, 20vw, 230px);
	aspect-ratio: 1;
	border-radius: 50%;
	pointer-events: none;
	background-repeat: no-repeat;
	background-color: var(--wl-sheet);
	box-shadow:
		0 0 0 5px var(--wl-brass),
		0 0 0 7px var(--wl-brass-dark),
		0 22px 44px rgba(0, 0, 0, .35),
		inset 0 0 28px rgba(0, 0, 0, .28);
	z-index: 3;
	transition: opacity .25s ease;
}
.wl-lens::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 38%);
}
.wl-lens::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 70px;
	right: -34px;
	bottom: -56px;
	border-radius: 8px;
	background: linear-gradient(90deg, #5a3f22, #8a6a3e 45%, #4a3219);
	transform: rotate(-45deg);
	box-shadow: 0 10px 18px rgba(0, 0, 0, .3);
}
.wl-hint::before { content: "↔ "; }
.wl-hint { color: var(--wl-ink-soft) !important; }

/* ---------- Atlas drawer ---------- */
.wl-atlas-section { padding-block: 5.5rem 3rem; position: relative; }
.wl-atlas-head { margin-bottom: 2.5rem; }
.wl-drawer { position: relative; }
.wl-drawer-sticky { position: relative; }
.wl-drawer.is-pinned .wl-drawer-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.wl-atlas.wp-block-gallery.has-nested-images {
	display: flex;
	flex-wrap: nowrap !important;
	align-items: flex-end;
	gap: clamp(1.5rem, 4vw, 3.5rem) !important;
	width: max-content;
	max-width: none;
	margin: 0 !important;
	padding-inline: max(16px, calc((100vw - 1100px) / 2));
	padding-block: 1rem 0;
	will-change: transform;
}
.wl-drawer:not(.is-pinned) .wl-drawer-sticky {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.wl-drawer:not(.is-pinned) .wl-atlas figure.wp-block-image { scroll-snap-align: center; }
.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}
.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image::before { display: none !important; }
.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image img {
	height: min(56vh, 540px) !important;
	width: auto !important;
	max-width: 82vw !important;
	object-fit: contain !important;
	padding: 10px;
	background: var(--wl-sheet);
	border: 1px solid rgba(29, 59, 44, .35);
	box-shadow: 0 30px 60px -30px rgba(29, 59, 44, .6), 0 3px 8px rgba(29, 59, 44, .12);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: translateY(-6px) rotate(-.4deg); }
.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static !important;
	background: none !important;
	color: var(--wl-ink) !important;
	text-shadow: none !important;
	text-align: left !important;
	padding: 1.1rem 0 0 !important;
	margin: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	max-width: 30ch;
	font-size: .95rem !important;
	line-height: 1.45;
	font-style: italic;
	flex-grow: 0 !important;
}
.wl-atlas figcaption strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-style: normal;
	font-weight: 400;
	font-size: 2.8rem;
	line-height: 1;
	margin-bottom: .35rem;
}
.wl-drawer-rail {
	margin: 2.2rem auto 0;
	width: min(1100px, calc(100vw - 32px));
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--wp--preset--font-family--caps);
	letter-spacing: .18em;
	font-size: .7rem;
	color: var(--wl-ink-soft);
}
.wl-drawer-rail .wl-rail-track { flex: 1; height: 1px; background: var(--wl-rule); position: relative; }
.wl-drawer-rail .wl-rail-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--wl-dp, 0) * 100%); background: var(--wl-ink); height: 2px; top: -.5px; }
.wl-drawer-rail .wl-rail-fill::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--wl-ink); }
.wl-credit { font-size: .8rem; font-style: italic; color: var(--wl-ink-soft); margin-top: 2rem !important; }

/* ---------- Band backgrounds ---------- */
.wl-band-world, .wl-cta-chart { position: relative; isolation: isolate; overflow: hidden; }
.wl-band-world::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wl-img-world) center 40% / cover no-repeat;
	filter: grayscale(1) contrast(1.15);
	opacity: .16;
	mix-blend-mode: screen;
}
.wl-cta-chart::before {
	content: "";
	position: absolute;
	inset: 0 0 0 40%;
	z-index: -1;
	background: var(--wl-img-chart) left center / cover no-repeat;
	opacity: .32;
	mix-blend-mode: multiply;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
	mask-image: linear-gradient(90deg, transparent, #000 45%);
}

/* ---------- Ink route + compass (wide screens) ---------- */
main:has(> .wl-route) { isolation: isolate; }
.wl-route { position: absolute; top: 0; left: 0; pointer-events: none; z-index: -1; overflow: visible; }
.wl-route .wl-route-path { fill: none; stroke: var(--wl-ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 8; opacity: .5; }
.wl-route .wl-route-stop { fill: var(--wl-cream); stroke: var(--wl-ink); stroke-width: 1.4; }
.wl-route .wl-route-stop.is-dark { fill: var(--wl-ink); stroke: var(--wl-cream); }
.wl-compass {
	position: fixed;
	right: max(22px, env(safe-area-inset-right, 0px));
	bottom: max(22px, env(safe-area-inset-bottom, 0px));
	width: 78px;
	height: 78px;
	z-index: 60;
	pointer-events: none;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}
.wl-compass .wl-needle { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--wl-rot, 0deg)); }
@media (max-width: 1240px) { .wl-route { display: none; } }
@media (max-width: 781px) {
	.wl-compass { display: none; }
	.wl-hero--map { min-height: 0; }
	.wl-hero--map .wl-badge img { max-width: 220px; }
	.wl-atlas.wp-block-gallery.has-nested-images figure.wp-block-image img { height: 46vh !important; }
	.wl-cta-chart::before { inset: 0; opacity: .16; }
}

@media (prefers-reduced-motion: reduce) {
	.wl-hero--map::before { transform: scale(1.04); }
	.wl-hero--map .wl-hero-title, .wl-hero--map .wl-lead, .wl-hero--map .wp-block-buttons, .wl-hero--map .wl-badge img { animation: none; }
	.wl-hero--map .wl-badge img { transform: rotate(-6deg); }
}

/* =========================================================
   v1.2 — header, place search, explorer, unfold intro
   ========================================================= */

/* ---------- Mobile hero image ---------- */
@media (max-width: 781px) {
	.wl-hero--map::before { background-image: var(--wl-img-hero-sm, var(--wl-img-hero)); }
}

/* ---------- Sticky header ---------- */
.wl-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	transition: background-color .35s ease, box-shadow .35s ease, color .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
	background-color: rgba(243, 236, 220, .94);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
}
.wl-site-header.is-scrolled { box-shadow: 0 1px 0 rgba(29, 59, 44, .15), 0 10px 30px -18px rgba(29, 59, 44, .35); }
.wl-site-header.is-hidden { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.wl-site-header.is-over-hero { margin-bottom: calc(-1 * var(--wl-header-h, 80px)); }
.wl-site-header.is-over-hero ~ main { margin-top: 0 !important; }
.wl-site-header.is-over-hero:not(.is-scrolled) {
	background-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: var(--wl-cream);
}
.wl-site-header > .wl-header > .wp-block-group { transition: padding .35s ease; }
.wl-site-header.is-scrolled > .wl-header > .wp-block-group { padding-top: .6rem !important; padding-bottom: .6rem !important; }
.wl-site-header .wp-block-site-title a { display: inline-flex; align-items: center; color: inherit; }
.wl-site-header .wp-block-site-title a::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 34px;
	margin-right: 0;
	background: var(--wl-badge) center / contain no-repeat;
	transition: width .35s ease, margin .35s ease;
}
.wl-site-header.is-scrolled .wp-block-site-title a::before { width: 34px; margin-right: .65rem; }
.wl-site-header .wl-nav p { margin: 0; }
.wl-site-header .wl-nav a { color: inherit; }
.wl-hero--map.wl-hero { padding-top: calc(var(--wl-header-h, 80px) + 4rem); }
@media (max-width: 781px) {
	.wl-site-header > .wl-header > .wp-block-group { gap: .35rem !important; }
	.wl-site-header .wl-nav { gap: 1rem !important; font-size: .7rem; }
	.wl-hero--map.wl-hero { padding-top: calc(var(--wl-header-h, 100px) + 2rem); }
}

/* ---------- Where's your place? ---------- */
.wl-place { margin: 2rem 0 1rem; max-width: 34rem; animation: wl-rise 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.wl-place-label {
	display: block;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .72rem;
	margin-bottom: .7rem;
	opacity: .8;
}
.wl-place-row {
	display: flex;
	align-items: center;
	background: rgba(243, 236, 220, .97);
	color: var(--wl-ink);
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(243, 236, 220, .4);
	padding: .35rem .35rem .35rem 1rem;
	gap: .6rem;
}
.wl-place-pin { display: inline-flex; color: var(--wl-ink); flex: none; }
.wl-place-needle { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(35deg); transition: transform .5s ease; }
.wl-place-row:focus-within .wl-place-needle { transform: rotate(0deg); }
.wl-place.is-going .wl-place-needle { animation: wl-spin .7s cubic-bezier(.3, .1, .2, 1) both; }
@keyframes wl-spin { from { transform: rotate(0deg); } to { transform: rotate(720deg); } }
.wl-place-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: 400 1.15rem/1.4 var(--wp--preset--font-family--body);
	color: var(--wl-ink);
	padding: .75rem 0;
}
.wl-place-input:focus { outline: none; }
.wl-place-input::placeholder { color: rgba(29, 59, 44, .55); font-style: italic; }
.wl-place-row:focus-within { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5), 0 0 0 2px var(--wl-brass); }
.wl-place-go {
	flex: none;
	border: 0;
	cursor: pointer;
	background: var(--wl-ink);
	color: var(--wl-cream);
	padding: .9rem 1.2rem;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-weight: 700;
	font-size: .78rem;
	transition: background .2s ease;
}
.wl-place-go:hover, .wl-place-go:focus-visible { background: #2a5440; }
.wl-place-go span { display: inline-block; transition: transform .25s ease; }
.wl-place-go:hover span { transform: translateX(3px); }
.wl-hero-alt { font-size: .95rem; opacity: .8 !important; margin-top: .4rem !important; }
.wl-hero-alt a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 480px) {
	.wl-place-go { padding: .9rem .85rem; letter-spacing: .08em; }
	.wl-place-input { font-size: 1rem; }
}

/* ---------- Explore section ---------- */
.wl-explore-section { position: relative; isolation: isolate; overflow: hidden; }
.wl-explore-section::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(70% 90% at 80% 50%, rgba(176, 141, 87, .18), transparent 70%);
}
.wl-explore-section .wp-block-button__link { background: var(--wl-cream); color: var(--wl-ink); border-color: var(--wl-cream); }
.wl-explore-section .wp-block-button__link::after { content: " ⤢"; }
.wl-explore-stat { font-size: .68rem !important; opacity: .6; margin-top: 1.4rem !important; }
.wl-explore-thumb { position: relative; }
.wl-explore-thumb img {
	cursor: zoom-in;
	transform: rotate(1.2deg);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 4px 12px rgba(0, 0, 0, .25);
}
.wl-explore-thumb img:hover, .wl-explore-thumb img:focus-visible { transform: rotate(0deg) scale(1.02); }
.wl-explore-section .wl-plate figcaption, .wl-explore-section .wl-plate-no { color: rgba(243, 236, 220, .75); }
.wl-explore-section .wl-plate-no { border-color: rgba(243, 236, 220, .3); }

/* ---------- Viewer ---------- */
html.wl-viewer-lock, html.wl-viewer-lock body { overflow: hidden; }
.wl-viewer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-columns: minmax(0, 1fr);
	background: #0e1d15;
	color: var(--wl-cream);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility 0s linear .35s;
	padding-top: env(safe-area-inset-top, 0px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.wl-viewer.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.wl-viewer-bar, .wl-viewer-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .8rem max(16px, env(safe-area-inset-right, 0px)) .8rem max(16px, env(safe-area-inset-left, 0px));
	background: rgba(14, 29, 21, .96);
	flex-wrap: wrap;
}
.wl-viewer-bar { border-bottom: 1px solid rgba(243, 236, 220, .12); }
.wl-viewer-foot { border-top: 1px solid rgba(243, 236, 220, .12); }
.wl-viewer-title { display: flex; align-items: baseline; gap: .8rem; font-family: var(--wp--preset--font-family--body); font-style: italic; min-width: 0; }
.wl-viewer-year { font-family: var(--wp--preset--font-family--display); font-style: normal; font-size: 1.6rem; line-height: 1; }
.wl-viewer-tools { display: flex; gap: .4rem; }
.wl-viewer-tools button {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(243, 236, 220, .3);
	background: transparent;
	color: var(--wl-cream);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}
.wl-viewer-tools button:hover, .wl-viewer-tools button:focus-visible { background: rgba(243, 236, 220, .12); }
.wl-viewer-close { margin-left: .4rem; border-color: var(--wl-brass) !important; }
.wl-viewer-stage { position: relative; min-height: 0; }
.wl-viewer-osd { position: absolute !important; inset: 0; }
.wl-viewer-status[hidden] { display: none !important; }
.wl-viewer-foot > * { min-width: 0; }
.wl-viewer-status {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 2rem;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .75rem;
	opacity: .7;
	pointer-events: none;
}
.wl-viewer-spots { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.wl-chip {
	flex: none;
	border: 1px solid rgba(243, 236, 220, .3);
	background: transparent;
	color: var(--wl-cream);
	padding: .5rem .85rem;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .68rem;
	cursor: pointer;
	white-space: nowrap;
}
.wl-chip.is-on, .wl-chip:hover { background: var(--wl-cream); color: var(--wl-ink); }
.wl-viewer-credit { font-size: .75rem; font-style: italic; opacity: .55; }
@media (max-width: 781px) {
	.wl-viewer-credit { display: none; }
	.wl-viewer-title span:last-child { font-size: .85rem; }
}

/* ---------- Unfold intro ---------- */
html.wl-intro body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 10049;
	background: #0e1d15;
	animation: wl-failsafe .5s 2.6s forwards;
}
@keyframes wl-failsafe { to { opacity: 0; visibility: hidden; } }
.wl-unfold {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: grid;
	place-items: center;
	background: #0e1d15;
	perspective: 1800px;
	cursor: pointer;
	transition: opacity .6s ease, visibility 0s linear .6s;
}
.wl-unfold.is-done { opacity: 0; visibility: hidden; }
.wl-fold-strip {
	display: flex;
	width: min(84vw, 1000px);
	aspect-ratio: 16 / 10;
	max-height: 72vh;
	transform: scale(.92);
	transition: transform 1.6s cubic-bezier(.2, .7, .2, 1);
}
.wl-unfold.is-go .wl-fold-strip { transform: scale(1); }
.wl-unfold.is-done .wl-fold-strip { transform: scale(1.12); transition-duration: .7s; }
.wl-fold {
	position: relative;
	flex: 1;
	background-image: var(--wl-img-hero-sm, var(--wl-img-hero));
	background-size: 400% auto;
	background-position: calc(var(--i) * 33.333%) 55%;
	background-color: #c9a96b;
	transform-origin: left center;
	transform: rotateY(calc(var(--i) * -1deg * 90 / max(var(--i), 1)));
	transition: transform .5s cubic-bezier(.3, .6, .3, 1);
	transition-delay: calc(var(--i) * .22s);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.wl-fold[style*="--i:0"] { transform: none; }
.wl-fold::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .06) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .18));
	transition: opacity .6s;
	transition-delay: calc(var(--i) * .22s);
}
.wl-unfold.is-go .wl-fold { transform: rotateY(0deg); }
.wl-unfold.is-go .wl-fold::after { opacity: .55; }
.wl-unfold-mark {
	position: absolute;
	font-family: var(--wp--preset--font-family--display);
	color: var(--wl-cream);
	font-size: clamp(2rem, 6vw, 4.2rem);
	text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .6s ease .95s, transform .6s ease .95s;
	pointer-events: none;
}
.wl-unfold.is-go .wl-unfold-mark { opacity: 1; transform: none; }

/* ---------- Request page polish ---------- */
.wl-section:has(.wl-form) > p { padding-right: max(0px, calc(100% - 38rem)); }

/* =========================================================
   v1.3 — compass button, footer, dispatch, market tools, field guide, forms
   ========================================================= */
button.wl-compass {
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	pointer-events: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .35s ease, transform .35s ease;
}
button.wl-compass.is-shown { opacity: 1; transform: none; pointer-events: auto; }
button.wl-compass:hover { transform: translateY(-3px); }
button.wl-compass:focus-visible { outline: 2px solid var(--wl-brass); outline-offset: 4px; border-radius: 50%; }
@media (max-width: 1360px) { .wl-route { display: none; } }

/* Footer */
.wl-footer-band { margin-top: 0 !important; padding-block: 4.5rem 2rem; position: relative; isolation: isolate; overflow: hidden; }
.wl-footer-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wl-img-chart) right center / auto 140% no-repeat;
	opacity: .08;
	filter: grayscale(1) invert(1);
}
.wl-footer { color: var(--wl-cream); }
.wl-footer a, .wl-footer a:visited { color: inherit; text-decoration: none; }
.wl-footer a:hover, .wl-footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.wl-footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.3fr; gap: 2.5rem; }
.wl-footer-grid > * { min-width: 0; }
.wl-footer-brand img { width: 88px; height: 88px; transform: rotate(-6deg); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); }
.wl-footer-name { font-family: var(--wp--preset--font-family--display); font-size: 1.7rem; margin: 1rem 0 .4rem; line-height: 1.1; }
.wl-footer-tag, .wl-footer-small { opacity: .75; font-size: .95rem; margin: 0; max-width: 28ch; }
.wl-footer-h { font-family: var(--wp--preset--font-family--caps); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; opacity: .6; margin: .3rem 0 1rem; }
.wl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.wl-footer-market { margin: 0; line-height: 1.6; }
.wl-footer-social { display: flex; gap: 1.2rem; margin-top: 1.2rem; font-family: var(--wp--preset--font-family--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.wl-footer-base {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .8rem 2rem;
	margin-top: 3.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(243, 236, 220, .15);
	font-size: .8rem;
	opacity: .6;
}
@media (max-width: 900px) { .wl-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wl-footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* The Dispatch */
.wl-dispatch { margin-top: 1rem; }
.wl-dispatch-form { display: flex; border: 1px solid rgba(243, 236, 220, .35); }
.wl-dispatch-form input[type=email] {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	color: var(--wl-cream);
	font: inherit;
	padding: .8rem .9rem;
}
.wl-dispatch-form input::placeholder { color: rgba(243, 236, 220, .45); }
.wl-dispatch-form input:focus { outline: none; background: rgba(243, 236, 220, .06); }
.wl-dispatch-form button {
	border: 0;
	background: var(--wl-cream);
	color: var(--wl-ink);
	padding: 0 1.2rem;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-weight: 700;
	font-size: .75rem;
}
.wl-dispatch-done, .wl-dispatch-err { margin: 0; }
.wl-dispatch-err { color: #f0b9a8; margin-bottom: .6rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Market tools */
.wl-market-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.6rem 0 0; }
.wl-market-btn {
	display: inline-block;
	padding: .6rem 1rem;
	border: 1px solid rgba(243, 236, 220, .45);
	color: var(--wl-cream) !important;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--caps);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .7rem;
	font-weight: 700;
	transition: background .2s, color .2s;
}
.wl-market-btn:hover { background: var(--wl-cream); color: var(--wl-ink) !important; }

/* Request form extras */
.wl-check { display: flex !important; gap: .7rem; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--wp--preset--font-family--body) !important; font-size: .95rem !important; font-weight: 400 !important; }
.wl-check input { width: auto !important; margin-top: .3rem; accent-color: var(--wl-ink); }
.wl-fine { font-size: .82rem; color: var(--wl-ink-soft); margin: 0; }
.wl-notice--sent { padding: 1.6rem 1.8rem; }
.wl-notice--sent strong { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: 1.8rem; display: block; line-height: 1.1; }
.wl-next { margin: 1.2rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; }

/* Field guide */
.wl-guide-intro .wl-dropcap { padding-right: max(0px, calc(100% - 44rem)); }
.wl-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.wl-guide-grid > .wl-guide-term { min-width: 0; margin: 0 !important; }
.wl-guide-term .wl-plate { margin: 0 0 1.2rem; }
.wl-guide-term .wl-plate img { aspect-ratio: 4 / 3; object-fit: cover; }
.wl-guide-term h3 { margin: 0 0 .5rem !important; }
.wl-guide-term p { margin: 0; color: var(--wl-ink-soft); }
@media (max-width: 900px) { .wl-guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wl-guide-grid { grid-template-columns: 1fr; } }
.wl-checklist { padding-left: 1.3rem; display: grid; gap: .9rem; margin-top: 1.4rem; }
.wl-checklist li::marker { font-family: var(--wp--preset--font-family--display); color: var(--wl-ink); }
.wl-care { list-style: none; padding-left: 0; }
.wl-care li { padding-left: 1.6rem; position: relative; }
.wl-care li::before { content: "✦"; position: absolute; left: 0; top: .05rem; font-size: .8rem; color: var(--wl-brass); }
.wl-prose h3 { margin-top: 2rem !important; }

@media (min-width: 782px) { .wl-footer-base { padding-right: 100px; } }
