/*
 * Sjolie White Label: base styles, loaded on every page.
 * Tokens mirror theme.json and docs/DESIGN_SYSTEM.md (direction E, L11).
 * No cascade layers: plugin CSS is unlayered and would beat any layered rule, so plain specificity is used.
 */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-moda-latin-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #171311;
	--bg: #f3eee8;
	--white: #fff;
	--muted: #5c534c;
	--line: #d6cabd;
	--line-strong: #cfc3b7;
	--line-control: #8a8079; /* Form-field borders: 3.9:1 on white, 3.3:1 on --bg (WCAG 1.4.11 needs 3:1). */
	--line-header: #e7e1da;
	--sand: #e4d6c6;
	--tan: #d9c1a8;
	--blush: #eadfd5;
	--caramel: #cdb39a;
	--tint-olive: #dcd6c2;
	--tint-violet: #ddd2d6;
	--tint-clear: #e8e3dc;
	--swatch-olive: #8a8450;
	--swatch-violet: #8e7a93;
	--error: #9b2c1f;
	--success: #2f5d3a;

	--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-label: "Bodoni Moda", Didot, "Bodoni 72", serif;

	--gutter: 18px;
	--max: 1440px;
	--measure: 760px;
	--header-h: 54px;
	--promo-h: 30px;
	--radius-pill: 999px;
	--shadow-header: 0 6px 24px rgb(23 19 17 / 0.06);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	color-scheme: light;
}

@media (min-width: 900px) {
	:root {
		--gutter: 40px;
		--header-h: 68px;
		--promo-h: 34px;
	}
}

/* ---------------------------------------------------------------- reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

img,
svg,
video,
picture {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

summary {
	list-style: none;
	cursor: pointer;
}

summary::-webkit-details-marker {
	display: none;
}

[hidden] {
	display: none !important;
}

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

/* ---------------------------------------------------------------- base */
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px; /* MOBILE_AND_PERFORMANCE §1: body text never below 16px (was 15px on phones). */
	line-height: 1.55;
	font-feature-settings: "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

@media (min-width: 900px) {
	body {
		font-size: 16px;
	}
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--muted);
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

/* On dark bands (CTA sections, dark buttons on ink) an ink ring disappears: use the page colour there. */
.sec--ink :focus-visible,
.button--dark:focus-visible {
	outline-color: var(--bg);
	box-shadow: 0 0 0 4px var(--ink);
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(34px, 4.6vw, 64px);
	letter-spacing: -0.035em;
	line-height: 1.02;
}

h2 {
	font-size: clamp(28px, 3.2vw, 44px);
	letter-spacing: -0.03em;
}

h3 {
	font-size: clamp(19px, 1.6vw, 22px);
	letter-spacing: -0.01em;
}

p {
	text-wrap: pretty;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 40px 0;
}

::selection {
	background: var(--sand);
}

input::placeholder,
textarea::placeholder {
	color: var(--muted);
	opacity: 1;
}

/* ---------------------------------------------------------------- layout */
.site-main {
	display: block;
	min-height: 50vh;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: calc(var(--measure) + 2 * var(--gutter));
}

.section {
	padding-block: 64px;
}

@media (min-width: 900px) {
	.section {
		padding-block: 104px;
	}
}

/* ---------------------------------------------------------------- components */
/* Labels: small uppercase text used across the UI. */
.label,
.eyebrow {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	line-height: 1.4;
}

@media (min-width: 900px) {
	.label,
	.eyebrow {
		font-size: 12px;
		letter-spacing: 0.12em;
	}
}

.muted {
	color: var(--muted);
}

/* Skip link */
.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--bg);
	font-size: 13px;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--bg);
}

/* Buttons (pills) */
.button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--ink);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.button:hover,
.wp-block-button__link:hover {
	background: var(--ink);
	color: var(--bg);
}

.button--dark,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--ink);
	color: var(--bg);
}

.button--dark:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #3a322d;
	border-color: #3a322d;
	color: var(--bg);
}

