/* Header + footer chrome, reproducing stage-header / stage-footer from velta.sg. */

.vh, .vh *, .vf, .vf * {
	box-sizing: border-box;
}

/* ---------- Header ---------- */

/* The sticky pin lives on WP's template-part wrapper: it spans the page flow,
   so sticking works; .vh alone would only stick inside its own-height wrapper. */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

.vh {
	position: relative;
	background: #f6f4ee;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
	will-change: transform;
}

.vh.hide {
	transform: translateY(-100%);
	pointer-events: none;
}

.vh.scrolled {
	box-shadow: 0 8px 24px rgba(22, 24, 23, 0.08);
}

.vh-in {
	margin: 0 auto;
	width: 100%;
	max-width: 1480px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
	transition: min-height 0.3s ease-out;
}

.vh.scrolled .vh-in {
	min-height: 60px;
}

.vh-logo {
	display: block;
	line-height: 0;
}

.vh-logo img {
	width: 112px;
	height: auto;
	transition: width 0.3s ease-out;
}

.vh.scrolled .vh-logo img {
	width: 96px;
}

.vh-nav {
	display: none;
	align-items: center;
	gap: 28px;
}

.vh-nav a {
	font-size: 14px;
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}

.vh-nav a:hover {
	color: #0d1793;
}

.vh-right {
	display: none;
	align-items: center;
	gap: 20px;
}

.vh-cart {
	font-size: 14px;
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}

.vh-cart:hover {
	color: #0d1793;
}

.vh-contact {
	display: inline-block;
	border: 1px solid #161817;
	padding: 12px 16px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: inherit;
	text-decoration: none;
	transition: padding 0.3s, background-color 0.3s, color 0.3s;
}

.vh.scrolled .vh-contact {
	padding-top: 10px;
	padding-bottom: 10px;
}

.vh-contact:hover {
	background: #161817;
	color: #fff;
}

/* Mobile menu */
.vh-mob {
	position: static;
}

.vh-mob summary {
	cursor: pointer;
	list-style: none;
	border: 1px solid #161817;
	padding: 8px 16px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.vh-mob summary::-webkit-details-marker {
	display: none;
}

.vh-mob-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #f6f4ee;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 20px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	max-height: calc(100dvh - 74px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vh-mob-panel a {
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 16px 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 20px;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

@media (min-width: 1024px) {
	.vh-in { padding: 0 32px; }
}

@media (min-width: 1280px) {
	.vh-in { padding: 0 48px; }
	.vh-nav { display: flex; }
	.vh-right { display: flex; }
	.vh-mob { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.vh, .vh-in, .vh-logo img, .vh-contact { transition: none; }
}

/* ---------- Footer ---------- */

.vf {
	background: #151817;
	color: #fff;
	padding: 56px 0;
}

.vf-in {
	margin: 0 auto;
	width: 100%;
	max-width: 1480px;
	padding: 0 20px;
}

.vf-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 56px;
}

.vf-brand img {
	width: 120px;
	height: auto;
}

.vf-tag {
	margin: 32px 0 0;
	max-width: 24rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 32px;
	font-weight: 300;
	line-height: 1.2;
}

.vf-desc {
	margin: 24px 0 0;
	max-width: 28rem;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.vf-contactblock {
	margin-top: 32px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.vf-contactblock a {
	display: block;
	margin-bottom: 8px;
	color: inherit;
	text-decoration: none;
}

.vf-contactblock a:hover {
	color: #fff;
}

.vf-contactblock p {
	margin: 8px 0 0;
	padding-top: 8px;
}

.vf-cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.vf-col .vf-h {
	margin: 0;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.7);
}

.vf-col ul {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.vf-col li {
	margin-bottom: 12px;
}

.vf-col a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.vf-col a:hover {
	color: #fff;
}

.vf-bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 28px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
}

.vf-bottom p {
	margin: 0;
}

.vf-bottom a {
	color: inherit;
	text-decoration: none;
}

.vf-bottom a:hover {
	color: #fff;
}

.vf-legal {
	display: flex;
	gap: 20px;
}

@media (min-width: 512px) {
	.vf-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.vf { padding: 80px 0; }
	.vf-in { padding: 0 32px; }
	.vf-grid { grid-template-columns: repeat(12, 1fr); }
	.vf-brand { grid-column: span 5; }
	.vf-cols { grid-column: span 7; }
	.vf-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1280px) {
	.vf-in { padding: 0 48px; }
}
