/* Pixel-parity overrides (parity-home). Loaded after all theme CSS.
   Values are the computed styles of en.blueelephant.co (#main_slide, .i-prd, .i-section).
   Breakpoint of the reference: <=720px is the mobile layout.
   Deliberate differences: hero title/dots stay dark (our photos have light backgrounds,
   the reference's white would be invisible); hero image height follows our 2400x1128 art. */

/* --- Buttons: ref a.btn_s ---------------------------------------------- */
.home-btn {
	font-weight: 400;
	transition: 0.15s ease-in-out;
}

.home-btn:hover {
	color: var(--be-beige);
	background: #555;
}

/* --- Hero: shared ------------------------------------------------------ */
.hero {
	aspect-ratio: auto;
	background: transparent;
}

.hero-track {
	transition: transform 0.35s ease;
}

.hero-arrow {
	top: 40%;
	box-sizing: content-box;
	width: 64px;
	height: 64px;
	padding: 12px;
	border: 1px solid transparent;
	opacity: 1;
	transform: none;
	transition: none;
}

.hero-dots {
	right: 0;
	left: 0;
	align-items: flex-start;
	justify-content: center;
	height: 13px;
	transform: none;
	transition: opacity 0.3s;
}

.hero-dot {
	flex: 0 0 auto;
	box-sizing: content-box;
	width: 5px;
	height: 5px;
	margin: 6px 10px 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--be-ink);
	opacity: 0.9;
}

.hero-dot::after {
	display: none;
}

.hero-dot.is-active {
	width: 7px;
	height: 7px;
	margin-top: 2px;
	border: 1px solid var(--be-ink);
	background: transparent;
}

.home-prd,
.home-campaign,
.home-stories {
	background: #e6e6e6;
}

/* --- Desktop / tablet (>720px) ------------------------------------------ */
@media (min-width: 721px) {
	.hero {
		height: 47vw;
		max-height: calc(100vh - 160px);
	}

	.hero-copy {
		top: calc(20vw + 1px);
	}

	.hero-title {
		font-size: 4rem;
		line-height: 52px;
	}

	.hero-btn {
		width: 128px;
		min-width: 0;
		margin-top: 12px;
		padding: 12px;
		font-size: 1.3rem;
		line-height: 16.9px;
	}

	.hero-arrow {
		display: block;
	}

	.hero-dots {
		bottom: 60px;
	}

	.home-main {
		padding: 15px;
	}

	.home-prd {
		min-height: 0;
		padding: 40px 16px;
		overflow: hidden;
	}

	.home-prd-track {
		width: 98%;
		max-width: 1200px;
		margin: 0 auto;
		overflow: visible;
	}

	.home-prd-slide {
		flex: 0 0 50%;
		min-height: 0;
		padding: 0 0 120px;
	}

	.home-prd-slide + .home-prd-slide::before {
		position: absolute;
		top: 25%;
		left: -1px;
		display: block;
		width: 1px;
		height: 30%;
		background: #fff;
	}

	.home-prd-img {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 40px 15% 80px;
		box-sizing: border-box;
		background: transparent;
	}

	.home-prd-img img {
		display: block;
	}

	.home-prd-dsc {
		position: absolute;
		right: 0;
		bottom: 140px;
		left: 0;
		margin: 0;
		padding-bottom: 8px;
	}

	.home-prd-name {
		padding: 8px 0;
		font-size: 2.8rem;
		font-weight: 200;
		letter-spacing: 2.8px;
		line-height: 36.4px;
	}

	.home-prd-dsc .home-btn {
		min-width: 0;
		margin-top: 20px;
		padding: 12px 38.9px;
		font-size: 1.3rem;
		line-height: 16.9px;
	}

	.home-prd-dots {
		display: none;
	}

	.home-campaign {
		padding: 0;
	}

	.home-campaign-img {
		max-width: 1280px;
		margin: 0 auto;
	}

	.home-campaign-card {
		top: calc(50% - 60px);
		width: 180px;
		padding: 32px 0 35px;
	}

	.home-campaign-title {
		font-size: 2.4rem;
		letter-spacing: 0.6px;
		line-height: 31.2px;
		text-transform: none;
	}

	.home-campaign-sub {
		margin: 0;
		padding: 20px 8px 8px;
		font-size: 1.3rem;
		font-weight: 400;
		letter-spacing: 0.325px;
		line-height: 16.9px;
	}

	.home-campaign-link {
		margin-top: 12px;
		font-weight: 400;
		line-height: 14.3px;
		transition: 0.15s ease-in-out;
	}

	.home-campaign-btn {
		top: calc(50% - 48px);
		left: 50%;
		width: 128px;
		min-width: 0;
		padding: 12px;
		font-size: 1.3rem;
		line-height: 16.9px;
	}

	.home-stories {
		padding: 40px 16px;
	}

	.home-stories-title {
		margin: 20px 0 60px;
		font-size: 3.6rem;
		letter-spacing: 3.6px;
		line-height: 46.8px;
		text-transform: uppercase;
	}

	.home-stories-title span {
		padding: 8px 0 12px;
		border-bottom-color: #aaa;
	}
}