.button--light {
	border-color: var(--white);
	background: var(--white);
	color: var(--ink);
}

.button--light:hover {
	background: transparent;
	color: var(--white);
}

.button[disabled],
.button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.text-link {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.btn-icon,
.text-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: none;
}

.text-button {
	padding-inline: 4px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

@media (min-width: 900px) {
	.text-button {
		font-size: 12px;
		letter-spacing: 0.12em;
	}
}

/* ------------------------------------------------ promo bar */
.promo-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--promo-h);
	padding: 6px var(--gutter);
	background: var(--ink);
	color: var(--bg);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
}

.promo-bar p {
	margin: 0;
}

.promo-bar__more {
	display: none;
}

@media (min-width: 700px) {
	.promo-bar {
		font-size: 11px;
	}

	.promo-bar__more {
		display: inline;
	}
}

/* WooCommerce store notice (set in WooCommerce → Customize). Shown in the promo bar's place, in the flow, and
   coloured like it (WooCommerce's own CSS, loaded on cart and checkout, would paint it purple). */
p.woocommerce-store-notice.demo_store,
.woocommerce-store-notice {
	position: relative;
	inset: auto;
	display: block;
	margin: 0;
	padding: 8px var(--gutter);
	background: var(--ink);
	color: var(--bg);
	box-shadow: none;
	font-size: 12px;
	line-height: 1.45;
	letter-spacing: 0.02em;
	text-align: center;
	z-index: 1;
}

p.woocommerce-store-notice.demo_store a,
.woocommerce-store-notice a {
	color: inherit;
	text-underline-offset: 3px;
}

/* An ink focus ring would vanish on the ink bar. */
.woocommerce-store-notice :focus-visible {
	outline-color: var(--bg);
}

/* 44px tap target; the negative margin keeps the bar as tall as before. */
.woocommerce-store-notice__dismiss-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin-block: -6px;
	margin-left: 8px;
}

@media (min-width: 900px) {
	.woocommerce-store-notice {
		font-size: 13px;
	}
}

/* ------------------------------------------------ header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line-header);
	transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.site-header.is-scrolled {
	box-shadow: var(--shadow-header);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	max-width: var(--max);
	margin-inline: auto;
	padding: 0 6px 0 4px;
}

.site-logo {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1;
}

.site-logo:hover {
	color: inherit;
}

/* Small phones (320–379px): the wordmark and actions must share one row without overflowing. */
@media (max-width: 379px) {
	.site-logo {
		font-size: 11px;
		letter-spacing: 0.18em;
	}

	.site-header__actions .text-button {
		min-width: 44px; /* Tap target; the row still fits at 320px. */
		padding-inline: 2px;
		letter-spacing: 0.08em;
	}
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
}

.cart-count__n:not(:empty)::before {
	content: "(";
}

.cart-count__n:not(:empty)::after {
	content: ")";
}

.primary-nav {
	display: none;
}

