/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* ---- hero ---- */

.hero {
	position: relative;
	min-height: clamp(540px, 86vh, 860px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--dark2);
	margin-top: calc(-1 * (var(--hd-h) + 20px));
	padding-top: 70px;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
	animation: kb 30s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes kb {
	0% {
		transform: scale(1.03) translate(0, 0);
	}
	100% {
		transform: scale(1.1) translate(-1.2%, -1.2%);
	}
}

.hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(8, 7, 5, 0.94) 0%,
		rgba(8, 7, 5, 0.82) 34%,
		rgba(8, 7, 5, 0.34) 62%,
		rgba(8, 7, 5, 0.5) 100%
	);
}

.hero__sweep {
	position: absolute;
	inset: -30% -60%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		74deg,
		transparent 38%,
		rgba(242, 228, 195, 0.14) 48%,
		rgba(255, 255, 255, 0.05) 52%,
		transparent 62%
	);
	animation: sweep 9s ease-in-out infinite;
}

@keyframes sweep {
	0% {
		transform: translateX(-55%) rotate(2deg);
	}
	100% {
		transform: translateX(55%) rotate(2deg);
	}
}

.hero__grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.14;
	background-image: linear-gradient(rgba(242, 228, 195, 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(242, 228, 195, 0.5) 1px, transparent 1px);
	background-size: 68px 68px;
	mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, #000, transparent 75%);
	animation: gridfloat 18s ease-in-out infinite alternate;
}

@keyframes gridfloat {
	to {
		transform: translate(28px, -18px);
	}
}

.hero__in {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-bottom: clamp(40px, 6vw, 76px);
	color: var(--on-dark);
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--on-dark-border);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 7px 15px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.hero__badge i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--live);
	animation: bl 2s infinite;
	flex: 0 0 auto;
}

.hero__title {
	max-width: 14ch;
	margin-bottom: 18px;
	color: var(--on-dark);
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero__lead {
	color: rgba(255, 255, 255, 0.82);
	max-width: 46ch;
	margin-bottom: 28px;
	font-size: clamp(14px, 1.4vw, 17px);
}

.hero__cta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.hero__stats {
	display: flex;
	gap: clamp(18px, 3vw, 42px);
	flex-wrap: wrap;
	align-items: center;
}

.hero__stat b {
	display: block;
	font-size: clamp(1.2rem, 2.2vw, 1.8rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.hero__stat span {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.65);
	letter-spacing: 0.05em;
}

.hero__stars {
	color: var(--ch3);
	font-size: 14px;
	letter-spacing: 2px;
}

.hero__scroll {
	position: absolute;
	right: max(var(--pad), env(safe-area-inset-right, 0px));
	bottom: clamp(40px, 6vw, 76px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	color: rgba(255, 255, 255, 0.6);
}

.hero__scroll span {
	font-size: 9.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.hero__scroll i {
	width: 1px;
	height: 46px;
	background: linear-gradient(rgba(255, 255, 255, 0.1), var(--ch3));
	position: relative;
	overflow: hidden;
}

.hero__scroll i::after {
	content: '';
	position: absolute;
	top: -46px;
	left: 0;
	width: 1px;
	height: 46px;
	background: var(--ch3);
	animation: sd 1.8s var(--e) infinite;
}

@keyframes sd {
	to {
		top: 46px;
	}
}

@media (max-width: 760px) {
	.hero__scroll {
		display: none;
	}

	.hero {
		min-height: clamp(480px, 78vh, 700px);
	}
}

/* ---- USP marquee ---- */

.umq {
	background: var(--ink);
	color: var(--on-dark);
	overflow: hidden;
	border-block: 1px solid var(--on-dark-fill);
}

.umq__t {
	display: flex;
	width: max-content;
	animation: tk 30s linear infinite;
}

.umq:hover .umq__t {
	animation-play-state: paused;
}

.umq__s {
	display: flex;
	align-items: center;
}

.umq__i {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	white-space: nowrap;
}

.umq__i .ico {
	font-size: 19px;
	color: var(--ch3);
}

.umq__i b {
	font-size: 12.5px;
	font-weight: 700;
	display: block;
	letter-spacing: -0.01em;
}

.umq__i span {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.52);
}

.umq__d {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--grad);
	background-size: 260% 100%;
	animation: gmove 7s linear infinite;
	flex: 0 0 auto;
}

/* ---- quality rows: always one line ---- */

.qrows {
	/* Equal rows, so one level with a longer selling point does not make its
	   whole block taller than the other two. */
	display: grid;
	grid-auto-rows: 1fr;
	gap: 10px;
}

.qrow {
	/* A grid, not a flex row: the left bar took its width from the longest
	   label, so the three rows never lined up under each other. */
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	align-items: stretch;
	gap: 10px;
}

.qbar {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--bg);
	transition: border-color 0.35s var(--e), box-shadow 0.35s var(--e), transform 0.35s var(--e);
}

.qrow:hover .qbar,
.qrow:focus-visible .qbar {
	border-color: var(--qc);
	box-shadow: 0 14px 34px -20px var(--qs);
	transform: translateY(-2px);
}

.qshort {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 14px 10px 10px;
	min-width: 0;
}

.qshort__img {
	width: 70px;
	height: 70px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--surf2);
	flex: 0 0 auto;
}

