/*//////////////////////////////////////////*/
/*
	Техно Марьяж — «Панда» на выданье

	Layout: свадебное приглашение на сборочном стапеле.
	Оранжевая обложка с кемпером, чертёж «марьяжа», сценарий свадьбы,
	чёрно-белая «Пандамания», билет-приглашение.
*/
/*//////////////////////////////////////////*/

:root {
	--ink: #1d1a17;
	--ink-2: #2e2a26;
	--paper: #ffffff;
	--sand: #f5efe4;
	--sand-2: #ebe3d4;
	--line: #e3dacb;
	--muted: #6e655a;
	--orange: #ff6b0b;
	--orange-text: #c94a00;
	--amber: #ffb400;
	--amber-soft: #fff1cc;
	--yellow: #ffd54a;
	--bamboo: #7fb236;
	--on-ink: #ffffff;
	--on-ink-muted: rgba(255, 255, 255, 0.68);

	--font-display: 'Unbounded', 'Arial Black', Arial, sans-serif;
	--font-body: 'Onest', Arial, Tahoma, Helvetica, sans-serif;

	--radius-xl: 36px;
	--radius-l: 28px;
	--radius-m: 20px;
	--radius-s: 14px;

	--gutter: 20px;
	--kicker-gap: 20px;
	--section: 120px;

	--grad-hero: radial-gradient(ellipse 70% 80% at 70% 46%, #fff3c4 0%, #ffd84a 22%, #ffac16 48%, #ff7d0a 74%, #ff5f0a 100%);
	--grad-warm: linear-gradient(125deg, #ffd13d 0%, #ffa114 48%, #ff6b0b 100%);
}

/*//////////////////////////////////////////*/
/* Core elements */
/*//////////////////////////////////////////*/

html {
	box-sizing: border-box;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	background: var(--paper);
}
*, *::before, *::after {
	box-sizing: inherit;
}
body {
	color: var(--ink);
	font-size: 16px;
	line-height: 1.5;
	font-family: var(--font-body);
	font-weight: 400;
	background: var(--paper);
	min-width: 360px;
	margin: 0;
	overflow-x: hidden;
	position: relative;
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
ul, ol, dl, dd, p, h1, h2, h3, figure {
	margin: 0;
	padding: 0;
}
ul, ol {
	list-style: none;
}
button, input, textarea, select {
	font: inherit;
	color: inherit;
}
button {
	cursor: pointer;
}
/* Icons: спрайт из icons.php, размер задаётся font-size родителя */

.icons_sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.icon {
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	fill: currentColor;
	vertical-align: -0.15em;
}

::selection {
	color: var(--ink);
	background: var(--yellow);
}

:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 3px;
}

/* Links */

a, a:hover, a:active, a:visited {
	color: inherit;
	text-decoration: none;
	transition: all 150ms linear;
}
.link_undrln {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.link_undrln:hover {
	text-decoration: none !important;
}

/* Text */

.txt_display {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
}
.txt_h2 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.5vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.025em;
}
.txt_h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
/* Переносы в заголовках.
   На ПК и планшетах слова помещаются целиком, переносы отключены
   (hyphens: none игнорирует и мягкие переносы &shy;).
   На телефонах включаем переносы по слогам: только для слов
   от 10 букв и минимум по 4 буквы на каждой строке.
   overflow-wrap — страховка, если в браузере нет словаря. */

.txt_h2,
.txt_h3,
.pm_title {
	hyphens: none;
	-webkit-hyphens: none;
	hyphenate-limit-chars: 10 4 4;
	overflow-wrap: break-word;
	text-wrap: pretty;
}
@media (max-width: 599px) {
	.txt_h2,
	.txt_h3,
	.pm_title {
		hyphens: auto;
		-webkit-hyphens: auto;
	}
}

.txt_12_16 { font-size: 12px; line-height: 16px; }
.txt_14_20 { font-size: 14px; line-height: 20px; }
.txt_16_24 { font-size: 16px; line-height: 24px; }
.txt_18_26 { font-size: 18px; line-height: 26px; }
.txt_18_28 { font-size: 18px; line-height: 28px; }
.txt_20_26 { font-size: 20px; line-height: 26px; }
.txt_600 { font-weight: 600; }

@media (max-width: 599px) {
	.txt_18_28 { font-size: 17px; line-height: 26px; }
	.txt_h2 { font-size: clamp(25px, 7.4vw, 30px); }
}

.label {
	display: block;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.kicker {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange-text);
}
.kicker::before {
	content: '';
	width: 12px;
	height: 12px;
	background: currentColor;
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.kicker_light {
	color: var(--amber);
}

/* Заголовок после kicker: обрезаем верхний межстрочный отступ
   до высоты заглавных букв, чтобы расстояние от kicker
   до заголовка было одинаковым при любом размере шрифта. */

.kicker + h2 {
	text-box: trim-start cap alphabetic;
}

/* Blocks */

.container {
	position: relative;
	max-width: 1300px;
	margin: 0 auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.tm_wide {
	margin-left: 15px;
	margin-right: 15px;
	border-radius: var(--radius-xl);
}
#about,
#partners,
#location {
	margin-left: 15px;
	margin-right: 15px;
}

/* Декор (стикеры, кемпер) может выходить за края блока:
   обрезаем только по горизонтали, чтобы на узких экранах
   не появлялась прокрутка вбок. По вертикали кемпер
   по-прежнему заходит на ленты. */

.tm_wide,
#about,
#partners,
#location {
	overflow-x: clip;
}
@media (max-width: 799px) {
	.tm_wide,
	#about,
	#partners,
	#location {
		margin-left: 0;
		margin-right: 0;
	}
	.tm_wide {
		border-radius: 0;
	}
}

/* Hidden blocks */

.hide_me {
	display: none !important;
}

/* Chips */

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips li {
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--sand);
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
}
.chips_big li {
	padding: 10px 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
}

/* Tags */