@media (min-width: 1280px) {
	.site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		padding-inline: var(--gutter);
	}

	.site-header__menu {
		display: none;
	}

	.site-logo {
		font-size: 15px;
		letter-spacing: 0.3em;
	}

	.site-header__actions {
		justify-self: end;
		gap: 18px;
	}

	.primary-nav {
		display: block;
	}

	.primary-nav > ul {
		display: flex;
		gap: 18px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.primary-nav li {
		position: relative;
	}

	.primary-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		text-decoration: none;
		white-space: nowrap;
	}

	.primary-nav > ul > .current-menu-item > a,
	.primary-nav > ul > .current-menu-ancestor > a,
	.primary-nav > ul > .current-product_cat-ancestor > a {
		text-decoration: underline;
		text-underline-offset: 6px;
	}

	.primary-nav .sub-menu {
		position: absolute;
		left: -20px;
		top: 100%;
		min-width: 240px;
		margin: 0;
		padding: 12px 20px;
		list-style: none;
		background: var(--white);
		border: 1px solid var(--line-header);
		box-shadow: var(--shadow-header);
		opacity: 0;
		visibility: hidden;
		transform: translateY(4px);
		transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
		color: var(--ink);
	}

	.primary-nav .menu-heading {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		min-height: 44px;
		padding: 0;
		border: 0;
		background: none;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.primary-nav .menu-heading .swl-icon {
		transition: transform 0.2s var(--ease);
	}

	.primary-nav li:not(.is-dismissed):hover > .menu-heading .swl-icon,
	.primary-nav .menu-heading[aria-expanded="true"] .swl-icon {
		transform: rotate(180deg);
	}

	/* Hover and keyboard focus open a group; Escape dismisses it (nav.js adds .is-dismissed until focus/pointer
	   leaves), and nav.js keeps aria-expanded in step with what is shown. */
	.primary-nav li:not(.is-dismissed):hover > .sub-menu,
	.primary-nav .menu-heading[aria-expanded="true"] + .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	/* Keyboard focus inside a group keeps it open. A mouse click also focuses the heading, and :focus-within would
	   reopen a group the click just closed once the pointer leaves, so only visible (keyboard) focus counts. A rule
	   of its own: a browser without :has() drops only this rule (nav.js still sets aria-expanded on keyboard focus). */
	.primary-nav li:not(.is-dismissed):has(:focus-visible) > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .sub-menu a {
		font-size: 11.5px;
	}
}

@media (min-width: 1440px) {
	.site-logo {
		font-size: 17px;
		letter-spacing: 0.34em;
	}

	.primary-nav > ul {
		gap: 26px;
	}

	.primary-nav a,
	.primary-nav .menu-heading {
		font-size: 12px;
	}
}

/* Overlay header: transparent over the home hero until the page scrolls (L11). */
.has-overlay-header .site-header:not(.is-solid) {
	background: transparent;
	border-bottom-color: transparent;
}

.has-overlay-header .site-header {
	margin-bottom: calc(-1 * var(--header-h) - 1px);
}

.has-overlay-header .site-header:not(.is-solid)::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: calc(var(--header-h) + 60px);
	background: linear-gradient(180deg, rgb(243 238 232 / 0.75), rgb(243 238 232 / 0));
	pointer-events: none;
	z-index: -1;
}

.site-header.is-solid {
	background: var(--white);
	border-bottom-color: var(--line-header);
	box-shadow: var(--shadow-header);
}

/* Search panel */
.site-search {
	padding: 14px var(--gutter) 18px;
	background: var(--white);
	border-top: 1px solid var(--line-header);
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 720px;
	margin-inline: auto;
}

.search-form__input {
	flex: 1;
	min-width: 0;
}

/* Drawer (mobile menu) */
.drawer {
	width: min(88vw, 420px);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0 18px 32px;
	border: 0;
	background: var(--bg);
	color: var(--ink);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.drawer::backdrop {
	background: rgb(23 19 17 / 0.35);
}

/* The page behind the menu drawer or the search palette (both modal <dialog>s) doesn't scroll. The scrollbar's
   gutter stays reserved so the page doesn't shift sideways while it's hidden. */
html:has(dialog.drawer[open], dialog.palette[open]) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.drawer[open] {
	animation: drawer-in 0.28s var(--ease);
}

@keyframes drawer-in {
	from {
		transform: translateX(-100%);
	}
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 54px;
	margin-inline: -8px;
	padding-left: 8px;
}

.drawer__nav ul,
.drawer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer__nav > ul > li {
	border-bottom: 1px solid var(--line);
}

.drawer__nav a,
.drawer__links a {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.drawer__nav .sub-menu {
	padding: 0 0 12px 2px;
}

/* Group headings ("Services", "Resources") are plain text in the drawer (a <span>, not the desktop button):
   their links are always listed under them. */
.drawer__nav .menu-heading {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.drawer__nav .sub-menu a {
	min-height: 44px;
	font-size: 15px;
	color: var(--muted);
}

.drawer__links {
	display: flex;
	flex-direction: column;
	margin-top: 24px;
}

.drawer__links a {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	min-height: 44px;
}

/* ------------------------------------------------ breadcrumbs */
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	padding-block: 16px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.breadcrumbs a {
	text-decoration: none;
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--ink);
}

.breadcrumbs .breadcrumb_last,
.breadcrumbs [aria-current] {
	color: var(--ink);
}

.breadcrumbs .sep {
	margin-inline: 6px;
}

/* ------------------------------------------------ chips */
.chips ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 var(--gutter) 2px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	margin-inline: calc(-1 * var(--gutter));
}

.chips ul::-webkit-scrollbar {
	display: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.chip:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

/* ------------------------------------------------ forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--line-control);
	border-radius: 0;
	background: var(--white);
	font-size: 16px; /* 16px stops iOS zooming on focus */
	line-height: 1.3;
	appearance: none;
}

select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23171311' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--ink);
	outline: 1px solid var(--ink);
	outline-offset: 0;
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--ink);
	vertical-align: -3px;
}

