/* ═══════════════════════════════════════════════════════════
   Lavena — "Kept", a warm keepsake album of Bulgarian lavender
   Warm rag paper · plum ink · Fraunces Soft + Spectral
   ═══════════════════════════════════════════════════════════ */

:root {
	--paper: #EFE9DC;
	--paper-2: #E7E0D0;
	--ink: #362A46;
	--ink-soft: #6A5F72;
	--lav: #7C63A6;
	--lav-soft: #A18CBD;
	--blush: #FBEAEF;
	--cream: #FCF1DA;
	--sage: #EAEFE0;
	--amber: #FFB819;
	--magenta: #D60057;
	--green: #77BC1F;
	--plum: #2A2140;
	--plum-cream: #F1EADD;

	--display: "Fraunces", Georgia, serif;
	--body: "Spectral", Georgia, serif;

	--wrap: 1200px;
	--pad: clamp(20px, 5vw, 72px);
	--rail-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* overflow-x guard lives on <html>, not <body> — keeping <body> free of an
   overflow context lets scroll-linked animation (GSAP ScrollTrigger) read the
   real page scroll instead of a zero-height body scroller. */
html { overflow-x: hidden; overflow-x: clip; }
body {
	font-family: var(--body);
	font-size: clamp(17px, 1.15vw, 19px);
	line-height: 1.62;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	position: relative;
}
/* faint linen grain over the whole album */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: var(--pad);
	padding-right: var(--pad);
}
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; z-index: 2; }