.tag {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.tag_ink {
	background: var(--ink);
	color: var(--on-ink);
}
.tag_glass {
	background: rgba(255, 255, 255, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: var(--ink);
}

/* Buttons */

.bttn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}
.bttn .icon {
	font-size: 20px;
}
.bttn:hover {
	transform: translateY(-2px);
}
.bttn:active {
	transform: translateY(0);
}
.bttn_ink, .bttn_ink:visited {
	background: var(--ink);
	color: var(--on-ink);
	box-shadow: 0 10px 24px -12px rgba(29, 26, 23, 0.7);
}
.bttn_ink:hover {
	color: var(--on-ink);
	box-shadow: 0 16px 32px -12px rgba(29, 26, 23, 0.75);
}
.bttn_glass {
	background: rgba(255, 255, 255, 0.38);
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	color: var(--ink);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.bttn_glass:hover {
	background: var(--paper);
}
.bttn_line {
	background: transparent;
	border: 1.5px solid rgba(29, 26, 23, 0.2);
	color: var(--ink);
}
.bttn_line:hover {
	border-color: var(--ink);
}
.bttn_full {
	width: 100%;
}
.bttn_shine::before {
	content: '';
	position: absolute;
	top: -30%;
	left: -40px;
	width: 14px;
	height: 160%;
	background: rgba(255, 255, 255, 0.55);
	transform: rotate(35deg);
	filter: blur(20px);
	animation: tm_shine 3200ms linear infinite;
}

/* Reveal */

.rv {
	transition: opacity 800ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--d, 0ms);
}
.rv_on .rv:not(.rv_in) {
	opacity: 0;
	transform: translateY(28px);
}
.rv_on .rv[data-rv="zoom"]:not(.rv_in) {
	transform: scale(0.94);
}
.rv_on .rv[data-rv="left"]:not(.rv_in) {
	transform: translateX(-36px) rotate(-6deg);
}

/*//////////////////////////////////////////*/
/* Navigation */
/*//////////////////////////////////////////*/

#nav {
	position: fixed;
	top: calc(env(safe-area-inset-top, 0px) + 27px);
	left: 15px;
	right: 15px;
	z-index: 100;
	pointer-events: none;
	transition: top 250ms ease;
}
#nav .nav_inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 1300px;
	height: 70px;
	margin: 0 auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
	pointer-events: auto;
}
#nav .nav_inner::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	right: 0;
	z-index: -1;
	border-radius: 0 999px 999px 0;
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 12px 40px -12px rgba(60, 30, 0, 0.28);
	opacity: 0;
	transition: opacity 250ms ease;
}
#nav.is_scrolled {
	top: calc(env(safe-area-inset-top, 0px) + 12px);
}
#nav.is_scrolled .nav_inner::before {
	opacity: 1;
}
#nav .nav_logo {
	position: relative;
	display: block;
	flex: 0 0 auto;
}
#nav .nav_logo img {
	width: 56px;
	height: 44px;
	transition: opacity 250ms ease;
}
#nav .nav_logo .logo_color {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
#nav.is_scrolled .nav_logo .logo_white {
	opacity: 0;
}
#nav.is_scrolled .nav_logo .logo_color {
	opacity: 1;
}
#nav .nav_about {
	color: var(--on-ink);
	white-space: nowrap;
	transition: color 250ms ease;
}
#nav.is_scrolled .nav_about {
	color: var(--muted);
}
#nav .nav_menu {
	display: flex;
	gap: 2px;
	margin-left: auto;
	font-size: 15px;
}
#nav .nav_menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
}
#nav .nav_menu a:hover {
	background: rgba(29, 26, 23, 0.08);
}
#nav .nav_buy {
	height: 40px;
	padding: 0 18px;
	font-size: 15px;
}
#nav.is_scrolled .nav_buy {
	box-shadow: none;
}
#nav .nav_buy .icon {
	font-size: 18px;
}
#nav .nav_burger {
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	font-size: 20px;
	place-items: center;
	transition: background 250ms ease;
}
#nav.is_scrolled .nav_burger {
	background: var(--sand);
}
@media (max-width: 1099px) {
	#nav .nav_menu {
		display: none;
	}
	#nav .nav_buy {
		margin-left: auto;
	}
	#nav .nav_burger {
		display: grid;
	}
}
@media (max-width: 799px) {
	#nav {
		top: calc(env(safe-area-inset-top, 0px) + 10px);
		left: 0;
		right: 0;
	}
	#nav.is_scrolled {
		top: 0;
	}
	#nav .nav_inner {
		gap: 10px;
	}
	#nav.is_scrolled .nav_inner {
		height: calc(env(safe-area-inset-top, 0px) + 70px);
		padding-top: env(safe-area-inset-top, 0px);
	}
	#nav .nav_inner::before {
		left: 0;
		border-radius: 0;
	}
}
@media (max-width: 599px) {
	#nav .nav_about {
		display: none;
	}
	#nav .nav_logo img {
		width: 48px;
		height: 38px;
	}
	#nav .nav_buy .icon {
		display: none;
	}
}

/*//////////////////////////////////////////*/
/* Welcome */
/*//////////////////////////////////////////*/

#welcome {
	position: relative;
	z-index: 3;
	margin-top: 15px;
	padding: 128px 0 72px;
	background: var(--grad-hero);
}
#welcome .welcome_bg {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}
#welcome .halo {
	position: absolute;
	left: 70%;
	top: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
#welcome .halo_1 {
	width: 540px;
	height: 540px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 68%);
	animation: tm_breathe 7s ease-in-out infinite;
}
#welcome .halo_2 {
	width: 700px;
	height: 700px;
	border: 2px dashed rgba(255, 255, 255, 0.6);
	animation: tm_spin 90s linear infinite;
}
#welcome .halo_3 {
	width: 960px;
	height: 960px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.06);
}
#welcome .welcome_grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	align-items: center;
	gap: 24px;
}
#welcome .welcome_text {
	position: relative;
	z-index: 4;
	padding: 24px 0;
}
#welcome .welcome_tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
#welcome .welcome_title {
	margin: 26px 0 24px;
	font-size: clamp(50px, 6.4vw, 96px);
	line-height: 0.9;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}
#welcome .welcome_title span {
	display: block;
	white-space: nowrap;
}
#welcome .welcome_title .rings {
	display: inline-block;
	width: 0.52em;
	height: auto;
	margin-left: 0.08em;
	vertical-align: 0.62em;
	fill: none;
	stroke: var(--ink);
	stroke-width: 4.5;
	overflow: visible;
}
#welcome .welcome_title .rings path {
	fill: var(--paper);
	stroke-width: 2.5;
}
#welcome .welcome_lead {
	max-width: 30em;
	font-size: 20px;
	line-height: 30px;
}
#welcome .welcome_lead strong {
	font-weight: 700;
}
#welcome .welcome_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
	margin: 32px 0 36px;
}
#welcome .meta_date {
	display: flex;
	align-items: center;
	gap: 14px;
}
#welcome .meta_date strong {
	font-size: 64px;
	line-height: 0.8;
}
#welcome .meta_date span,
#welcome .meta_place span {
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
}
#welcome .meta_place {
	display: flex;
	align-items: center;
	gap: 12px;
}
#welcome .meta_place .meta_icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	font-size: 26px;
	line-height: 1;
}
#welcome .meta_place u {
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
#welcome .meta_place:hover u {
	text-decoration: none;
}
#welcome .welcome_c2a {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Visual */

#welcome .welcome_visual {
	position: relative;
	z-index: 3;
	aspect-ratio: 797 / 640;
	max-width: 100%;
}
#welcome .trailer {
	position: absolute;
	left: 2%;
	right: 0;
	bottom: -14%;
	translate: var(--px, 0) var(--py, 0);
	transition: translate 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
