/* KiwiTees coming-soon landing page + quiz popup (v2.0.0)
   Mobile first: a picture banner on top, a solid dark panel with the content
   below. From 768px up the picture fills the whole screen behind the text. */

.kts-cs,
.kts-cs * { box-sizing: border-box; }

.kts-cs {
	--cs-accent: #A9CF57;
	--cs-panel: #0d1a12;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	background: var(--cs-panel);
	color: #fff;
	font-family: 'Nunito Sans', 'FigTree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

/* ---------------- Background picture ---------------- */
.kts-cs-bg {
	position: relative;
	flex: none;
	height: 41.5vh;
	height: 41.5svh;
	min-height: 254px;
	max-height: 391px;
	overflow: hidden;
}
.kts-cs-bg picture { display: block; position: absolute; inset: 0; }
.kts-cs-bgimg {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: var(--cs-pos-m, 50% 30%);
}
.kts-cs-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 45%, var(--cs-panel) 100%);
}

/* ---------------- Content column ---------------- */
.kts-cs-copy,
.kts-cs-side { display: flex; flex-direction: column; align-items: center; width: 100%; }

.kts-cs-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 560px;
	margin: -70px auto 0;
	padding: 0 20px 36px;
}

.kts-cs-label {
	margin: 0 0 14px !important;
	padding: 6px 14px !important;
	border-radius: 999px;
	background: rgba(169, 207, 87, 0.16);
	color: var(--cs-accent) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 1.6px !important;
	text-transform: uppercase !important;
}

.kts-cs-logo {
	display: block !important;
	width: 210px !important;
	max-width: 70% !important;
	height: auto !important;
	margin: 0 auto 18px !important;
}

.kts-cs-headline {
	margin: 0 0 6px !important;
	padding: 0 !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: inherit !important;
}
.kts-cs-subhead {
	margin: 0 0 14px !important;
	color: #fff !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
.kts-cs-intro {
	margin: 0 0 14px !important;
	color: rgba(255, 255, 255, 0.88) !important;
	font-size: 15.5px !important;
	line-height: 1.55 !important;
}
.kts-cs-quote {
	margin: 0 0 24px !important;
	color: rgba(255, 255, 255, 0.95) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}
.kts-cs-quote strong { display: block; font-size: 1.08em; font-weight: 800; }
.kts-cs-quote em { display: block; font-style: italic; opacity: 0.88; }

/* ---------------- Actions card ---------------- */
.kts-cs-actions {
	width: 100%;
	padding: 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	text-align: center;
}

.kts-cs .kts-cs-quiz {
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	min-height: 58px;
	padding: 14px 18px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--cs-accent) !important;
	color: #10200f !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3) !important;
	cursor: pointer;
	transition: transform 0.12s ease, filter 0.12s ease;
}
.kts-cs .kts-cs-quiz:hover { filter: brightness(1.06); transform: translateY(-1px); }
.kts-cs .kts-cs-quiz:active { transform: scale(0.985); }

.kts-cs-quiznote {
	margin: 10px 0 0 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.kts-cs-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 14px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}
.kts-cs-or::before,
.kts-cs-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.22); }

/* ---------------- Signup form ---------------- */
.kts-cs-form { text-align: left; }
.kts-cs-field { margin: 0 0 12px; }
.kts-cs .kts-cs-field label {
	display: block !important;
	margin: 0 0 6px !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
.kts-cs .kts-cs-field label span { font-weight: 400; opacity: 0.8; }
.kts-cs .kts-cs-field input[type="text"],
.kts-cs .kts-cs-field input[type="email"] {
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 2px solid transparent !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.96) !important;
	color: #1c261f !important;
	font-family: inherit !important;
	font-size: 16px !important;
	box-shadow: none !important;
}
.kts-cs .kts-cs-field input:focus { outline: none !important; border-color: var(--cs-accent) !important; }

.kts-cs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.kts-cs .kts-cs-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 14px !important;
	color: rgba(255, 255, 255, 0.88) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	cursor: pointer;
}
.kts-cs .kts-cs-consent input {
	flex: 0 0 22px;
	width: 22px !important;
	height: 22px !important;
	margin: 1px 0 0 !important;
	accent-color: var(--cs-accent);
}

.kts-cs-error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(214, 69, 65, 0.22);
	border: 1px solid rgba(255, 140, 130, 0.55);
	color: #ffd9d4;
	font-size: 14px;
	line-height: 1.4;
}

