/*
Theme Name: Vedanteshwari
Theme URI: https://wordpress.org/themes/
Author: Vedanteshwari Rawal
Description: An old-money, quiet-luxury portfolio theme: brand strategy, argued like a case. Cherry, blossom, truffle and ivory; Playfair Display, Pinyon Script and Courier Prime. The homepage comes pre-built with a layered hero, a scrolling proof strip, an experience timeline that draws as you scroll, sticky stacking "Exhibits", polaroids, certificate frames and a "What's in my bag" section with hotspots.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vedanteshwari
Tags: portfolio, blog, full-site-editing, block-patterns, custom-colors, editor-style, one-column, wide-blocks
*/

:root {
	--vr-cherry: var(--wp--preset--color--cherry, #65232B);
	--vr-blossom: var(--wp--preset--color--blossom, #ECAAB2);
	--vr-truffle: var(--wp--preset--color--truffle, #432720);
	--vr-ivory: var(--wp--preset--color--ivory, #F8E5D7);
	--vr-paper: var(--wp--preset--color--paper, #FCF4EE);
	--vr-cream: var(--wp--preset--color--cream, #FFFDFB);
	--vr-ease: cubic-bezier(.2, .7, .2, 1);
	--vr-header-h: 84px;
}

/* ─────────── Base ─────────── */

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

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.wp-site-blocks > * { margin-block: 0; }

:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

h1 em, h2 em, h3 em { font-weight: 400; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--vr-cherry);
	outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--vr-header-h) + 12px); }

/* Paper grain over the whole site (not in the editor) */
body:not(.editor-styles-wrapper)::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: .06;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─────────── Type helpers ─────────── */

.is-style-label,
.vr-label {
	font-family: var(--wp--preset--font-family--body);
	font-size: .72rem !important;
	letter-spacing: .26em;
	text-transform: uppercase;
	opacity: .8;
}

.vr-title { text-transform: uppercase; }
.vr-title em { text-transform: uppercase; }

.vr-script {
	line-height: 1 !important;
	margin-bottom: -.2em !important;
	position: relative;
	z-index: 1;
}

.vr-note {
	font-size: .72rem !important;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.55 !important;
}

.vr-pullquote {
	text-transform: uppercase;
	font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
	line-height: 1.6 !important;
	letter-spacing: .02em;
	border-block: 1px solid color-mix(in srgb, var(--vr-cherry) 45%, transparent);
	padding-block: 1.25rem;
	color: var(--vr-cherry);
}

/* ─────────── Buttons ─────────── */

.wp-block-button__link {
	transition: background-color .45s var(--vr-ease), color .45s var(--vr-ease), border-color .45s var(--vr-ease);
}
.wp-block-button__link::after {
	content: "→";
	display: inline-block;
	margin-left: .6em;
	transition: transform .45s var(--vr-ease);
}
.wp-block-button__link:hover::after { transform: translateX(4px); }
.vr-no-arrow .wp-block-button__link::after { content: none; }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
	padding: .95em 2.1em;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--vr-cherry);
	border-color: var(--vr-cherry);
	color: var(--vr-ivory);
}

/* Dark surfaces: ivory text, ivory buttons */
.vr-on-dark,
.vr-on-dark :where(h1, h2, h3, h4, p, li, a:not(.wp-element-button)) { color: inherit; }
.vr-on-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--vr-ivory);
	color: var(--vr-cherry);
}
.vr-on-dark .wp-block-button > .wp-block-button__link:hover {
	background: var(--vr-blossom);
	border-color: var(--vr-blossom);
	color: var(--vr-truffle);
}

/* ─────────── Header ─────────── */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}

.vr-header {
	border-bottom: 1px solid color-mix(in srgb, var(--vr-truffle) 22%, transparent);
	transition: padding .45s var(--vr-ease), box-shadow .45s var(--vr-ease);
}
body.vr-scrolled .vr-header {
	padding-top: .55rem !important;
	padding-bottom: .55rem !important;
	box-shadow: 0 10px 30px -24px rgba(67, 39, 32, .6);
}

.vr-crest { margin: 0; line-height: 1; }
.vr-crest a {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid currentColor;
	box-shadow: 0 0 0 3px var(--vr-ivory), 0 0 0 4px color-mix(in srgb, currentColor 45%, transparent);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
	letter-spacing: .04em;
	text-decoration: none;
	color: var(--vr-cherry);
}
.vr-footer .vr-crest a { color: var(--vr-ivory); box-shadow: 0 0 0 3px var(--vr-truffle), 0 0 0 4px rgba(248, 229, 215, .45); }