#welcome .trailer img {
	position: relative;
	z-index: 2;
	width: 100%;
	animation: tm_float 6s ease-in-out infinite;
	filter: drop-shadow(0 28px 30px rgba(120, 40, 0, 0.28));
}
#welcome .trailer_shadow {
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: -2%;
	height: 12%;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(110, 35, 0, 0.42) 0%, rgba(110, 35, 0, 0) 70%);
}
#welcome .stickers {
	position: absolute;
	inset: -6% -4% -10% -6%;
	pointer-events: none;
}
#welcome .sticker {
	position: absolute;
	z-index: 1;
	translate: var(--px, 0) var(--py, 0);
	transition: translate 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
	animation: tm_bob calc(5s + var(--i) * 0.45s) ease-in-out infinite;
	animation-delay: calc(var(--i) * -0.7s);
	filter: drop-shadow(0 8px 10px rgba(120, 40, 0, 0.25));
}
#welcome .s_sakura_1 { top: 2%; right: 2%; --r: 8deg; }
#welcome .s_onigiri_1 { top: 14%; left: 3%; --r: -10deg; }
#welcome .s_sushi_1 { top: -1%; left: 40%; --r: 6deg; }
#welcome .s_cloud_1 { top: 30%; right: -4%; }
#welcome .s_bamboo_1 { top: 42%; left: -3%; --r: -6deg; }
#welcome .s_onigiri_2 { bottom: 28%; right: 0; --r: 12deg; }
#welcome .s_nigiri_1 { bottom: 4%; left: 4%; z-index: 3; --r: -4deg; }
#welcome .s_sakura_2 { top: 4%; left: 18%; --r: -14deg; }
#welcome .s_sushi_2 { bottom: 6%; right: -3%; z-index: 3; }
#welcome .s_panda_1 { bottom: -4%; right: 28%; z-index: 3; animation-duration: 4s; }

/* Countdown */

#welcome .countdown {
	position: absolute;
	right: max(var(--gutter), env(safe-area-inset-right, 0px));
	top: -28px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 14px 12px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
#welcome .countdown .label {
	color: var(--ink);
	opacity: 0.7;
}
#welcome .countdown_nums {
	display: flex;
	gap: 6px;
}
#welcome .countdown_nums div {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 58px;
	padding: 6px 8px 5px;
	border-radius: 25px;
	background: var(--paper);
}
#welcome .countdown_nums strong {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 22px;
	line-height: 26px;
	font-variant-numeric: tabular-nums;
}
#welcome .countdown_nums span {
	font-size: 11px;
	line-height: 14px;
	color: var(--muted);
}

@media (max-width: 1199px) {
	#welcome .welcome_lead {
		font-size: 18px;
		line-height: 27px;
	}
}
@media (max-width: 1099px) {
	#welcome {
		padding: 116px 0 40px;
	}
	#welcome .welcome_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	#welcome .welcome_title {
		font-size: clamp(48px, 11vw, 96px);
	}
	#welcome .welcome_visual {
		width: min(100%, 680px);
		margin: 10px auto 0;
	}
	#welcome .halo {
		left: 50%;
		top: 72%;
	}
	#welcome .countdown {
		position: relative;
		top: auto;
		right: auto;
		width: fit-content;
		margin: 40px auto 0;
	}
}
@media (max-width: 799px) {
	#welcome {
		margin-top: 0;
	}
}
@media (max-width: 599px) {
	#welcome {
		padding-top: 100px;
	}
	#welcome .welcome_title {
		margin: 20px 0 18px;
		font-size: clamp(42px, 13.2vw, 64px);
	}
	#welcome .welcome_lead {
		font-size: 17px;
		line-height: 26px;
	}
	#welcome .welcome_meta {
		margin: 24px 0 28px;
		gap: 16px 24px;
	}
	#welcome .meta_date strong {
		font-size: 52px;
	}
	#welcome .welcome_c2a .bttn {
		flex: 1 1 100%;
	}
	#welcome .sticker {
		scale: 0.72;
	}
	#welcome .halo_1 { width: 380px; height: 380px; }
	#welcome .halo_2 { width: 520px; height: 520px; }
	#welcome .halo_3 { width: 720px; height: 720px; }
	#welcome .countdown {
		flex-direction: column;
		gap: 10px;
		padding: 14px;
		border-radius: var(--radius-m);
	}
}

/*//////////////////////////////////////////*/
/* Ribbons */
/*//////////////////////////////////////////*/

.ribbons {
	position: relative;
	z-index: 4;
	height: 190px;
	margin-top: -70px;
	overflow: hidden;
	pointer-events: none;
}
.ribbon {
	position: absolute;
	left: -5%;
	width: 110%;
	top: 50%;
	height: 60px;
	margin-top: -30px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.ribbon_yellow {
	background: var(--yellow);
	color: var(--ink);
	transform: rotate(2.4deg);
}
.ribbon_ink {
	background: var(--ink);
	color: var(--on-ink);
	transform: rotate(-2.6deg);
	box-shadow: 0 18px 30px -18px rgba(29, 26, 23, 0.6);
}
.ribbon_track {
	display: flex;
	align-items: center;
	gap: 26px;
	padding-left: 26px;
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	animation: tm_ribbon 46s linear infinite;
}
.ribbon_yellow .ribbon_track {
	animation-name: tm_ribbon_back;
	animation-duration: 56s;
}
.ribbon_track i {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background: var(--orange);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
@media (max-width: 599px) {
	.ribbons {
		height: 170px;
		margin-top: -62px;
	}
	.ribbon {
		height: 46px;
		margin-top: -23px;
	}
	.ribbon_yellow {
		top: 36%;
		transform: rotate(4deg);
	}
	.ribbon_ink {
		top: 64%;
		transform: rotate(-3deg);
	}
	.ribbon_track {
		font-size: 16px;
		gap: 20px;
	}
}

/*//////////////////////////////////////////*/
/* About */
/*//////////////////////////////////////////*/

#about {
	padding: 70px 0 var(--section);
}
#about .about_grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 64px;
}
#about .about_text .txt_h2 {
	margin: var(--kicker-gap) 0 24px;
}
#about .about_text p {
	max-width: 36em;
	color: var(--ink-2);
}
#about .about_text p + p {
	margin-top: 18px;
}

/* Blueprint */