/* ── shared type ── */
.eyebrow {
	font-family: var(--body);
	font-variant: small-caps;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--lav);
}
.eyebrow--light { color: var(--lav-soft); }
.eyebrow--on-photo { color: #fff; opacity: 0.92; }

.section-title {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.section-title--light { color: var(--plum-cream); }
.section-intro {
	max-width: 46ch;
	color: var(--ink-soft);
	font-size: 1.08rem;
}

/* ── buttons ── */
.btn {
	display: inline-block;
	font-family: var(--body);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--solid { background: var(--lav); color: #fff; }
.btn--solid:hover { background: var(--ink); transform: translateY(-2px); }
.btn--outline { box-shadow: inset 0 0 0 1.5px var(--lav); color: var(--ink); }
.btn--outline:hover { background: var(--lav); color: #fff; transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--plum); }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px rgba(255, 184, 25, 0.8); }
.btn--quiet { color: inherit; padding-left: 0.4em; }
.btn--quiet:hover { color: var(--lav); }
.btn--lg { padding: 1em 2em; font-size: 1.05rem; }

/* ── reveal (opacity + transform only — never clip) ── */
.reveal, [data-anim] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in, [data-anim].in { opacity: 1; transform: none; }

/* ═══════════════ HEADER ═══════════════ */
.site-head {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	padding: clamp(14px, 2vw, 22px) 0;
	transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-head.is-stuck {
	padding: 10px 0;
	background: rgba(239, 233, 220, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 1px 0 rgba(54, 42, 70, 0.08);
}
.site-head__inner { display: flex; align-items: center; gap: 28px; }
.site-head__logo { position: relative; display: block; height: 46px; }
.site-head__logo img { height: 46px; width: auto; transition: opacity 0.3s ease; }
.site-head__logo-ink { position: absolute; inset: 0; opacity: 0; }
.site-head:not([data-over-hero="true"]) .site-head__logo-white { opacity: 0; }
.site-head:not([data-over-hero="true"]) .site-head__logo-ink { opacity: 1; }
.site-head__nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.site-head__nav a { position: relative; padding: 3px 0; color: #fff; transition: color 0.3s ease; }
.site-head:not([data-over-hero="true"]) .site-head__nav a { color: var(--ink); }
.site-head__nav a:not(.navmenu__trigger)::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1.5px;
	background: currentColor; transition: width 0.25s ease;
}
.site-head__nav a:not(.navmenu__trigger):hover::after { width: 100%; }
.site-head__nav a[aria-current="page"] { opacity: 0.72; }
.site-head__nav a[aria-current="page"]:not(.navmenu__trigger)::after { width: 100%; background: currentColor; opacity: 0.5; }
.site-head__burger { display: none; flex-direction: column; gap: 6px; padding: 6px; }
.site-head__burger span { width: 26px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s, background 0.3s; }
.site-head:not([data-over-hero="true"]) .site-head__burger span { background: var(--ink); }

/* language switch — EN / BG */
.site-head__lang {
	display: flex; align-items: center; gap: 6px;
	font-size: 0.875rem; font-weight: 700;
	color: rgba(255, 255, 255, 0.65); transition: color 0.3s ease;
}
.site-head__lang a { color: inherit; }
.site-head__lang a.is-active { color: #fff; }
.site-head__lang a:not(.is-active):hover { color: #fff; }
.site-head:not([data-over-hero="true"]) .site-head__lang { color: var(--ink-soft); }
.site-head:not([data-over-hero="true"]) .site-head__lang a.is-active,
.site-head:not([data-over-hero="true"]) .site-head__lang a:not(.is-active):hover { color: var(--ink); }

/* Brands dropdown — порт shadcn Navigation Menu из v2 */
.navmenu { position: relative; }
.navmenu__trigger::after {
	content: ''; display: inline-block; margin-left: 7px;
	border: 4px solid transparent; border-top-color: currentColor;
	translate: 0 2px; transition: rotate 0.18s ease;
}
.navmenu.is-open .navmenu__trigger::after { rotate: 180deg; translate: 0 -1px; }
.navmenu__panel {
	position: absolute; top: calc(100% + 12px); left: 50%;
	transform: translate(-50%, 6px);
	min-width: 210px; display: grid; padding: 8px;
	background: rgba(42, 33, 64, 0.94);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgba(241, 234, 221, 0.12);
	border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	opacity: 0; visibility: hidden;
	transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.18s;
}
.navmenu__panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.navmenu__all { display: none; }
.navmenu.is-open .navmenu__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-head .site-head__nav .navmenu__panel a {
	padding: 10px 14px; border-radius: 8px;
	font-size: 0.9375rem; font-weight: 500;
	color: rgba(241, 234, 221, 0.78);
	transition: background 0.18s ease, color 0.18s ease;
}
.site-head .site-head__nav .navmenu__panel a::after { display: none; }
.site-head .site-head__nav .navmenu__panel a:hover,
.site-head .site-head__nav .navmenu__panel a:focus-visible { background: rgba(241, 234, 221, 0.08); color: var(--plum-cream); }

/* ═══════════════ LIQUID GLASS ═══════════════ */
.liquid-glass {
	background: rgba(255, 255, 255, 0.01);
	background-blend-mode: luminosity;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: none;
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
}
.liquid-glass::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.4px;
	background: linear-gradient(180deg,
		rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
		rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
		rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}

/* ═══════════════ HERO (cinematic) ═══════════════ */
.hero {
	position: relative;
	height: 100svh;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #000;
	z-index: 2;
}

/* video layer */
.hero__videos { position: absolute; inset: 0; z-index: 0; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1000ms ease-in-out;
	z-index: 1;
}
.hero__video.is-active { opacity: 1; }

/* transparent PNG overlay with train-bob */
.hero__overlay {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 2;
	pointer-events: none;
	animation: trainBob 3s ease-in-out infinite;
	will-change: transform;
}
@keyframes trainBob {
	0%, 100% { transform: translateY(0) scale(1.03); }
	50% { transform: translateY(-6px) scale(1.03); }
}

/* legibility scrim */
.hero__scrim {
	position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(18, 12, 28, 0.35) 0%, rgba(18, 12, 28, 0) 24%, rgba(18, 12, 28, 0) 60%, rgba(18, 12, 28, 0.5) 100%);
	transition: opacity 700ms ease;
}

/* content */
.hero__inner {
	position: relative;
	z-index: 4;
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-top: clamp(76px, 11vh, 112px);
	padding-bottom: 8px;
	color: #fff;
	transition: color 700ms ease;
}

.hero__badge {
	display: inline-block;
	border-radius: 999px;
	padding: 0.6em 1.25em;
	font-family: system-ui, sans-serif;
	font-size: clamp(0.72rem, 1.1vw, 0.86rem);
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.92);
	transition: color 700ms ease;
}
.hero__title {
	font-family: "Instrument Serif", var(--display), serif;
	font-weight: 400;
	font-size: clamp(2.6rem, 7vw, 5.5rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: #fff;
	margin: 0.4em 0 0.3em;
	max-width: 18ch;
	text-shadow: 0 2px 40px rgba(10, 6, 18, 0.4);
	transition: color 700ms ease, text-shadow 700ms ease;
}
.hero__title em { font-style: italic; }
.hero__sub {
	font-family: system-ui, sans-serif;
	max-width: 34rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(1rem, 1.4vw, 1.16rem);
	line-height: 1.6;
	text-shadow: 0 1px 20px rgba(10, 6, 18, 0.45);
	transition: color 700ms ease, text-shadow 700ms ease;
}

/* CTA glass pill */
.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 1.5em;
	padding: 6px 6px 6px 8px;
	border-radius: 999px;
}
.hero__cta-btn {
	font-family: system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.98rem;
	background: #fff;
	color: #241a33;
	padding: 0.7em 1.5em;
	border-radius: 999px;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.hero__cta-btn:hover { transform: translateY(-1px); background: #F2E4C9; }
.hero__cta-link {
	font-family: system-ui, sans-serif;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.9);
	padding: 0 1em 0 0.6em;
	transition: color 700ms ease, opacity 0.25s ease;
}
.hero__cta-link:hover { opacity: 0.75; }

/* stats row (always light) */
.hero__stats {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding-bottom: clamp(20px, 4vh, 40px);
	font-family: system-ui, sans-serif;
	font-size: clamp(0.7rem, 1vw, 0.8rem);
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 0 1px 12px rgba(10, 6, 18, 0.5);
}
.hero__stats i { opacity: 0.4; font-style: normal; }

/* data-anim stagger for hero entrance */
[data-anim] { transition-delay: calc(var(--i, 0) * 90ms); }

@media (max-width: 640px) {
	.hero__cta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__overlay { animation: none; transform: scale(1.03); }
	.hero__video { transition: none; }
}

/* ═══════════════ 1 · OPENING ═══════════════ */
.opening { padding-top: clamp(80px, 12vw, 160px); }
.opening__inner { max-width: 760px; }
.opening__lead {
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	line-height: 1.5;
	color: var(--ink);
	margin-top: 1.2em;
}
.opening__lead-first { font-variant: small-caps; letter-spacing: 0.01em; }
.dropcap {
	position: relative;
	float: left;
	font-family: var(--display);
	font-style: italic;
	font-weight: 500;
	font-size: 5.2em;
	line-height: 0.74;
	padding: 0.06em 0.14em 0 0;
	color: var(--lav);
}

.trustline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 2.4em;
	padding-top: 1.6em;
	border-top: 1px solid rgba(124, 99, 166, 0.28);
	font-variant: small-caps;
	letter-spacing: 0.05em;
	font-size: 0.92rem;
	color: var(--ink-soft);
}
.trustline__sep { color: var(--lav-soft); font-size: 1.1em; line-height: 0; }

/* ═══════════════ 2 · SEVEN MOMENTS ═══════════════ */
.moments { background: var(--paper); }
.moments__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.moments__head .section-title { margin: 0.3em 0 0.4em; }

.moments__body { display: grid; grid-template-columns: 190px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }

/* sticky moment path */
.path { position: sticky; top: 18vh; align-self: start; }
.path__rule { position: relative; width: 2px; background: rgba(124, 99, 166, 0.25); margin-left: 6px; min-height: 260px; height: 62vh; }
.path__marker {
	position: absolute; left: 50%; top: 0;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--lav);
	transform: translate(-50%, -50%);
	transition: top 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
	box-shadow: 0 0 0 4px rgba(124, 99, 166, 0.18);
}
.path__stations { list-style: none; position: absolute; left: 22px; top: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.path__stations li {
	font-family: var(--body);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--lav-soft);
	transition: color 0.35s ease, opacity 0.35s ease;
	opacity: 0.55;
	white-space: nowrap;
}
.path__stations li.is-active { color: var(--ink); opacity: 1; }

/* brand spreads */
.spreads { display: flex; flex-direction: column; gap: clamp(64px, 10vw, 140px); }
.spread {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.spread--mirror { grid-template-columns: 0.85fr 1.15fr; }
.spread--mirror .spread__photo { order: 2; }

.spread__photo {
	position: relative;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 30px 60px -34px rgba(54, 42, 70, 0.5);
	aspect-ratio: 1 / 1;
}
.spread__photo img { width: 100%; height: 100%; object-fit: cover; }
.spread--product-lead .spread__photo,
.spread__photo--rose {
	background: linear-gradient(160deg, var(--blush), var(--paper-2));
	box-shadow: none;
	display: flex; align-items: center; justify-content: center;
	overflow: visible;
	aspect-ratio: 1 / 1;
}
.spread__product--hero { width: 86%; height: auto; aspect-ratio: auto; filter: drop-shadow(0 26px 34px rgba(54, 42, 70, 0.32)); }

.spread__text { position: relative; }
.spread__num {
	display: block;
	font-family: var(--display);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--lav-soft);
	margin-bottom: 0.7em;
}
.spread__logo { width: auto; margin-bottom: 1em; object-fit: contain; }
.spread__tag {
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.35rem, 2.6vw, 1.95rem);
	line-height: 1.2;
	color: var(--ink);
	margin-bottom: 0.6em;
}
.spread__text > p { max-width: 40ch; color: var(--ink-soft); }
.spread__product {
	width: 62%;
	max-width: 300px;
	margin-top: 1.6em;
	transform: rotate(-1.5deg);
	filter: drop-shadow(0 20px 26px rgba(54, 42, 70, 0.26));
}
.spread--mirror .spread__product { transform: rotate(1.5deg); }
.spread__discover {
	display: inline-block; margin-top: 1.5em;
	font-family: system-ui, sans-serif; font-weight: 600; font-size: 0.95rem;
	color: var(--deep); border-bottom: 1.5px solid var(--lav-soft); padding-bottom: 2px;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.spread__discover:hover { border-color: var(--lav); color: var(--lav); }
.spread__note-inline { font-family: var(--display); font-style: italic; color: var(--lav); margin-top: 1.2em; }
.spread__note-inline em { font-style: italic; }
.spread__gap {
	margin-top: 1em;
	font-size: 0.86rem;
	font-variant: small-caps;
	letter-spacing: 0.06em;
	color: var(--lav-soft);
}

/* hand-note callouts */
.note__line { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.9); pointer-events: none; }
.note__line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.8s ease 0.25s; }
.reveal.in .note__line path { stroke-dashoffset: 0; }
.note__tip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); opacity: 0; transition: opacity 0.4s ease 0.6s; }
.reveal.in .note__tip { opacity: 1; }
.note__text {
	position: absolute;
	font-family: var(--display);
	font-style: italic;
	font-size: 1.05rem;
	color: #fff;
	text-shadow: 0 1px 14px rgba(20, 12, 30, 0.6);
	max-width: 40%;
	line-height: 1.25;
}
.note__text--static {
	position: absolute; left: 7%; bottom: 6%; max-width: 60%;
}

/* ═══════════════ 3 · WHERE TO BUY ═══════════════ */
.buy { background: var(--blush); }
.buy__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.buy__text .section-title { margin-bottom: 0.5em; }
.buy__text p { max-width: 42ch; color: var(--ink-soft); }
.buy__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ═══════════════ 4 · HERITAGE ═══════════════ */
.heritage { background: var(--paper); }
.heritage__head { margin-bottom: clamp(28px, 4vw, 48px); }
.heritage__origin { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 110px); }
.heritage__photo {
	position: relative;
	background: #fff;
	padding: 14px 14px 46px;
	box-shadow: 0 30px 60px -30px rgba(54, 42, 70, 0.45);
	transform: rotate(-1.5deg);
	max-width: 460px;
}
.heritage__photo img { width: 100%; filter: grayscale(1) contrast(1.02); }
.heritage__photo figcaption {
	position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
	font-family: var(--display); font-style: italic; font-size: 0.95rem; color: var(--ink-soft);
}
.heritage__origin-text { position: relative; }
.heritage__year { width: clamp(180px, 26vw, 320px); height: auto; display: block; margin-bottom: 0.2em; overflow: visible; }
.heritage__year-text {
	font-family: var(--display); font-weight: 600; font-size: 108px;
	fill: none; stroke: var(--lav-soft); stroke-width: 1.4;
	stroke-dasharray: 1400; stroke-dashoffset: 1400;
	transition: stroke-dashoffset 1.6s ease 0.2s;
}
.heritage__year.in .heritage__year-text { stroke-dashoffset: 0; }
.heritage__origin-text .section-title { margin-bottom: 0.5em; }
.heritage__origin-text p { color: var(--ink-soft); max-width: 44ch; }

/* felt timeline */
.timeline { position: relative; }
.timeline__rule { position: relative; height: 4px; margin: 40px 0 0; }
.timeline__ticks {
	position: absolute; inset: 0;
	background-image: repeating-linear-gradient(90deg, rgba(124,99,166,0.4) 0 1px, transparent 1px calc(100% / 64));
	background-size: 100% 8px;
	background-position: 0 -2px;
	background-repeat: repeat-x;
	height: 8px; top: -2px;
}
.timeline__fill {
	position: absolute; left: 0; top: 1px; height: 2px;
	width: var(--tl, 0%);
	background: linear-gradient(90deg, var(--lav-soft), var(--lav));
}
.timeline__marker {
	position: absolute; top: 50%; left: var(--tl, 0%);
	width: 13px; height: 13px; border-radius: 50%;
	background: var(--lav); border: 2px solid var(--paper);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 3px rgba(124, 99, 166, 0.22);
}
.timeline__milestones { position: relative; margin-top: 22px; height: 108px; }
.timeline__ms {
	position: absolute; top: 0; left: clamp(0%, calc(var(--at) * 100%), 100%);
	width: 150px; max-width: 40vw;
	transform: translateX(-50%);
}
.timeline__ms:first-child { transform: translateX(0); text-align: left; }
.timeline__ms:last-child { transform: translateX(-100%); text-align: right; }
.timeline__ms-year { display: block; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline__ms-label { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.3; }

/* ═══════════════ 5 · OIL (B2B) ═══════════════ */
.oil { background: var(--plum); color: var(--plum-cream); padding: 0; }
.oil__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.oil__text { padding: clamp(64px, 9vw, 130px) clamp(28px, 5vw, 90px); }
.oil__intro { max-width: 46ch; color: rgba(241, 234, 221, 0.82); margin: 1em 0 2em; }
.oil__spec { border-top: 1px solid rgba(241, 234, 221, 0.2); }
.oil__spec > div {
	display: flex; justify-content: space-between; gap: 20px;
	padding: 0.85em 0;
	border-bottom: 1px solid rgba(241, 234, 221, 0.15);
}
.oil__spec dt { font-variant: small-caps; letter-spacing: 0.08em; color: var(--lav-soft); font-size: 0.9rem; }
.oil__spec dd { text-align: right; color: var(--plum-cream); }
.oil__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2.4em 0; }
.oil__mini figure { }
.oil__mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.oil__mini figcaption { font-family: var(--display); font-style: italic; font-size: 0.85rem; color: var(--lav-soft); margin-top: 8px; }
.oil__still { position: relative; overflow: hidden; }
.oil__still img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }

