/* ==========================================================================
   Ormusshop — core.css
   Waldmoos & Tautropfen: tokens, type, base elements, buttons, forms,
   layout primitives and the motion states core.js drives.
   Every surface sheet builds on these tokens; never hard-code a colour.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL OFL; no third-party requests) ------------- */
@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/literata-latin-standard-normal.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Literata";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/literata-latin-standard-italic.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
	/* Waldmoos — the fields that own the page */
	--moss-950: #0b1a10;
	--moss-900: #12291a;
	--moss-850: #163120;
	--moss-800: #1a3a22;
	--moss-700: #25502c;
	--moss-600: #3a6a2c;
	--moss-500: #4f7a2a;
	--moss-300: #a7c25a; /* new growth: focus, small live accents on dark */
	--moss-200: #c9da8c;

	/* Flechte — the light reading ground (greenish, never cream) */
	--lichen-50: #f2f5e8;
	--lichen-100: #e6ecd4;
	--lichen-200: #d6dfbd;
	--lichen-300: #c3cfa2;
	--lichen-400: #a9b68a;

	/* Tau-Gold — light, never decoration */
	--gold-200: #f6e2a6;
	--gold-300: #f0cf7a;
	--gold-400: #e5bc55;
	--gold-500: #d9ae45;
	--gold-600: #b98d2a;
	--gold-700: #7c5b12; /* gold as text on lichen (AA) */

	/* Humus — ink on light */
	--humus-900: #1d1a10;
	--humus-800: #2b281b;
	--humus-700: #48452f; /* secondary ink on lichen, olive-tinted */
	--humus-600: #5e5b40;

	/* Violettglas — the bottle; rationed */
	--violet-800: #241c5c;
	--violet-600: #4135a0;

	--error-600: #a3341f;
	--error-100: #f6dccf;
	--success-700: #2e5d1f;

	/* Roles */
	--bg: var(--lichen-100);
	--ink: var(--humus-900);
	--ink-soft: var(--humus-700);
	--line: color-mix(in oklab, var(--humus-900) 16%, transparent);
	--on-moss: var(--lichen-50);
	--on-moss-soft: #bccaa6;
	--line-on-moss: color-mix(in oklab, var(--lichen-50) 18%, transparent);
	--focus: var(--moss-700);
	--focus-on-moss: var(--moss-300);

	/* Type */
	--font-display: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--font-ui: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-display: clamp(3.1rem, 1.6rem + 5.6vw, 6rem);
	--fs-h1: clamp(2.5rem, 1.55rem + 3.7vw, 4.5rem);
	--fs-h2: clamp(2rem, 1.35rem + 2.5vw, 3.375rem);
	--fs-h3: clamp(1.375rem, 1.12rem + 1vw, 1.875rem);
	--fs-h4: clamp(1.125rem, 1.04rem + .35vw, 1.3125rem);
	--fs-lead: clamp(1.125rem, 1.03rem + .45vw, 1.375rem);
	--fs-body: 1.0625rem;
	--fs-small: .9375rem;
	--fs-micro: .8125rem;

	--lh-tight: 1.02;
	--lh-snug: 1.18;
	--lh-body: 1.6;

	/* Space (4px base) */
	--s-1: .25rem;
	--s-2: .5rem;
	--s-3: .75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--s-10: 8rem;
	--section-y: clamp(4.5rem, 2.5rem + 8vw, 10rem);
	--gutter: clamp(1rem, .4rem + 3vw, 3rem);
	--container: 1320px;
	--container-narrow: 46rem;
	--header-h: 76px;

	/* Shape */
	--r-xs: 6px;
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 28px;
	--r-xl: 44px;
	--r-pill: 999px;

	/* Depth: offset + soft blur, tinted by moss */
	--shadow-1: 0 1px 2px rgb(11 26 16 / .10), 0 6px 18px -8px rgb(11 26 16 / .28);
	--shadow-2: 0 2px 6px rgb(11 26 16 / .10), 0 22px 48px -18px rgb(11 26 16 / .42);
	--shadow-3: 0 6px 16px rgb(11 26 16 / .18), 0 40px 90px -30px rgb(11 26 16 / .6);

	/* Motion */
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--ease-drop: cubic-bezier(.55, 0, .85, .35); /* gravity: slow start, fast fall */
	--d-1: 160ms;
	--d-2: 320ms;
	--d-3: 700ms;
	--d-4: 1200ms;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	hanging-punctuation: first last;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

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

