/**
 * Birthday gift experience — cinematic welcome.
 */

:root {
	--gift-bg: #10241a;
	--gift-bg-deep: #07130d;
	--gift-sage: #87a987;
	--gift-cream: #f7f9f6;
	--gift-coral: #e28a73;
	--gift-gold: #d7b875;
	--gift-muted: rgba(247, 249, 246, 0.65);
	--gift-ink: #10241a;
	--gift-radius: 1.6rem;
	--gift-font: "Vazirmatn", Tahoma, sans-serif;
	--gift-serif: "Playfair Display", Georgia, serif;
	--gift-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.shf-gift-body {
	margin: 0;
	background: var(--gift-bg-deep);
	color: var(--gift-cream);
	font-family: var(--gift-font);
	overflow: hidden !important;
	height: 100%;
	max-height: 100dvh;
	max-height: 100svh;
	position: fixed;
	inset: 0;
	width: 100%;
}

html.shf-gift-html,
html.shf-gift-html body.shf-gift-body {
	overflow: hidden !important;
	height: 100%;
	max-height: 100dvh;
	max-height: 100svh;
	overscroll-behavior: none;
}

.shf-gift-body .shf-header,
.shf-gift-body .shf-footer,
.shf-gift-body .shf-mini-bar,
.shf-gift-body .shf-skip-link {
	display: none !important;
}

.shf-gift-body .shf-main {
	padding: 0;
	min-height: 0;
}

.shf-gift {
	position: fixed;
	inset: 0;
	isolation: isolate;
	width: 100%;
	height: 100%;
	max-height: 100dvh;
	max-height: 100svh;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 55% at 50% 35%, rgba(135, 169, 135, 0.16), transparent 60%),
		radial-gradient(ellipse 50% 40% at 80% 80%, rgba(226, 138, 115, 0.08), transparent 55%),
		linear-gradient(180deg, var(--gift-bg) 0%, var(--gift-bg-deep) 100%);
	color: var(--gift-cream);
}

.admin-bar .shf-gift {
	inset-block-start: 32px;
	height: calc(100dvh - 32px);
	height: calc(100svh - 32px);
	max-height: calc(100dvh - 32px);
	max-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
	.admin-bar .shf-gift {
		inset-block-start: 46px;
		height: calc(100dvh - 46px);
		height: calc(100svh - 46px);
		max-height: calc(100dvh - 46px);
		max-height: calc(100svh - 46px);
	}
}

.shf-gift__noise {
	position: absolute;
	inset: 0;
	opacity: 0.045;
	pointer-events: none;
	z-index: 2;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shf-gift__vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	background: radial-gradient(ellipse at center, transparent 40%, rgba(7, 19, 13, 0.72) 100%);
}

.shf-gift__chrome {
	position: absolute;
	inset-inline: 1rem;
	inset-block-start: 1rem;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-direction: row-reverse;
}

.shf-gift__icon-btn,
.shf-gift__text-btn,
.shf-gift__mute-mini {
	appearance: none;
	border: 1px solid rgba(247, 249, 246, 0.18);
	background: rgba(7, 19, 13, 0.45);
	color: var(--gift-cream);
	border-radius: 999px;
	cursor: pointer;
	font-family: inherit;
	backdrop-filter: blur(8px);
}

.shf-gift__icon-btn {
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.shf-gift__icon-btn svg[hidden] {
	display: none !important;
}

.shf-gift__text-btn {
	padding: 0.45rem 0.9rem;
	font-size: 0.8rem;
}

.shf-gift__mute-mini {
	display: block;
	margin: 0 auto;
	padding: 0.4rem 0.85rem;
	font-size: 0.78rem;
	opacity: 0.7;
}

.shf-gift__intro-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
}

.shf-gift__icon-btn:focus-visible,
.shf-gift__text-btn:focus-visible,
.shf-gift__btn:focus-visible,
.shf-gift__mute-mini:focus-visible {
	outline: 2px solid var(--gift-sage);
	outline-offset: 3px;
}

.shf-gift__progress {
	flex: 1;
	height: 2px;
	border-radius: 999px;
	background: rgba(247, 249, 246, 0.12);
	overflow: hidden;
	max-width: 10rem;
	margin-inline-start: auto;
}

.shf-gift__progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--gift-sage), var(--gift-coral));
	transition: width 0.45s var(--gift-ease);
}

