:root {
	--header-gap: 14px;
	scroll-padding-top: calc(var(--header-gap) + 68px);
	--navy: #15212d;
	--panel: #232f3e;
	--orange: #ff9900;
	--white: #f9f9f6;
	font: 16px / 1.75 -apple-system, BlinkMacSystemFont,
		"Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	color: var(--white);
	background: var(--navy);
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
* {
	box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
figure {
	margin: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	cursor: pointer;
}
a:focus-visible,
button:focus-visible {
	outline: 3px solid #61baff;
	outline-offset: 4px;
}
.opening {
	overflow: hidden;
	background: radial-gradient(
		ellipse at 50% 66%,
		#3a4a59 0,
		#223343 33%,
		var(--navy) 70%
	);
}
body {
	padding-top: var(--header-gap);
}
header,
footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
header {
	position: sticky;
	top: var(--header-gap);
	z-index: 5;
	margin: auto;
	width: min(94%, 1440px);
	border: 1px solid #516070;
	border-radius: 50px;
	padding: 6px 24px;
	background: #232f3e;
	transition: opacity 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
header.is-scrolled {
	opacity: 0.12;
	transition-duration: 520ms;
}
@media (hover: hover) {
	header.is-scrolled:hover {
		opacity: 1;
		transition-duration: 200ms;
	}
}
header.is-scrolled:active,
header.is-scrolled:has(:focus-visible) {
	opacity: 1;
	transition-duration: 200ms;
}
@media (prefers-reduced-motion: reduce) {
	header {
		transition: none;
	}
}
header img,
footer img {
	display: block;
	width: 87px;
}
nav {
	display: flex;
	gap: 28px;
	font-size: 13px;
}
nav a:hover {
	text-decoration: underline;
}
.lead {
	text-align: center;
	padding: clamp(30px, 4vw, 65px) 16px 0;
	position: relative;
	z-index: 2;
}
h1,
h2,
h3 {
	letter-spacing: -0.065em;
	line-height: 1.23;
	text-wrap: balance;
}
h1 {
	font-size: clamp(46px, 5.6vw, 84px);
	font-weight: 800;
}
.lead p,
.moments > p,
.feature p,
#download p {
	margin: 16px 0 20px;
	color: #d7e0e6;
}
.mobile {
	display: none;
}
.wall {
	height: clamp(390px, 35vw, 535px);
	max-width: 1680px;
	position: relative;
	margin: 18px auto 0;
	isolation: isolate;
}
.jackets {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.j {
	position: absolute;
	overflow: hidden;
	box-shadow: 4px 12px 24px #08101965;
	border-radius: 3px 9px 9px 3px;
	background-size: cover;
	background-position: center;
	color: white;
	isolation: isolate;
}
.j:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
			90deg,
			#0006,
			transparent 4%,
			#0003 5%,
			transparent 8%,
			#0002
		), linear-gradient(0deg, #0003, transparent);
}
.j b,
.j i {
	position: absolute;
	writing-mode: vertical-rl;
	font: 500 clamp(18px, 2.9vw, 45px) / 1.1 "Hiragino Mincho ProN", "Yu Mincho",
		serif;
	letter-spacing: 0.15em;
	right: 12%;
	top: 9%;
}
.j i {
	font: 400 clamp(10px, 0.85vw, 14px) / 1.3 serif;
	right: auto;
	left: 13%;
	top: auto;
	bottom: 8%;
}
.nebula {
	width: 16%;
	height: 84%;
	left: 15%;
	top: 10%;
	transform: rotate(-7deg);
	background-image: url(assets/story-night.webp);
}
.leaf {
	width: 13%;
	height: 67%;
	left: -1%;
	top: 26%;
	transform: rotate(5deg);
	background-image: url(assets/story-forest.webp);
}
.sea {
	width: 14%;
	height: 71%;
	right: -2%;
	top: 31%;
	transform: rotate(-7deg);
	background-image: url(assets/story-sea.webp);
}
.peaks {
	width: 15%;
	height: 79%;
	right: 15%;
	top: 9%;
	transform: rotate(8deg);
	background-image: url(assets/story-mountains.webp);
}
.red,
.ivory {
	width: 9%;
	height: 47%;
	top: 49%;
}
.red {
	left: 30%;
	transform: rotate(5deg);
	background: repeating-linear-gradient(135deg, #913922 0 5px, #87321e 6px 7px);
}
.ivory {
	right: 30%;
	transform: rotate(-5deg);
	background: #e3d4ac;
	color: #293442;
}
.red b,
.ivory b {
	font-size: clamp(16px, 2.1vw, 32px);
}
.phone {
	position: absolute;
	height: 92%;
	aspect-ratio: 1 / 2;
	left: 50%;
	top: 2%;
	transform: translateX(-50%);
	border: 3px solid #adb4b9;
	background: #131a22;
	border-radius: 24px;
	overflow: hidden;
	padding: 0;
	box-shadow: 0 15px 55px #0008;
}
.phone video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.phone span {
	position: absolute;
	bottom: 4%;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background: #fff;
	color: #18212b;
	border-radius: 32px;
	padding: 8px 13px;
	font-size: 12px;
	font-weight: 700;
}
.moments,
.feature,
#download {
	padding: clamp(55px, 6.5vw, 100px) max(5vw, 20px);
}
h2 {
	font-size: clamp(29px, 3.7vw, 60px);
}
.moments {
	text-align: center;
	background: #f5f3ee;
	color: #172330;
}
.moments > p {
	color: #475463;
}
.cards {
	max-width: 1300px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 32px auto 0;
}
.moment {
	min-height: clamp(280px, 28vw, 430px);
	display: flex;
	align-items: end;
	text-align: left;
	border-radius: 20px;
	padding: clamp(18px, 2vw, 34px);
	background-position: center;
	background-size: cover;
	color: white;
}
.m1 {
	background-image: linear-gradient(0deg, #101922 2%, transparent 95%),
		url(assets/story-pages.webp);
}
.m2 {
	background-image: linear-gradient(0deg, #101922 2%, transparent 95%),
		url(assets/story-library.webp);
}
.m3 {
	background-image: linear-gradient(0deg, #101922 2%, transparent 95%),
		url(assets/story-night.webp);
}
.moment h3 {
	font-size: clamp(21px, 2vw, 32px);
	margin-bottom: 10px;
}
.moment p {
	font-size: 14px;
}
.feature {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 8%;
	align-items: center;
	max-width: 1280px;
	margin: auto;
}
.feature p {
	max-width: 30em;
}
.feature img {
	width: 100%;
	display: block;
	border: 1px solid #4a5865;
	border-radius: 16px;
}
#download {
	text-align: center;
	background: var(--panel);
}
.stores {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.stores {
	align-items: center;
	gap: 14px;
}
.stores a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	border-radius: 7px;
}
.stores img {
	display: block;
	width: auto;
	height: 44px;
}
footer {
	padding: 20px 5%;
	background: var(--panel);
	border-top: 1px solid #455160;
}
dialog {
	background: var(--panel);
	color: white;
	border: 1px solid #566475;
	border-radius: 18px;
	padding: 20px;
	max-width: 92vw;
}
dialog::backdrop {
	background: #080e16d9;
}
dialog video {
	display: block;
	max-height: 74vh;
	width: min(35vh, 72vw);
	margin: auto;
}
.close {
	display: block;
	margin: 0 0 8px auto;
	border: 0;
	color: white;
	background: #37475a;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 23px;
	line-height: 1;
}
@media (max-width: 700px) {
	:root {
		--header-gap: 8px;
		scroll-padding-top: calc(var(--header-gap) + 56px);
	}
	header {
		padding: 4px 14px;
	}
	header img {
		width: 72px;
	}
	nav {
		font-size: 11px;
		gap: 12px;
	}
	.mobile {
		display: block;
	}
	.lead {
		padding: 28px 14px 0;
	}
	.lead p {
		font-size: 13px;
		line-height: 1.8;
		max-width: 32em;
		margin: 14px auto 18px;
	}
	.wall {
		height: 332px;
		margin-top: 20px;
	}
	.phone {
		height: 91%;
		border-radius: 16px;
	}
	.nebula,
	.peaks {
		width: 28%;
		height: 64%;
		top: 18%;
	}
	.nebula {
		left: -3%;
	}
	.peaks {
		right: -3%;
	}
	.j b {
		font-size: 24px;
	}
	.leaf,
	.sea {
		display: none;
	}
	.red,
	.ivory {
		width: 17%;
		height: 46%;
		top: 46%;
	}
	.red {
		left: 16%;
	}
	.ivory {
		right: 16%;
	}
	.red b,
	.ivory b {
		font-size: 16px;
	}
	.cards,
	.feature {
		grid-template-columns: 1fr;
	}
	.moment {
		min-height: 245px;
	}
	.feature {
		gap: 22px;
	}
	.feature img {
		max-width: 410px;
	}
	.moments > p {
		font-size: 14px;
	}
	.cards {
		gap: 14px;
	}
	.phone span {
		font-size: 10px;
	}
}

.phone {
	aspect-ratio: 1206 / 2622;
}
.phone video {
	object-fit: contain;
}

.lead .stores {
	flex-wrap: nowrap;
}
@media (max-width: 360px) {
	.lead .stores {
		gap: 10px;
	}
	.lead .stores img {
		height: 40px;
	}
}