.qshort__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qpill {
	display: inline-block;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 30px;
	background: var(--qbg);
	color: var(--qc);
	margin-bottom: 4px;
	white-space: nowrap;
}

.qshort__t b {
	display: block;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.qshort__t small {
	font-size: 10.5px;
	color: var(--ink3);
	white-space: nowrap;
}

.qlong {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	min-width: 0;
	/* The quality's own colour wells up from the right edge and drifts, so the
	   bar reads as belonging to that level without shouting. */
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg, transparent 38%, var(--qbg) 100%),
		var(--bg);
}

.qlong::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		100deg,
		transparent 42%,
		color-mix(in srgb, var(--qc) 22%, transparent) 58%,
		transparent 72%
	);
	background-size: 260% 100%;
	animation: gmove 7s linear infinite;
}

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

.qfeat {
	display: flex;
	gap: 7px;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.qfeat__i {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--ink2);
	background: var(--surf);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 5px 10px;
	white-space: nowrap;
}

.qfeat__i .ico {
	font-size: 12px;
	color: var(--qc);
	stroke-width: 2.6;
}

.qmeta {
	text-align: right;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.qmeta b {
	display: block;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.qmeta > span {
	font-size: 9.5px;
	color: var(--ink3);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qgo {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--qbg);
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	transition: 0.3s var(--e);
}

.qgo .ico {
	font-size: 15px;
	color: var(--qc);
	transition: transform 0.3s var(--e);
}

.qrow:hover .qgo {
	background: var(--qc);
}

.qrow:hover .qgo .ico {
	color: var(--on-dark);
	transform: translateX(3px);
}

@media (max-width: 860px) {
	.qlong {
		gap: 10px;
	}

	/* Side by side the two pills squeezed each other until the longer one
	   broke into a column of single words. Stacked they each keep their own
	   line and the text stays readable. */
	.qfeat {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		flex: 1 1 auto;
		overflow: visible;
	}

	.qfeat__i {
		font-size: 10.5px;
		padding: 4px 9px;
		white-space: normal;
		max-width: 100%;
	}

	.qmeta {
		flex: 0 0 auto;
	}
}

@media (max-width: 680px) {
	/* Below this the row stacks, and the two selling points get the full
	   width under the price block instead of fighting it for space. */
	.qrow {
		grid-template-columns: minmax(0, 1fr);
	}

	.qmeta {
		text-align: left;
	}
}

@media (max-width: 560px) {
	.qshort {
		padding: 8px 10px 8px 8px;
		gap: 9px;
	}

	.qshort__img {
		width: 62px;
		height: 62px;
	}

	.qshort__t b {
		font-size: 13px;
	}

	.qlong {
		padding: 8px 11px;
		gap: 9px;
	}

	.qmeta b {
		font-size: 11px;
		white-space: normal;
		line-height: 1.25;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.qmeta > span {
		display: none;
	}

	.qgo {
		width: 30px;
		height: 30px;
	}
}

/* ---- quality carousel card image ---- */

.qc__phw {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 13px;
	overflow: hidden;
	background: var(--surf2);
	margin-bottom: 14px;
}

.qc__phw img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qc__li span:not(.mk) {
	flex: 1;
	min-width: 0;
}

/* ---- bestsellers ---- */

.bestsellers__count {
	margin: 2px 0 12px;
}

/* ---- UGC ---- */

.ugc {
	position: relative;
	background: var(--dark);
	color: var(--on-dark);
	overflow: hidden;
}

.ugc .lead {
	color: var(--on-dark-2);
}

.ugc .eyebrow {
	color: var(--ch3);
}

.ugc__title {
	color: var(--on-dark);
}

.ugc__in {
	position: relative;
	z-index: 2;
}

.ugc__lines {
	position: absolute;
	inset: 0;
	opacity: 0.2;
	pointer-events: none;
	background-image: linear-gradient(90deg, rgba(201, 170, 112, 0.45) 1px, transparent 1px);
	background-size: 94px 100%;
	mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	animation: lineflow 14s linear infinite;
}

@keyframes lineflow {
	to {
		background-position: 94px 0;
	}
}

.ugc__orb {
	position: absolute;
	right: -7%;
	top: -8%;
	width: min(560px, 62vw);
	opacity: 0.13;
	pointer-events: none;
	animation: orbf 16s ease-in-out infinite alternate;
}

.ugc__orb svg {
	width: 100%;
	height: auto;
}

@keyframes orbf {
	to {
		transform: translateY(26px) rotate(6deg);
	}
}

.ugc__hand {
	transform-origin: 100px 108px;
}

.ugc__hand--h {
	animation: spin 60s linear infinite;
}

.ugc__hand--m {
	animation: spin 12s linear infinite;
}

.ugc__stage {
	position: relative;
	height: clamp(380px, 46vw, 520px);
	perspective: 1500px;
	margin-top: 22px;
	z-index: 2;
}

.ugc__card {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(164px, 18.5vw, 230px);
	aspect-ratio: 9 / 16;
	border-radius: var(--r3);
	overflow: hidden;
	background: var(--dark3);
	padding: 0;
	box-shadow: var(--sh-ugc);
	border: 1px solid var(--on-dark-fill);
	transition: transform 0.65s var(--e), opacity 0.65s var(--e), filter 0.65s var(--e);
	transform: translate(-50%, -50%);
}

.ugc__card img,
.ugc__card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ugc__ply {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.ugc__card.is-playing .ugc__ply {
	opacity: 0;
}

.ugc__ply i {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.93);
	display: grid;
	place-items: center;
	transition: transform 0.3s var(--es);
	color: var(--ink);
}

.ugc__card:hover .ugc__ply i {
	transform: scale(1.12);
}

.ugc__ply .ico {
	font-size: 17px;
	margin-left: 2px;
}

.ugc__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 12px 11px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
	text-align: left;
}

.ugc__cap b {
	font-size: 12px;
	font-weight: 700;
	display: block;
	color: var(--on-dark);
}

.ugc__cap span {
	font-size: 10px;
	opacity: 0.72;
	color: var(--on-dark);
}

.ugc__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
	position: relative;
	z-index: 2;
}

.ugc__nav .cbtn {
	background: var(--on-dark-fill);
	border-color: var(--on-dark-fill-2);
	color: var(--on-dark);
}

.ugc__nav .cbtn:hover {
	background: var(--on-dark);
	color: var(--ink);
	border-color: var(--on-dark);
}

.ugc__meta {
	text-align: center;
	min-width: 150px;
}

.ugc__meta b {
	display: block;
	font-size: 14px;
	font-weight: 700;
}

.ugc__meta span {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ch3);
	font-weight: 800;
}