.shf-gift__stage {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.shf-gift__wave,
.shf-gift__ecosystem,
.shf-gift__logo {
	position: absolute;
	left: 50%;
	color: var(--gift-sage);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s var(--gift-ease), visibility 0.7s, transform 0.7s var(--gift-ease);
	filter: drop-shadow(0 0 10px rgba(135, 169, 135, 0.28));
}

.shf-gift__wave {
	width: min(88vw, 760px);
	height: 140px;
	top: 32%;
	transform: translate(-50%, -50%) scale(0.96);
	color: rgba(247, 249, 246, 0.82);
}

.shf-gift__ecosystem {
	width: min(82vw, 380px);
	height: auto;
	top: 16%;
	transform: translateX(-50%) translateY(8px) scale(0.96);
	color: rgba(135, 169, 135, 0.95);
}

.shf-gift__logo {
	width: min(34vw, 132px);
	height: auto;
	top: 20%;
	transform: translateX(-50%) translateY(8px) scale(0.94);
	color: var(--gift-sage);
}

.shf-gift__particles {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.shf-gift__particle {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--gift-gold);
	opacity: 0;
}

.shf-gift__scene {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: none;
	place-items: center;
	align-content: center;
	justify-content: center;
	padding: 4rem 1.25rem 2rem;
	overflow: hidden;
	overscroll-behavior: none;
	opacity: 0;
	pointer-events: none;
	box-sizing: border-box;
}

.shf-gift__scene.is-active {
	display: grid;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.55s var(--gift-ease);
}

.shf-gift__scene[hidden] {
	display: none !important;
}

/* Story copy sits under stage visuals */
.shf-gift__scene[data-scene="sound"],
.shf-gift__scene[data-scene="form"],
.shf-gift__scene[data-scene="people"],
.shf-gift__scene[data-scene="reveal"] {
	align-content: end;
	justify-items: center;
	padding-block: 5rem clamp(22vh, 28vh, 34vh);
	overflow: hidden;
}

.shf-gift__scene[data-scene="sound"] .shf-gift__scene-inner,
.shf-gift__scene[data-scene="form"] .shf-gift__scene-inner,
.shf-gift__scene[data-scene="people"] .shf-gift__scene-inner,
.shf-gift__scene[data-scene="reveal"] .shf-gift__scene-inner {
	margin-block: 0;
}

/* Letter + finale: true viewport centering via flex */
.shf-gift__scene[data-scene="letter1"].is-active,
.shf-gift__scene[data-scene="letter2"].is-active,
.shf-gift__scene[data-scene="finale"].is-active,
.shf-gift__scene[data-scene="intro"].is-active {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3.5rem 1.25rem 2rem;
	overflow: hidden !important;
}

.shf-gift__mail {
	position: relative;
	width: min(100%, 34rem);
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-height: 100%;
}

.shf-gift__scene-inner {
	width: min(100%, 40rem);
	text-align: center;
	margin: auto;
}

.shf-gift__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.shf-gift__intro-logo {
	width: 76px;
	height: 76px;
	margin: 0 auto 1.35rem;
	color: var(--gift-sage);
}

.shf-gift__intro-logo path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: shfGiftDraw 2.8s var(--gift-ease) forwards;
}

@keyframes shfGiftDraw {
	to { stroke-dashoffset: 0; }
}

.shf-gift__kicker {
	margin: 0 0 1.5rem;
	font-size: clamp(1rem, 2.6vw, 1.2rem);
	color: var(--gift-muted);
	letter-spacing: 0.01em;
}

.shf-gift__btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.9rem;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	border: 0;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.25s var(--gift-ease), box-shadow 0.25s var(--gift-ease), background 0.25s;
}

.shf-gift__btn--primary {
	background: var(--gift-sage);
	color: var(--gift-bg-deep);
	box-shadow: 0 14px 32px rgba(135, 169, 135, 0.28);
}

.shf-gift__btn--primary:hover {
	transform: translateY(-2px);
}

.shf-gift__btn--ghost {
	background: transparent;
	border: 1px solid rgba(247, 249, 246, 0.28);
	color: var(--gift-cream);
}

.shf-gift__btn--dark {
	background: var(--gift-bg);
	color: var(--gift-cream);
	margin-top: 1.25rem;
}

.shf-gift__copy {
	max-width: 34rem;
}

.shf-gift__line {
	margin: 0 0 0.85rem;
	font-size: clamp(1.15rem, 3.2vw, 1.55rem);
	font-weight: 500;
	line-height: 1.85;
	color: var(--gift-cream);
	opacity: 0;
	transform: translateY(16px);
	filter: blur(4px);
}