.kts-cs .kts-cs-submit,
.kts-cs .kts-cs-save-interests {
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	min-height: 54px;
	padding: 12px 18px !important;
	border: 2px solid rgba(255, 255, 255, 0.9) !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: #17301d !important;
	font-family: inherit !important;
	font-size: 16.5px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.15s ease;
}
.kts-cs .kts-cs-submit:hover,
.kts-cs .kts-cs-save-interests:hover { background: #eef5e2 !important; }
.kts-cs .kts-cs-submit:active,
.kts-cs .kts-cs-save-interests:active { transform: scale(0.985); }
.kts-cs .kts-cs-submit[disabled] { opacity: 0.6; cursor: default; }

/* ---------------- Thank-you + interests ---------------- */
.kts-cs-thanks { text-align: center; }
.kts-cs-tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--cs-accent);
	color: #10200f;
}
.kts-cs .kts-cs-thanks-title {
	margin: 0 0 4px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}
.kts-cs-thanks-text { margin: 0 0 16px !important; color: rgba(255, 255, 255, 0.88) !important; font-size: 15px !important; line-height: 1.5 !important; }
.kts-cs-interests { margin: 6px 0 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.kts-cs .kts-cs-interests-title {
	margin: 0 0 4px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	text-transform: none !important;
}
.kts-cs-interests-note { margin: 0 0 12px !important; color: rgba(255, 255, 255, 0.78) !important; font-size: 13px !important; }
.kts-cs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.kts-cs .kts-cs-chip { position: relative; margin: 0 !important; cursor: pointer; }
.kts-cs .kts-cs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kts-cs .kts-cs-chip span {
	display: inline-block;
	padding: 10px 16px;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.1;
	transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.kts-cs .kts-cs-chip input:checked + span { background: var(--cs-accent); border-color: var(--cs-accent); color: #10200f; }
.kts-cs .kts-cs-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.kts-cs-quiz-after { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.kts-cs-quiz-after p { margin: 0 0 12px !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important; }

.kts-cs [hidden] { display: none !important; }

/* ---------------- Social ---------------- */
.kts-cs-social { margin-top: 26px; text-align: center; }
.kts-cs-social-label {
	margin: 0 0 10px !important;
	color: rgba(255, 255, 255, 0.78) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
}
.kts-cs-social-row { display: flex; justify-content: center; gap: 14px; }
.kts-cs .kts-cs-social-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	transition: transform 0.12s ease;
}
.kts-cs .kts-cs-social-link:hover { transform: translateY(-2px) scale(1.04); }

/* Hide the floating cart bubble on this page - nothing to buy yet */
body:has(.kts-cs:not(.kts-cs-pop)) [class*="fkcart-floating"],
body:has(.kts-cs:not(.kts-cs-pop)) [class*="fkcart-toggler"],
body:has(.kts-cs:not(.kts-cs-pop)) .fkcart-shortcode-container { display: none !important; }

/* ==================================================================
   Tablet (768 - 1099): same stacked layout, wider banner, centred column
   ================================================================== */
@media (min-width: 768px) {
	.kts-cs-bg { height: 44vh; height: 44svh; max-height: 440px; }
	.kts-cs-bgimg { object-position: var(--cs-pos-l, 50% 50%); }
	.kts-cs-headline { font-size: 32px !important; }
	.kts-cs-subhead { font-size: 20px !important; }
	.kts-cs-intro { font-size: 16.5px !important; }
	.kts-cs-inner { max-width: 600px; }
}

/* ==================================================================
   Laptop / desktop (1100+): picture fills the screen. Two matching frosted
   panels - text on the left, signup on the right - same width, same
   height, vertically aligned, with the middle of the picture left clear.
   ================================================================== */
@media (min-width: 1100px) {
	.kts-cs { flex-direction: row; align-items: center; }
	.kts-cs-bg {
		position: absolute;
		inset: 0;
		height: auto;
		max-height: none;
		min-height: 0;
	}
	.kts-cs-bg::after {
		background: linear-gradient(90deg,
			var(--cs-overlay) 0%,
			rgba(0, 0, 0, 0) 38%,
			rgba(0, 0, 0, 0) 62%,
			var(--cs-overlay) 100%);
		opacity: 0.7;
	}

	.kts-cs-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr) minmax(0, 1fr);
		align-items: stretch;
		width: 100%;
		max-width: 1400px;
		margin: 0 auto;
		padding: 48px clamp(28px, 4vw, 72px);
		text-align: left;
	}

	.kts-cs-copy,
	.kts-cs-side {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		max-width: 480px;
		padding: 34px 36px;
		border-radius: 24px;
		background: var(--cs-copy-box, rgba(7, 20, 12, 0.52));
		border: 1px solid rgba(255, 255, 255, 0.16);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	}
	.kts-cs-copy { grid-column: 1; align-items: flex-start; justify-self: end; }
	.kts-cs-side { grid-column: 3; align-items: stretch; justify-self: start; background: var(--cs-side-box, rgba(7, 20, 12, 0.52)); }

	/* the signup panel is the frosted box now, so the inner card goes flat */
	.kts-cs-actions {
		padding: 0;
		border: 0;
		background: transparent;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		max-width: none;
	}

	.kts-cs-label { font-size: 14px !important; }
	.kts-cs-logo { width: 240px !important; margin: 0 0 18px !important; }
	.kts-cs-headline { font-size: 36px !important; }
	.kts-cs-subhead { font-size: 22px !important; margin-bottom: 16px !important; }
	.kts-cs-intro { max-width: 360px; font-size: 17.5px !important; line-height: 1.55 !important; }
	.kts-cs-quote { margin-bottom: 0 !important; font-size: 18px !important; }
	.kts-cs-quote strong { font-size: 1.12em; }
	.kts-cs-quote em { font-size: 0.95em; }

	.kts-cs .kts-cs-quiz { font-size: 18px !important; min-height: 60px; }
	.kts-cs-quiznote { font-size: 14px !important; }
	.kts-cs-or { font-size: 13.5px; }
	.kts-cs .kts-cs-field label { font-size: 15px !important; }
	.kts-cs .kts-cs-consent { font-size: 13.5px !important; }
	.kts-cs .kts-cs-submit { font-size: 17.5px !important; }
	.kts-cs-social { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
}
@media (min-width: 1440px) {
	.kts-cs-bgimg { object-position: var(--cs-pos-w, 50% 50%); }
	.kts-cs-headline { font-size: 40px !important; }
	.kts-cs-subhead { font-size: 24px !important; }
	.kts-cs-intro { font-size: 18px !important; }
	.kts-cs-quote { font-size: 19px !important; }
}

/* ==================================================================
   Quiz popup
   ================================================================== */
.kts-poll-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: center;
	justify-content: center;
}
.kts-poll-modal.is-open { display: flex; animation: kts-modal-fade 0.22s ease both; }
@keyframes kts-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.kts-poll-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 12, 7, 0.78);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.kts-poll-modal-box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background: #fff;
	overflow: hidden;
}
.kts-poll-modal-scroll {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.kts-poll-modal .kts-poll-modal-close {
	appearance: none !important;
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	z-index: 10;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 0 3px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #b3261e !important;
	font-family: Arial, sans-serif !important;
	font-size: 30px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
	cursor: pointer;
}
.kts-poll-modal .kts-poll-modal-close:hover { background: #fdecea !important; }

/* inside the popup the quiz fills the sheet - no card chrome, no inner scrollbar */
.kts-poll-modal .kts-poll-root { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.kts-poll-modal .kts-poll-card {
	max-width: none !important;
	width: 100% !important;
	min-height: 100%;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.kts-poll-modal .kts-poll-stage { max-height: none !important; overflow: visible !important; }
/* The X floats over the header (it no longer pushes anything sideways).
   Big bold white title with generous top padding so it clears the X. */
.kts-poll-modal .kts-poll-header {
	padding: 60px 24px 18px !important;
	text-align: center;
}
.kts-poll-modal .kts-poll-header:has(.kts-poll-title-img) { padding-top: 0 !important; }
.kts-poll-modal .kts-poll-title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
}
.kts-poll-modal .kts-poll-subtitle { padding: 0 !important; text-align: center !important; }
@media (max-width: 600px) {
	.kts-poll-modal .kts-poll-card.is-started .kts-poll-header { padding: 14px 58px !important; }
	.kts-poll-modal .kts-poll-card.is-started .kts-poll-title { margin: 0 !important; font-size: 16px !important; }
}

html.kts-modal-open,
body.kts-modal-open { overflow: hidden !important; }

@media (min-width: 700px) {
	.kts-poll-modal-box {
		width: 540px;
		height: auto;
		max-height: 92vh;
		border-radius: 18px;
		box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	}
	.kts-poll-modal .kts-poll-header { border-radius: 0 !important; }
}

/* ==================================================================
   v2.0.4: even headline wrapping, green join button, shine sweep,
   and entrance animations
   ================================================================== */

/* Break lines evenly: "Aotearoa Inspired / Apparel & Art", never a lonely "& Art" */
.kts-cs-headline,
.kts-cs-subhead,
.kts-cs-quote strong,
.kts-cs-thanks-title { text-wrap: balance; }
.kts-cs-intro,
.kts-cs-quiznote,
.kts-cs-quote em { text-wrap: pretty; }

/* Join button: same brand green as the quiz button */
.kts-cs .kts-cs-submit,
.kts-cs .kts-cs-save-interests {
	background: var(--cs-accent) !important;
	border-color: var(--cs-accent) !important;
	color: #10200f !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3) !important;
}
.kts-cs .kts-cs-submit:hover,
.kts-cs .kts-cs-save-interests:hover { background: var(--cs-accent) !important; filter: brightness(1.06); }

/* Shine sweep - the same light band as the slider buttons */
.kts-cs .kts-cs-quiz,
.kts-cs .kts-cs-submit,
.kts-cs .kts-cs-save-interests {
	position: relative !important;
	overflow: hidden !important;
}
.kts-cs .kts-cs-quiz::before,
.kts-cs .kts-cs-submit::before,
.kts-cs .kts-cs-save-interests::before {
	content: '';
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-20deg);
	transition: left 0.65s ease;
	pointer-events: none;
}
.kts-cs .kts-cs-quiz:hover::before,
.kts-cs .kts-cs-submit:hover::before,
.kts-cs .kts-cs-save-interests:hover::before,
.kts-cs .kts-cs-quiz:focus-visible::before,
.kts-cs .kts-cs-submit:focus-visible::before { left: 125%; }

/* Phones have no hover, so the quiz button gives a soft sweep every few seconds */
@keyframes kts-cs-shine { 0%, 62% { left: -75%; } 85%, 100% { left: 125%; } }
.kts-cs .kts-cs-quiz::before { animation: kts-cs-shine 6s ease-in-out 3.2s infinite; }
.kts-cs .kts-cs-quiz:hover::before { animation: none; }

/* ---------------- Entrance animations ---------------- */
@keyframes kts-cs-up    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kts-cs-left  { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes kts-cs-right { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes kts-cs-pop   { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes kts-cs-zoom  { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes kts-cs-fade  { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
	/* picture eases in and slowly settles */
	.kts-cs-bg picture { animation: kts-cs-fade 1.2s ease both; }

	/* content rises in, one piece after another */
	.kts-cs-label    { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 0.20s both; }
	.kts-cs-logo     { animation: kts-cs-pop 0.9s cubic-bezier(.2,.7,.2,1) 0.35s both; }
	.kts-cs-headline { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 0.55s both; }
	.kts-cs-subhead  { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 0.70s both; }
	.kts-cs-intro    { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 0.85s both; }
	.kts-cs-quote    { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 1.00s both; }
	.kts-cs-actions  { animation: kts-cs-up 0.9s cubic-bezier(.2,.7,.2,1) 1.10s both; }
	.kts-cs-social   { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 1.35s both; }
	.kts-cs-thanks   { animation: kts-cs-pop 0.5s cubic-bezier(.2,.7,.2,1) both; }

	/* desktop: the two frosted panels slide in from either side */
	@media (min-width: 1100px) {
		.kts-cs-copy { animation: kts-cs-left 1s cubic-bezier(.2,.7,.2,1) 0.1s both; }
		.kts-cs-side { animation: kts-cs-right 1s cubic-bezier(.2,.7,.2,1) 0.25s both; }
		.kts-cs-actions,
		.kts-cs-social { animation: none; }
	}

	/* quiz popup opens with a soft pop */
	.kts-poll-modal.is-open .kts-poll-modal-box { animation: kts-cs-up 0.4s cubic-bezier(.2,.7,.2,1) both; }
	.kts-cs-chip span { transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease; }
	.kts-cs .kts-cs-chip:active span { transform: scale(0.96); }
	.kts-cs .kts-cs-social-link { transition: transform 0.18s ease, box-shadow 0.18s ease; }
	.kts-cs .kts-cs-social-link:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
}

/* v2.0.5 - admin colours, slogan sits below the quote with breathing room */
.kts-cs .kts-cs-headline { color: var(--cs-headline, #fff) !important; }
.kts-cs .kts-cs-subhead {
	color: var(--cs-subhead, #fff) !important;
	margin: 22px 0 0 !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.kts-cs .kts-cs-quote { margin-bottom: 0 !important; }
@media (prefers-reduced-motion: no-preference) {
	.kts-cs-subhead { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 1.15s both; }
}
.kts-cs .kts-cs-headline { margin-bottom: 14px !important; }
.kts-cs .kts-cs-subhead { margin-bottom: 26px !important; }
@media (min-width: 1100px) { .kts-cs .kts-cs-subhead { margin-bottom: 0 !important; } }

/* v2.0.6 - button opacity, desktop box controls */
.kts-cs .kts-cs-quiz,
.kts-cs .kts-cs-submit,
.kts-cs .kts-cs-save-interests { background: var(--cs-btn-bg, var(--cs-accent)) !important; }
.kts-cs .kts-cs-submit:hover,
.kts-cs .kts-cs-save-interests:hover { background: var(--cs-btn-bg, var(--cs-accent)) !important; }
@media (min-width: 1100px) {
	.kts-cs-inner {
		grid-template-columns: min(var(--cs-box-w, 456px), 38vw) minmax(0, 1fr) min(var(--cs-box-w, 456px), 38vw);
		max-width: none;
		padding: var(--cs-pt, 48px) var(--cs-pr, 56px) var(--cs-pb, 48px) var(--cs-pl, 56px);
	}
	.kts-cs-copy,
	.kts-cs-side {
		max-width: none;
		border: var(--cs-bd, 1px solid rgba(255,255,255,.16));
		border-radius: var(--cs-radius, 24px);
		-webkit-backdrop-filter: blur(var(--cs-blur, 14px));
		backdrop-filter: blur(var(--cs-blur, 14px));
		box-shadow: var(--cs-shadow, 0 18px 50px rgba(0,0,0,.35));
	}
	.kts-cs-copy { justify-self: stretch; }
	.kts-cs-side { justify-self: stretch; }
	.kts-cs-intro { max-width: 380px; }
}

/* v2.0.7 - line above the quote, slogan margin control, logo blinds reveal */
.kts-cs .kts-cs-quote {
	margin-top: 18px !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.kts-cs .kts-cs-subhead { margin-top: calc(22px + var(--cs-sub-mt, 0px)) !important; }

@property --kts-blind { syntax: '<length>'; inherits: false; initial-value: 7px; }
@keyframes kts-cs-blinds { from { --kts-blind: 0px; } to { --kts-blind: 7px; } }
.kts-cs-logo {
	-webkit-mask-image: repeating-linear-gradient(180deg, #000 0, #000 var(--kts-blind), transparent var(--kts-blind), transparent 7px);
	mask-image: repeating-linear-gradient(180deg, #000 0, #000 var(--kts-blind), transparent var(--kts-blind), transparent 7px);
}
@media (prefers-reduced-motion: no-preference) {
	.kts-cs-logo { animation: kts-cs-blinds 1.8s cubic-bezier(.4,0,.2,1) 0.45s both, kts-cs-fade 1.6s ease 0.45s both; }
}
@media (min-width: 1100px) { .kts-cs .kts-cs-subhead, .kts-cs .kts-cs-quote { align-self: stretch; } }

/* v2.0.8 - short, optional lines above quote and slogan */
.kts-cs .kts-cs-quote,
.kts-cs .kts-cs-subhead { border-top: 0 !important; padding-top: 0 !important; }
.kts-cs .kts-cs-quote { margin-top: 12px !important; }
.kts-cs .kts-cs-has-line {
	padding-top: 18px !important;
	background-image: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22));
	background-size: 230px 1px;
	background-repeat: no-repeat;
	background-position: center top;
}
.kts-cs .kts-cs-quote.kts-cs-has-line { margin-top: 20px !important; }
@media (min-width: 1100px) {
	.kts-cs .kts-cs-has-line { background-position: left top; }
	.kts-cs .kts-cs-subhead, .kts-cs .kts-cs-quote { align-self: flex-start; }
}

/* v2.0.9 - side breathing room for quiz questions on phones. Set here, on the
   popup itself (id selector), so no theme or cached-CSS rule can strip it. */
@media (max-width: 699px) {
	#kts-poll-modal .kts-poll-stage {
		padding-left: max(22px, 5.5vw) !important;
		padding-right: max(22px, 5.5vw) !important;
		box-sizing: border-box !important;
	}
	#kts-poll-modal .kts-poll-progress { margin-left: 0 !important; margin-right: 0 !important; padding-left: max(22px, 5.5vw) !important; padding-right: max(22px, 5.5vw) !important; }
	#kts-poll-modal .kts-poll-footer { padding-left: max(22px, 5.5vw) !important; padding-right: max(22px, 5.5vw) !important; }
}

/* v2.2.0 - retake button on the results screen */
.kts-poll-again {
	display: block !important;
	width: 100%;
	margin: 18px 0 0 !important;
	padding: 14px 18px !important;
	border: 2px solid #4A7A2F !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: #2f5a1c !important;
	font: inherit !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	cursor: pointer;
}
.kts-poll-again:hover { background: #f1f7e8 !important; }

/* ==================================================================
   v2.2.0 - text-only boxes, bottom bar (third box), badge icons
   ================================================================== */

/* Badge icons under the left-box text */
.kts-cs-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: var(--cs-badge-mt, 18px);
}
.kts-cs-badge {
	display: block;
	flex: none;
	width: var(--cs-badge-w, 46px);
	height: var(--cs-badge-h, 46px);
	border-radius: var(--cs-badge-r, 0);
	overflow: hidden;
}
.kts-cs .kts-cs-badge img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}
@media (max-width: 767px) { .kts-cs-badges-hm { display: none !important; } }

/* Bottom bar - phones and tablets: a strip after the content */
.kts-cs-bar {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: calc(100% - 40px);
	margin: 0 auto 24px;
	padding: var(--cs-bar-pv, 18px) var(--cs-bar-ph, 32px);
	background: var(--cs-bar-bg, rgba(7, 20, 12, 0.7));
	border: var(--cs-bar-bd, 0 solid transparent);
	border-radius: var(--cs-bar-radius, 0);
	-webkit-backdrop-filter: blur(var(--cs-bar-blur, 10px));
	backdrop-filter: blur(var(--cs-bar-blur, 10px));
	box-shadow: var(--cs-bar-shadow, none);
	color: var(--cs-bar-text, #fff) !important;
	text-align: center;
}
.kts-cs-bar-slogan {
	color: var(--cs-bar-text, #fff) !important;
	font-size: var(--cs-bar-slogan, 22px) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	font-family: inherit !important;
}
.kts-cs-bar-quote { color: var(--cs-bar-text, #fff) !important; font-family: inherit !important; }
.kts-cs-bar-quote strong {
	display: block;
	font-size: var(--cs-bar-quote, 20px) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}
.kts-cs-bar-quote em {
	display: block;
	margin-top: 4px;
	font-size: calc(var(--cs-bar-quote, 20px) * 0.8) !important;
	font-style: italic;
	opacity: 0.85;
}
.kts-cs-bar-sep { display: block; width: 70px; height: 1px; background: currentColor; opacity: 0.3; flex: none; }
.kts-cs-bar-slogan, .kts-cs-bar-quote, .kts-cs-bar-sep { color: var(--cs-bar-text, #fff); }
/* phones: with the bar on, the section sits taller than the screen only if it must */
.kts-cs-has-bar { padding-bottom: 0; }

@media (min-width: 1100px) {
	/* the bar floats along the bottom of the picture */
	.kts-cs-bar {
		position: absolute;
		left: 0;
		right: 0;
		bottom: var(--cs-bar-bottom, 0px);
		width: var(--cs-bar-w, 100%);
		margin: 0 auto;
		flex-direction: row;
		justify-content: var(--cs-bar-justify, center);
		align-items: center;
		gap: 44px;
		text-align: left;
	}
	.kts-cs-bar-sep { width: 1px; height: 44px; align-self: center; }
	.kts-cs-bar-quote { text-align: left; }
	/* keep the two boxes clear of the bar */
	.kts-cs-has-bar .kts-cs-inner { padding-bottom: calc(var(--cs-pb, 48px) + var(--cs-bar-h, 0px)); }
}

/* Text-only boxes (no box, border, blur or shadow - just the words on the picture) */
@media (min-width: 1100px) {
	.kts-cs-copy.kts-cs-textonly,
	.kts-cs-side.kts-cs-textonly {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
		text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 0 3px rgba(0, 0, 0, 0.5);
	}
	.kts-cs-side.kts-cs-textonly .kts-cs-quiz,
	.kts-cs-side.kts-cs-textonly .kts-cs-submit { text-shadow: none; }
}

/* Gentle entrance for the new pieces */
@media (prefers-reduced-motion: no-preference) {
	.kts-cs-bar { animation: kts-cs-up 0.9s cubic-bezier(.2,.7,.2,1) 1.4s both; }
	.kts-cs-badges { animation: kts-cs-up 0.8s cubic-bezier(.2,.7,.2,1) 1.25s both; }
}
.kts-cs-badges { margin-bottom: 26px; }
@media (min-width: 1100px) { .kts-cs-badges { margin-bottom: 0; justify-content: flex-start; } }

/* v2.2.2 - bottom bar on laptop and wider: slogan on top (one line), Kia kaha
   quote underneath (Māori line over the English line) */
@media (min-width: 1100px) {
	.kts-cs-bar {
		flex-direction: column !important;
		justify-content: center;
		align-items: var(--cs-bar-items, center);
		gap: 12px;
		text-align: var(--cs-bar-text-align, center);
	}
	.kts-cs-bar-slogan br { display: none; }
	.kts-cs-bar-slogan { white-space: nowrap; }
	.kts-cs-bar-quote { text-align: var(--cs-bar-text-align, center); }
	.kts-cs-bar-quote strong, .kts-cs-bar-quote em { display: block; }
	.kts-cs-bar-sep { width: 90px; height: 1px; align-self: var(--cs-bar-items, center); }
}

/* ==================================================================
   v2.3.0 - site-wide popup for the live site (same form + quiz as the
   Coming Soon page, in a centred card over a dimmed page)
   ================================================================== */
.kts-cs.kts-cs-pop {
	position: fixed !important;
	inset: 0;
	z-index: 99990;
	display: none !important;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: auto !important;
	max-width: none !important;
	height: auto;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 16px;
	overflow-y: auto !important;
	background: rgba(5, 12, 8, 0.66);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.kts-cs.kts-cs-pop.is-visible { display: flex !important; }
.kts-cs-pop-box {
	position: relative;
	width: min(460px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100svh - 32px);
	margin: auto;
	padding: 34px 22px 22px;
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 22px;
	background: var(--cs-panel, #0d1a12);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
	text-align: center;
}
.kts-cs-pop .kts-cs-inner {
	display: block !important;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.kts-cs-pop .kts-cs-side {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}
.kts-cs-pop .kts-cs-actions {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	box-shadow: none !important;
}
.kts-cs-pop .kts-cs-social { margin-top: 16px; padding-top: 14px; }
.kts-cs-pop-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1 !important;
	cursor: pointer;
}
.kts-cs-pop-close:hover { background: rgba(255, 255, 255, 0.22) !important; }
.kts-cs .kts-cs-pop-logo { display: block !important; width: 150px !important; max-width: 60% !important; height: auto !important; margin: 0 auto 6px !important; }
.kts-cs .kts-cs-pop-title { margin: 10px 0 8px !important; padding: 0 !important; color: #fff !important; font-size: 25px !important; font-weight: 800 !important; line-height: 1.2 !important; text-transform: none !important; }
.kts-cs .kts-cs-pop-text { margin: 0 0 18px !important; color: rgba(255, 255, 255, 0.86) !important; font-size: 15.5px !important; line-height: 1.5 !important; }
html.kts-pop-open, body.kts-pop-open { overflow: hidden !important; }
.kts-cs-pop .kts-cs-actions, .kts-cs-pop .kts-cs-social, .kts-cs-pop .kts-cs-side { animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
	.kts-cs-pop.is-visible .kts-cs-pop-box { animation: kts-cs-up 0.45s cubic-bezier(.2,.7,.2,1) both; }
	.kts-cs-pop.is-visible { animation: kts-cs-fade 0.3s ease both; }
}

.kts-cs-pop.kts-joined .kts-cs-pop-title, .kts-cs-pop.kts-joined .kts-cs-pop-text { display: none !important; }
