/* Soler — content pages rebuilt in the theme: За нас, Контакти, 404, search. Same language as the
   homepage (measured at 1440px, 1vw = 14.4px): chapter marks, photos pinned with paper labels, the
   sand panel, the hanging amphitheatre card, painted flowers. Analog by intent — no digital HUD. */

/* ---------------------------------------------------------------------------
   Pieces shared with the homepage (home.css is loaded only there)
   ------------------------------------------------------------------------- */

.chapter {
	display: inline-flex;
	align-items: baseline;
	gap: 0.7vw;
	margin-bottom: 1.4vw;
	color: var(--green);
	font-size: clamp(14px, 1.04vw, 17px);
	font-style: italic;
}

.chapter__num {
	font-size: 1.25em;
	letter-spacing: 0.04em;
}

.chapter__label::before {
	content: "· ";
}

.chapter__flourish {
	align-self: center;
	width: clamp(40px, 4.4vw, 70px);
	height: auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.6s var(--ease-out) 0.2s;
}

.motion .chapter:not(.is-drawn) .chapter__flourish {
	stroke-dashoffset: 1;
}

/* Specimen label: a small paper tag pinned to a photo, like a herbarium sheet. */
.label-tag {
	display: inline-block;
	padding: 0.45em 0.9em 0.5em;
	background: var(--cream);
	color: var(--ink);
	font-size: clamp(13px, 0.97vw, 16px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 6px 14px -8px rgba(0, 0, 0, 0.35);
	transform: rotate(-1.2deg);
}

.label-tag em {
	margin-right: 0.3em;
	color: var(--green);
}

/* "Отворено · до 21 ч": a quiet italic note with a softly breathing dot. */
.status {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	margin-bottom: 1.4vw;
	color: var(--green);
	font-size: clamp(14px, 1.04vw, 17px);
	font-style: italic;
}

.status__dot {
	width: 0.5em;
	height: 0.5em;
	background: var(--green);
	border-radius: 50%;
	animation: status-breathe 3.2s ease-in-out infinite;
}

.status.is-closed {
	color: #8a6a3c;
}

.status.is-closed .status__dot {
	background: #b08a52;
	animation: none;
}

@keyframes status-breathe {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.35; transform: scale(0.75); }
}