.shf-gift__line.is-in {
	opacity: 1;
	transform: none;
	filter: none;
	transition: opacity 0.9s var(--gift-ease), transform 0.9s var(--gift-ease), filter 0.9s var(--gift-ease);
}

.shf-gift__line--soft {
	color: var(--gift-muted);
	font-weight: 400;
	font-size: clamp(1rem, 2.6vw, 1.2rem);
}

.shf-gift__en {
	margin: 0 0 0.5rem;
	font-family: var(--gift-serif);
	font-size: clamp(1.6rem, 5vw, 2.6rem);
	letter-spacing: 0.08em;
	color: var(--gift-gold);
	opacity: 0;
	transform: translateY(14px);
}

.shf-gift__name {
	margin: 0 0 1.75rem;
	font-family: var(--gift-serif);
	font-size: clamp(1.35rem, 4vw, 2.1rem);
	font-weight: 500;
	color: var(--gift-cream);
	opacity: 0;
	transform: translateY(14px);
}

.shf-gift__en.is-in,
.shf-gift__name.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 1s var(--gift-ease), transform 1s var(--gift-ease);
}

.shf-gift__envelope {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--gift-sage);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 0.5rem;
	transition: transform 0.35s var(--gift-ease), opacity 0.45s ease;
}

.shf-gift__envelope:focus-visible {
	outline: 2px solid var(--gift-sage);
	outline-offset: 6px;
	border-radius: 0.75rem;
}

.shf-gift__envelope-svg {
	width: min(72vw, 220px);
	height: auto;
	filter: drop-shadow(0 0 18px rgba(135, 169, 135, 0.35));
	overflow: visible;
}

.shf-gift__envelope .env-flap {
	transform-box: fill-box;
	transform-origin: center top;
	transition: transform 0.85s var(--gift-ease), opacity 0.65s ease;
}

.shf-gift__envelope.is-opening .env-flap {
	transform: translateY(-36px) scaleY(0.2);
	opacity: 0;
}

.shf-gift__envelope .env-seal {
	transform-origin: center;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.shf-gift__envelope.is-opening .env-seal {
	opacity: 0;
	transform: scale(0.5);
}

.shf-gift__envelope.is-opening {
	position: absolute;
	inset-inline: 0;
	top: 50%;
	transform: translateY(-60%) scale(0.94);
	pointer-events: none;
	opacity: 0;
	z-index: 1;
	transition: opacity 0.45s ease, transform 0.45s var(--gift-ease);
}

.shf-gift__envelope-hint {
	font-family: var(--gift-font);
	font-size: 0.85rem;
	color: var(--gift-muted);
	margin-top: 0.15rem;
}

.shf-gift__letter {
	width: min(100%, 32rem);
	max-height: min(62svh, 480px);
	height: auto;
	overflow-x: hidden;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 1.5rem 1.35rem 1.35rem;
	border-radius: var(--gift-radius);
	background:
		linear-gradient(165deg, rgba(22, 48, 34, 0.88), rgba(10, 22, 16, 0.92));
	color: var(--gift-cream);
	border: 1px solid rgba(135, 169, 135, 0.28);
	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(247, 249, 246, 0.06);
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(12px);
	transform-origin: center center;
	box-sizing: border-box;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.shf-gift__letter::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.shf-gift__letter.is-shown,
.shf-gift__scene[data-scene="letter2"].is-active .shf-gift__letter {
	opacity: 1;
	transform: none;
	transition: opacity 0.75s var(--gift-ease), transform 0.85s var(--gift-ease);
}

.shf-gift__letter[hidden] {
	display: none !important;
}

.shf-gift__envelope[hidden] {
	display: none !important;
}

.shf-gift__letter-page {
	flex: 0 0 auto;
	overflow: visible;
	padding: 0;
	margin: 0;
	text-align: right;
	scrollbar-width: none;
}

.shf-gift__letter-page::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.shf-gift__letter-page p {
	margin: 0 0 0.85rem;
	font-size: clamp(0.95rem, 2.4vw, 1.05rem);
	font-weight: 400;
	line-height: 1.85;
	color: rgba(247, 249, 246, 0.9);
	opacity: 0;
	transform: translateY(8px);
}

.shf-gift__letter-page p:first-child {
	margin-top: 0;
}

.shf-gift__letter-page p:last-child {
	margin-bottom: 0;
}

.shf-gift__letter-page p.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--gift-ease), transform 0.7s var(--gift-ease);
}