label {
	font-size: 13px;
	font-weight: 500;
}

/* ------------------------------------------------ notices (WooCommerce and theme) */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 16px 20px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--ink);
	font-size: 14px;
}

.woocommerce-error {
	border-left-color: var(--error);
	flex-direction: column;
	align-items: flex-start;
}

/* Notices without a button ("Returning customer? Click here to login") read as one line of text. */
.woocommerce-info:not(:has(.button)),
.woocommerce-message:not(:has(.button)) {
	display: block;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	min-height: 40px;
	padding-inline: 20px;
}

/* ------------------------------------------------ accordions */
.accordion {
	border-top: 1px solid var(--line);
}

.accordion:last-of-type {
	border-bottom: 1px solid var(--line);
}

.accordion__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding-block: 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.accordion__icon {
	position: relative;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
}

.accordion__icon::before,
.accordion__icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 12px;
	height: 1.2px;
	background: currentColor;
	transition: transform 0.2s var(--ease);
}

.accordion__icon::after {
	transform: rotate(90deg);
}

.accordion[open] > summary .accordion__icon::after {
	transform: rotate(0deg);
}

.accordion__body {
	padding-bottom: 22px;
	font-size: 16px;
}

/* ------------------------------------------------ depth dots */
.depth-dots {
	display: inline-flex;
	gap: 4px;
	vertical-align: middle;
	margin-right: 8px;
}

.depth-dots span {
	width: 7px;
	height: 7px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.depth-dots .on {
	background: currentColor;
}

/* ------------------------------------------------ pagination */
.pagination,
.woocommerce-pagination {
	margin-top: 56px;
}

.pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.woocommerce-pagination ul li {
	border: 0;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--bg);
}

.page-numbers.dots {
	border: 0;
}

/* ------------------------------------------------ page header (inner pages) */
.page-header {
	padding-bottom: 40px;
}

.page-header--top {
	padding-top: 32px;
}

@media (min-width: 900px) {
	.page-header--top {
		padding-top: 56px;
	}
}

.page-header h1 {
	max-width: 16ch;
}

.page-header__intro {
	max-width: 60ch;
	margin-top: 16px;
	color: var(--muted);
	font-size: 16px;
}

@media (min-width: 900px) {
	.page-header {
		padding-bottom: 56px;
	}

	.page-header__intro {
		font-size: 18px;
	}
}

/* ------------------------------------------------ footer */
.site-footer {
	margin-top: 88px;
	padding: 32px var(--gutter) 28px;
	border-top: 1px solid var(--line);
}

.site-footer__columns,
.site-footer__contact,
.site-footer__base {
	max-width: var(--max);
	margin-inline: auto;
}

.site-footer__contact {
	margin-top: 24px;
	font-size: 13px;
	color: var(--muted);
}