/* Buttons: <button class="btn"> and the outlined variant. */
button.btn {
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

button.btn:disabled {
	opacity: 0.6;
	pointer-events: none;
}

.btn--ghost {
	background: transparent;
	color: var(--green);
	box-shadow: inset 0 0 0 1px var(--green);
}

.btn--ghost::before {
	background: var(--green);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	color: var(--cream);
	box-shadow: inset 0 0 0 1px var(--green), 0 1.2vw 2.4vw -1vw rgba(0, 0, 0, 0.35);
}

/* Thin line icons that ink themselves in (pages.js adds .is-drawn when they come into view). */
.line-icon {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.line-icon * {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.6s var(--ease-out);
}

.motion [data-draw-line]:not(.is-drawn) .line-icon * {
	stroke-dashoffset: 1;
}

/* ---------------------------------------------------------------------------
   За нас
   ------------------------------------------------------------------------- */

.about-hero {
	margin-bottom: clamp(72px, 9vw, 150px);
}

.about-hero__lead {
	position: relative;
	z-index: 2;
	max-width: 44em;
	margin-top: clamp(22px, 2.6vw, 44px);
	color: var(--text);
	font-size: clamp(18px, 1.6vw, 26px);
	line-height: 1.65;
}

.about-hero__lead strong,
.story__copy strong {
	color: var(--green);
	font-weight: 600;
}

/* Story: photo + text, alternating sides */
.story__row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
	column-gap: 2vw;
}

.story__row + .story__row {
	margin-top: clamp(72px, 9vw, 160px);
}

.story__media {
	position: relative;
	grid-column: 1 / span 7;
	margin: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.story__media img {
	position: absolute;
	top: -8%;
	left: 0;
	width: 100%;
	height: 116%;
	object-fit: cover;
}

.story__tag {
	position: absolute;
	left: 1.4vw;
	bottom: 1.4vw;
	z-index: 2;
}

.story__text {
	grid-column: 8 / span 5;
	padding-left: 1.4vw;
}

.story__row--flip .story__media {
	grid-column: 6 / span 7;
	grid-row: 1;
}

.story__row--flip .story__text {
	grid-column: 1 / span 5;
	grid-row: 1;
	padding: 0 1.4vw 0 0;
}

.story__row--tall .story__media {
	grid-column-end: span 5;
	aspect-ratio: 4 / 5;
}

.story__row--flip.story__row--tall .story__media {
	grid-column: 8 / span 5;
}

.story__row--flip.story__row--tall .story__text {
	grid-column: 1 / span 6;
	padding-right: 3vw;
}

.story__copy p {
	color: var(--text);
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.75;
}

/* A drop capital in brand green, like the first letter of an old herbal. */
.story__copy p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	color: var(--green);
	font-size: 3.4em;
	line-height: 0.82;
}

/* Mission on the sand panel */
.mission {
	position: relative;
	margin: clamp(88px, 10vw, 170px) -8vw 0;
	padding: clamp(72px, 8vw, 140px) 8vw;
	overflow: hidden;
	background: var(--sand);
}

.mission__inner {
	position: relative;
	z-index: 2;
	max-width: 56vw;
}

.mission__inner > svg {
	display: block;
	width: clamp(34px, 3.2vw, 52px);
	height: auto;
	margin-bottom: clamp(18px, 2.2vw, 36px);
	color: var(--green);
}

.mission__text {
	color: #3a3a3a;
	font-size: clamp(24px, 2.6vw, 44px);
	font-style: italic;
	line-height: 1.45;
}

.mission__text .word {
	transition: color 0.2s linear;
}

.mission__more {
	max-width: 40em;
	margin-top: clamp(20px, 2.4vw, 40px);
	color: var(--muted);
	font-size: clamp(16px, 1.2vw, 19px);
	line-height: 1.7;
}

.flower--mission {
	right: 9vw;
	bottom: 0;
	width: clamp(110px, 11vw, 200px);
}

/* Assortment band (same drawing icons as the homepage) */
.assortment {
	margin-top: clamp(88px, 10vw, 170px);
}

.assortment__title {
	margin-bottom: 4.6vw;
}

.assortment__band {
	position: relative;
	margin-right: -8vw;
	padding-right: 8vw;
}

.assortment__band::before {
	content: "";
	position: absolute;
	top: 2.3vw;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--mist);
}

.assortment__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0 0 1.6vw;
	list-style: none;
}

.assortment__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 0 1.4vw 1.4vw;
	color: var(--text);
	text-align: center;
}

.assortment__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 4.45vw;
	height: 4.45vw;
	transition: transform 0.6s var(--ease-out);
}

.assortment__icon .ic {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.assortment__name {
	position: relative;
	margin: 2.3vw 0 1.5vw;
	color: var(--text);
	font-size: clamp(18px, 1.67vw, 28px);
}

.assortment__name::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.3vw;
	height: 1px;
	background: var(--green);
	transform: scaleX(0);
	transition: transform 0.55s var(--ease-out);
}

.assortment__text {
	max-width: 16vw;
	line-height: 1.5;
}

.assortment__link:hover .assortment__icon {
	transform: translateY(-0.6vw) rotate(-6deg);
}

.assortment__link:hover .assortment__name::after {
	transform: scaleX(1);
}

/* Gallery: one tall photo and two stacked */
.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 30vw 30vw;
	gap: 2vw;
	margin: clamp(88px, 10vw, 170px) -6vw 0;
}

.gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.gallery__item--tall {
	grid-row: span 2;
}

.gallery__item img {
	position: absolute;
	top: -8%;
	left: 0;
	width: 100%;
	height: 116%;
	object-fit: cover;
}

