/* Base: reset, primitives, announcement bar, header, footer. Mobile-first. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	width: 100%;
	background: var(--pearl);
	color: var(--ink);
	font-family: var(--ui);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Film grain. Own compositor layer, no blend mode — keeps scroll cheap on mid-range Android. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: 0.35;
	will-change: transform;
	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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }

.pad { padding-inline: var(--gutter); }
.container { width: 100%; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-subtle); font-weight: 600; }
.cut { filter: drop-shadow(0 18px 22px rgba(51, 35, 28, 0.28)); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 99; background: var(--espresso); color: #fff; padding: 10px 16px; }

.site-main { padding-block: var(--sec); }
.site-main.site-main--flush,
.site-main--elementor { padding-block: 0; }

.btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--espresso);
	color: var(--oat);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 2px;
}

/* ===== Announcement bar ===== */
.announce {
	display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
	min-height: 34px; padding: 7px 16px;
	background: var(--espresso); color: var(--oat);
	font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.announce .sep { color: var(--gold); }
.announce .wide { display: none; }
@media (min-width: 900px) {
	.announce { gap: 22px; font-size: 11px; }
	.announce .wide { display: inline; }
}

/* ===== Header ===== */
.site-header { position: relative; z-index: 20; }
.mast {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px;
}
.mast .custom-logo-link img,
.mast .logo { height: 26px; width: auto; mix-blend-mode: darken; }
.mast .tools { display: flex; align-items: center; gap: 15px; }
.mast .tools a { position: relative; display: grid; place-items: center; min-width: 32px; min-height: 44px; }
.burger { display: flex; align-items: center; min-width: 44px; min-height: 44px; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }

/* Mobile drawer */
.primary-nav.is-open {
	display: block;
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--pearl);
	border-bottom: 1px solid var(--line);
	padding: 8px var(--gutter) 20px;
}
.primary-nav.is-open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }

.cart-count {
	position: absolute; top: 6px; right: -6px;
	min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px;
	background: var(--espresso); color: var(--oat);
	font-size: 10px; line-height: 16px; text-align: center; font-weight: 600;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

@media (min-width: 1100px) {
	.mast { min-height: 82px; }
	.mast .custom-logo-link img, .mast .logo { height: 34px; }
	.burger { display: none; }
	.primary-nav, .primary-nav.is-open {
		display: block; position: static; background: none; border: 0; padding: 0;
	}
	.primary-nav ul { display: flex; gap: 28px; }
	.primary-nav a, .primary-nav.is-open a {
		display: inline; padding: 4px 0; border: 0; border-bottom: 1px solid transparent; transition: border-color 0.25s;
	}
	.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a[aria-current] { border-color: var(--gold); }
	.mast .tools { gap: 20px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--espresso); color: var(--oat); }
.foot { padding: 52px var(--gutter) 26px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.f-brand { display: flex; flex-direction: column; gap: 14px; }
.f-brand .mark { font-family: var(--display); font-size: 32px; color: #fff; line-height: 1; }
.f-brand .mark small { font-size: 18px; color: var(--gold-lite); }
.f-brand p { font-size: 13px; line-height: 1.75; color: rgba(242, 224, 210, 0.75); max-width: 32ch; }
.f-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.f-col .h { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.f-col a { font-size: 13px; color: rgba(242, 224, 210, 0.85); transition: color 0.25s; }
.f-col a:hover { color: #fff; }
.social { display: flex; gap: 14px; margin-top: 4px; }
.social a { display: grid; place-items: center; min-width: 32px; min-height: 32px; opacity: 0.8; transition: opacity 0.25s; }
.social a:hover { opacity: 1; }
.legal {
	padding: 16px var(--gutter) 28px;
	border-top: 1px solid rgba(217, 188, 140, 0.22);
	font-size: 11px; color: rgba(242, 224, 210, 0.7);
	display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.legal a:hover { color: var(--oat); }

@media (min-width: 900px) {
	.foot { grid-template-columns: 5fr 2fr 2fr 2fr; gap: 40px; padding: 76px var(--gutter) 34px; }
	.f-cols { display: contents; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