/* ═══════════════ 6 · CLOSING ═══════════════ */
.closing { background: var(--paper); padding: clamp(70px, 9vw, 130px) 0 calc(var(--rail-h) + 40px); position: relative; z-index: 2; }
.closing__mark { text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.closing__rule { display: block; width: 60%; max-width: 420px; height: 1px; margin: 0 auto 28px; background: rgba(124, 99, 166, 0.3); position: relative; }
.closing__rule::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: rgba(124, 99, 166, 0.3); }
.closing__mark img { margin: 0 auto 20px; }
.closing__signoff { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--ink); }
.closing__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.closing__col h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.9em; color: var(--ink); }
.closing__col p { color: var(--ink-soft); margin-bottom: 1em; }
.closing__col a { transition: color 0.2s ease; }
.closing__col a:hover { color: var(--lav); }
.closing__brands, .closing__more { list-style: none; columns: 2; column-gap: 18px; }
.closing__more { columns: 1; }
.closing__brands li, .closing__more li { margin-bottom: 0.5em; color: var(--ink-soft); }
.closing__foot {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: clamp(40px, 6vw, 72px); padding-top: 24px;
	border-top: 1px solid rgba(124, 99, 166, 0.24);
	font-size: 0.86rem; color: var(--ink-soft);
}
.closing__locator { font-variant: small-caps; letter-spacing: 0.06em; }