.gallery__tag {
	position: absolute;
	left: 1.4vw;
	bottom: 1.4vw;
	z-index: 3;
}

/* Closing invitation */
.visit {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px 4vw;
	margin-top: clamp(88px, 10vw, 170px);
	padding-top: clamp(40px, 4vw, 64px);
	border-top: 1px solid var(--line);
}

.visit__title {
	max-width: 16em;
	color: var(--green);
	font-size: clamp(28px, 3vw, 52px);
	font-weight: 400;
	line-height: 1.12;
}

.visit__address {
	margin: clamp(16px, 1.6vw, 26px) 0 10px;
	color: var(--text);
	font-size: clamp(16px, 1.25vw, 20px);
}

.visit .status {
	margin-bottom: 0;
}

.visit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---------------------------------------------------------------------------
   Контакти
   ------------------------------------------------------------------------- */

.contacts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 21vw;
	column-gap: 7vw;
	align-items: start;
}

.contacts__hero {
	margin-bottom: clamp(36px, 4vw, 64px);
}

.contacts__lines {
	display: grid;
	gap: clamp(22px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.contacts__lines li {
	display: grid;
	grid-template-columns: clamp(36px, 3vw, 48px) minmax(0, 1fr);
	column-gap: clamp(16px, 1.6vw, 26px);
	align-items: center;
}

.contacts__icon {
	grid-row: span 2;
	width: clamp(36px, 3vw, 48px);
	height: clamp(36px, 3vw, 48px);
	color: var(--green);
}

.contacts__label {
	color: var(--muted);
	font-size: 14px;
	font-style: italic;
}

/* Phone and email, large and plain to read — a hand-drawn line runs under them on hover. */
.contacts__big {
	justify-self: start;
	color: var(--green);
	font-size: clamp(28px, 3.2vw, 56px);
	line-height: 1.15;
	letter-spacing: 0.005em;
	overflow-wrap: anywhere;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1.5px;
	transition: background-size 0.55s var(--ease-out);
}

.contacts__big:hover,
.contacts__big:focus-visible {
	background-size: 100% 1.5px;
}

.contacts__write {
	margin-top: clamp(64px, 7vw, 120px);
	padding-top: clamp(40px, 4vw, 64px);
	border-top: 1px solid var(--line);
}

.contacts__write-title {
	margin-bottom: clamp(24px, 2.6vw, 40px);
}

.contact-form {
	max-width: 780px;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
}

.contact-form__grid .form-row-wide {
	grid-column: 1 / -1;
}

.contact-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__consent {
	margin-top: 4px;
}

.contact-form__status p {
	margin-bottom: 22px;
}

.contact-form__submit {
	min-width: 220px;
}

.contact-form.is-sending .contact-form__submit span {
	animation: form-sending 1s ease-in-out infinite alternate;
}

@keyframes form-sending {
	to { opacity: 0.45; }
}

/* The amphitheatre card hangs from the top edge, like the homepage's. */
.contacts__side {
	position: relative;
	margin-top: calc(-1 * clamp(104px, 11vw, 176px));
}

.contacts__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 6vh;
	min-height: 74vh;
	padding: calc(2vw + 3.4vh) 2.6vw 2.6vw;
	background: #f8f8f6;
	border-radius: 0 0 1.4vw 1.4vw;
	box-shadow: var(--shadow-card);
}

.contacts__amphi {
	width: 10vw;
	height: auto;
}

.contacts__info {
	align-self: stretch;
	text-align: right;
	line-height: 1.55;
}

.contacts__info-title {
	margin-bottom: 0.6vw;
	color: var(--ink);
}

.contacts__info hr {
	margin: 1vw 0 1.1vw;
	border: 0;
	border-top: 1px solid var(--green);
}

.contacts__info a {
	color: var(--green);
}

.flower--bud {
	top: calc(100% + 2vw);
	right: 4vw;
	width: clamp(90px, 9vw, 160px);
}

/* How to find us: a sand strip resting on the footer */
.find {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: clamp(24px, 3vw, 56px);
	margin: clamp(120px, 14vw, 220px) -8vw calc(-1 * clamp(64px, 8vw, 128px));
	padding: clamp(56px, 6vw, 100px) 8vw;
	background: var(--sand);
}

.find__pin {
	width: clamp(54px, 5vw, 84px);
	height: clamp(54px, 5vw, 84px);
	color: var(--green);
}

.find__title {
	color: var(--green);
	font-size: clamp(30px, 3.4vw, 58px);
	font-weight: 400;
	line-height: 1.1;
}

.find__city {
	margin-top: 8px;
	color: var(--muted);
	font-size: clamp(16px, 1.25vw, 20px);
	font-style: italic;
}

/* The map under the address: a framed plate in soft vintage tones, loaded on request. */
.find__map {
	position: relative;
	grid-column: 1 / -1;
	height: clamp(280px, 34vw, 480px);
	margin-top: clamp(36px, 4vw, 64px);
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 40%, rgba(41, 102, 64, 0.08), transparent 55%),
		repeating-linear-gradient(35deg, rgba(41, 102, 64, 0.05) 0 1px, transparent 1px 22px),
		#fbfaf5;
	box-shadow: inset 0 0 0 1px var(--line), 0 1.2vw 3vw -1.4vw rgba(0, 0, 0, 0.25);
}

