.ths-53 {
	--ths-card: #F1E8D8;
	--ths-ink: #2B1E14;
	--ths-nav: #ffffff;
	--ths-tint: .82;
	--ths-radius: 10px;
	--ths-gap: clamp(12px, 1.6vw, 24px);
	--ths-dur: 7000ms;
	position: relative;
	width: 100%;
	height: 92vh;
	min-height: 600px;
	overflow: hidden;
	background: #140c07;
	isolation: isolate;
}

.ths-53, .ths-53 *, .ths-53 *::before, .ths-53 *::after { box-sizing: border-box; }

/* ---------- Slide ---------- */
.ths-53__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
	transform: translate3d(100%, 0, 0);
	will-change: transform;
}
.ths-53__slide.is-active,
.ths-53__slide.is-moving { visibility: visible; }
.ths-53__slide.is-active { transform: none; z-index: 2; }
.ths-53__slide.is-moving { z-index: 3; }

/* ---------- Background (Ken Burns + tint) ---------- */
.ths-53__bg { position: absolute; inset: 0; overflow: hidden; }
.ths-53 img.ths-53__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform-origin: 70% 50%;
	filter: saturate(.75) contrast(1.05);
}
.ths-53__slide--kb-in .ths-53__bg-img { transform: scale(1.02); }
.ths-53__slide--kb-out .ths-53__bg-img { transform: scale(1.18); }
.ths-53__slide--kb-left .ths-53__bg-img { transform: scale(1.14) translateX(3%); }
.ths-53__slide--kb-right .ths-53__bg-img { transform: scale(1.14) translateX(-3%); }
.ths-53__slide.is-active.ths-53__slide--kb-in .ths-53__bg-img { animation: ths53-kb-in calc(var(--ths-dur) + 3s) linear forwards; }
.ths-53__slide.is-active.ths-53__slide--kb-out .ths-53__bg-img { animation: ths53-kb-out calc(var(--ths-dur) + 3s) linear forwards; }
.ths-53__slide.is-active.ths-53__slide--kb-left .ths-53__bg-img { animation: ths53-kb-left calc(var(--ths-dur) + 3s) linear forwards; }
.ths-53__slide.is-active.ths-53__slide--kb-right .ths-53__bg-img { animation: ths53-kb-right calc(var(--ths-dur) + 3s) linear forwards; }
@keyframes ths53-kb-in { from { transform: scale(1.02); } to { transform: scale(1.18); } }
@keyframes ths53-kb-out { from { transform: scale(1.18); } to { transform: scale(1.03); } }
@keyframes ths53-kb-left { from { transform: scale(1.14) translateX(3%); } to { transform: scale(1.14) translateX(-3%); } }
@keyframes ths53-kb-right { from { transform: scale(1.14) translateX(-3%); } to { transform: scale(1.14) translateX(3%); } }

.ths-53__tint {
	position: absolute;
	inset: 0;
	background: var(--ths-accent);
	mix-blend-mode: multiply;
	opacity: var(--ths-tint);
	pointer-events: none;
}
.ths-53__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
	pointer-events: none;
}

/* ---------- Card (parchment) ---------- */
.ths-53__card {
	position: absolute;
	z-index: 1;
	top: var(--ths-gap);
	bottom: var(--ths-gap);
	left: var(--ths-gap);
	width: calc(50% - var(--ths-gap));
	border-radius: var(--ths-radius);
	background-color: var(--ths-card);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.33  0 0 0 0 0.2  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%),
		radial-gradient(ellipse at 90% 100%, rgba(120, 85, 45, .12), rgba(120, 85, 45, 0) 60%);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
	overflow: hidden;
}
.ths-53__card-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(12px, 1.9vh, 24px);
	padding: clamp(24px, 4vh, 48px) clamp(28px, 4vw, 64px);
	padding-right: clamp(90px, 13vw, 210px);
}
.ths-53__logo { margin-bottom: auto; }
.ths-53 img.ths-53__logo-img {
	display: block;
	width: clamp(110px, 10vw, 160px);
	height: auto;
	max-width: none;
	border: 0;
	box-shadow: none;
}
.ths-53 .ths-53__title {
	position: relative;
	z-index: 0;
	margin: 0;
	font-family: 'Anton', 'Oswald', Impact, sans-serif;
	font-size: clamp(52px, min(8.8vw, 13.5vh), 150px);
	font-weight: 400;
	line-height: .92;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--ths-accent);
	white-space: nowrap;
}
.ths-53 .ths-53__desc {
	margin: 0;
	max-width: 480px;
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(17px, 1.45vw, 23px);
	font-weight: 500;
	line-height: 1.45;
	color: var(--ths-ink);
}
.ths-53 a.ths-53__btn {
	align-self: flex-start;
	display: inline-block;
	padding: 17px 30px 16px;
	border-radius: 5px;
	background: var(--ths-accent);
	color: var(--ths-card);
	font-family: 'Anton', 'Oswald', Impact, sans-serif;
	font-size: clamp(17px, 1.5vw, 24px);
	font-weight: 400;
	letter-spacing: .6px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.ths-53 a.ths-53__btn:hover,
.ths-53 a.ths-53__btn:focus-visible {
	color: var(--ths-card);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--ths-accent) 40%, transparent);
	filter: brightness(1.12);
}
.ths-53 a.ths-53__btn:focus-visible { outline: 2px solid var(--ths-accent); outline-offset: 3px; }
.ths-53 .ths-53__footnote {
	margin: auto 0 0;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 15px;
	font-weight: 500;
	color: #A8987F;
}

