/* Stories Section Styles */

.stories {
	margin-top: clamp(96px, 8vw, 140px);
	background: var(--blush);
	padding: clamp(62px, 6vw, 94px) 0;
	overflow: hidden;
}

/* Section Heading */
.stories .two-copy h2 {
	font: 300 clamp(34px, 3.2vw, 54px) / 1.08 var(--serif);
	letter-spacing: -0.035em;
	margin: 0;
}

.stories .two-copy p {
	margin-top: 16px;
	color: var(--body);
	font-size: 14px;
	line-height: 1.7;
}

/* Video Carousel Controls */
.story-controls {
	display: flex;
	gap: 8px;
	margin-top: 22px;
}

.rail-btn {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(22, 21, 19, 0.5);
	border-radius: 50%;
	background: transparent;
	display: grid;
	place-items: center;
	font-size: 17px;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
	color: var(--ink);
}

.rail-btn:hover {
	background: var(--ink);
	color: #fff;
}

/* Video Row - Horizontal Scrolling */
.video-row {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 34px 0 10px;
	scrollbar-width: none;
}

.video-row::-webkit-scrollbar {
	display: none;
}

/* Video Card */
.video-card {
	flex: 0 0 clamp(200px, 20vw, 280px);
	border: 1px solid rgba(22, 21, 19, 0.18);
	border-radius: 22px;
	overflow: hidden;
	position: relative;
	background: #fff;
	scroll-snap-align: start;
}

/* Video Media */
.video-media {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	background: #222;
}

.video-media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Play Button */
.video-play {
	position: absolute;
	z-index: 2;
	left: 20px;
	top: 20px;
	width: 44px;
	height: 44px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.12);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s;
}

.video-play:hover {
	background: rgba(0, 0, 0, 0.25);
}

/* Product Card Link */
.story-product {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 38px;
	gap: 13px;
	align-items: center;
	min-height: 82px;
	padding: 11px 13px 11px 11px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}

.story-product-thumb {
	display: block;
	width: 58px;
	height: 58px;
	overflow: hidden;
	background: var(--paper);
}

.story-product-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-product-copy {
	min-width: 0;
}

.story-product-copy b {
	display: block;
	font: 400 14px / 1.25 var(--serif);
	letter-spacing: -0.015em;
	margin: 0;
}

.story-product-copy small {
	display: block;
	margin-top: 5px;
	color: var(--body);
	font-size: 11px;
}

.story-product-go {
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 14px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.story-product:hover .story-product-go,
.story-product:focus-visible .story-product-go {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.story-product:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: -2px;
}

/* Tablet — max-width 940px */
@media (max-width: 940px) {
	.video-card {
		flex-basis: 82%;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.rail-btn,
	.video-play,
	.story-product-go {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