.blueprint {
	position: relative;
	overflow: hidden;
	padding: 18px 20px 16px;
	border-radius: var(--radius-l);
	background-color: var(--sand);
	background-image:
		linear-gradient(rgba(29, 26, 23, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 26, 23, 0.055) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
	border: 1px solid var(--line);
}
.blueprint_head,
.blueprint_foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	white-space: nowrap;
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.blueprint_svg {
	display: block;
	width: 100%;
	height: auto;
	margin: 6px 0;
	overflow: visible;
}
.blueprint .bp_line { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.blueprint .bp_ink { fill: var(--ink); }
.blueprint .bp_paper { fill: var(--paper); }
.blueprint .bp_ear { fill: none; stroke: var(--ink); stroke-width: 17; stroke-linecap: round; }
.blueprint .bp_name { font-family: var(--font-display); font-weight: 800; font-size: 31px; letter-spacing: -0.02em; fill: var(--ink); }
.blueprint .bp_bamboo { fill: none; stroke: var(--bamboo); stroke-width: 5; stroke-linecap: round; }
.blueprint .bp_leader { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.blueprint .bp_labels text { font-family: var(--font-body); font-weight: 600; font-size: 16px; fill: var(--muted); }
.blueprint .bp_rings circle { fill: none; stroke: #e39a00; stroke-width: 4.5; }
.blueprint .bp_sparks path { fill: var(--amber); }

/* Детали для анимации сборки (Web Animations API в options.js).
   Без скрипта и при «уменьшении движения» чертёж показан собранным. */

.blueprint .bp_shell { fill: var(--paper); stroke: var(--ink); stroke-width: 4; }
.blueprint .bp_door { fill: none; stroke: var(--ink); stroke-width: 4; }

.blueprint .bp_chassis,
.blueprint .bp_body {
	transform-box: view-box;
}
.blueprint .bp_wheel {
	transform-box: view-box;
	transform-origin: 334px 334px;
}
.blueprint .bp_jwheel {
	transform-box: view-box;
	transform-origin: 84px 356px;
}
.blueprint .bp_ear,
.blueprint .bp_window,
.blueprint .bp_handle,
.blueprint .bp_name,
.blueprint .bp_rings,
.blueprint .bp_sparks path,
.blueprint .bp_fx > * {
	transform-box: fill-box;
	transform-origin: center;
}
.blueprint .bp_bamboo {
	transform-box: fill-box;
	transform-origin: 50% 100%;
}

.blueprint .bp_status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
}
.blueprint .bp_status::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--orange);
}
.blueprint.is_married .bp_status::before {
	background: var(--bamboo);
}
.blueprint .bp_replay {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	transition: border-color 150ms ease;
}
.blueprint .bp_replay:hover {
	border-color: var(--ink);
}
.blueprint .bp_replay .icon {
	font-size: 14px;
}

/* Facts */

/* Panda path: три остановки на дороге. Мини-«Панда» из чертежа
   проезжает маршрут, следом загорается трек и остановки.
   Без JS и при reduced motion всё сразу в финальном состоянии. */

#about .panda_path {
	--pp-car: 136px;
	--pp-node: 56px;
	--pp-road: 84px;
	--pp-drive: 2600ms;
	--pp-start: 500ms;
	--pp-ease: cubic-bezier(0.5, 0, 0.25, 1);
	position: relative;
	overflow: hidden;
	margin-top: 88px;
	padding: 32px 40px 40px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background-color: var(--sand);
	background-image:
		linear-gradient(rgba(29, 26, 23, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 26, 23, 0.055) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
}
#about .pp_head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}
#about .pp_more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
#about .pp_more .icon {
	font-size: 18px;
	transition: transform 200ms ease;
}
#about .pp_more:hover {
	text-decoration: none;
}
#about .pp_more:hover .icon {
	transform: translateX(4px);
}

#about .pp_route {
	position: relative;
	padding-top: var(--pp-road);
}
#about .pp_route::before,
#about .pp_trail {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--pp-road) + var(--pp-node) / 2 - 2px);
	height: 4px;
	border-radius: 2px;
}
#about .pp_route::before {
	background: repeating-linear-gradient(90deg, rgba(29, 26, 23, 0.22) 0 10px, transparent 10px 18px);
}
#about .pp_trail {
	background: var(--grad-warm);
	transform-origin: 0 50%;
	transition: transform var(--pp-drive) var(--pp-ease) var(--pp-start);
}
.rv_on #about .panda_path:not(.rv_in) .pp_trail {
	transform: scaleX(0);
}

#about .pp_car {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: calc(var(--pp-road) + var(--pp-node) / 2 - 2px - var(--pp-car) * 290 / 440);
	pointer-events: none;
	transform: translateX(calc(100% - var(--pp-car)));
	transition: transform var(--pp-drive) var(--pp-ease) var(--pp-start);
}
.rv_on #about .panda_path:not(.rv_in) .pp_car {
	transform: translateX(calc(-1 * var(--pp-car) - 44px));
}
#about .pp_car svg {
	display: block;
	width: var(--pp-car);
	height: auto;
	overflow: visible;
}
#about .pp_car .pp_ink { fill: var(--ink); }
#about .pp_car .pp_paper { fill: var(--sand); }
#about .pp_car .pp_line,
#about .pp_car .pp_ear,
#about .pp_car .pp_door,
#about .pp_car .pp_bamboo,
#about .pp_car .pp_shell {
	fill: none;
	stroke: var(--ink);
	stroke-width: 10;
	stroke-linecap: round;
	stroke-linejoin: round;
}
#about .pp_car .pp_shell { fill: var(--paper); }
#about .pp_car .pp_ear { stroke-width: 26; }
#about .pp_car .pp_door { stroke-width: 8; }
#about .pp_car .pp_bamboo { stroke: var(--bamboo); stroke-width: 9; }
#about .pp_car .pp_wheel {
	transform-box: fill-box;
	transform-origin: center;
}
#about .panda_path.rv_in .pp_wheel {
	animation: pp_wheel 650ms linear var(--pp-start) 4;
}

#about .pp_steps {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#about .pp_steps li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	--lit: calc(var(--pp-start) + 200ms);
}
#about .pp_steps li:nth-child(2) { --lit: calc(var(--pp-start) + 1150ms); }
#about .pp_steps li:nth-child(3) { --lit: calc(var(--pp-start) + 1700ms); }
#about .pp_node {
	position: relative;
	display: grid;
	place-items: center;
	width: var(--pp-node);
	height: var(--pp-node);
	border-radius: 50%;
	background: var(--ink);
	color: var(--amber);
	font-size: 24px;
	box-shadow: 0 0 0 6px var(--sand), inset 0 0 0 2px transparent;
	transition:
		background-color 400ms ease var(--lit),
		color 400ms ease var(--lit),
		box-shadow 400ms ease var(--lit),
		transform 600ms cubic-bezier(0.3, 1.6, 0.5, 1) var(--lit);
}
#about .pp_steps li:nth-child(3) .pp_node {
	background: var(--amber);
	color: var(--ink);
}
#about .pp_steps li:nth-child(3) .pp_node::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--amber);
	opacity: 0;
	pointer-events: none;
}
#about .panda_path.rv_in .pp_steps li:nth-child(3) .pp_node::after {
	animation: pp_ping 1800ms ease-out calc(var(--lit) + 300ms) 3;
}
.rv_on #about .panda_path:not(.rv_in) .pp_node {
	background: var(--paper);
	color: var(--muted);
	box-shadow: 0 0 0 6px var(--sand), inset 0 0 0 2px var(--line);
	transform: scale(0.86);
}
#about .pp_num {
	margin-top: 26px;
	font-size: clamp(27px, 3.2vw, 46px);
	line-height: 1;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
#about .pp_title {
	margin-top: 14px;
}
#about .pp_steps p {
	max-width: 20em;
	margin-top: 6px;
	font-size: 15px;
	line-height: 21px;
	color: var(--muted);
}

