/*-----------
reset
-----------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; } /* scroll smoothing handled by Lenis; clip (not hidden) keeps position: sticky working */
li { list-style: none; }

/*-----------
fonts
-----------*/
/* Makcasa (TimelessType): the Figma display face, self-hosted (not on Google Fonts) */
@font-face {
	font-family: "Makcasa";
	src: url("fonts/makcasa-regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/*-----------
variables
-----------*/
:root {
	--pink: #fc0362;
	--pink-dark: #96023a;
	--glow: #ff5596;
	--grey: #7e7e7e;
	--serif: "Noto Serif", "Noto Serif JP", "Noto Serif TC", serif;
	/* Makcasa (self-hosted, see fonts); Italiana shows while it loads */
	--display: "Makcasa", "Italiana", "Noto Serif", serif;
	/* one Figma px for the side icons: 1px on a 1920 × 1080 screen, shrinking with the width or
	   height down to 0.55px */
	--nav-u: clamp(0.55px, min(100vw / 1920, 100vh / 1080), 1px);
}

/*-----------
body
-----------*/
body {
	color: #fff;
	font-family: var(--serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	background: #000;
	overflow-x: clip;
}

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

/*-----------
common
-----------*/
.inner {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

/* section headings ("What are Nendoroids?", "Preorder Period", …) */
.heading {
	font-size: clamp(24px, 2.8vw, 40px);
	font-weight: 700;
	line-height: 2;
	text-align: center;
	text-shadow: 0 0 20px var(--pink);
}

/*-----------
fade animation
-----------*/
.fadein {
	opacity: 0;
	transform: translate(0, 30px);
	transition: opacity 1s, transform 1s;
}
.fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
	.fadein { opacity: 1; transform: none; transition: none; }
}

/*-----------
buttons
-----------*/
a.btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(600px, 100%);
	min-height: 80px;
	margin: 0 auto;
	padding: 8px 64px;
	border: 2px solid #fff;
	background: linear-gradient(to right, var(--pink), var(--pink-dark));
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
	font-size: clamp(20px, 2.2vw, 32px);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	transition: opacity 0.3s;
}
a.btn:hover { opacity: 0.8; }
a.btn .arrow {
	position: absolute;
	right: 24px;
	top: 50%;
	width: 24px;
	transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
	.inner { width: calc(100% - 32px); }
	a.btn { min-height: 64px; padding: 8px 48px; }
	a.btn .arrow { right: 14px; width: 20px; }
}