.find__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.35) sepia(0.12) contrast(0.96);
	animation: notice-in 0.8s var(--ease-out);
}

.find__veil {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 18px;
	padding: 24px;
	color: var(--muted);
	font-size: 15px;
	font-style: italic;
	text-align: center;
}

.find__veil .btn {
	border: 0;
	font: inherit;
	font-style: normal;
	cursor: pointer;
}

.find__map.is-loaded .find__veil {
	display: none;
}

/* ---------------------------------------------------------------------------
   404 — the page flew off like a dandelion seed
   ------------------------------------------------------------------------- */

main.page--lost {
	overflow-x: clip;
}

.lost {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	align-items: center;
	column-gap: 6vw;
	min-height: calc(100vh - clamp(104px, 11vw, 176px) - 40px);
}

.lost__digits {
	display: flex;
	gap: 0.04em;
	margin: 0 0 clamp(8px, 1vw, 18px) -0.04em;
	color: transparent;
	font-size: clamp(110px, 15vw, 260px);
	line-height: 0.82;
	-webkit-text-stroke: 1.3px var(--green);
}

.lost__digits span {
	display: inline-block;
}

/* The zero hangs on a nail and swings a little. */
.lost__zero {
	position: relative;
	transform-origin: 50% -0.12em;
	animation: lost-swing 3.8s ease-in-out infinite alternate;
}

.lost__zero::before {
	content: "";
	position: absolute;
	top: -0.12em;
	left: 50%;
	width: 1px;
	height: 0.16em;
	background: var(--green);
}

.lost__zero::after {
	content: "";
	position: absolute;
	top: -0.15em;
	left: calc(50% - 3px);
	width: 7px;
	height: 7px;
	background: var(--green);
	border-radius: 50%;
}

@keyframes lost-swing {
	from { transform: rotate(-4deg); }
	to { transform: rotate(4deg); }
}

.lost__title {
	max-width: 13em;
	font-size: clamp(30px, 3.4vw, 56px);
}

.lost__text {
	max-width: 34em;
	margin: clamp(16px, 1.8vw, 28px) 0 clamp(24px, 2.6vw, 40px);
	color: var(--muted);
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.65;
}

/* Field and button share one height — the button's own, so its rolling label stays hidden. */
.lost__search {
	display: flex;
	align-items: stretch;
	max-width: 640px;
}

main.page .lost__search input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 0;
	border-right: 0;
}

.lost__search .btn {
	flex: none;
	padding-inline: 30px;
	box-shadow: none;
}

.lost__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	margin: clamp(26px, 2.8vw, 44px) 0 0;
	padding: 0;
	list-style: none;
}