@media (max-width: 999px) {
	#about .about_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	#about .panda_path {
		--pp-car: 120px;
		--pp-road: 72px;
		margin-top: 64px;
	}
}
@media (max-width: 799px) {
	#about .panda_path {
		padding: 24px 20px 28px;
		border-radius: var(--radius-l);
	}
	#about .pp_route {
		padding-top: 24px;
	}
	#about .pp_route::before,
	#about .pp_trail,
	#about .pp_car {
		display: none;
	}
	#about .pp_steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	#about .pp_steps li {
		position: relative;
		display: grid;
		grid-template-columns: var(--pp-node) minmax(0, 1fr);
		column-gap: 18px;
		align-items: start;
		--lit: calc(200ms + var(--n) * 450ms);
	}
	#about .pp_steps li:not(:last-child)::before,
	#about .pp_steps li:not(:last-child)::after {
		content: '';
		position: absolute;
		left: calc(var(--pp-node) / 2 - 2px);
		top: calc(var(--pp-node) / 2);
		bottom: calc(-28px - var(--pp-node) / 2);
		width: 4px;
		border-radius: 2px;
		z-index: -1;
	}
	#about .pp_steps li:not(:last-child)::before {
		background: repeating-linear-gradient(180deg, rgba(29, 26, 23, 0.22) 0 10px, transparent 10px 18px);
	}
	#about .pp_steps li:not(:last-child)::after {
		background: var(--grad-warm);
		transform-origin: 50% 0;
		transition: transform 450ms linear calc(200ms + var(--n) * 450ms);
	}
	.rv_on #about .panda_path:not(.rv_in) .pp_steps li::after {
		transform: scaleY(0);
	}
	#about .pp_node {
		grid-row: 1 / span 3;
	}
	#about .pp_num {
		margin-top: 2px;
		font-size: 30px;
	}
	#about .pp_title {
		margin-top: 10px;
	}
}
@media (max-width: 599px) {
	#about {
		padding-top: 40px;
	}
	.blueprint {
		padding: 14px 12px 12px;
	}
}

/*//////////////////////////////////////////*/
/* Program */
/*//////////////////////////////////////////*/

#program {
	padding: var(--section) 0;
	background: var(--sand);
}
#program .program_grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 64px;
	align-items: start;
}
#program .program_head {
	align-self: stretch;
}
#program .program_sticky {
	position: sticky;
	top: 120px;
}
#program .program_sticky .txt_h2 {
	margin: var(--kicker-gap) 0 22px;
	font-size: clamp(26px, 2.75vw, 40px);
}
#program .program_sticky > p {
	max-width: 30em;
	color: var(--ink-2);
}
/* Acts */

#program .acts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	counter-reset: act;
}
#program .act {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 20px;
	padding: 30px 32px;
	border-radius: var(--radius-l);
	background: var(--paper);
	transition: transform 250ms ease, box-shadow 250ms ease;
}
#program .act:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 40px -26px rgba(80, 50, 10, 0.45);
}
#program .act_num {
	font-size: 44px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ink);
}
#program .act_body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
#program .act_label + .txt_h3 {
	text-box: trim-start cap alphabetic;
}
#program .act_label {
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--orange-text);
}
#program .act_body p {
	color: var(--ink-2);
}
#program .act_chips {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}
#program .chips_label {
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	color: var(--muted);
}
#program .act_main {
	z-index: 2;
	padding-right: 250px;
	background: var(--grad-warm);
	overflow: visible;
}
#program .act_main .act_num {
	color: var(--ink);
	-webkit-text-stroke: 0;
}
#program .act_main .act_label {
	color: var(--ink);
}
#program .act_main .act_body p {
	color: var(--ink);
}
#program .act_trailer {
	position: absolute;
	right: -18px;
	bottom: -22px;
	width: 270px;
	filter: drop-shadow(0 16px 18px rgba(110, 35, 0, 0.35));
	transform: rotate(-3deg);
	transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
#program .act_main:hover .act_trailer {
	transform: rotate(0deg) translateX(-6px);
}

@media (max-width: 1199px) {
	#program .act_main {
		padding-right: 32px;
		padding-bottom: 180px;
	}
	#program .act_trailer {
		width: 240px;
		right: 16px;
		bottom: -18px;
	}
}
@media (max-width: 999px) {
	#program .program_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
	#program .program_sticky {
		position: static;
	}
}
@media (max-width: 799px) {
	#program {
		padding: 80px 0;
	}
}
@media (max-width: 599px) {
	#program .act {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 24px 22px;
	}
	#program .act_num {
		font-size: 34px;
	}
	#program .act_main {
		padding: 24px 22px 170px;
	}
	#program .act_trailer {
		width: 220px;
		right: 10px;
		bottom: -16px;
	}
}

/*//////////////////////////////////////////*/
/* Pandamania */
/*//////////////////////////////////////////*/

#pandamania {
	position: relative;
	margin-top: 15px;
	padding: var(--section) 0;
	background: var(--ink);
	color: var(--on-ink);
	overflow: hidden;
}
#pandamania .container {
	z-index: 2;
}
#pandamania .pm_head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 40px 64px;
}
#pandamania .pm_head > div {
	container-type: inline-size;
}
#pandamania .pm_title {
	margin-top: var(--kicker-gap);
	/* Размер от ширины колонки: самое широкое слово «МАНИЯ»
	   при 100px занимает ~480px, 20cqi гарантирует, что оно влезет */
	font-size: min(132px, 20cqi);
	line-height: 0.95;
	white-space: nowrap;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}
#pandamania .pm_title span {
	display: block;
	background: linear-gradient(95deg, var(--yellow) 0%, var(--amber) 40%, var(--orange) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
#pandamania .pm_head p {
	max-width: 30em;
	padding-bottom: 8px;
	color: var(--on-ink-muted);
}

/* Timeline */

#pandamania .timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-top: 80px;
}
#pandamania .timeline li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 40px;
}
#pandamania .timeline li::before {
	content: '';
	position: absolute;
	left: 0;
	right: -28px;
	top: 7px;
	border-top: 2px dashed rgba(255, 255, 255, 0.24);
}
#pandamania .timeline li:last-child::before {
	right: 0;
}
#pandamania .tl_dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ink);
	border: 3px solid var(--amber);
}
#pandamania .timeline li:first-child .tl_dot,
#pandamania .timeline li:last-child .tl_dot {
	background: var(--amber);
	box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.18);
}
#pandamania .tl_when {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	line-height: 20px;
	color: var(--amber);
}
#pandamania .timeline p {
	color: var(--on-ink-muted);
}

/* Cards */

#pandamania .pm_cards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 72px;
}
#pandamania .pm_card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border-radius: var(--radius-l);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
#pandamania .pm_card .icon {
	margin-bottom: 8px;
	font-size: 30px;
	color: var(--amber);
}
#pandamania .pm_card p {
	color: var(--on-ink-muted);
}
#pandamania .pm_more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	color: var(--amber);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
#pandamania .pm_more .icon {
	margin: 0;
	font-size: 18px;
	transition: transform 200ms ease;
}
#pandamania .pm_more:hover {
	text-decoration: none;
}
#pandamania .pm_more:hover .icon {
	transform: translateX(4px);
}

/* Decor */

#pandamania .pm_deco img {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}
#pandamania .pm_panda {
	right: 5%;
	top: 72px;
	rotate: 10deg;
	animation: tm_float 5s ease-in-out infinite;
}
#pandamania .pm_sakura {
	left: -14px;
	bottom: 36px;
	transform: rotate(-18deg);
	opacity: 0.85;
}

@media (max-width: 999px) {
	#pandamania .pm_head {
		grid-template-columns: minmax(0, 1fr);
	}
	#pandamania .timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 28px;
	}
	#pandamania .timeline li:nth-child(2n)::before {
		right: 0;
	}
	#pandamania .pm_cards {
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
	}
	}