.wp-block-navigation .wp-block-navigation-item__content {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
	transition: background-size .45s var(--vr-ease);
	padding-bottom: 2px;
}
.wp-block-navigation .wp-block-navigation-item__content:hover { background-size: 100% 1px; }

/* Full-screen overlay menu: big serif links */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: .4rem !important;
	align-items: center !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.2rem, 9vw, 4.5rem);
	letter-spacing: .01em;
	line-height: 1.1;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { font-style: italic; }

@media (max-width: 781px) {
	.vr-header .wp-block-buttons { display: none; }
}

/* ─────────── Hero ─────────── */

.vr-hero-title {
	font-size: clamp(1.9rem, 9.4vw, 8.5rem) !important;
	line-height: .9 !important;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
	margin-bottom: 0 !important;
}

.vr-hero-cols {
	position: relative;
	z-index: 2;
	margin-top: clamp(-190px, -10.5vw, -28px) !important;
	margin-bottom: 0 !important;
}
.vr-hero-portrait { margin: 0 auto !important; max-width: 470px; }
.vr-hero-portrait img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 34px rgba(67, 39, 32, .16));
}
.vr-hero-side {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 2rem;
	padding-top: 12%;
}
.vr-hero-side > * { margin: 0 !important; }
.vr-arrow { margin: .35rem 0 0 !important; }
.vr-arrow img { width: 118px; height: auto; }
.vr-hero-side.is-right { text-align: right; }
.vr-hero-side.is-right .vr-arrow img { margin-left: auto; }
.vr-hero-sub { margin-top: .5rem !important; }

@media (max-width: 781px) {
	.vr-hero-cols { margin-top: -5vw !important; }
	.vr-hero-cols > .wp-block-column:nth-child(2) { order: -1; }
	.vr-hero-portrait { max-width: 78%; }
	.vr-hero-side, .vr-hero-side.is-right { text-align: center; padding-top: 0; gap: .6rem; }
	.vr-arrow { display: none; }
}

/* ─────────── Marquee (proof strip, § II headline) ─────────── */

.vr-marquee { overflow: hidden; }
.vr-marquee > * {
	width: max-content !important;
	max-width: none !important;
	margin: 0 !important;
	white-space: pre;
	animation: vr-marquee 48s linear infinite;
	will-change: transform;
}
.vr-marquee:hover > * { animation-play-state: paused; }
@keyframes vr-marquee { to { transform: translateX(-50%); } }

.vr-band {
	border-block: 1px solid var(--vr-blossom);
	box-shadow: 0 4px 0 -3px var(--vr-cherry), 0 -4px 0 -3px var(--vr-cherry);
}
.vr-band p {
	font-family: var(--wp--preset--font-family--display);
	font-size: .9rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1;
	padding-block: 1.15rem;
}

.is-style-outlined {
	color: transparent !important;
	-webkit-text-stroke: 1px var(--vr-cherry);
	text-transform: uppercase;
}
.vr-marquee .is-style-outlined {
	font-size: clamp(3.25rem, 10vw, 9rem) !important;
	line-height: 1.05 !important;
	animation-duration: 70s;
}

/* ─────────── Cards (§ II) ─────────── */

.vr-card {
	transition: transform .6s var(--vr-ease), box-shadow .6s var(--vr-ease), outline-color .45s var(--vr-ease);
	outline: 1px solid rgba(248, 229, 215, .55);
	outline-offset: -11px;
}
.vr-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 44px -28px rgba(0, 0, 0, .55);
	outline-color: var(--vr-blossom);
}
.vr-card h3 { text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important; line-height: 1.2 !important; }
.vr-card .vr-label { color: var(--vr-blossom); opacity: 1; }

/* ─────────── Timeline (§ III) ─────────── */

.vr-timeline {
	position: relative;
	padding-left: 38px !important;
	view-timeline: --vr-tl block;
}
.vr-timeline > * { margin-left: 0 !important; max-width: none !important; }
.vr-timeline::before {
	content: "";
	position: absolute;
	left: 8px;
	top: .4rem;
	bottom: .4rem;
	width: 1px;
	background: var(--vr-cherry);
	transform-origin: top;
}
@supports (animation-timeline: view()) {
	.vr-timeline::before {
		animation: vr-draw linear both;
		animation-timeline: --vr-tl;
		animation-range: cover 10% cover 75%;
	}
}
@keyframes vr-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.vr-tl-year {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
	line-height: 1 !important;
	color: var(--vr-cherry);
	margin-top: 2.75rem !important;
	margin-bottom: .25rem !important;
}
.vr-timeline > .vr-tl-year:first-child { margin-top: 0 !important; }