/* ═══════════════ KEEPSAKE RAIL ═══════════════ */
.rail {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
	height: var(--rail-h);
	background: rgba(42, 33, 64, 0.95);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--plum-cream);
	transform: translateY(100%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	padding-bottom: env(safe-area-inset-bottom);
}
.rail.is-shown { transform: none; }
.rail__inner { display: flex; align-items: center; justify-content: space-between; height: var(--rail-h); gap: 16px; }
.rail__moment { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--plum-cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__cta { font-weight: 600; font-size: 0.95rem; color: var(--amber); white-space: nowrap; transition: opacity 0.2s ease; }
.rail__cta:hover { opacity: 0.8; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
	.site-head__nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
		/* backdrop-filter на .is-stuck шапке делает её containing block для fixed —
		   без явной высоты меню схлопывается до высоты шапки */
		height: 100vh; height: 100dvh; overflow-y: auto;
		background: var(--paper); flex-direction: column; align-items: stretch; gap: 6px;
		padding: 96px 40px 40px; box-shadow: -20px 0 60px -24px rgba(54,42,70,0.4);
		transform: translateX(105%); transition: transform 0.35s ease; z-index: 65;
	}
	.site-head__nav a { color: var(--ink); font-size: 1.15rem; padding: 10px 0; }
	.site-head__nav.is-open { transform: none; }
	/* в мобильном меню дропдаун разворачивается в обычный вложенный список */
	.navmenu__trigger {
		display: flex; align-items: center; justify-content: space-between;
		width: 100%; gap: 12px;
	}
	.navmenu__trigger::after {
		display: inline-block; flex: none; margin-left: 0;
		border: 5px solid transparent; border-top-color: currentColor;
		translate: 0 3px; transition: rotate 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	}
	.navmenu.is-open .navmenu__trigger::after { rotate: 180deg; translate: 0 -2px; }
	.navmenu__panel {
		position: static; transform: none;
		min-width: 0; padding: 0 0 0 16px;
		background: none; border: none; box-shadow: none;
		-webkit-backdrop-filter: none; backdrop-filter: none;
		opacity: 0; visibility: hidden; max-height: 0; overflow: hidden;
		transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0.34s;
	}
	.navmenu.is-open .navmenu__panel {
		transform: none; opacity: 1; visibility: visible; max-height: var(--navmenu-h, 480px);
	}
	.navmenu__panel::before { display: none; }
	.navmenu__all { display: block; }
	.site-head .site-head__nav .navmenu__panel a.navmenu__all { color: var(--ink); font-weight: 600; }
	.site-head .site-head__nav .navmenu__panel a { color: var(--ink-soft); font-size: 1rem; padding: 7px 0; border-radius: 0; }
	.site-head .site-head__nav .navmenu__panel a:hover { background: none; color: var(--ink); }
	.site-head__lang { margin-left: auto; position: relative; z-index: 70; }
	/* при открытом меню EN/BG лежит поверх бумажного полотна ящика, а цвет ему задаёт
	   состояние шапки (над героем — белый), поэтому переключатель сливался с фоном.
	   Фиксируем чернильные цвета и оборачиваем в «таблетку», чтобы он читался в любом
	   состоянии шапки и явно отделялся от крестика и от ссылок меню.
	   transition:none — иначе цвет доезжает до чернильного 0.3s и в начале выезда
	   меню «BG» успевает мелькнуть выцветшим. */
	body.menu-open .site-head .site-head__lang {
		gap: 8px;
		padding: 5px 12px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.55);
		box-shadow: inset 0 0 0 1px rgba(124, 99, 166, 0.32);
		color: var(--ink-soft);
		transition: none;
	}
	/* базовое :hover красит ссылку в #fff — на светлой таблетке это снова нечитаемо,
	   а на тач-экране hover залипает на последнем тапнутом элементе */
	body.menu-open .site-head .site-head__lang a.is-active,
	body.menu-open .site-head .site-head__lang a:not(.is-active):hover { color: var(--ink); }
	body.menu-open .site-head .site-head__lang a:focus-visible { color: var(--ink); }
	.site-head__burger { display: flex; z-index: 70; }
	.site-head__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--ink); }
	.site-head__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--ink); }

	.moments__body { grid-template-columns: 1fr; }
	.path { display: none; }
	.spread, .spread--mirror { grid-template-columns: 1fr; gap: 24px; }
	/* на узком экране сначала читается текст с продуктом, фото идёт следом */
	.spread .spread__text { order: 1; }
	.spread .spread__photo, .spread--mirror .spread__photo { order: 2; }
	.spread__product { width: 46%; }

	.heritage__origin { grid-template-columns: 1fr; gap: 32px; }
	.heritage__photo { margin: 0 auto; }
	.oil__grid { grid-template-columns: 1fr; }
	.oil__still { min-height: 300px; order: -1; }
	.buy__inner { grid-template-columns: 1fr; }
	.closing__cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.hero { align-items: flex-end; }
	.hero__scroll { display: none; }
	.hero__cta { flex-direction: column; align-items: stretch; }
	.hero__cta .btn { text-align: center; }
	.note__line, .note__tip { display: none; }
	.note__text {
		position: static; max-width: none; display: block;
		margin-top: 10px; color: var(--ink-soft); text-shadow: none; font-size: 0.98rem;
	}
	.note__text--static { position: static; }
	.trustline {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.62em;
		font-size: 0.84rem;
		letter-spacing: 0.06em;
		line-height: 1.25;
	}
	.trustline .trustline__sep { display: none; }
	.trustline > span[role="listitem"]::after {
		content: "\00A0\00B7";
		content: "\00A0\00B7" / "";
		color: var(--lav-soft);
		font-size: 1.15em;
	}
	.timeline__ms-label { display: none; }
	.timeline__ms--mid { display: none; }
	.timeline__milestones { height: 40px; }
	.closing__brands { columns: 1; }
	.closing__foot { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   SHARED SITE SYSTEM — page transitions, parallax, interior pages
   ═══════════════════════════════════════════════════════════ */

/* page fade-in / transition */
.page-fade {
	position: fixed; inset: 0; z-index: 200; pointer-events: none;
	background: var(--paper);
	opacity: 1;
	transition: opacity 0.5s ease;
}
body.is-ready .page-fade { opacity: 0; }
body.is-leaving .page-fade { opacity: 1; pointer-events: all; transition: opacity 0.32s ease; }
body.menu-open { overflow: hidden; }

/* top scroll progress */
.scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
	transform: scaleX(0); transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--lav-soft), var(--lav), #C08CC4);
	pointer-events: none;
}