/* ---------- Product (straddles the card edge) ---------- */
.ths-53__product {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	height: 82%;
	transform: translate(-50%, -47%);
	pointer-events: none;
}
.ths-53__product-move { height: 100%; will-change: transform; }
.ths-53 img.ths-53__bottle {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
	max-height: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(-18px 28px 30px rgba(0, 0, 0, .35));
}

/* ---------- Navigation ---------- */
.ths-53__nav {
	position: absolute;
	z-index: 5;
	right: clamp(22px, 3.5vw, 60px);
	bottom: clamp(22px, 4.5vh, 48px);
	display: flex;
	gap: clamp(18px, 2vw, 32px);
}
.ths-53 button.ths-53__nav-btn,
.ths-53 button.ths-53__nav-btn:hover,
.ths-53 button.ths-53__nav-btn:focus {
	position: relative;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ths-nav);
	font-family: 'Anton', 'Oswald', Impact, sans-serif;
	font-size: clamp(20px, 1.9vw, 30px);
	font-weight: 400;
	letter-spacing: .5px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}
.ths-53 button.ths-53__nav-btn::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.ths-53 button.ths-53__nav-btn:hover::after,
.ths-53 button.ths-53__nav-btn:focus-visible::after { transform: scaleX(1); }
.ths-53 button.ths-53__nav-btn:focus-visible { outline: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.ths-53__card { width: calc(56% - var(--ths-gap)); }
	.ths-53__product { left: 56%; height: 70%; }
	.ths-53__card-inner { padding-right: clamp(80px, 12vw, 140px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.ths-53 { height: 118svh; min-height: 700px; max-height: 960px; }
	.ths-53__card {
		top: 41%;
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}
	.ths-53__card-inner {
		justify-content: flex-start;
		gap: 16px;
		padding: 64px 24px 24px;
	}
	.ths-53__logo { display: none; }
	.ths-53 .ths-53__title { font-size: clamp(46px, 14.5vw, 72px); white-space: normal; }
	.ths-53 .ths-53__desc { font-size: 16px; }
	.ths-53 .ths-53__footnote { font-size: 13px; }
	.ths-53__product { top: 3%; left: 50%; height: 41%; transform: translateX(-50%); }
	.ths-53__nav { top: 16px; right: 18px; bottom: auto; }
	.ths-53 button.ths-53__nav-btn,
	.ths-53 button.ths-53__nav-btn:hover,
	.ths-53 button.ths-53__nav-btn:focus { font-size: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.ths-53__slide.is-active .ths-53__bg-img { animation: none !important; }
}

/* ---------- Progress line ---------- */
.ths-53__progress {
	position: absolute;
	z-index: 6;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: rgba(255, 255, 255, .18);
	overflow: hidden;
	pointer-events: none;
}
.ths-53__progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--ths-progress, rgba(255, 255, 255, .9));
	transform: scaleX(0);
	transform-origin: left center;
}
.ths-53.is-running .ths-53__progress-bar { animation: ths53-progress var(--ths-dur) linear forwards; }
.ths-53.is-paused .ths-53__progress-bar { animation-play-state: paused; }
@keyframes ths53-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	.ths-53__progress { display: none; }
}