@media (min-width: 721px) and (max-width: 1080px) {
	.hero-title {
		font-size: 4rem;
	}
}

@media (min-width: 1081px) {
	.hero-title {
		font-size: 5.2rem;
		line-height: 67.6px;
	}
}

/* --- Mobile (<=720px) ----------------------------------------------------- */
@media (max-width: 720px) {
	.hero {
		height: 127vw;
		max-height: calc(100vh - 200px);
	}

	.hero-copy {
		top: calc(50vw + 1px);
	}

	.hero-title {
		font-size: 2.4rem;
		line-height: 31.2px;
	}

	.hero-btn {
		width: 120px;
		min-width: 0;
		margin-top: 12px;
		padding: 8px;
		font-size: 1.2rem;
		line-height: 12px;
	}

	.hero-arrow {
		display: none;
	}

	.hero-dots {
		bottom: 36px;
	}

	.home-main {
		padding: 0;
	}

	.home-prd {
		position: relative;
		min-height: 0;
		padding: 0;
		overflow: hidden;
	}

	.home-prd-track {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.home-prd-slide {
		flex: 0 0 100%;
		min-height: 0;
		padding: 0 20px 80px;
	}

	.home-prd-img {
		width: 100%;
		margin: 0;
		padding: 0 15% 80px;
		box-sizing: border-box;
		background: transparent;
	}

	.home-prd-img img {
		display: block;
	}

	.home-prd-dsc {
		position: absolute;
		right: 20px;
		bottom: 80px;
		left: 20px;
		margin: 0;
		padding-bottom: 8px;
	}

	.home-prd-name {
		padding: 8px 0;
		font-size: 2rem;
		font-weight: 200;
		letter-spacing: 2px;
		line-height: 26px;
	}

	.home-prd-dsc .home-btn {
		min-width: 0;
		margin-top: 20px;
		padding: 12px 28px;
		font-size: 1.1rem;
		line-height: 14.3px;
	}

	.home-prd-dots {
		position: absolute;
		right: 0;
		bottom: 36px;
		left: 0;
		align-items: flex-start;
		height: 11px;
		margin: 0;
	}

	.home-prd-dot {
		box-sizing: content-box;
		width: 5px;
		height: 5px;
		margin: 4px 10px 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #777070;
		opacity: 0.9;
	}

	.home-prd-dot::after {
		display: none;
	}

	.home-prd-dot.is-active {
		width: 7px;
		height: 7px;
		margin-top: 1px;
		border: 1px solid #777070;
		background: transparent;
	}

	.home-campaign {
		padding: 0;
	}

	.home-campaign-img {
		max-width: none;
	}

	.home-campaign-card {
		top: calc(50% - 110px);
		width: 176px;
		padding: 28px 0 23px;
	}

	.home-campaign-title {
		font-size: 1.5rem;
		letter-spacing: 0.375px;
		line-height: 19.5px;
		text-transform: none;
	}

	.home-campaign-sub {
		margin: 0;
		padding: 20px 8px 8px;
		font-size: 1.1rem;
		font-weight: 400;
		letter-spacing: 0.275px;
		line-height: 14.3px;
	}

	.home-campaign-link {
		margin-top: 12px;
		font-weight: 400;
		line-height: 12px;
	}

	.home-campaign-btn {
		top: calc(50% - 28px);
		left: 50%;
		width: 120px;
		min-width: 0;
		padding: 8px;
		font-size: 1.2rem;
		line-height: 12px;
	}

	.home-stories {
		padding: 40px 4px;
	}

	.home-stories-title {
		margin: 20px 0 40px;
		font-size: 1.8rem;
		letter-spacing: 1.8px;
		line-height: 23.4px;
		text-transform: uppercase;
	}

	.home-stories-title span {
		padding: 8px 0;
		border-bottom-color: #aaa;
	}
}