button { cursor: pointer; }

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

::selection { background: var(--gold-300); color: var(--moss-950); }

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: var(--r-xs);
}
.on-moss :focus-visible,
.section--moss :focus-visible,
.section--deep :focus-visible { outline-color: var(--focus-on-moss); }

[hidden] { display: none !important; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 420;
	line-height: var(--lh-snug);
	letter-spacing: -0.018em;
	text-wrap: balance;
	font-variation-settings: "opsz" 48;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.026em; font-variation-settings: "opsz" 72; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-ui); font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.display {
	font-family: var(--font-display);
	font-size: var(--fs-display);
	font-weight: 380;
	line-height: .98;
	letter-spacing: -0.035em;
	font-variation-settings: "opsz" 72;
	text-wrap: balance;
}
.display em,
h1 em,
h2 em { font-style: italic; font-weight: inherit; }

/* Latin binomials, the forest's own notation */
.species { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: 0; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 38em; }
.on-moss .lead,
.section--moss .lead,
.section--deep .lead { color: var(--on-moss-soft); }

.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); letter-spacing: .02em; }
.tabular { font-variant-numeric: tabular-nums; }

/* A meta label (never above a heading): caps, tracked, small */
.label {
	font-family: var(--font-ui);
	font-size: var(--fs-micro);
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; font-family: var(--font-ui); font-weight: 650; }
.prose a { color: var(--moss-700); }
.prose ul,
.prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
	margin: 2em 0;
	padding: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: var(--fs-h4);
	line-height: 1.45;
	color: var(--moss-800);
}

/* ---- Layout primitives --------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--lichen { background: var(--lichen-100); color: var(--ink); }
.section--pale { background: var(--lichen-50); color: var(--ink); }
.section--moss { background: var(--moss-900); color: var(--on-moss); }
.section--deep { background: var(--moss-950); color: var(--on-moss); }
.on-moss { color: var(--on-moss); }

.stack > * + * { margin-top: var(--stack, var(--s-5)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--s-4)); }

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	top: .75rem;
	left: .75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: .8rem 1.2rem;
	background: var(--gold-500);
	color: var(--moss-950);
	border-radius: var(--r-pill);
	font-weight: 650;
	text-decoration: none;
}

/* ---- Icons ---------------------------------------------------------------- */
.icon { width: 1.25em; height: 1.25em; }

/* ---- Buttons ---------------------------------------------------------------
   Pill-shaped, like a drop seen from the side. .btn--gold carries the dew
   glint: a band of light that crosses the button on hover/focus.
   ------------------------------------------------------------------------ */
.btn,
.button,
button.button,
a.button,
input[type="submit"],
.wp-element-button {
	--btn-bg: var(--moss-900);
	--btn-fg: var(--lichen-50);
	--btn-bd: transparent;
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 3.25rem;
	padding: .9rem 1.6rem;
	border: 1px solid var(--btn-bd);
	border-radius: var(--r-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-ui);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: .005em;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	transition:
		background-color var(--d-2) var(--ease-out),
		color var(--d-2) var(--ease-out),
		border-color var(--d-2) var(--ease-out),
		transform var(--d-2) var(--ease-out),
		box-shadow var(--d-2) var(--ease-out);
	-webkit-tap-highlight-color: transparent;
}
/* theme.json global styles target :root :where(.wp-element-button); keep the variant colours winning */
.btn.wp-element-button,
.button.wp-element-button { background: var(--btn-bg); color: var(--btn-fg); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform var(--d-2) var(--ease-out); }
.btn:hover .icon--arrow-right,
.btn:focus-visible .icon--arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--gold {
	--btn-bg: var(--gold-500);
	--btn-fg: var(--moss-950);
	box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 10px 30px -12px rgb(217 174 69 / .65);
}
.btn--gold:hover { --btn-bg: var(--gold-400); box-shadow: 0 1px 0 rgb(255 255 255 / .45) inset, 0 16px 40px -14px rgb(229 188 85 / .8); }

/* Tau-Glanz: the dew glint */
.btn--gold::after,
.btn--glint::after {
	content: "";
	position: absolute;
	inset: -40% auto -40% -30%;
	width: 34%;
	z-index: -1;
	background: linear-gradient(100deg, transparent, rgb(255 251 230 / .75) 45%, rgb(255 255 255 / .9) 50%, rgb(255 251 230 / .75) 55%, transparent);
	transform: translateX(-140%) skewX(-18deg);
	pointer-events: none;
}
.btn--gold:hover::after,
.btn--gold:focus-visible::after,
.btn--glint:hover::after { transition: transform 900ms var(--ease-out); transform: translateX(520%) skewX(-18deg); }