/* The way back on small paper tags, each pinned a little crooked. */
.lost__links a {
	display: inline-block;
	padding: 0.5em 1em 0.55em;
	background: var(--sand);
	color: var(--ink);
	font-size: 15px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 6px 14px -9px rgba(0, 0, 0, 0.35);
	transform: rotate(-1.2deg);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.45s var(--ease-out);
}

.lost__links li:nth-child(even) a {
	transform: rotate(1deg);
}

.lost__links a:hover,
.lost__links a:focus-visible {
	background: var(--green);
	color: var(--cream);
	transform: rotate(0) translateY(-3px);
}

.lost__plant {
	position: relative;
	aspect-ratio: 534 / 666;
	cursor: crosshair;
}

.lost__plant .flower {
	position: absolute;
	inset: 0;
	width: 100%;
}

.lost__seeds {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.lost__seed {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 30px;
	margin: -4px 0 0 -9px;
	color: #8d8f86;
	will-change: transform, opacity;
}

.lost__seed svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 0.8;
	stroke-linecap: round;
}

.lost__seed svg .seed__body {
	fill: #a08463;
	stroke: none;
}

.lost__hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2.6em;
	color: var(--muted);
	font-size: 14px;
	font-style: italic;
	text-align: center;
}

.lost__hint-touch {
	display: none;
}

@media (hover: none) {
	.lost__hint-hover {
		display: none;
	}

	.lost__hint-touch {
		display: inline;
	}
}

/* ---------------------------------------------------------------------------
   Search fallback
   ------------------------------------------------------------------------- */

.search-results__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(18px, 1.5vw, 24px);
}

.search-results__list a,
.search-results__none a {
	color: var(--green);
}

/* ---------------------------------------------------------------------------
   Tablet
   ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.contacts {
		grid-template-columns: minmax(0, 1fr) 28vw;
		column-gap: 5vw;
	}

	.contacts__card {
		min-height: 64vh;
	}

	.contacts__amphi {
		width: 14vw;
	}

	.mission__inner {
		max-width: 64vw;
	}
}

/* ---------------------------------------------------------------------------
   Mobile — 16px gutter; the bookmark sits top-right, so nothing leans into that corner
   ------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.chapter {
		gap: 8px;
		margin-bottom: 14px;
	}

	.status {
		margin-bottom: 14px;
	}

	/* The hero flower floats right and the opening paragraph wraps around it, as in an old herbal. */
	.about-hero .flower--page {
		position: relative;
		top: auto;
		right: auto;
		float: right;
		width: 28vw;
		margin: -24px 58px 8px 14px; /* clear of the bookmark */
	}

	.about-hero {
		display: flow-root;
	}

	.about-hero__lead {
		font-size: 17px;
	}

	.story__row,
	.story__row--flip {
		display: block;
	}

	.story__row + .story__row {
		margin-top: 64px;
	}

	.story__media,
	.story__row--tall .story__media {
		margin-bottom: 24px;
		aspect-ratio: 4 / 3;
	}

	.story__tag {
		left: 12px;
		bottom: 10px;
	}

	.story__copy p {
		font-size: 16.5px;
	}

	.mission {
		margin: 72px -16px 0;
		padding: 64px 16px 260px;
	}

	.mission__inner {
		max-width: none;
	}

	.mission__text {
		font-size: 24px;
	}

	/* Centred with margins: GSAP owns the transform (the grow-in). */
	.flower--mission {
		right: auto;
		left: 50%;
		width: 34vw;
		margin-left: -17vw;
	}

	.assortment {
		margin-top: 72px;
	}

	.assortment__title {
		margin-bottom: 28px;
	}

	.assortment__band {
		margin: 0 -16px;
		padding: 0 16px;
	}

	.assortment__band::before {
		top: 30px;
	}

	.assortment__list {
		grid-template-columns: 1fr 1fr;
		gap: 28px 0;
		padding-bottom: 28px;
	}

	.assortment__item:last-child {
		grid-column: 1 / -1;
	}

	.assortment__link {
		padding: 0 10px;
	}

	.assortment__icon {
		width: 60px;
		height: 60px;
	}

	.assortment__name {
		margin: 18px 0 10px;
	}

	.assortment__text {
		max-width: none;
		font-size: 14px;
	}

	.gallery {
		grid-template-columns: 1fr;
		grid-template-rows: 112vw 64vw 64vw;
		gap: 12px;
		margin: 64px -4px 0;
	}

	.gallery__item--tall {
		grid-row: auto;
	}

	.gallery__tag {
		left: 12px;
		bottom: 10px;
	}

	.visit {
		margin-top: 64px;
	}

	.visit__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.contacts {
		display: block;
	}

	.contacts__lines li {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 14px;
	}

	.contacts__big {
		font-size: clamp(24px, 7.4vw, 34px);
	}

	.contact-form__grid {
		grid-template-columns: 1fr;
	}

	.contact-form__submit {
		width: 100%;
	}

	.contacts__side {
		margin: 56px 0 0;
		padding-bottom: 150px;
	}

	.contacts__card {
		min-height: 0;
		gap: 28px;
		padding: 36px 24px 28px;
		border-radius: 0 0 16px 16px;
	}

	.contacts__amphi {
		width: 44vw;
	}

	.contacts__info hr {
		margin: 14px 0;
	}

	.flower--bud {
		top: auto;
		bottom: 0;
		right: 24px;
		width: 28vw;
	}

	.find {
		grid-template-columns: auto minmax(0, 1fr);
		row-gap: 24px;
		margin: 56px -16px -64px;
		padding: 48px 16px;
	}

	.find__btn {
		grid-column: 1 / -1;
	}

	.find__map {
		height: 320px;
	}

	.lost {
		display: block;
		min-height: 0;
	}

	.lost__digits {
		font-size: 34vw;
	}

	.lost__search .btn {
		padding-inline: 20px;
	}

	.lost__plant {
		width: 62vw;
		margin: 48px auto 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lost__zero {
		animation: none;
	}
}

