/* QR thank-you landing (template-thank-you.php). Focused, editorial layout;
   every colour/space/type value from tokens.css so it morphs like the rest. */

.at-ty {
	background: var(--at-bg);
}
.at-ty__inner {
	position: relative;
	max-width: 760px;
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* Language toggle — quiet pill, top-right. */
.at-ty__toggle {
	position: absolute;
	top: clamp(1rem, 3vw, 1.75rem);
	right: var(--at-space-4);
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	padding: var(--at-space-2) var(--at-space-4);
	border: 1px solid var(--at-border);
	border-radius: 999px;
	background: var(--at-surface);
	color: var(--at-text-muted);
	font-size: var(--at-fs-100);
	font-weight: 600;
	text-decoration: none;
	transition: color .18s ease, border-color .18s ease;
}
.at-ty__toggle:hover {
	color: var(--at-accent);
	border-color: var(--at-accent);
}

/* ---- Section eyebrow + title — shared by hero, video and reference ---- */
.at-ty__section-eyebrow {
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: var(--at-fs-100);
	font-weight: 600;
	color: var(--at-accent);
	margin: 0 0 var(--at-space-4);
}
.at-ty__section-title {
	font-family: var(--at-font-display);
	font-size: var(--at-fs-500);
	font-weight: 500;
	margin: 0 0 var(--at-space-8);
	text-align: center;
}

/* ---- Hero ---- */
.at-ty__hero {
	text-align: center;
	padding-block: var(--at-space-8) var(--at-space-8);
}
.at-ty__title {
	font-family: var(--at-font-display);
	font-size: clamp(2rem, 5.5vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -.02em;
	margin: 0 0 var(--at-space-6);
}
.at-ty__lead {
	font-size: var(--at-fs-400);
	line-height: var(--at-lh-body);
	color: var(--at-text);
	max-width: 52ch;
	margin: 0 auto var(--at-space-6);
}

/* Mount-anywhere badges. */
.at-ty__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--at-space-3);
	list-style: none;
	margin: 0 0 var(--at-space-6);
	padding: 0;
}
.at-ty__badge {
	display: inline-flex;
	align-items: center;
	padding: var(--at-space-2) var(--at-space-4);
	border: 1px solid var(--at-border);
	border-radius: 999px;
	background: var(--at-surface);
	color: var(--at-text);
	font-size: var(--at-fs-200);
	font-weight: 600;
}

/* Quiet anchor down to the video. */
.at-ty__watch {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	color: var(--at-accent);
	font-size: var(--at-fs-200);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .18s ease;
}
.at-ty__watch:hover {
	border-color: var(--at-accent);
}
.at-ty__watch-arrow {
	display: inline-block;
	transition: transform .18s ease;
}
.at-ty__watch:hover .at-ty__watch-arrow {
	transform: translateY(3px);
}

/* ---- Assembly video (portrait, phone-shot) ---- */
.at-ty__video {
	padding-block: var(--at-space-6) var(--at-space-12);
	border-bottom: 1px solid var(--at-border);
	scroll-margin-top: var(--at-space-8);
}
.at-ty__video-frame {
	display: flex;
	justify-content: center;
}
.at-ty__video-el {
	width: 100%;
	max-width: 360px;         /* keep the 9:16 clip from dominating on desktop */
	aspect-ratio: 576 / 992;
	max-height: 78vh;
	border-radius: var(--at-radius-lg);
	border: 1px solid var(--at-border);
	background: #000;
	box-shadow: var(--at-shadow);
	display: block;
}

/* ---- Thank-you note ---- */
.at-ty__thanks {
	text-align: center;
	padding-block: var(--at-space-12);
	border-bottom: 1px solid var(--at-border);
}
.at-ty__thanks-body {
	color: var(--at-text-muted);
	line-height: var(--at-lh-body);
	max-width: 56ch;
	margin: 0 auto;
}

/* ---- Repurchase ---- */
.at-ty__repurchase {
	text-align: center;
	padding-block: var(--at-space-12);
	border-bottom: 1px solid var(--at-border);
}
.at-ty__repurchase-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--at-space-4);
}
.at-ty__repurchase-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
}