.shf-gift__letter--memory {
	position: relative;
}

.shf-gift__letter .shf-gift__btn {
	flex-shrink: 0;
	align-self: center;
	margin-top: 1.25rem;
}

.shf-gift__advance {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 1.35rem;
	z-index: 35;
	margin: 0;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(247, 249, 246, 0.55);
	pointer-events: none;
	letter-spacing: 0.02em;
	animation: shfGiftHintPulse 2.2s ease-in-out infinite;
}

.shf-gift__advance[hidden] {
	display: none !important;
}

@keyframes shfGiftHintPulse {
	0%, 100% { opacity: 0.4; }
	50% { opacity: 0.85; }
}

.shf-gift.is-awaiting-advance {
	cursor: pointer;
}

.shf-gift__finale-logo {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.1rem;
	color: var(--gift-sage);
	filter: drop-shadow(0 0 20px rgba(135, 169, 135, 0.35));
	opacity: 0;
	transform: translateY(10px) scale(0.96);
}

.shf-gift__finale-logo.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.9s var(--gift-ease), transform 0.9s var(--gift-ease);
}

.shf-gift__finale {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 28rem);
	max-height: calc(100svh - 5.5rem);
}

.shf-gift__finale-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.7rem, 4.8vw, 2.35rem);
	font-weight: 700;
	line-height: 1.3;
	opacity: 0;
	transform: translateY(12px);
}

.shf-gift__finale-lead {
	margin: 0 0 1.15rem;
	max-width: 22rem;
	font-size: clamp(0.95rem, 2.3vw, 1.05rem);
	line-height: 1.85;
	opacity: 0;
	transform: translateY(10px);
	color: var(--gift-muted);
}

.shf-gift__finale-signoff {
	margin: 0 0 1.15rem;
}

.shf-gift__sign,
.shf-gift__authors {
	margin: 0;
	opacity: 0;
	transform: translateY(10px);
	color: var(--gift-muted);
}

.shf-gift__sign {
	font-size: 0.92rem;
	margin-bottom: 0.35rem;
}

.shf-gift__authors {
	color: var(--gift-cream);
	font-weight: 600;
	font-size: 0.98rem;
}

.shf-gift__quote {
	margin: 0 0 1.5rem;
	max-width: 22rem;
	font-family: var(--gift-serif);
	font-size: 0.88rem;
	font-style: italic;
	line-height: 1.6;
	color: rgba(247, 249, 246, 0.42);
	opacity: 0;
}

.shf-gift__finale-title.is-in,
.shf-gift__finale-lead.is-in,
.shf-gift__sign.is-in,
.shf-gift__authors.is-in,
.shf-gift__quote.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.85s var(--gift-ease), transform 0.85s var(--gift-ease);
}

.shf-gift__finale-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 0.15rem;
}

.shf-gift.is-dark-flash::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 8;
	background: #000;
	opacity: 0.85;
	pointer-events: none;
	animation: shfGiftFlash 0.45s ease forwards;
}

@keyframes shfGiftFlash {
	0% { opacity: 0; }
	40% { opacity: 0.88; }
	100% { opacity: 0; }
}

/* Stage states driven by data-visual on #shf-gift */
.shf-gift__ecosystem .eco-leaf,
.shf-gift__ecosystem .eco-mic,
.shf-gift__ecosystem .eco-pulse,
.shf-gift__ecosystem .eco-card,
.shf-gift__ecosystem .eco-net {
	opacity: 0;
}

.shf-gift__wave path[data-heart-path] {
	opacity: 0;
}

.shf-gift[data-visual="wave"] .shf-gift__wave {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate(-50%, -50%) scale(1);
}
.shf-gift[data-visual="wave"] .shf-gift__wave path[data-wave-path] {
	stroke-dasharray: 1400;
	stroke-dashoffset: 1400;
	animation: shfGiftStroke 2.2s var(--gift-ease) forwards;
}
.shf-gift[data-visual="wave"] .shf-gift__wave path[data-heart-path] {
	animation: shfGiftHeartIn 1.4s var(--gift-ease) 0.85s forwards;
}
@keyframes shfGiftHeartIn {
	from { opacity: 0; }
	to { opacity: 0.95; }
}