/* reveal directions (standalone — carry their own opacity + transition) */
.reveal--left, .reveal--right, .reveal--zoom {
	opacity: 0;
	transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(0.92); }
.reveal--left.in, .reveal--right.in, .reveal--zoom.in { transform: none; opacity: 1; }

/* parallax */
[data-parallax] { will-change: transform; }

/* ═══════════════ INTERIOR PAGE HERO ═══════════════ */
.pagehero {
	position: relative;
	min-height: 62svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #000;
	padding-bottom: clamp(40px, 7vh, 90px);
}
.pagehero--tall { min-height: 78svh; }
.pagehero__media { position: absolute; inset: -6% 0; z-index: 0; }
.pagehero__media img, .pagehero__media video { width: 100%; height: 100%; object-fit: cover; }
.pagehero__scrim {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(to top, rgba(20,13,32,0.88) 0%, rgba(20,13,32,0.5) 42%, rgba(20,13,32,0.28) 100%),
		linear-gradient(to right, rgba(20,13,32,0.52) 0%, rgba(20,13,32,0) 62%);
}
.pagehero__accent {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: radial-gradient(120% 80% at 15% 100%, var(--accent-glow, transparent) 0%, transparent 55%);
	mix-blend-mode: screen; opacity: 0.5;
}
.pagehero__inner { position: relative; z-index: 2; width: 100%; }
.breadcrumb {
	font-family: system-ui, sans-serif;
	font-variant: small-caps;
	letter-spacing: 0.08em;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.72);
	margin-bottom: 1em;
}
.breadcrumb a { color: rgba(255,255,255,0.72); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; margin: 0 0.4em; }
.pagehero__eyebrow { font-family: system-ui, sans-serif; font-variant: small-caps; letter-spacing: 0.14em; font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 0.6em; }
.pagehero__title {
	font-family: "Instrument Serif", var(--display), serif;
	font-weight: 400;
	font-size: clamp(2.8rem, 8vw, 6rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: #fff;
	max-width: 16ch;
	text-shadow: 0 2px 40px rgba(10,6,18,0.4);
}
.pagehero__title em { font-style: italic; color: #F2E4C9; }
.pagehero__sub {
	font-family: system-ui, sans-serif;
	max-width: 40rem;
	margin-top: 1.1em;
	color: rgba(255,255,255,0.9);
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.6;
}

/* ═══════════════ GENERIC PAGE SECTIONS ═══════════════ */
.slab { padding: clamp(72px, 11vw, 150px) 0; position: relative; z-index: 2; }
.slab--paper { background: var(--paper); }
.slab--mist { background: var(--lav-mist); }
.slab--plum { background: var(--plum); color: var(--plum-cream); }
.slab__lead {
	font-family: var(--display);
	font-weight: 500;
	font-style: italic;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.18;
	max-width: 20ch;
	color: var(--deep);
}
.slab--plum .slab__lead { color: var(--plum-cream); }

.statement {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--deep);
	max-width: 22ch;
}
/* акцентное слово — Playfair Display italic (курсив Fraunces слишком вычурный);
   0.96em выравнивает его по росту с Fraunces в той же строке */
.statement em {
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-weight: 500;
	font-size: 0.96em;
	letter-spacing: 0;
	color: var(--lav);
}

/* two-column media + text row */
.mediarow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.mediarow--mirror .mediarow__media { order: 2; }
.mediarow__media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(54,42,70,0.5); aspect-ratio: 4/5; }
/* широкий кадр — для горизонтальных фото (завод и т.п.), чтобы не резались */
.mediarow__media--wide { aspect-ratio: 16/10; align-self: center; }
.mediarow__media img { width: 100%; height: 116%; object-fit: cover; }
.mediarow__k { font-family: system-ui, sans-serif; font-variant: small-caps; letter-spacing: 0.12em; font-size: 0.85rem; color: var(--lav); margin-bottom: 1em; }
.mediarow__title { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.14; color: var(--deep); margin-bottom: 0.6em; }
.mediarow__title em {
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-weight: 500;
	font-size: 0.96em;
	letter-spacing: 0;
	color: var(--lav);
}
.mediarow__text p { color: var(--ink-soft); max-width: 42ch; margin-bottom: 1em; }