@media (max-width: 799px) {
	#pandamania {
		margin-top: 0;
		padding: 80px 0;
	}
}
@media (max-width: 599px) {
	#pandamania .timeline {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		margin-top: 56px;
	}
	#pandamania .timeline li {
		padding: 0 0 0 36px;
	}
	#pandamania .timeline li::before,
	#pandamania .timeline li:nth-child(2n)::before {
		left: 7px;
		right: auto;
		top: 22px;
		bottom: -34px;
		border-top: 0;
		border-left: 2px dashed rgba(255, 255, 255, 0.24);
	}
	#pandamania .timeline li:last-child::before {
		display: none;
	}
	#pandamania .tl_dot {
		top: 2px;
	}
	#pandamania .pm_sakura {
		display: none;
	}
	#pandamania .pm_panda {
		top: 36px;
		right: 12px;
		width: 56px;
		height: auto;
	}
}

/*//////////////////////////////////////////*/
/* Partners */
/*//////////////////////////////////////////*/

#partners {
	padding: var(--section) 0;
}
#partners .partners_head {
	max-width: 780px;
}
#partners .partners_head .txt_h2 {
	margin: var(--kicker-gap) 0 22px;
}
#partners .partners_head p {
	color: var(--ink-2);
}
#partners .partners_grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 24px 56px;
	align-items: start;
	margin-top: 56px;
}
#partners .who {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	border-radius: var(--radius-l);
	background: var(--sand);
}
#partners .who p {
	color: var(--ink-2);
}
#partners .who .chips {
	margin-top: 4px;
}
#partners .benefits li {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
#partners .benefits li:first-child {
	padding-top: 4px;
}
#partners .benefits li:last-child {
	border-bottom: 0;
}
#partners .benefits p {
	margin-top: 6px;
	color: var(--muted);
}
#partners .benefit_icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--amber-soft);
	font-size: 24px;
}
/* Третья выгода — «звезда»: акцентный кружок, как финиш в «Пути «Панды»» */
#partners .benefits li:last-child .benefit_icon {
	background: var(--amber);
	box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.18);
}

/* Offer */

#partners .offer {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px 48px;
	margin-top: 40px;
	padding: 44px 48px;
	border-radius: var(--radius-xl);
	background: var(--grad-warm);
}
#partners .offer_price {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 560px;
}
#partners .offer_price .label {
	color: var(--ink);
	opacity: 0.7;
}
#partners .offer_price strong {
	font-size: clamp(40px, 5.2vw, 76px);
	line-height: 1;
	white-space: nowrap;
}
#partners .offer_c2a {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
	min-width: 290px;
}
#partners .offer_phone {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: center;
}
#partners .offer_phone span {
	font-size: 14px;
	line-height: 20px;
}
#partners .offer_phone a {
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 30px;
	user-select: all;
}
#partners .offer_onigiri,
#partners .offer_sushi {
	position: absolute;
	pointer-events: none;
	filter: drop-shadow(0 8px 10px rgba(110, 35, 0, 0.3));
}
#partners .offer_onigiri {
	right: 34%;
	top: -26px;
	transform: rotate(-12deg);
	animation: tm_float 5s ease-in-out infinite;
}
#partners .offer_sushi {
	right: 28px;
	bottom: -30px;
	transform: rotate(10deg);
	animation: tm_float 6s 1s ease-in-out infinite;
}

/* With us */

#partners .with_us {
	margin-top: 64px;
}
#partners .with_us_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}
#partners .partner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px;
	border-radius: var(--radius-l);
	background: #ffffff;
	color: var(--ink);
	text-align: left;
	border: 0;
	font: inherit;
	transition: transform 250ms ease;
	border: 1px solid var(--line);
}
#partners .partner:hover {
	transform: translateY(-3px);
}
#partners .partner_logo {
	display: flex;
	align-items: center;
	height: 72px;
	margin-bottom: 14px;
}
#partners .partner_logo img {
	max-height: 64px;
	max-width: 240px;
	width: auto;
}
#partners .partner_name {
	font-size: 18px;
	line-height: 24px;
}
#partners .partner_name .icon {
	font-size: 18px;
	opacity: 0.6;
}
#partners .partner_role {
	font-size: 14px;
	line-height: 20px;
	color: var(--ink-muted);
}
#partners .partner_empty {
	background: transparent;
	color: var(--ink);
	border: 2px dashed var(--line);
	cursor: pointer;
}
#partners .partner_empty:hover {
	border-color: var(--orange);
}
#partners .partner_empty .plus {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sand);
	font-size: 28px;
}
#partners .partner_empty .partner_role {
	color: var(--muted);
}

@media (max-width: 999px) {
	#partners .partners_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	#partners .offer {
		grid-template-columns: minmax(0, 1fr);
	}
	#partners .offer_c2a {
		min-width: 0;
		align-items: flex-start;
	}
	#partners .offer_phone {
		text-align: left;
	}
}
@media (max-width: 799px) {
	#partners {
		padding: 80px 0;
	}
	#partners .with_us_grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	#partners .partner_empty {
		grid-column: 1 / -1;
	}
}
@media (max-width: 599px) {
	#partners .who {
		padding: 24px 22px;
	}
	#partners .offer {
		padding: 32px 24px 44px;
		border-radius: var(--radius-l);
	}
	#partners .offer_c2a {
		align-items: stretch;
	}
	#partners .offer_onigiri {
		right: 24px;
		top: -24px;
	}
	#partners .with_us_grid {
		grid-template-columns: minmax(0, 1fr);
	}
	#partners .partner {
		padding: 24px 22px;
	}
}

/*//////////////////////////////////////////*/
/* Join */
/*//////////////////////////////////////////*/

#join {
	position: relative;
	padding: 110px 0;
	background: radial-gradient(ellipse 80% 90% at 22% 40%, #fff0b8 0%, #ffd23a 28%, #ffa514 62%, #ff700b 100%);
	overflow: hidden;
}
#join .join_grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
}
#join .join_ticket {
	filter: drop-shadow(0 22px 26px rgba(130, 50, 0, 0.24));
}
#join .join_ticket .tm_invite {
	transform: rotate(-4deg);
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
#join .join_ticket:hover .tm_invite {
	transform: rotate(-1.5deg) translateY(-6px);
}

/* Invite (also used on ticket page) */