.btn--moss { --btn-bg: var(--moss-900); --btn-fg: var(--lichen-50); }
.btn--moss:hover { --btn-bg: var(--moss-700); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: color-mix(in oklab, var(--humus-900) 28%, transparent); }
.btn--ghost:hover { --btn-bg: color-mix(in oklab, var(--humus-900) 6%, transparent); --btn-bd: var(--humus-900); }

.btn--ghost-light { --btn-bg: rgb(242 245 232 / .04); --btn-fg: var(--lichen-50); --btn-bd: rgb(242 245 232 / .32); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgb(242 245 232 / .12); --btn-bd: rgb(242 245 232 / .7); }

.btn--lg { min-height: 3.75rem; padding: 1.05rem 2rem; font-size: 1.0625rem; }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 3rem; min-height: 3rem; }

.btn[disabled],
.btn.disabled,
.button.disabled,
.button:disabled,
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 1.2rem;
	height: 1.2rem;
	margin: -.6rem 0 0 -.6rem;
	border-radius: 50%;
	border: 2px solid var(--btn-fg);
	border-right-color: transparent;
	animation: ormus-spin .7s linear infinite;
}
.btn--gold.is-loading::before { border-color: var(--moss-950); border-right-color: transparent; }

/* Text link with travelling arrow */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 650;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size var(--d-2) var(--ease-out);
	padding-bottom: 2px;
}
.link-arrow:hover,
.link-arrow:focus-visible { background-size: 100% 1px; }
.link-arrow .icon { transition: transform var(--d-2) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---- Forms ---------------------------------------------------------------- */
.field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 3.25rem;
	padding: .85rem 1rem;
	border: 1px solid color-mix(in oklab, var(--humus-900) 22%, transparent);
	border-radius: var(--r-sm);
	background: var(--lichen-50);
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.3;
	transition: border-color var(--d-1) var(--ease-out), box-shadow var(--d-1) var(--ease-out), background-color var(--d-1);
	-webkit-appearance: none;
	appearance: none;
}
textarea { min-height: 8rem; resize: vertical; }
select {
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%231d1a10' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .8rem center;
	background-size: 1.1rem;
}
input::placeholder,
textarea::placeholder { color: var(--humus-600); opacity: 1; }
input:hover,
select:hover,
textarea:hover { border-color: color-mix(in oklab, var(--humus-900) 40%, transparent); }
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--moss-700);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--moss-500) 28%, transparent);
	background: var(--lichen-50);
}
input[aria-invalid="true"],
.woocommerce-invalid input { border-color: var(--error-600); }

input[type="checkbox"],
input[type="radio"] { accent-color: var(--moss-700); width: 1.1rem; height: 1.1rem; }

label { font-weight: 600; font-size: var(--fs-small); }

/* Quantity stepper used by product page, drawer and cart */
.qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid color-mix(in oklab, var(--humus-900) 22%, transparent);
	border-radius: var(--r-pill);
	background: var(--lichen-50);
	height: 3.25rem;
}
.qty-stepper button {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 100%;
	border: 0;
	background: none;
	border-radius: var(--r-pill);
	color: var(--ink);
}
.qty-stepper button:hover { background: color-mix(in oklab, var(--humus-900) 7%, transparent); }
.qty-stepper input {
	width: 2.75rem;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}