/* feature trio (closed cycle etc.) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 34px); }
.trio__item { padding: clamp(24px, 3vw, 40px); border-radius: 16px; background: rgba(255,255,255,0.5); border: 1px solid rgba(124,99,166,0.14); }
.slab--plum .trio__item { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.trio__item h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--deep); margin: 0.5em 0 0.4em; }
.slab--plum .trio__item h3 { color: var(--plum-cream); }
.trio__item p { color: var(--ink-soft); font-size: 0.98rem; }
.slab--plum .trio__item p { color: var(--lav-soft); }

/* full-bleed parallax quote band */
.quoteband { position: relative; overflow: hidden; padding: clamp(110px, 20vh, 240px) 0; background: #1a1226; z-index: 2; }
.quoteband__bg { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.quoteband__bg img { width: 100%; height: 100%; object-fit: cover; }
.quoteband__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(20,13,32,0.86) 0%, rgba(20,13,32,0.5) 55%, rgba(20,13,32,0.3) 100%); }
.quoteband__inner { position: relative; z-index: 2; max-width: 940px; }
.quoteband__q {
	font-family: "Instrument Serif", var(--display), serif;
	font-style: italic; font-weight: 400;
	font-size: clamp(2rem, 5vw, 4rem); line-height: 1.18;
	color: #fff; text-shadow: 0 2px 30px rgba(10,6,18,0.4);
}
.quoteband__q::before { content: "“"; color: var(--lav-soft); }
.quoteband__q::after { content: "”"; color: var(--lav-soft); }
.quoteband__cite { display: block; margin-top: 1.3em; font-family: system-ui, sans-serif; font-style: normal; font-variant: small-caps; letter-spacing: 0.1em; font-size: 0.95rem; color: var(--lav-soft); }

/* big stat band (facts as words, not tiles) */
.factline { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: baseline; font-variant: small-caps; letter-spacing: 0.05em; color: var(--ink-soft); }
.factline b { font-family: var(--display); font-weight: 600; font-variant: normal; font-size: 1.5em; color: var(--deep); margin-right: 0.15em; }
.factline .sep { color: var(--lav-soft); }

/* ═══════════════ BRANDS INDEX ═══════════════ */
.brandgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.brandcard {
	position: relative; display: block; overflow: hidden; border-radius: 6px;
	aspect-ratio: 3/2; min-height: 260px;
	box-shadow: 0 30px 60px -34px rgba(54,42,70,0.5);
	color: #fff;
}
.brandcard--wide { grid-column: span 2; aspect-ratio: 3/1.1; }
.brandcard__img { position: absolute; inset: 0; z-index: 0; }
.brandcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.brandcard:hover .brandcard__img img { transform: scale(1.06); }
.brandcard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(24,16,38,0.8) 0%, rgba(24,16,38,0.15) 55%, rgba(24,16,38,0.35) 100%); }
.brandcard__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(22px, 3vw, 40px); }
.brandcard__logo { height: 34px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.96; }
.brandcard__tag { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.2; }
.brandcard__more { display: inline-block; margin-top: 10px; font-family: system-ui, sans-serif; font-size: 0.9rem; font-weight: 600; opacity: 0.9; }
.brandcard__more::after { content: " →"; }

/* product-lead card (brands with no lifestyle photo) */
.brandcard--light { background: linear-gradient(165deg, var(--blush), var(--paper-2)); color: var(--ink); }
.brandcard--light::after { background: linear-gradient(to top, rgba(251,234,239,0.9) 0%, rgba(251,234,239,0) 58%); }
.brandcard__product { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; padding: 10% 10% 34%; }
.brandcard__product img { max-height: 82%; width: auto; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(54,42,70,0.24)); transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.brandcard--light:hover .brandcard__product img { transform: scale(1.05); }
.brandcard--light .brandcard__logo { filter: none; }
.brandcard--light .brandcard__tag, .brandcard--light .brandcard__more { color: var(--deep); }

/* ═══════════════ BRAND PAGE ═══════════════ */
.brandlines { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.brandline {
	padding: clamp(26px, 3vw, 44px); border-radius: 16px;
	background: var(--accent-soft, var(--lav-mist));
	position: relative; overflow: hidden;
}
.brandline h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--deep); margin: 0.6em 0 0.4em; }
.brandline p { color: var(--ink-soft); font-size: 0.98rem; }
.brandproduct { text-align: center; }
.brandproduct img { width: 78%; max-width: 360px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(54,42,70,0.28)); }
.brand-ingredient { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--lav); }

/* accent pill / button using brand accent */
.pill {
	display: inline-flex; align-items: center; gap: 0.5em;
	font-family: system-ui, sans-serif; font-weight: 600; font-size: 1rem;
	background: var(--accent, var(--deep)); color: #fff;
	padding: 0.85em 1.7em; border-radius: 999px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px var(--accent, var(--deep)); }

/* ═══════════════ CONTACT ═══════════════ */
.contactgrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-card { }
.contact-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--deep); margin-bottom: 0.6em; }
.contact-card p { color: var(--ink-soft); margin-bottom: 1.2em; line-height: 1.8; }
.contact-card a { color: var(--deep); border-bottom: 1px solid var(--lav-soft); transition: border-color 0.2s; }
.contact-card a:hover { border-color: var(--lav); }
.locator {
	position: relative; border-radius: 6px; overflow: hidden; min-height: 340px;
	background: linear-gradient(160deg, var(--lav-mist), var(--paper-2));
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding: 40px; box-shadow: inset 0 0 0 1px rgba(124,99,166,0.14);
}
.locator__sprig { width: 46px; margin-bottom: 18px; opacity: 0.85; }
.locator__place { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--deep); }
.locator__coords { font-family: system-ui, sans-serif; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--lav); margin-top: 10px; }

/* where-to-buy note */
.buynote { font-size: 0.9rem; color: var(--lav); font-variant: small-caps; letter-spacing: 0.05em; margin-top: 1em; }