.tm_invite {
	--stub: 160px;
	--notch: 15px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--stub);
	max-width: 620px;
	margin: 0 auto;
	background: var(--paper);
	border-radius: var(--radius-l);
	-webkit-mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000 100%) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000 100%) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000 100%) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000 100%) bottom / 100% 51% no-repeat;
}
.tm_invite .invite_main {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 30px 32px;
}
.tm_invite .invite_head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.tm_invite .invite_head .no {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}
.tm_invite .invite_title {
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}
.tm_invite .invite_sub {
	margin-top: -6px;
	font-size: 15px;
	line-height: 21px;
	color: var(--muted);
}
.tm_invite .invite_guest {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 0;
	border-top: 1.5px dashed var(--line);
	border-bottom: 1.5px dashed var(--line);
}
.tm_invite .invite_guest strong {
	font-size: 24px;
	line-height: 30px;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.tm_invite .invite_guest strong.is_empty {
	color: #b9ae9f;
}
.tm_invite .invite_guest p {
	font-size: 15px;
	line-height: 20px;
	color: var(--muted);
	overflow-wrap: anywhere;
}
.tm_invite .invite_guest p:empty {
	display: none;
}
.tm_invite .invite_data {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	container-type: inline-size;
}
@container (max-width: 351px) {
	.tm_invite .invite_data .year {
		display: none;
	}
}
.tm_invite .invite_data dt {
	font-size: 11px;
	line-height: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.tm_invite .invite_data dd {
	margin-top: 4px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	font-variant-numeric: tabular-nums;
}
.tm_invite .invite_place {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}
.tm_invite .invite_place .icon {
	color: var(--orange);
	font-size: 18px;
}
.tm_invite .invite_stub {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px 14px;
	border-left: 2px dashed var(--line);
	background: var(--amber-soft);
	text-align: center;
}
.tm_invite .invite_stub img {
	width: 70px;
	margin-bottom: 8px;
}
.tm_invite .invite_stub strong {
	font-size: 22px;
	line-height: 26px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* Form */

#join .join_form {
	padding: 40px;
	border-radius: var(--radius-xl);
	background: var(--paper);
	box-shadow: 0 40px 60px -30px rgba(130, 50, 0, 0.45);
}
#join .join_form .txt_h2 {
	margin: var(--kicker-gap) 0 26px;
	font-size: clamp(28px, 2.6vw, 38px);
}
.form .fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
}
.form .field {
	position: relative;
	display: block;
}
.form .field_wide {
	grid-column: 1 / -1;
}
.form .field input,
.form .field textarea {
	display: block;
	width: 100%;
	height: 60px;
	padding: 24px 18px 8px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-s);
	background: #fbf8f3;
	font-size: 16px;
	line-height: 22px;
	color: var(--ink);
	outline: none;
	transition: border-color 150ms ease, background 150ms ease;
	-webkit-appearance: none;
	appearance: none;
}
.form .field textarea {
	height: auto;
	min-height: 108px;
	padding-top: 28px;
	resize: vertical;
}
.form .field input:focus,
.form .field textarea:focus {
	border-color: var(--ink);
	background: var(--paper);
}
.form .field span {
	position: absolute;
	left: 19px;
	top: 19px;
	font-size: 16px;
	line-height: 22px;
	color: var(--muted);
	pointer-events: none;
	transition: all 150ms ease;
}
.form .field input:focus + span,
.form .field input:not(:placeholder-shown) + span,
.form .field textarea:focus + span,
.form .field textarea:not(:placeholder-shown) + span {
	top: 8px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
}
.form .amount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 22px 0;
	padding: 18px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.form .amount p {
	margin-top: 2px;
	color: var(--muted);
}
.form .stepper {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 4px;
}
.form .stepper button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--sand);
	font-size: 20px;
	transition: background 150ms ease;
}
.form .stepper button:hover {
	background: var(--sand-2);
}
.form .stepper button:disabled {
	opacity: 0.4;
	cursor: default;
}
.form .stepper input {
	width: 48px;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 22px;
	font-variant-numeric: tabular-nums;
	outline: none;
}
.form .submit {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.form .submit p {
	text-align: center;
	color: var(--muted);
}
#join .closed {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* NSPKA section */

#join .nspka {
	display: flex;
    align-items: center;
	gap: 15px;
	margin-top: 40px;
	padding: 20px 24px;
	border-radius: var(--radius-m);
	background: rgba(255, 255, 255, 0.5);
}
#join .nspka img{
	display: block;
	width: auto;
	height: 32px;
	flex-shrink: 0;
}
@media (max-width: 999px) {
	#join .nspka {
		width: 100%;
		max-width: 640px;
		margin: 40px auto 0;
		flex-direction: column-reverse;
		text-align: center;
	}
}

/* Admin list */

#join .guests {
	margin-top: 40px;
	padding: 20px 24px;
	border-radius: var(--radius-m);
	background: rgba(255, 255, 255, 0.9);
	overflow-x: auto;
}
#join .guests summary {
	cursor: pointer;
}
#join .guests table {
	margin-top: 16px;
	border-collapse: collapse;
	white-space: nowrap;
}
#join .guests td {
	padding: 6px 12px 6px 0;
	border-top: 1px solid var(--line);
}

@media (max-width: 999px) {
	#join .join_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
	#join .join_ticket {
		max-width: 560px;
		width: 100%;
		margin: 0 auto;
	}
	#join .join_form {
		max-width: 640px;
		width: 100%;
		margin: 0 auto;
	}
}
@media (max-width: 799px) {
	#join {
		padding: 80px 0;
	}
}
@media (max-width: 599px) {
	.tm_invite {
		--stub-h: 96px;
		grid-template-columns: minmax(0, 1fr);
		-webkit-mask:
			radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000 100%) left / 51% 100% no-repeat,
			radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000 100%) right / 51% 100% no-repeat;
		mask:
			radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000 100%) left / 51% 100% no-repeat,
			radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000 100%) right / 51% 100% no-repeat;
	}
	.tm_invite .invite_main {
		padding: 24px 22px;
	}
	.tm_invite .invite_stub {
		flex-direction: row;
		justify-content: space-between;
		height: var(--stub-h);
		padding: 0 22px;
		border-left: 0;
		border-top: 2px dashed var(--line);
		text-align: left;
	}
	.tm_invite .invite_stub img {
		width: 46px;
		margin: 0;
		order: 3;
	}
	.tm_invite .invite_stub .label {
		order: 1;
	}
	.tm_invite .invite_stub strong {
		order: 2;
		margin-right: auto;
	}
	.tm_invite .invite_data {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr);
		gap: 8px;
	}
	.tm_invite .invite_data dd {
		font-size: 15px;
	}
	.tm_invite .invite_data .year {
		display: inline;
	}
	#join .join_ticket .tm_invite {
		transform: rotate(-2deg);
	}
	#join .join_form {
		padding: 28px 20px;
		border-radius: var(--radius-l);
	}
	.form .fields {
		grid-template-columns: minmax(0, 1fr);
	}
	.form .amount {
		align-items: center;
		flex-direction: column;
		text-align: center;
	}
}

/*//////////////////////////////////////////*/
/* Location */
/*//////////////////////////////////////////*/

#location {
	padding: var(--section) 0;
}
#location .location_grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: center;
}
#location .location_text .txt_h2 {
	margin: var(--kicker-gap) 0 22px;
}
#location .location_text > p {
	color: var(--ink-2);
}
#location .location_links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}
#location .location_gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(0, 1fr);
	gap: 10px;
	aspect-ratio: 4 / 3;
	max-width: 100%;
}
#location .photo {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-m);
	background: var(--sand);
}
#location .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
#location .photo:hover img {
	transform: scale(1.06);
}
#location .photo_1 {
	grid-column: span 2;
	grid-row: span 2;
}

@media (max-width: 999px) {
	#location .location_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}
@media (max-width: 799px) {
	#location {
		padding: 80px 0;
	}
}
@media (max-width: 599px) {
	#location .location_gallery {
		gap: 6px;
	}
	#location .photo {
		border-radius: var(--radius-s);
	}
	#location .location_links .bttn {
		flex: 1 1 auto;
	}
}