/* ---------------------------------------------------------------------------
   Coming soon (page-coming-soon.php): the front page until the shop opens
   ------------------------------------------------------------------------- */

.soon {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 48px 16px;
	overflow: hidden;
	text-align: center;
}

.soon__inner {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: center;
}

.soon__logo {
	width: clamp(220px, 36vw, 520px);
	height: auto;
}

.soon__title {
	margin-top: clamp(14px, 1.6vw, 26px);
	color: var(--ink);
	font-size: clamp(20px, 1.8vw, 30px);
	font-weight: 400;
	letter-spacing: 0.02em;
}

.soon__text {
	max-width: 30em;
	margin-top: 12px;
	color: var(--muted);
	font-size: clamp(15px, 1.1vw, 18px);
	font-style: italic;
}

.soon__contacts {
	display: grid;
	justify-items: center;
	gap: 6px;
	margin-top: clamp(30px, 3.5vw, 56px);
	color: var(--text);
	font-size: 15px;
}

.soon__contacts .status {
	margin: 0;
}

.soon__contacts a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.soon__contacts span[aria-hidden] {
	margin: 0 8px;
	color: var(--green);
}

.flower--soon {
	right: 7vw;
	bottom: -2vw;
	width: clamp(150px, 19vw, 320px);
	z-index: 1;
}

@media (max-width: 767px) {
	.flower--soon {
		right: -6vw;
		width: 42vw;
		opacity: 0.9;
	}
}

/* ---------------------------------------------------------------------------
   Policies (Политика за поверителност, Общи условия, Доставка и връщане, Бисквитки):
   a numbered contents column beside comfortable long-form text
   ------------------------------------------------------------------------- */

.legal {
	display: grid;
	grid-template-columns: minmax(190px, 250px) minmax(0, 46rem);
	gap: clamp(36px, 6vw, 110px);
	align-items: start;
}