/* inline "read more" link */
.link-more {
	display: inline-block; margin-top: 1.4em;
	font-family: system-ui, sans-serif; font-weight: 600; font-size: 0.95rem;
	color: var(--lav); border-bottom: 1.5px solid transparent; padding-bottom: 2px;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.link-more:hover { border-color: var(--lav); color: var(--deep); }

/* section heading block */
.headblock { max-width: 780px; margin-bottom: clamp(36px, 5vw, 70px); }
.headblock--center { margin-left: auto; margin-right: auto; text-align: center; }
.headblock .eyebrow { margin-bottom: 1em; display: block; }

/* ═══════════════ RESPONSIVE (shared) ═══════════════ */
@media (max-width: 900px) {
	.mediarow, .mediarow--mirror { grid-template-columns: 1fr; }
	.mediarow--mirror .mediarow__media { order: 0; }
	/* one column here: the JS parallax translates the whole media card (up to ~50px down)
	   straight into the text row below, and the grid gap is only 28px — so pin the card */
	.mediarow__media { transform: none !important; will-change: auto !important; }
	.trio { grid-template-columns: 1fr; }
	.brandlines { grid-template-columns: 1fr; }
	.brandgrid { grid-template-columns: 1fr; }
	/* aspect-ratio + min-height together drive width from height and overflow the column — drop it on mobile */
	.brandcard, .brandcard--wide { grid-column: span 1; aspect-ratio: auto; min-height: 300px; }
	.contactgrid { grid-template-columns: 1fr; }
	/* horizontal slide-in overflows narrow screens — rise vertically instead */
	.reveal--left, .reveal--right { transform: translateY(30px); }
	.reveal--left.in, .reveal--right.in { transform: none; }
}

/* defensive: never let a long word cause horizontal overflow */
.pagehero__title, .hero__title, .statement, .mediarow__title, .section-title, .brandcard__tag, .slab__lead { overflow-wrap: break-word; }

/* ═══════════════ PREMIUM MOTION POLISH ═══════════════ */
/* cinematic blur-in on headings + content blocks */
.reveal, [data-anim] { transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1), filter 0.75s ease; }
.statement.reveal, .pagehero__title, .mediarow__title.reveal, .section-title.reveal { filter: blur(9px); }
.statement.reveal.in, .pagehero__title.in, .mediarow__title.reveal.in, .section-title.reveal.in { filter: blur(0); }
.reveal--left, .reveal--right, .reveal--zoom {
	filter: blur(6px);
	transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1), filter 0.85s ease;
}
.reveal--left.in, .reveal--right.in, .reveal--zoom.in { filter: blur(0); }
/* media hover micro-interactions */
.mediarow__media { will-change: transform; }
.mediarow__media img { transition: transform 1.1s cubic-bezier(0.22,1,0.36,1); }
.mediarow__media:hover img { transform: scale(1.05); }
.brandproduct img { transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.brandproduct:hover img { transform: translateY(-8px) scale(1.02); }

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, [data-anim], .reveal--left, .reveal--right, .reveal--zoom,
	.statement.reveal, .pagehero__title, .mediarow__title.reveal, .section-title.reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
	.hero__media img { transform: none; }
	.note__line path { stroke-dashoffset: 0; transition: none; }
	.note__tip { opacity: 1; transition: none; }
	.heritage__year-text { stroke-dashoffset: 0; transition: none; }
	.path__marker, .timeline__marker { transition: none; }
	.rail { transition: none; }
	[data-parallax] { transform: none !important; }
	.page-fade { display: none; }
	.hero__videos, .pagehero__media { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   Maternea — scroll-driven cream showcase
   ═══════════════════════════════════════════════════════════ */
.cream-showcase {
	position: relative;
	height: 260vh;               /* scroll length that drives the animation */
	background: linear-gradient(180deg, var(--paper) 0%, var(--blush) 45%, var(--paper) 100%);
}
.cream-showcase__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: grid;
	place-items: center;
}
.cream-showcase__glow {
	position: absolute;
	width: min(60vw, 640px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent-soft, #FBE9EF) 0%, rgba(255,255,255,0) 68%);
	filter: blur(8px);
	opacity: 0.9;
	pointer-events: none;
}
.cream-showcase__head {
	position: absolute;
	top: clamp(28px, 8vh, 88px);
	left: 0; right: 0;
	text-align: center;
	padding: 0 var(--pad);
	z-index: 2;
}
.cream-showcase__head .eyebrow { color: var(--accent, var(--lav)); }
.cream-showcase__head h2 {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(1.9rem, 4.6vw, 3.2rem);
	line-height: 1.05;
	color: var(--ink);
	margin: 0.25em 0 0;
}
.cream-stage {
	position: relative;
	width: min(92vw, 940px);
	height: 72vh;
	display: grid;
	place-items: center;
}
.cream-stage__float { will-change: transform; }
.cream-stage__bottle {
	display: block;
	height: min(62vh, 560px);
	width: auto;
	filter: drop-shadow(0 34px 46px rgba(54,42,70,0.28));
	transform-origin: 50% 55%;
	will-change: transform, opacity;
}
.cream-cap {
	position: absolute;
	max-width: 230px;
	opacity: 0;
	z-index: 3;
	pointer-events: none;
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
.cream-cap b {
	display: block;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--ink);
	line-height: 1.2;
}
.cream-cap span.cream-cap__t {
	display: block;
	font-size: 0.9rem;
	color: var(--ink-soft);
	margin-top: 4px;
	line-height: 1.35;
}
.cream-cap--1 { top: 16%;  left: 4%;  transform: translateX(-24px); text-align: left; }
.cream-cap--2 { top: 44%;  right: 4%; transform: translateX(24px);  text-align: right; }
.cream-cap--3 { bottom: 12%; left: 8%; transform: translateY(24px);  text-align: left; }
.cream-cap.is-in { opacity: 1; transform: none; }

@media (max-width: 720px) {
	.cream-showcase { height: 230vh; }
	.cream-stage__bottle { height: min(52vh, 420px); }
	.cream-cap { max-width: 46vw; }
	.cream-cap--1 { top: 12%;  left: 2%; }
	.cream-cap--2 { top: 46%;  right: 2%; }
	.cream-cap--3 { bottom: 8%; left: 4%; }
	.cream-cap b { font-size: 0.92rem; }
	.cream-cap span.cream-cap__t { font-size: 0.8rem; }
}

/* Phone / small tablet: the stage is too narrow to keep the captions clear of
   the product, so they land on it (measured 49-72% box overlap at 390px, at
   every scroll offset where the caption is .is-in). Each brand ships its own
   bottle - pale blue, black-banded purple, red, bright yellow - so no text
   colour can survive all seven pages. Each caption therefore gets a frosted
   chip of the page's own paper: a near-opaque, brand-independent backing, so
   contrast is the same everywhere. At >=901px the captions never touch the
   product, so the desktop composition is left exactly as it is. */
@media (max-width: 900px) {
	.cream-cap {
		padding: 10px 12px 11px;
		border-radius: 14px;
		background: color-mix(in srgb, var(--paper) 92%, transparent);
		-webkit-backdrop-filter: blur(10px) saturate(1.06);
		backdrop-filter: blur(10px) saturate(1.06);
		box-shadow: 0 14px 30px -20px rgba(54,42,70,0.55), inset 0 0 0 1px color-mix(in srgb, var(--accent, var(--lav-soft)) 16%, transparent);
	}
	.cream-cap span.cream-cap__t { color: color-mix(in srgb, var(--ink) 82%, var(--ink-soft)); }
}

@media (prefers-reduced-motion: reduce) {
	.cream-showcase { height: auto; }
	.cream-showcase__sticky { position: relative; height: auto; padding: clamp(60px,10vh,120px) 0; }
	.cream-showcase__head { position: static; }
	.cream-stage { height: auto; }
	.cream-stage__bottle { opacity: 1 !important; }
	/* Un-pinned and stacked in normal flow, the captions are never on the
	   product, so the mobile chip has no contrast job here - drop it. The
	   darkened sentence colour survives: it is a different selector. */
	.cream-cap { position: static; opacity: 1; max-width: none; margin: 12px auto; text-align: center;
		padding: 0; background: none; box-shadow: none;
		-webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ═══════════════════════════════════════════════════════════
   Since 1962 — pinned era slider (scroll drives the timeline)
   ═══════════════════════════════════════════════════════════ */
.heritage--pin { height: 460vh; padding: 0; position: relative; z-index: 2; }
.heritage__sticky {
	position: sticky; top: 0; height: 100vh;
	display: flex; align-items: center;
	overflow: hidden;
}
.heritage__sticky > .wrap { width: 100%; }
.heritage__pin-eyebrow { margin-bottom: clamp(18px, 3vh, 40px); }

.eras { position: relative; height: min(56vh, 540px); }
.era {
	position: absolute; inset: 0;
	display: grid; grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 5vw, 72px); align-items: center;
	opacity: 0; visibility: hidden; transform: translateY(26px);
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,0.61,0.36,1), visibility 0s linear 0.55s;
}
.era.is-active {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,0.61,0.36,1), visibility 0s;
}
.era__photo {
	position: relative; margin: 0;
	height: min(52vh, 500px);
	border-radius: 6px; overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(54,42,70,0.45);
}
.era__photo img { width: 100%; height: 100%; object-fit: cover; }
/* фото 1962 почти квадратное; на широких экранах бокс уже пропорций снимка и
   режет по бокам — сдвигаем кадр влево (в оригинале справа есть запас пустого
   фона), чтобы крайний слева работник не срезался. По вертикали чуть выше
   центра — держим головы бригады. На мобиле перекрывается правилом ниже. */
.era__photo--mono img { filter: grayscale(1) contrast(1.02); object-position: 12% 38%; }
.era__year {
	display: block;
	font-family: var(--display); font-weight: 600;
	font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1;
	color: var(--lav); font-variant-numeric: tabular-nums;
	margin-bottom: 0.12em;
}
.era__title {
	font-family: var(--display); font-weight: 500;
	font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.12;
	color: var(--ink); margin: 0 0 0.5em;
}
.era__text p { color: var(--ink-soft); max-width: 44ch; }

/* milestones dim until their era is active */
.heritage--pin .timeline { margin-top: clamp(22px, 4vh, 44px); }
.heritage--pin .timeline__ms { opacity: 0.42; transition: opacity 0.3s ease; }
.heritage--pin .timeline__ms.is-on { opacity: 1; }

@media (max-width: 720px) {
	.heritage--pin { height: 400vh; }
	/* svh, not vh: the pinned frame has to fit the SMALL viewport, so nothing
	   hides behind the mobile address bar; the bottom rail keeps its 52px */
	.heritage__sticky { height: 100svh; padding: 72px 0 var(--rail-h); }
	/* the five slides share one grid cell, so .eras is exactly as tall as the
	   tallest slide and no dead band opens between the text and the timeline */
	.eras { display: grid; height: auto; }
	.era { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; gap: 16px; align-content: start; }
	/* a plain svh height (not aspect-ratio, which would shrink the box
	   sideways as soon as a height cap binds): the photo keeps filling its
	   column and stops resizing when the mobile toolbar slides away */
	.era__photo { height: min(30svh, 300px); }
	/* фото 1962 — почти квадратное портретное; в широкой мобильной рамке
	   центральный crop срезал головам бригады макушки, поэтому кадрируем
	   ближе к верху (выше специфичность — перебивает и короткий блок ниже) */
	.heritage--pin .era__photo--mono img { object-position: 50% 14%; }
	.era__year { font-size: 2.2rem; }
	.era__title { font-size: 1.35rem; }
	.era__text p { font-size: 0.95rem; }

	/* compact timeline: all five years stay on the rule and each one is
	   centred on its own --at, exactly like the marker, so the dot always
	   lands on the year it is lighting up */
	.heritage--pin .timeline { padding: 0 34px; }
	.heritage--pin .timeline__ms--mid { display: block; }
	.heritage--pin .timeline__ms-label { display: none; }
	.heritage--pin .timeline__ms {
		width: auto; max-width: none; white-space: nowrap;
		transform: translateX(-50%); text-align: center;
	}
	.heritage--pin .timeline__ms:first-child,
	.heritage--pin .timeline__ms:last-child { transform: translateX(-50%); text-align: center; }
	.heritage--pin .timeline__ms-year { font-size: 0.95rem; }
	.heritage--pin .timeline__milestones { margin-top: 14px; height: 26px; }
}

/* Short phones (iPhone SE / 8 class): the full composition does not fit the
   pinned frame — tighten it instead of pushing the years behind the rail. */
@media (max-width: 720px) and (max-height: 700px) {
	.heritage__pin-eyebrow { margin-bottom: 10px; }
	.era { gap: 10px; }
	.era__photo { height: 24svh; }
	/* the band is short enough to cut heads off with the default centre crop */
	.era__photo img { object-position: 50% 30%; }
	.era__year { font-size: 1.9rem; }
	.heritage--pin .timeline { margin-top: 14px; }
	.heritage--pin .timeline__rule { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.heritage--pin { height: auto; }
	.heritage__sticky { position: relative; height: auto; padding: clamp(72px, 11vw, 150px) 0; }
	/* display/grid-area undo the mobile one-cell stacking above — without them
	   the five eras would print on top of each other in reduced motion */
	.eras { height: auto; display: block; }
	.era { position: static; grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 56px; }
	.heritage--pin .timeline { display: none; }
}
