@font-face {
	font-family: 'Clash Display Variable';
	src: url('/fonts/ClashDisplay-Variable.woff2') format('woff2');
	font-weight: 200 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Clash Grotesk Variable';
	src: url('/fonts/ClashGrotesk-Variable.woff2') format('woff2');
	font-weight: 200 700;
	font-style: normal;
	font-display: swap;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
input, textarea, select, button {
	font: inherit;
	color: inherit;
}
body {
	background: #000;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	min-height: 100vh;
}
.rotate-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: #000;
	color: #fff;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 24px;
	text-align: center;
}
.rotate-icon {
	animation: rotateHint 2.4s ease-in-out infinite;
	transform-origin: center;
}
.rotate-text {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	max-width: 280px;
}
@keyframes rotateHint {
	0%, 100% { transform: rotate(-90deg); }
	50% { transform: rotate(0deg); }
}
@media (orientation: landscape) and (max-height: 500px) {
	.rotate-overlay {
		display: flex;
	}
	body {
		overflow: hidden;
	}
}
.container {
	max-width: 425px;
	margin: 0 auto;
	padding: 20px 20px 0;
	height: 50vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 48px;
}
@keyframes fadeIn {
	to {
		opacity: 1;
	}
}
@keyframes fadeToHalf {
	from {
		opacity: 1;
	}
	to {
		opacity: 0.5;
	}
}
@keyframes fadeToQuarter {
	from {
		opacity: 1;
	}
	to {
		opacity: 0.25;
	}
}
.fade-in {
	opacity: 0;
	animation: fadeIn 0.8s ease forwards;
}
.brand-logo {
	display: block;
	margin: 0 auto;
	width: 60px;
	height: auto;
	opacity: 0;
	animation: fadeIn 0.8s ease 0.2s forwards, fadeToQuarter 0.9s ease 1s forwards;
}
.heading {
	position: relative;
	width: 100%;
	max-width: 360px;
	height: 200px;
	margin: 0 auto;
	font-weight: 400;
	font-size: 20px;
}
.heading .word {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 26px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 1;
	transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
}
.heading .qmark {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	transform: translate(-50%, -50%);
}
.heading .qmark-layer {
	grid-area: 1 / 1;
	color: var(--c, #fff);
	opacity: 0;
	transform: rotate(-360deg);
	animation: qmarkSpin 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s) forwards;
}
@keyframes qmarkSpin {
	to {
		opacity: 1;
		transform: rotate(var(--r, 0deg));
	}
}
.prompt {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
}
.prompt span {
	opacity: 0;
	animation: fadeIn 0.6s ease forwards;
}
.prompt span:nth-child(1) { animation-delay: 2.8s; }
.prompt span:nth-child(2) { animation-delay: 3.05s; }
.prompt span:nth-child(3) { animation-delay: 3.3s; }
.prompt span:nth-child(4) { animation-delay: 3.55s; }
.prompt span:nth-child(5) { animation-delay: 3.8s; }
section {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.intro-question {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 124px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}
.intro-question svg {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	overflow: visible;
}
.intro-question text {
	font-family: 'Clash Grotesk Variable', 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.03em;
	fill: #fff;
}
/* Intro load sequence: the arc question fades in word by word (staggered via
   the per-word --d delay), then the carousel, then the scroll indicator. */
.intro-question tspan {
	opacity: 0;
	animation: fadeIn 0.7s ease var(--d, 0s) forwards;
}
.carousel-stack {
	position: relative;
	width: 100%;
	max-width: 425px;
	margin: 0 auto;
	opacity: 0;
	animation: fadeIn 0.9s ease 1.7s forwards;
}
.word-arc {
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	z-index: 4;
	height: 110px;
	/* Overlay that sits on the carousel image's colorful top edge and moves
	   with the carousel as a single unit. */
	overflow: hidden;
}
/* Same left/right fade as the carousel image, so the words dissolve into the
   black at the edges as they spin past. Implemented as a mask on the words
   themselves (rather than a black overlay) so nothing is painted over the
   carousel image below — the previous overlay bled onto the image's top edge
   and created a visible seam. The nav arrows live outside this container so
   they stay crisp and clickable. */
.word-arc-words {
	position: absolute;
	inset: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 50%, transparent 100%);
}
.word-arc-svg {
	position: absolute;
	top: 0;
	left: 50%;
	width: 800px;
	height: 150px;
	overflow: visible;
	transform: translateX(-50%);
}
.word-arc-ring {
	transform-box: view-box;
	transform-origin: 400px 1000px;
	transform: rotate(var(--ring-rot, 0deg));
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.word-arc text {
	font-family: 'Clash Grotesk Variable', 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	fill: rgba(255, 255, 255, 0.38);
	transition: fill 0.4s ease;
}
.word-arc text.is-active {
	fill: #fff;
}
.word-arc-nav {
	position: absolute;
	top: 32px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.65);
	cursor: pointer;
}
.word-arc-nav:hover {
	color: #fff;
}
.word-arc-nav svg {
	width: 20px;
	height: 20px;
	display: block;
}
.word-arc-nav.prev {
	left: 6px;
}
.word-arc-nav.prev svg {
	transform: rotate(-12deg);
}
.word-arc-nav.next {
	right: 6px;
}
.word-arc-nav.next svg {
	transform: rotate(12deg);
}
.carousel {
	position: relative;
	max-width: 425px;
	margin: 0 auto;
	overflow: hidden;
	touch-action: pan-y pinch-zoom;
}
.carousel-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
	z-index: 0;
}
.carousel-slide:first-child {
	position: relative;
}
.carousel-slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}
.carousel-slide.active .carousel-mask img {
	animation: carouselIn 0.6s ease-out;
}
@keyframes carouselIn {
	from {
		transform: scale(1.05);
	}
}
.carousel-mask {
	position: relative;
	-webkit-mask-image: url('/assets/carousel-mask.svg');
	mask-image: url('/assets/carousel-mask.svg');
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	overflow: hidden;
}
.carousel-mask::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, #000 0%, transparent 50%, #000 100%);
	pointer-events: none;
}
.carousel-mask img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}
.carousel-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.carousel-word {
	position: absolute;
	top: 47%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	text-align: center;
	font-family: 'Clash Display Variable', 'DM Sans', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	animation: wordFade 0.5s ease;
}
@keyframes wordFade {
	from {
		opacity: 0;
	}
}
.carousel-dots {
	position: absolute;
	top: 47%;
	left: 0;
	right: 0;
	transform: translateY(calc(-50% + 34px));
	display: flex;
	justify-content: center;
	gap: 8px;
}
.carousel-dots .dot {
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.45);
	transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dots .dot.active {
	width: 22px;
	background: #fff;
}
.scroll-indicator {
	position: relative;
	flex: 1;
	/* Pull up into the carousel mask's curved bottom inset so the indicator
	   sits close to the visible image rather than its box edge. z-index keeps
	   it above the active slide (z-index: 1) so the image's dark lower edge
	   can't paint over the SVGs where they now overlap. */
	margin-top: -120px;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	/* The container now overlaps the carousel's bottom; let swipes pass through
	   it to the carousel and only make the SVG circle itself interactive. */
	pointer-events: none;
}
.scroll-indicator-inner {
	position: relative;
	width: 120px;
	height: 120px;
	cursor: pointer;
	pointer-events: auto;
}
.scroll-text,
.scroll-arrow {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
}
/* Fade in (ending at 3.3s), then keep a slow spring oscillation going so the
   circular "scroll to" text rocks gently back and forth. */