.legal__toc {
	position: sticky;
	top: 28px;
	padding-top: 6px;
	counter-reset: toc;
}

.legal__toc-title {
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 13px;
	font-style: italic;
}

.legal__toc ol {
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--line);
	list-style: none;
}

.legal__toc li {
	counter-increment: toc;
}

.legal__toc a {
	position: relative;
	display: grid;
	grid-template-columns: 2.4em 1fr;
	padding: 6px 0 6px 14px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.4;
	transition: color 0.25s ease;
}

.legal__toc a::before {
	content: counter(toc, upper-roman);
	color: var(--green);
	font-size: 12.5px;
	font-style: italic;
	opacity: 0.75;
}

/* The drawn marker slides along the rule to the hovered chapter. */
.legal__toc a::after {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: -1px;
	width: 2px;
	background: var(--green);
	transform: scaleY(0);
	transition: transform 0.4s var(--ease-out);
}

.legal__toc a:hover {
	color: var(--green);
}

.legal__toc a:hover::after {
	transform: scaleY(1);
}

.prose {
	color: var(--text);
	font-size: clamp(16px, 1.15vw, 18px);
	line-height: 1.75;
	counter-reset: chapter;
}

.prose > * + * {
	margin-top: 1em;
}

.prose .legal__updated {
	color: var(--muted);
	font-size: 14px;
	font-style: italic;
}

.prose .legal__lead {
	color: var(--ink);
	font-size: clamp(18px, 1.45vw, 23px);
	line-height: 1.55;
}

.prose h2 {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-top: 2.4em;
	padding-top: 1.4em;
	border-top: 1px solid var(--line);
	color: var(--green);
	font-size: clamp(22px, 1.9vw, 30px);
	line-height: 1.2;
	counter-increment: chapter;
	scroll-margin-top: 28px;
}

.prose h2::before {
	content: counter(chapter, upper-roman);
	min-width: 1.8em;
	color: var(--muted);
	font-size: 0.55em;
	font-style: italic;
	letter-spacing: 0.06em;
}

.prose h3 {
	margin-top: 1.6em;
	color: var(--ink);
	font-size: clamp(17px, 1.3vw, 20px);
	font-style: italic;
}

.prose ul,
.prose ol {
	padding-left: 0;
	list-style: none;
}

.prose li {
	position: relative;
	padding-left: 1.6em;
}

.prose li + li {
	margin-top: 0.45em;
}

/* Bullets: a short drawn dash in brand green. */
.prose ul > li::before {
	content: "";
	position: absolute;
	top: 0.85em;
	left: 0.1em;
	width: 0.8em;
	height: 1px;
	background: var(--green);
}

.prose ol {
	counter-reset: item;
}

.prose ol > li {
	counter-increment: item;
}

.prose ol > li::before {
	content: counter(item) ".";
	position: absolute;
	left: 0;
	color: var(--green);
	font-style: italic;
}