/* ---- reviews ---- */

.rv-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 30px;
}

.rv-s {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 20px;
	text-align: center;
}

.rv-s b {
	display: block;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
}

.rv-s span {
	font-size: 11.5px;
	color: var(--ink2);
}

@media (max-width: 680px) {
	.rv-stats {
		grid-template-columns: 1fr;
	}
}

.rvgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(9px, 1.3vw, 16px);
}

@media (max-width: 1000px) {
	.rvgrid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 760px) {
	.rvgrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.rvc {
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: 0.35s var(--e);
}

.rvc:hover {
	border-color: var(--ch2);
	box-shadow: var(--sh-card-sm);
	transform: translateY(-2px);
}

.rvc__h {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 11px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.rvc__av {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--on-dark);
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.02em;
	flex: 0 0 auto;
}

.rvc__who {
	min-width: 0;
}

.rvc__who b {
	font-size: 12px;
	font-weight: 800;
	display: block;
	letter-spacing: -0.02em;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rvc__who span {
	font-size: 9.5px;
	color: var(--green);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rvc__wa {
	margin-left: auto;
	color: var(--wa);
	flex: 0 0 auto;
}

.rvc__wa .ico {
	font-size: 18px;
}

.rvc__s {
	height: clamp(230px, 30vw, 300px);
	overflow-y: auto;
	overflow-x: hidden;
	background: var(--wa-chat-bg);
	scrollbar-width: thin;
}

.rvc__s::-webkit-scrollbar {
	width: 4px;
}

.rvc__s::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 4px;
}

.rvc__s img {
	width: 100%;
	height: auto;
	display: block;
}

.rvc__f {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 11px;
	border-top: 1px solid var(--line);
	background: var(--bg);
	margin-top: auto;
}

.rvc__f .st {
	color: var(--ch1);
	font-size: 11px;
	letter-spacing: 1.5px;
}

.rvc__vf {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink3);
}

.rvc__vf .ico {
	font-size: 12px;
	color: var(--green);
	stroke-width: 3;
}

/* ---- anatomy ---- */

.ana {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(20px, 3.5vw, 52px);
	align-items: center;
}

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

.ana__img {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--surf);
	border: 1px solid var(--line);
	min-width: 0;
}