.shf-gift[data-visual="eco"] .shf-gift__ecosystem {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateX(-50%) translateY(0) scale(1);
}
.shf-gift[data-visual="eco"] .eco-leaf {
	opacity: 1;
	transition: opacity 0.7s var(--gift-ease);
}
.shf-gift[data-visual="eco"] .eco-pulse {
	opacity: 0.95;
	transition: opacity 0.7s var(--gift-ease) 0.25s;
}
.shf-gift[data-visual="eco"] .eco-mic {
	opacity: 0.9;
	transition: opacity 0.7s var(--gift-ease) 0.45s;
}
.shf-gift[data-visual="eco"] .eco-card {
	opacity: 0.9;
	transition: opacity 0.7s var(--gift-ease) 0.65s;
}

.shf-gift[data-visual="people"] .shf-gift__ecosystem {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateX(-50%) translateY(0) scale(1);
}
.shf-gift[data-visual="people"] .eco-leaf,
.shf-gift[data-visual="people"] .eco-mic,
.shf-gift[data-visual="people"] .eco-pulse,
.shf-gift[data-visual="people"] .eco-card {
	opacity: 0;
	transition: opacity 0.45s ease;
}
.shf-gift[data-visual="people"] .eco-net {
	opacity: 1;
	transition: opacity 0.55s var(--gift-ease) 0.1s;
}
.shf-gift[data-visual="people"] .eco-person {
	opacity: 1;
	transition: opacity 0.55s var(--gift-ease) 0.2s;
}
.shf-gift[data-visual="people"] .eco-p2 {
	transition-delay: 0.32s;
}
.shf-gift[data-visual="people"] .eco-p3 {
	transition-delay: 0.44s;
}
.shf-gift[data-visual="people"] .eco-l1,
.shf-gift[data-visual="people"] .eco-l2,
.shf-gift[data-visual="people"] .eco-l3 {
	stroke-dasharray: 140;
	stroke-dashoffset: 140;
	animation: shfGiftStroke 1.15s var(--gift-ease) forwards;
}
.shf-gift[data-visual="people"] .eco-l2 { animation-delay: 0.12s; }
.shf-gift[data-visual="people"] .eco-l3 { animation-delay: 0.24s; }

.shf-gift[data-visual="logo"] .shf-gift__logo {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateX(-50%) translateY(0) scale(1);
}
.shf-gift[data-visual="logo"] .logo-leaf,
.shf-gift[data-visual="logo"] .logo-stem,
.shf-gift[data-visual="logo"] .logo-wave {
	stroke-dasharray: 260;
	stroke-dashoffset: 260;
	animation: shfGiftStroke 1.5s var(--gift-ease) forwards;
}
.shf-gift[data-visual="logo"] .logo-stem { animation-delay: 0.2s; }
.shf-gift[data-visual="logo"] .logo-wave { animation-delay: 0.35s; }

@keyframes shfGiftStroke { to { stroke-dashoffset: 0; } }

.shf-gift.is-quiet-stage .shf-gift__stage {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s;
}

@media (max-width: 640px) {
	.shf-gift__chrome {
		inset-inline: 0.65rem;
		inset-block-start: 0.65rem;
	}

	.shf-gift__progress {
		max-width: 5.5rem;
	}

	.shf-gift__wave {
		top: 30%;
	}

	.shf-gift__ecosystem {
		top: 18%;
		width: min(88vw, 300px);
	}

	.shf-gift__logo {
		top: 20%;
	}

	.shf-gift__scene[data-scene="sound"],
	.shf-gift__scene[data-scene="form"],
	.shf-gift__scene[data-scene="people"],
	.shf-gift__scene[data-scene="reveal"] {
		padding-block: 4.5rem clamp(16vh, 20vh, 24vh);
	}

	.shf-gift__letter {
		padding: 1.5rem 1.2rem 1.35rem;
	}

	.shf-gift__finale-actions {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shf-gift__intro-logo path {
		animation: none !important;
	}

	.shf-gift__envelope .env-flap,
	.shf-gift__envelope.is-opening {
		transition: none !important;
	}

	.shf-gift__line,
	.shf-gift__en,
	.shf-gift__name,
	.shf-gift__letter,
	.shf-gift__letter-page p,
	.shf-gift__finale-logo,
	.shf-gift__finale-title,
	.shf-gift__finale-lead,
	.shf-gift__sign,
	.shf-gift__authors,
	.shf-gift__quote {
		filter: none !important;
		transform: none !important;
		transition: opacity 0.35s ease !important;
	}

	.shf-gift.is-dark-flash::after {
		display: none;
	}
}