.scroll-text {
	animation: fadeIn 0.8s ease 2.5s forwards,
		scrollTextSpring 3.6s cubic-bezier(0.34, 1.56, 0.64, 1) 3.3s infinite;
}
/* Fade in, then a soft pulse to draw the eye toward the scroll cue. */
.scroll-arrow {
	animation: fadeIn 0.8s ease 2.5s forwards,
		arrowPulse 1.8s ease-in-out 3.3s infinite;
}
@keyframes scrollTextSpring {
	0%   { transform: rotate(-8deg); }
	50%  { transform: rotate(8deg); }
	100% { transform: rotate(-8deg); }
}
@keyframes arrowPulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.1); }
}
/* Respect reduced-motion: show the intro fully, skip the staged fade-in. */
@media (prefers-reduced-motion: reduce) {
	.intro-question tspan,
	.carousel-stack,
	.scroll-text,
	.scroll-arrow {
		opacity: 1;
		animation: none;
	}
}
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}
.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}
.content-container {
	max-width: 425px;
	margin: 0 auto;
	padding: 24px 20px 40px;
}
.topic-content {
	display: none;
}
.topic-content.active {
	display: block;
}
.topic-content h2 {
	font-weight: 700;
	font-size: 24px;
	text-transform: uppercase;
	margin-top: 24px;
	margin-bottom: 28px;
	line-height: 1.25;
}
.topic-content h2 .word {
	transition: color 0.4s ease;
}
.topic-content h2 .word.colored {
	color: var(--accent, #e85d3c);
}
.topic-content p {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
}
.topic-content h3 {
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	margin-top: 48px;
	margin-bottom: 20px;
}
.scatter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}
.scatter-row.reveal {
	opacity: 1;
	transform: none;
}
.scatter-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px) rotate(var(--r, 0deg));
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.scatter-row.visible .scatter-word {
	opacity: 1;
	transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
}
.scatter-row.visible .scatter-word:nth-child(1) { transition-delay: 0s; }
.scatter-row.visible .scatter-word:nth-child(2) { transition-delay: 0.2s; }
.scatter-row.visible .scatter-word:nth-child(3) { transition-delay: 0.4s; }
.scatter-row.visible .scatter-word:nth-child(4) { transition-delay: 0.6s; }
.scatter-row.visible .scatter-word:nth-child(5) { transition-delay: 0.8s; }
.scatter-qmark {
	color: var(--accent, #fff);
}
.topic-content .full-bleed {
	display: block;
	width: calc(100% + 40px);
	max-width: none;
	height: auto;
	margin: 40px -20px;
}
.topic-content blockquote {
	margin: 32px 0 36px;
	padding-left: 16px;
	border-left: 2px solid color-mix(in srgb, var(--accent, #fff) 35%, #fff);
	color: color-mix(in srgb, var(--accent, #fff) 35%, #fff);
}
.topic-content blockquote p {
	font-style: italic;
	margin-bottom: 12px;
}
.topic-content blockquote cite {
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent, #fff);
}
.topic-complete {
	margin: 48px -20px 0;
	width: calc(100% + 40px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
}
.topic-complete-top-line {
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
	opacity: 0;
}
.topic-complete-inner {
	height: 0;
	overflow: hidden;
	background: var(--accent, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
}
.topic-complete-content {
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	color: #000;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.topic-complete-content strong {
	font-weight: 900;
}
.topic-complete-badge {
	flex-shrink: 0;
}
.topic-complete.run .topic-complete-top-line {
	animation: topicCompleteLine 3.6s ease forwards;
}
.topic-complete.run .topic-complete-inner {
	animation: topicCompleteExpand 3.6s ease forwards;
}
.topic-complete.run .topic-complete-content {
	animation: topicCompleteContent 3.6s ease forwards;
}
@keyframes topicCompleteLine {
	0%, 100% { opacity: 0; }
	15%, 85% { opacity: 1; }
}
@keyframes topicCompleteExpand {
	0%, 100% { height: 0; }
	18%, 82% { height: 60px; }
}
@keyframes topicCompleteContent {
	0%, 28%, 72%, 100% { opacity: 0; }
	40%, 60% { opacity: 1; }
}
.next-topic-divider {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 48px -20px 24px;
	width: calc(100% + 40px);
}
.next-topic-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 18px 24px;
	background: var(--next-accent, #fff);
	color: #000;
	border: none;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	margin-bottom: 16px;
	transition: filter 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
	.next-topic-button:hover {
		filter: brightness(1.08);
	}
}
.next-topic-button:active {
	transform: scale(0.98);
}
.next-topic-button strong {
	font-weight: 900;
}
.contact-list {
	list-style: none;
	padding: 0;
	margin: 32px 0 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.contact-list li {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 14px 20px;
	border: 1px solid #fff;
	border-radius: 999px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: background 0.2s ease, color 0.2s ease;
}
.contact-icon {
	flex-shrink: 0;
}
.contact-list .contact-arrow {
	margin-left: auto;
}
.contact-list li:hover {
	background: #fff;
	color: #000;
}
.contact-arrow {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}
.topic-content.form-open .contact-arrow-toggle {
	transform: rotate(90deg);
}
.topic-content .contact-form {
	display: none;
}
.topic-content.form-open .contact-form {
	display: flex;
}
.contact-tags {
	list-style: none;
	padding: 0;
	margin: 16px 0 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.contact-tags li {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 10px;
	border: 1px solid #fff;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.contact-tags li svg {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}
.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	font-size: 16px;
	font-weight: 400;
	padding: 10px 12px;
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 4px;
}
.contact-form textarea {
	min-height: 100px;
	resize: vertical;
}