.qty-stepper input:focus { box-shadow: none; background: none; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Prices ---------------------------------------------------------------- */
.price,
.amount { font-variant-numeric: tabular-nums; }
.price del { opacity: .55; font-weight: 400; margin-right: .35em; }
.price ins { text-decoration: none; }
.price-note { display: block; font-size: var(--fs-micro); color: var(--ink-soft); font-weight: 400; letter-spacing: .01em; }
.price-note a { color: inherit; }
.on-moss .price-note,
.section--moss .price-note,
.section--deep .price-note { color: var(--on-moss-soft); }

/* ---- The dew drop: glass sphere shared by hero lens, product orb, badges --
   A drop is a lens: it inverts and magnifies what lies behind it, carries
   one hard specular highlight and a soft caustic on the far side.
   ------------------------------------------------------------------------ */
.dew {
	position: relative;
	border-radius: 50%;
	isolation: isolate;
	background:
		radial-gradient(120% 120% at 30% 25%, rgb(255 255 255 / .22), transparent 42%),
		radial-gradient(90% 90% at 70% 80%, rgb(240 207 122 / .32), transparent 60%),
		radial-gradient(closest-side, rgb(18 41 26 / 0) 70%, rgb(11 26 16 / .35) 100%);
	box-shadow:
		inset 0 2px 6px rgb(255 255 255 / .35),
		inset 0 -14px 28px rgb(11 26 16 / .35),
		0 18px 40px -16px rgb(11 26 16 / .7);
}
.dew::before { /* specular highlight */
	content: "";
	position: absolute;
	top: 12%;
	left: 22%;
	width: 26%;
	height: 16%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(255 255 255 / .95), rgb(255 255 255 / 0));
	transform: rotate(-28deg);
	z-index: 3;
	pointer-events: none;
}
.dew::after { /* caustic: light focused through the drop onto its base */
	content: "";
	position: absolute;
	bottom: 9%;
	right: 20%;
	width: 34%;
	height: 14%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(246 226 166 / .75), rgb(246 226 166 / 0));
	filter: blur(2px);
	z-index: 3;
	pointer-events: none;
}

/* Magnifier built by core.js for [data-lens] */
.lens {
	--size: 168px;
	position: absolute;
	top: 0;
	left: 0;
	width: var(--size);
	height: var(--size);
	margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
	border-radius: 50%;
	overflow: hidden;
	pointer-events: none;
	z-index: 4;
	opacity: 0;
	translate: var(--x, 0px) var(--y, 0px);
	transform: none;
	scale: .55;
	transition: opacity var(--d-2) var(--ease-out), scale var(--d-3) var(--ease-out);
	will-change: transform;
}
.lens.is-active { opacity: 1; scale: 1; }
.lens__img {
	position: absolute;
	top: 0;
	left: 0;
	max-width: none;
	transform-origin: 0 0;
	will-change: transform;
}
.lens::before,
.lens::after { z-index: 5; }

/* ---- Motion states driven by core.js -------------------------------------
   Content is visible by default. Only html.js hides it, and only until the
   observer reveals it; reduced motion skips the travel entirely.
   ------------------------------------------------------------------------ */
.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	filter: blur(6px);
	transition:
		opacity var(--d-3) var(--ease-out),
		transform var(--d-4) var(--ease-out),
		filter var(--d-3) var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; filter: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Word-by-word text effect (core.js splits [data-split]) */
.split-word { display: inline-block; white-space: pre; }
.js [data-split] .split-word {
	opacity: 0;
	transform: translate3d(0, .35em, 0);
	filter: blur(8px);
	transition:
		opacity 900ms var(--ease-out),
		transform 1100ms var(--ease-out),
		filter 900ms var(--ease-out);
	transition-delay: calc(var(--i, 0) * 55ms + var(--split-delay, 0ms));
}
.js [data-split].is-in .split-word { opacity: 1; transform: none; filter: none; }

/* Spotlight: soft gold light that follows the pointer inside a surface */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(240 207 122 / .16), transparent 55%);
	opacity: 0;
	transition: opacity var(--d-2) var(--ease-out);
	pointer-events: none;
	z-index: -1;
}
[data-spotlight]:hover::before { opacity: 1; }

/* Marquee */
[data-marquee] { overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex-shrink: 0; gap: var(--marquee-gap, 3rem); padding-right: var(--marquee-gap, 3rem); animation: ormus-marquee var(--marquee-duration, 38s) linear infinite; }
[data-marquee]:hover .marquee__track { animation-play-state: paused; }

@keyframes ormus-marquee { to { transform: translate3d(-100%, 0, 0); } }
@keyframes ormus-spin { to { transform: rotate(360deg); } }

/* ---- Notices (shared) ---------------------------------------------------- */
.notice {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	padding: 1rem 1.25rem;
	border-radius: var(--r-md);
	background: var(--lichen-50);
	border: 1px solid var(--line);
	font-size: var(--fs-small);
}
.notice--error { background: var(--error-100); border-color: color-mix(in oklab, var(--error-600) 30%, transparent); color: #5a1d10; }

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0ms !important;
	}
	.js [data-reveal],
	.js [data-split] .split-word { opacity: 1; transform: none; filter: none; }
	.marquee__track { animation: none; }
	.lens { display: none; }
}