/* ---- Contact ---- */
.at-ty__contact {
	text-align: center;
	padding-block: var(--at-space-12);
	border-bottom: 1px solid var(--at-border);
}
.at-ty__contact-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--at-space-6);
	list-style: none;
	margin: 0;
	padding: 0;
}
.at-ty__contact-link {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	color: var(--at-text);
	font-weight: 600;
	text-decoration: none;
	transition: color .18s ease;
}
.at-ty__contact-link:hover {
	color: var(--at-accent);
}
.at-ty__contact-icon {
	display: inline-flex;
	color: var(--at-accent);
}

/* ---- "Where the name comes from" reference card ---- */
.at-ty__reference {
	text-align: center;
	padding-block: var(--at-space-12);
}
.at-ty__film-card {
	display: grid;
	grid-template-columns: 260px 1fr;
	text-align: left;
	max-width: 100%;
	margin: 0 auto;
	background: var(--at-surface);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-lg);
	overflow: hidden;
	box-shadow: var(--at-shadow);
	text-decoration: none;
	color: inherit;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.at-ty__film-card:hover {
	transform: translateY(-4px);
	border-color: var(--at-accent);
	box-shadow: var(--at-shadow), 0 12px 32px rgba(28, 26, 23, .12);
}

/* Poster side — the brand's own hand-drawn night-scene illustration. */
.at-ty__film-thumb {
	position: relative;
	min-height: 260px;
	background: #07040A;
}
.at-ty__film-art {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.at-ty__film-thumb-brand {
	position: absolute;
	left: var(--at-space-3);
	bottom: var(--at-space-3);
	z-index: 2;
	text-transform: uppercase;
	letter-spacing: .24em;
	font-size: var(--at-fs-100);
	font-weight: 500;
	color: var(--at-accent);
}

/* Info side — film details, same tone as the rest of the page. */
.at-ty__film-info {
	padding: var(--at-space-8);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.at-ty__film-meta {
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: var(--at-fs-100);
	font-weight: 600;
	color: var(--at-text-muted);
	margin: 0 0 var(--at-space-2);
}
.at-ty__film-title {
	font-family: var(--at-font-display);
	font-size: var(--at-fs-400);
	font-weight: 600;
	color: var(--at-text);
	line-height: var(--at-lh-tight);
	margin: 0 0 var(--at-space-1);
}
.at-ty__film-original {
	font-size: var(--at-fs-200);
	font-style: italic;
	color: var(--at-text-muted);
	margin: 0 0 var(--at-space-4);
}
.at-ty__film-desc {
	color: var(--at-text);
	line-height: var(--at-lh-body);
	margin: 0 0 var(--at-space-4);
}
.at-ty__film-crew {
	font-size: var(--at-fs-200);
	font-style: italic;
	color: var(--at-text-muted);
	margin: 0 0 var(--at-space-6);
}
.at-ty__film-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2);
	align-self: flex-start;
	padding: var(--at-space-2) var(--at-space-4);
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius-sm);
	color: var(--at-accent);
	font-size: var(--at-fs-200);
	font-weight: 600;
	transition: border-color .18s ease;
}
.at-ty__film-card:hover .at-ty__film-btn {
	border-color: var(--at-accent);
}
.at-ty__film-btn-arrow {
	display: inline-block;
	transition: transform .18s ease;
}
.at-ty__film-card:hover .at-ty__film-btn-arrow {
	transform: translateX(3px);
}

@media (max-width: 620px) {
	.at-ty__toggle { position: static; display: inline-flex; margin-bottom: var(--at-space-6); }
	.at-ty__repurchase-btn { width: 100%; justify-content: center; }
	.at-ty__contact-list { flex-direction: column; align-items: center; gap: var(--at-space-4); }
	.at-ty__film-card { grid-template-columns: 1fr; }
	.at-ty__film-thumb { min-height: 200px; }
	.at-ty__film-info { padding: var(--at-space-6); }
}