.vr-tl-item { position: relative; padding-bottom: .5rem; }
.vr-tl-item::before {
	content: "";
	position: absolute;
	left: -35px;
	top: .55rem;
	width: 11px;
	height: 11px;
	box-sizing: border-box;
	border-radius: 50%;
	background: var(--vr-ivory);
	border: 1px solid var(--vr-cherry);
}
.vr-tl-item.is-next::before { background: var(--vr-blossom); border-color: var(--vr-blossom); width: 13px; height: 13px; left: -36px; }
.vr-tl-item > * { margin-block: .35rem 0 !important; }
.vr-tl-item h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important; }
.vr-tl-role { font-size: .72rem !important; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.vr-tl-item ul { list-style: none; padding-left: 0; }
.vr-tl-item ul li { padding-left: 1.4em; text-indent: -1.4em; }
.vr-tl-item ul li::before { content: "— "; color: var(--vr-cherry); }
.vr-tl-lesson {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.12rem !important;
	color: var(--vr-cherry);
	line-height: 1.45 !important;
}

/* ─────────── Exhibits: sticky stacking (§ IV) ─────────── */

.vr-stack {
	position: sticky;
	top: calc(var(--vr-header-h) + 12px + var(--vr-i, 0) * 16px);
	min-height: min(72vh, 700px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 -22px 44px -30px rgba(67, 39, 32, .55);
}
.admin-bar .vr-stack { top: calc(var(--vr-header-h) + 44px + var(--vr-i, 0) * 16px); }
.vr-stack:nth-of-type(2) { --vr-i: 1; }
.vr-stack:nth-of-type(3) { --vr-i: 2; }
.vr-stack:nth-of-type(4) { --vr-i: 3; }
.vr-stack:nth-of-type(5) { --vr-i: 4; }
.vr-stack + .vr-stack { margin-top: 12vh !important; }
.vr-stack .wp-block-columns { align-items: center !important; }
.vr-exhibit-title { font-size: clamp(2rem, 4.6vw, 3.9rem) !important; line-height: 1 !important; }
.vr-exhibit-img { margin: 0 !important; }
.vr-exhibit-img img {
	display: block;
	width: 100%;
	max-height: min(56vh, 540px);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin-left: auto;
}
.vr-exhibit-c { border: 1px solid var(--vr-cherry); outline: 1px solid var(--vr-cherry); outline-offset: -10px; }

@media (max-width: 781px) {
	.vr-stack { position: relative; top: auto !important; min-height: 0; }
	.vr-stack + .vr-stack { margin-top: 1.5rem !important; }
	.vr-exhibit-img img { max-height: 60vh; }
}

/* ─────────── Certificates (§ V) ─────────── */

.is-style-certificate {
	position: relative;
	border: 1px solid var(--vr-cherry);
	outline: 1px solid var(--vr-cherry);
	outline-offset: -9px;
	text-align: center;
	transition: transform .6s var(--vr-ease), box-shadow .6s var(--vr-ease);
}
.is-style-certificate:hover {
	transform: translateY(-4px) rotate(-.4deg);
	box-shadow: 0 24px 40px -28px rgba(67, 39, 32, .5);
}
.is-style-certificate h3 { text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important; letter-spacing: .04em; line-height: 1.3 !important; }

.is-style-seal {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	margin: 0 !important;
	display: grid;
	place-items: center;
	background: var(--vr-cherry);
	color: var(--vr-ivory) !important;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.45rem !important;
	line-height: 1 !important;
	box-shadow: inset 0 0 0 4px var(--vr-cherry), inset 0 0 0 5px rgba(248, 229, 215, .6), 0 8px 18px -8px rgba(67, 39, 32, .6);
	transform: rotate(-12deg);
}
.is-style-certificate > .is-style-seal { position: absolute; top: -22px; right: -14px; }

/* ─────────── Images: polaroid, stamp, frame ─────────── */

.wp-block-image.is-style-polaroid,
.wp-block-image.is-style-polaroid-right {
	position: relative;
	width: fit-content;
	max-width: 100%;
	background: var(--vr-cream);
	padding: 12px 12px 44px;
	box-shadow: 0 14px 30px -18px rgba(67, 39, 32, .55);
	transform: rotate(-4deg);
	transition: transform .6s var(--vr-ease);
}
.wp-block-image.is-style-polaroid-right { transform: rotate(3deg); }
.wp-block-image.is-style-polaroid:hover,
.wp-block-image.is-style-polaroid-right:hover { transform: rotate(0) scale(1.02); }
.wp-block-image.is-style-polaroid::before,
.wp-block-image.is-style-polaroid-right::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 88px;
	height: 26px;
	transform: translateX(-50%) rotate(-3deg);
	background: rgba(236, 170, 178, .62);
	z-index: 1;
}
.wp-block-image.is-style-polaroid img,
.wp-block-image.is-style-polaroid-right img { display: block; }
.wp-block-image.is-style-polaroid figcaption,
.wp-block-image.is-style-polaroid-right figcaption {
	font-family: var(--wp--preset--font-family--body);
	color: var(--vr-truffle);
	text-align: center;
	font-size: .8rem;
	line-height: 1.4;
	margin: 12px 0 -30px;
}

.wp-block-image.is-style-stamp {
	--r: 7px;
	width: fit-content;
	max-width: 100%;
	padding: calc(2.2 * var(--r));
	background:
		radial-gradient(var(--r), #0000 97%, var(--vr-cream)) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
		linear-gradient(var(--vr-cream) 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
	filter: drop-shadow(0 8px 14px rgba(67, 39, 32, .22));
}
.wp-block-image.is-style-stamp img { display: block; }

.wp-block-image.is-style-framed { border: 1px solid var(--vr-cherry); padding: 8px; }

.vr-float {
	position: relative;
	z-index: 2;
	width: 50%;
	margin-top: -30% !important;
	margin-left: auto !important;
	margin-right: -4% !important;
}

.vr-zoom { overflow: hidden; }
.vr-zoom img { transition: transform 1.2s var(--vr-ease); }
.vr-zoom:hover img, a:hover .vr-zoom img { transform: scale(1.05); }

/* ─────────── Stripes ─────────── */

.is-style-stripes {
	height: 26px !important;
	background: repeating-linear-gradient(90deg, var(--vr-cherry) 0 26px, var(--vr-ivory) 26px 52px);
	margin: 0 !important;
}

/* ─────────── Swipe row (§ VI) ─────────── */

.vr-slider {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 38px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 34px 14px 46px !important;
	scrollbar-width: thin;
	scrollbar-color: var(--vr-cherry) transparent;
	overscroll-behavior-x: contain;
}
.vr-slider > * {
	flex: 0 0 min(262px, 70vw);
	scroll-snap-align: start;
	margin: 0 !important;
}
.vr-slider > .wp-block-image { width: auto; }
.vr-slider img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ─────────── What's in my bag (§ VII) ─────────── */

.vr-bag { position: relative; }
.vr-bag-photo { margin: 0 !important; }
.vr-bag-photo img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -40px rgba(67, 39, 32, .6); }

body:not(.editor-styles-wrapper) .vr-spots {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	pointer-events: none;
	counter-reset: spot;
}
body:not(.editor-styles-wrapper) .vr-spots > * { margin: 0 !important; }
body:not(.editor-styles-wrapper) .vr-spot {
	position: absolute;
	left: var(--x, 50%);
	top: var(--y, 50%);
	transform: translate(-50%, -50%);
	pointer-events: auto;
	counter-increment: spot;
	z-index: 2;
}
body:not(.editor-styles-wrapper) .vr-spot[open] { z-index: 5; }
body:not(.editor-styles-wrapper) .vr-spot > summary {
	list-style: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vr-ivory);
	color: var(--vr-cherry);
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 0;
	box-shadow: 0 8px 18px -8px rgba(67, 39, 32, .6);
	animation: vr-pulse 2.6s var(--vr-ease) infinite;
	transition: background-color .3s, color .3s;
}
body:not(.editor-styles-wrapper) .vr-spot > summary::-webkit-details-marker { display: none; }
body:not(.editor-styles-wrapper) .vr-spot > summary::marker { content: ""; }
body:not(.editor-styles-wrapper) .vr-spot > summary::before {
	content: counter(spot);
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1rem;
	line-height: 1;
}
body:not(.editor-styles-wrapper) .vr-spot[open] > summary,
body:not(.editor-styles-wrapper) .vr-spot > summary:hover {
	background: var(--vr-cherry);
	color: var(--vr-ivory);
	animation: none;
}
body:not(.editor-styles-wrapper) .vr-spot > p {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(calc(-50% + var(--shift, 0px)));
	width: min(250px, 72vw);
	background: var(--vr-cream);
	color: var(--vr-truffle);
	padding: 14px 16px 15px;
	font-size: .82rem;
	line-height: 1.5;
	box-shadow: 0 20px 40px -18px rgba(67, 39, 32, .6);
	margin: 0;
	text-align: left;
}
.vr-spot > p strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 1.08rem;
	color: var(--vr-cherry);
	margin-bottom: 3px;
}
.vr-spot-1 { --x: 18.5%; --y: 33%; }
.vr-spot-2 { --x: 20%;   --y: 57%; }
.vr-spot-3 { --x: 79.5%; --y: 32%; }
.vr-spot-4 { --x: 82%;   --y: 71%; }
.vr-spot-5 { --x: 21.5%; --y: 78.5%; }
.vr-spot-6 { --x: 41.8%; --y: 85%; }
.vr-spot-7 { --x: 55.5%; --y: 84%; }
.vr-spot-8 { --x: 68.5%; --y: 84%; }
.vr-bag-hint { opacity: .8; }

