*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.foliora {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.02rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

a:hover {
	color: var(--forest);
}

h1,
h2,
h3,
.product_title {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 0.55em;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4.6rem);
}

h2 {
	font-size: clamp(2.05rem, 4.2vw, 3.6rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

.wrap {
	width: var(--wrap);
	margin-inline: auto;
}

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sage);
	margin: 0 0 0.85rem;
}

.lead {
	font-size: 1.08rem;
	max-width: 38rem;
	color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.fine {
	font-size: 0.82rem;
	color: var(--sage);
}

.stars {
	letter-spacing: 0.12em;
	color: var(--gold);
	font-size: 0.78rem;
}

[hidden] {
	display: none !important;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -3rem;
	background: var(--ink);
	color: var(--bg);
	padding: 0.5rem 0.8rem;
	z-index: 80;
}

.skip-link:focus {
	top: 1rem;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 3rem;
	padding: 0.75rem 1.45rem;
	border: 0;
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: #4a3a32;
	color: var(--bg);
	transform: translateY(-1px);
}

.button--ghost {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent);
}

.button--ghost:hover {
	background: color-mix(in srgb, var(--cream) 70%, transparent);
	color: var(--ink);
}

.button--small {
	min-height: 2.45rem;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

.section {
	padding: 5.5rem 0;
}

.section-head {
	max-width: 36rem;
	margin: 0 0 2.75rem;
}

.section-head h2 {
	margin-bottom: 0;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.kenburns,
.kenburns-slow {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	animation: kenburns 14s var(--ease) forwards;
}

.kenburns-slow {
	animation-duration: 18s;
}

@keyframes kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.04); }
}

.page-shell {
	padding: 6rem 0 7rem;
}

.page-shell__head {
	max-width: 38rem;
	margin-bottom: 2.5rem;
}

.page-shell__body {
	max-width: 40rem;
	font-size: 1.05rem;
}

.page-shell__body h2 {
	font-size: 2rem;
	margin-top: 2rem;
}

.journal-card {
	padding: 1.5rem 0 2rem;
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	background: var(--cream);
	border: 0;
	color: var(--ink);
	padding: 1rem 1.2rem;
}

ins {
	text-decoration: none;
	color: var(--forest);
}

del {
	color: color-mix(in srgb, var(--ink) 45%, transparent);
	margin-right: 0.4rem;
}

.save-note {
	display: inline-block;
	margin-left: 0.45rem;
	color: var(--gold);
	font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	[data-reveal],
	[data-reveal].is-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.kenburns,
	.kenburns-slow,
	.announce__track,
	.p-card__media img {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}

	.button:hover {
		transform: none;
	}
}