.site-footer__contact address {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	font-style: normal;
}

.site-footer__contact a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.footer-cols {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--line);
}

.footer-col {
	border-top: 1px solid var(--line);
}

.footer-col__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-col__links {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 0 16px;
	list-style: none;
}

.footer-col__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.site-footer__base {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 28px;
}

.site-footer__wordmark {
	max-width: 100%;
	overflow: hidden;
	font-size: clamp(20px, 7.2vw, 108px);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 0.85;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-footer__legal {
	font-size: 12px;
	color: var(--muted);
}

.site-footer__legal a {
	color: var(--muted);
}

@media (min-width: 900px) {
	.site-footer {
		padding: 56px var(--gutter) 40px;
	}

	.footer-cols {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
		border: 0;
	}

	/* Columns render closed (the phone default, so nothing shifts there); on desktop their links show anyway.
	   nav.js also opens them, for browsers without ::details-content. */
	.footer-col::details-content {
		content-visibility: visible;
		display: block;
	}

	.footer-col {
		border: 0;
	}

	.footer-col__title {
		min-height: 0;
		margin-bottom: 12px;
		color: var(--muted);
		pointer-events: none;
	}

	.footer-col__title .accordion__icon {
		display: none;
	}

	.footer-col__links {
		gap: 0;
		padding: 0;
	}

	.footer-col__links a {
		min-height: 32px;
	}

	.site-footer__base {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
		margin-top: 56px;
	}
}

/* ---------------------------------------------------------------- utilities */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	white-space: normal;
}

@media (max-width: 1279px) {
	.hide-mobile {
		display: none !important;
	}
}

@media (min-width: 1280px) {
	.show-mobile {
		display: none !important;
	}
}

/* Product photo pairs (swl_product_image_html): multiplied original below, true-color cut-out above. */
.duo {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}

.duo > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

img.duo__top,
img.no-blend {
	mix-blend-mode: normal !important;
}

/* ---------------------------------------------------------------- page transitions (Mike, 2026-09-26)
   Same-site navigations cross-fade instead of flashing white, the header holds still, and a product photo
   flies from its card into place on the product page (nav.js names the clicked card at "pageswap").
   Browsers without cross-document view transitions simply load the page. Off for reduced motion. */
@view-transition {
	navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}
}

.site-header {
	view-transition-name: site-header;
}

/* The product page's main photo is the landing spot. */
.single-product .woocommerce-product-gallery__image:first-child {
	view-transition-name: product-photo;
}

::view-transition-group(root) {
	animation-duration: 0.26s;
	animation-timing-function: var(--ease);
}

::view-transition-group(product-photo) {
	animation-duration: 0.5s;
	animation-timing-function: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* Card (portrait) and gallery (landscape) differ in shape: fill the moving box and crop, never stretch. */
::view-transition-old(product-photo),
::view-transition-new(product-photo) {
	height: 100%;
	object-fit: cover;
}

::view-transition-group(site-header) {
	z-index: 100;
}

/* Keyboard shortcut hint next to "Search" (nav.js fills it: ⌘K on Mac, Ctrl K elsewhere). */
.kbd-hint {
	display: inline-grid;
	place-items: center;
	height: 18px;
	margin-left: 6px;
	padding: 0 5px;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-family: inherit;
	font-size: 9.5px;
	letter-spacing: 0.04em;
	opacity: 0.7; /* Ink at 0.7: 6.9:1 on white, 6.4:1 on the page colour (0.55 was 4.1:1). */
	vertical-align: 1px;
}

.kbd-hint[hidden] {
	display: none;
}

/* ---------------------------------------------------------------- print: content only (orders, policies) */
@media print {
	.promo-bar,
	.woocommerce-store-notice,
	.site-header,
	.drawer,
	.sticky-atc,
	.site-footer__columns,
	.site-footer__wordmark,
	.skip-link,
	.palette {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
	}

	.site-footer {
		margin-top: 24px;
		border: 0;
	}
}