/*//////////////////////////////////////////*/
/* Footer (общий common/footer.php) */
/*//////////////////////////////////////////*/

#footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	margin: 0 15px 15px;
	padding-top: 64px;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 48px);
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
	border-radius: var(--radius-xl);
	background: var(--ink);
	color: var(--on-ink-muted);
	text-align: center;
}
#footer .rvland {
	display: block;
	transition: opacity 150ms ease;
}
#footer .rvland:hover {
	opacity: 0.8;
}
#footer .rvland img {
	width: 88px;
	height: auto;
}
#footer .footer_menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 760px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer .footer_menu a {
	display: block;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	color: var(--on-ink);
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
#footer .footer_menu a:hover {
	border-color: var(--amber);
	background: rgba(255, 180, 0, 0.1);
	color: var(--amber);
}
#footer .footer_text {
	max-width: 760px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	line-height: 22px;
}
#footer .footer_text a {
	color: var(--on-ink);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 3px;
}
#footer .footer_text a:hover {
	color: var(--amber);
	text-decoration-color: currentColor;
}
@media (max-width: 799px) {
	#footer {
		margin: 0;
		border-radius: 0;
	}
}
@media (max-width: 599px) {
	#footer {
		gap: 24px;
		padding-top: 48px;
	}
	#footer .footer_menu a {
		padding: 8px 14px;
		font-size: 14px;
	}
	#footer .footer_text {
		font-size: 13px;
		line-height: 20px;
	}
}

/*//////////////////////////////////////////*/
/* Menu, popups, lightbox */
/*//////////////////////////////////////////*/

#menu,
.popup,
#message,
#lightbox {
	position: fixed;
	inset: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 250ms ease, visibility 0s 250ms;
}
#menu.is_open,
.popup.is_open,
#message.is_open,
#lightbox.is_open {
	visibility: visible;
	opacity: 1;
	transition: opacity 250ms ease;
}

/* Side menu */

#menu {
	z-index: 200;
	overflow: hidden;
	background: rgba(29, 26, 23, 0.5);
}
#menu .menu_inner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(380px, 100%);
	padding: calc(env(safe-area-inset-top, 0px) + 28px) max(28px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) 28px;
	background: var(--paper);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
#menu.is_open .menu_inner {
	transform: translateX(0);
}
#menu .menu_close {
	align-self: flex-end;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	border: 0;
	border-radius: 50%;
	background: var(--sand);
	font-size: 22px;
}
#menu strong {
	font-size: 26px;
	line-height: 1;
	text-transform: uppercase;
}
#menu p {
	color: var(--muted);
}
#menu ul {
	display: flex;
	flex-direction: column;
	margin: 20px 0 24px;
	border-top: 1px solid var(--line);
	font-size: 18px;
}
#menu li a {
	display: block;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
#menu li a:hover {
	color: var(--orange-text);
}

/* Popup */

.popup,
#message {
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(29, 26, 23, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.popup .popup_inner,
#message .message_inner {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	padding: 32px;
	border-radius: var(--radius-l);
	background: var(--paper);
	overflow-y: auto;
	transform: translateY(20px) scale(0.98);
	transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.popup.is_open .popup_inner,
#message.is_open .message_inner {
	transform: none;
}
.popup .popup_close {
	position: absolute;
	right: 16px;
	top: 16px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--sand);
	font-size: 20px;
}
.popup .popup_head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding-right: 48px;
}
.popup .popup_head img {
	width: 56px;
	flex: 0 0 auto;
}
.popup .popup_head strong {
	display: block;
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
}
.popup .popup_head p {
	margin-top: 6px;
	color: var(--muted);
}
.popup .form .submit {
	margin-top: 18px;
}
#message .message_inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 440px;
	text-align: center;
}
#message .message_inner img {
	width: 70px;
}
#message .message_inner p {
	color: var(--muted);
	margin-bottom: 8px;
}
@media (max-width: 599px) {
	.popup .popup_inner {
		padding: 24px 20px;
	}
}

/* Lightbox */

#lightbox {
	z-index: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 16px;
	background: rgba(20, 18, 16, 0.94);
}
#lightbox img {
	max-width: min(1200px, 100%);
	max-height: 100%;
	border-radius: 12px;
}
#lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--on-ink);
	font-size: 22px;
	transition: background 150ms ease;
}
#lightbox button:hover {
	background: rgba(255, 255, 255, 0.25);
}
#lightbox .lb_close {
	top: calc(env(safe-area-inset-top, 0px) + 16px);
	right: max(16px, env(safe-area-inset-right, 0px));
}
#lightbox .lb_prev {
	left: max(16px, env(safe-area-inset-left, 0px));
}
#lightbox .lb_next {
	right: max(16px, env(safe-area-inset-right, 0px));
}
#lightbox .lb_count {
	position: absolute;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
	left: 50%;
	transform: translateX(-50%);
	color: var(--on-ink-muted);
}
@media (max-width: 599px) {
	#lightbox .lb_prev,
	#lightbox .lb_next {
		top: auto;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
	}
}

/* To top */

#to_top {
	position: fixed;
	right: max(20px, env(safe-area-inset-right, 0px));
	bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--on-ink);
	font-size: 22px;
	box-shadow: 0 10px 24px -10px rgba(29, 26, 23, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 250ms ease;
}
#to_top.is_visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/*//////////////////////////////////////////*/
/* Ticket page */
/*//////////////////////////////////////////*/

.tm_ticket_page {
	background: var(--paper);
}
#ticket {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-height: calc(100vh - 30px);
	margin: 15px;
	padding: 100px max(16px, env(safe-area-inset-right, 0px)) 60px max(16px, env(safe-area-inset-left, 0px));
	border-radius: var(--radius-xl);
	background: var(--grad-hero);
	position: relative;
}
#ticket .back {
	position: absolute;
	top: 28px;
	left: max(28px, env(safe-area-inset-left, 0px));
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
#ticket .tm_invite {
	width: 100%;
	filter: none;
	box-shadow: 0 30px 60px -30px rgba(130, 50, 0, 0.5);
}
#ticket .message {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 36px 40px;
	border-radius: var(--radius-l);
	background: var(--paper);
	text-align: center;
}
#ticket .message .pay {
	display: none;
}
#ticket .spinner {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 4px solid var(--sand-2);
	border-top-color: var(--orange);
	animation: tm_loader 900ms linear infinite;
}
#ticket .sent {
	max-width: 520px;
	text-align: center;
	font-size: 15px;
	line-height: 22px;
}
#ticket .more {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
#ticket .more .bttn_line {
	background: rgba(255, 255, 255, 0.4);
	border-color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 799px) {
	#ticket {
		margin: 0;
		min-height: 100vh;
		border-radius: 0;
	}
}

/*//////////////////////////////////////////*/
/* Reduced motion */
/*//////////////////////////////////////////*/

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.rv_on .rv:not(.rv_in) {
		opacity: 1;
		transform: none;
	}
	.ribbon_track {
		animation: none !important;
	}
}