@keyframes vr-pulse {
	0% { box-shadow: 0 0 0 0 rgba(248, 229, 215, .95), 0 8px 18px -8px rgba(67, 39, 32, .6); }
	70% { box-shadow: 0 0 0 14px rgba(248, 229, 215, 0), 0 8px 18px -8px rgba(67, 39, 32, .6); }
	100% { box-shadow: 0 0 0 0 rgba(248, 229, 215, 0), 0 8px 18px -8px rgba(67, 39, 32, .6); }
}

@media (max-width: 700px) {
	body:not(.editor-styles-wrapper) .vr-spot > summary { width: 28px; height: 28px; }
	body:not(.editor-styles-wrapper) .vr-spot > p {
		position: fixed;
		left: 16px;
		right: 16px;
		bottom: 16px;
		top: auto;
		width: auto;
		transform: none;
		z-index: 10000;
		padding: 18px 20px;
		font-size: .9rem;
	}
}

/* In the editor, hotspots become a simple editable list under the photo */
.editor-styles-wrapper .vr-spots { margin-top: 1rem; }
.editor-styles-wrapper .vr-spot { border: 1px dashed var(--vr-cherry); padding: .5rem .75rem; margin-top: .5rem; }

/* ─────────── Brand Notes ─────────── */

.vr-notes .wp-block-post-featured-image {
	border: 1px solid var(--vr-cherry);
	padding: 8px;
	overflow: hidden;
	margin-bottom: 1rem;
}
.vr-notes .wp-block-post-featured-image img { transition: transform 1.2s var(--vr-ease); }
.vr-notes .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.vr-notes .wp-block-post-terms a { text-decoration: none; color: var(--vr-cherry); }
.vr-notes .wp-block-read-more { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.vr-notes .wp-block-post > * { margin-block: .4rem 0; }

/* ─────────── Contact ─────────── */

.vr-contact-title {
	font-size: clamp(2.4rem, 7.2vw, 6.6rem) !important;
	line-height: .95 !important;
	text-transform: uppercase;
}
.vr-particulars p { margin: 0 !important; padding-block: .85rem; border-top: 1px solid rgba(248, 229, 215, .35); }
.vr-particulars p:last-child { border-bottom: 1px solid rgba(248, 229, 215, .35); }
.vr-particulars .vr-label { display: block; margin-bottom: .1rem; }

/* ─────────── Footer + sticky CTA ─────────── */

.vr-footer a { color: inherit; }
.vr-footer-links a {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
	transition: background-size .45s var(--vr-ease);
}
.vr-footer-links a:hover { background-size: 100% 1px; }

.vr-sticky-cta {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	margin: 0 !important;
	transition: opacity .45s var(--vr-ease), transform .45s var(--vr-ease);
}
.vr-sticky-cta .wp-block-button__link { box-shadow: 0 14px 30px -14px rgba(67, 39, 32, .7); }
body.vr-cta-hidden .vr-sticky-cta { opacity: 0; transform: translateY(14px); pointer-events: none; }
@media (max-width: 600px) { .vr-sticky-cta { right: 16px; bottom: 16px; } }
.editor-styles-wrapper .vr-sticky-cta { position: static; }

/* ─────────── Reveal on scroll ─────────── */

@supports (animation-timeline: view()) {
	body:not(.editor-styles-wrapper) .vr-reveal {
		animation: vr-reveal linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 70%;
	}
}
@keyframes vr-reveal {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
/* Fallback for browsers without scroll-driven animations (set by theme.js) */
.vr-io .vr-reveal { transition: opacity .9s var(--vr-ease), transform .9s var(--vr-ease); }
.vr-io .vr-reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* ─────────── Editor comfort ─────────── */

.editor-styles-wrapper .vr-marquee > * { animation: none; }
.editor-styles-wrapper .vr-stack { position: relative; top: auto; }

/* ─────────── Reduced motion ─────────── */

@media (prefers-reduced-motion: reduce) {
	.vr-marquee > *,
	.vr-reveal,
	.vr-timeline::before,
	body:not(.editor-styles-wrapper) .vr-spot > summary { animation: none !important; }
	.vr-reveal, .vr-io .vr-reveal:not(.is-in) { opacity: 1 !important; transform: none !important; }
	.vr-timeline::before { transform: none !important; }
	.vr-card, .is-style-certificate, .wp-block-image.is-style-polaroid, .wp-block-image.is-style-polaroid-right,
	.vr-zoom img, .vr-notes .wp-block-post-featured-image img, .wp-block-button__link { transition: none !important; }
	.vr-marquee { overflow-x: auto; }
}

/* ─────────── Pattern helpers ─────────── */

.vr-striped-top {
	background-image: repeating-linear-gradient(90deg, var(--vr-cherry) 0 26px, var(--vr-ivory) 26px 52px);
	background-size: 100% 26px;
	background-repeat: no-repeat;
	background-position: top left;
}
.vr-footer.vr-striped-top {
	background-image: repeating-linear-gradient(90deg, var(--vr-cherry) 0 26px, var(--vr-ivory) 26px 52px);
}

.vr-bag-title {
	font-size: clamp(4.5rem, 15vw, 11rem) !important;
	line-height: .8 !important;
	margin-top: 0 !important;
}

.wp-block-image.vr-float { width: 50%; }
.wp-block-image.vr-float img { width: 100%; height: auto; }
.wp-block-image.is-style-stamp img { width: 100%; height: auto; }

.wp-block-button.is-style-outline > .wp-block-button__link { color: var(--vr-cherry); }
.vr-on-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: inherit; }

.vr-footer .vr-script { margin: 0 !important; opacity: .9; }
.vr-footer .wp-block-separator { margin-block: 1.5rem !important; }

/* Safety net: nothing may push the page sideways (clip keeps sticky working) */
.wp-site-blocks { overflow-x: clip; }
@media (max-width: 781px) {
	.wp-block-image.vr-float { margin-right: 0 !important; margin-top: -24% !important; width: 56%; }
	.is-style-certificate > .is-style-seal { right: -4px; }
}

/* Floating "Let's talk": cherry pill, phones only (desktop has it in the sticky header) */
.vr-sticky-cta .wp-block-button > .wp-block-button__link,
.vr-on-dark .vr-sticky-cta .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--vr-cherry);
	color: var(--vr-ivory);
}
.vr-sticky-cta .wp-block-button > .wp-block-button__link:hover,
.vr-on-dark .vr-sticky-cta .wp-block-button > .wp-block-button__link:hover {
	background: var(--vr-truffle);
	border-color: var(--vr-truffle);
	color: var(--vr-ivory);
}
@media (min-width: 782px) {
	body:not(.editor-styles-wrapper) .vr-sticky-cta { display: none; }
}

/* Exhibit images keep a true 4:5 shape */
@media (min-width: 782px) {
	.vr-exhibit-img img {
		width: auto;
		height: min(56vh, 540px);
		max-height: none;
		max-width: 100%;
	}
}

/* Phone menu: links centred on the full-screen cherry overlay */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: center !important;
	justify-content: center !important;
	min-height: 80vh;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
	justify-content: center !important;
	align-items: center !important;
	text-align: center;
}
.vr-sticky-cta .wp-block-button__link { box-shadow: 0 0 0 1px rgba(248, 229, 215, .7), 0 14px 30px -14px rgba(67, 39, 32, .7) !important; }