.ana__img > img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hot {
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--glass-sc);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	font-size: 11px;
	font-weight: 900;
	color: var(--ch4);
	transition: 0.3s var(--es);
	transform: translate(-50%, -50%);
}

.hot::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	animation: pulse 2.4s var(--e) infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.9;
	}
	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

.hot:hover,
.hot.is-on {
	transform: translate(-50%, -50%) scale(1.14);
	color: var(--on-dark);
	background: var(--grad);
	background-size: 260% 100%;
	animation: gmove 7s linear infinite;
}

.ana__l {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
}

.ana__i {
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: 0.3s var(--e);
	background: var(--bg);
	overflow: hidden;
}

.ana__i:hover {
	border-color: var(--ch2);
}

.ana__i.is-on {
	border-color: var(--ch2);
	background: var(--chbg);
	box-shadow: 0 10px 26px -18px rgba(168, 134, 74, 0.7);
}

.ana__t {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: left;
	padding: 13px 15px;
}

.ana__n {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--surf2);
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 900;
	color: var(--ink2);
	flex: 0 0 auto;
	transition: 0.3s var(--e);
}

.ana__i.is-on .ana__n {
	color: var(--on-dark);
	background: var(--grad);
	background-size: 260% 100%;
	animation: gmove 7s linear infinite;
}

.ana__t b {
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ana__c {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s var(--e);
}

.ana__i.is-on .ana__c {
	grid-template-rows: 1fr;
}

.ana__c > div {
	overflow: hidden;
}

.ana__c p {
	font-size: 12px;
	color: var(--ink2);
	line-height: 1.55;
	padding: 0 15px 14px 49px;
}