.prose a {
	color: var(--green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose strong {
	color: var(--ink);
	font-weight: 600;
}

.prose code {
	padding: 0.1em 0.35em;
	background: var(--sand);
	color: var(--ink);
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-size: 0.8em;
}

/* A quiet ledger: no grid, hairlines between rows. */
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92em;
	line-height: 1.55;
}

.prose th {
	padding: 0 14px 10px 0;
	border-bottom: 1px solid rgba(27, 29, 26, 0.3);
	color: var(--muted);
	font-size: 0.85em;
	font-style: italic;
	font-weight: 400;
	text-align: left;
}

.prose td {
	padding: 12px 14px 12px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

/* Details the owner still has to fill in: a pencilled gap. */
.prose mark.ph {
	padding: 0 0.25em;
	background: rgba(196, 154, 58, 0.16);
	border-bottom: 1px dashed #c49a3a;
	color: var(--ink);
}

/* The model withdrawal form: a sand slip to copy. */
.prose .legal__form {
	padding: clamp(20px, 2.2vw, 32px);
	background: var(--sand);
	font-size: 0.95em;
}

.prose .legal__form p + p {
	margin-top: 0.8em;
}

.legal__consent,
.sitemap__consent {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	background: none;
	border: 0;
	box-shadow: inset 0 0 0 1px var(--green);
	color: var(--green);
	font-family: var(--font);
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.legal__consent:hover,
.sitemap__consent:hover {
	background: var(--green);
	color: var(--cream);
}

.prose li > .legal__consent,
.prose p > .legal__consent {
	min-height: 0;
	padding: 4px 10px;
	font-size: 12.5px;
	vertical-align: baseline;
}

@media (max-width: 960px) {
	.legal {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.legal__toc {
		position: static;
	}

	.legal__toc ol {
		columns: 2;
		column-gap: 24px;
	}

	.legal__toc li {
		break-inside: avoid;
	}
}

@media (max-width: 600px) {
	.legal__toc ol {
		columns: 1;
	}

	.prose table,
	.prose thead,
	.prose tbody,
	.prose tr,
	.prose td {
		display: block;
	}

	.prose thead {
		display: none;
	}

	.prose tr {
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.prose td {
		padding: 2px 0;
		border: 0;
	}

	.prose td:first-child {
		color: var(--ink);
	}
}

/* ---------------------------------------------------------------------------
   Карта на сайта (page-sitemap.php)
   ------------------------------------------------------------------------- */

.sitemap__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 72px);
	padding-bottom: clamp(40px, 4.5vw, 72px);
	border-bottom: 1px solid var(--line);
}

.sitemap__list,
.sitemap__tree,
.sitemap__tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sitemap__list li + li {
	margin-top: 10px;
}

.sitemap__list a {
	color: var(--ink);
	font-size: clamp(18px, 1.45vw, 23px);
	line-height: 1.3;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color 0.3s ease, background-size 0.5s var(--ease-out);
}

.sitemap__list a:hover,
.sitemap__tree a:hover,
.sitemap__group-title a:hover {
	color: var(--green);
	background-size: 100% 1px;
}

.sitemap__consent {
	margin-top: 8px;
}

.sitemap__catalog {
	padding-top: clamp(40px, 4.5vw, 72px);
}

.sitemap__groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: clamp(32px, 3.5vw, 56px) clamp(28px, 3vw, 56px);
	margin-top: 10px;
}

.sitemap__group-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	color: var(--green);
	font-size: clamp(20px, 1.6vw, 26px);
}

.sitemap__group-title a {
	color: inherit;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size 0.5s var(--ease-out);
}

.sitemap__tree > li + li {
	margin-top: 10px;
}

.sitemap__tree a {
	color: var(--ink);
	font-size: 15.5px;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color 0.3s ease, background-size 0.5s var(--ease-out);
}

.sitemap__tree ul {
	margin: 6px 0 2px;
	padding-left: 14px;
	border-left: 1px solid var(--line);
}

.sitemap__tree ul li + li {
	margin-top: 4px;
}

.sitemap__tree ul a {
	color: var(--muted);
	font-size: 14px;
}

.sitemap__count {
	margin-left: 4px;
	color: var(--muted);
	font-size: 12px;
	font-style: italic;
}

.sitemap__xml {
	margin-top: clamp(40px, 4.5vw, 72px);
	font-size: 13px;
}

.sitemap__xml a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.sitemap__row {
		grid-template-columns: 1fr;
	}
}

/* The sitemap's hero flower is sized by height, so a slim stem (lavender) can't reach the lists. */
.page-hero--sitemap .flower--page {
	width: auto;
	height: clamp(150px, 15vw, 250px);
}

.page-hero--sitemap .flower--page img {
	width: auto;
	height: 100%;
}

@media (max-width: 767px) {
	.page-hero--sitemap .flower--page {
		height: 120px;
	}

	/* Clear of the fixed bookmark. */
	.page-hero--sitemap .page-hero__title,
	.page-hero--sitemap .page-hero__lead {
		padding-right: 72px;
	}
}
