﻿

/* METHODS LANDING */

html {
	overflow-x: unset;
}


*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--bg: #0d0d0f;
	--fg: #e8e4dc;
	--fg-muted: #7a7870;
	--accent: #f68500;
}

body {
	background: var(--bg);
	color: var(--fg);
	font-family: sans-serif;
	overflow-x: hidden;
}

.methods-experience {
	min-height: 100vh;
}

#intro {
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	position: relative;
}

	#intro p {
		font-size: 0.75rem;
		letter-spacing: 0.25em;
		text-transform: uppercase;
		color: var(--fg-muted);
	}

	#intro h1 {
		font-size: clamp(3rem, 8vw, 6rem);
		font-weight: 300;
		letter-spacing: -0.02em;
		line-height: 1;
	}

.scroll-hint {
	position: absolute;
	bottom: 2.5rem;
	font-size: 0.65rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-muted);
	animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(5px);
	}
}

#scene-wrap {
	height: 600vh;
	position: relative;
}

#scene {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Each card is viewport-sized, stacked absolutely */

.card {
	position: absolute;
	width: 100vw;
	height: 100vh;
	/*will-change: transform, opacity;*/
	transform-origin: center center;
}




.card-inner {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: top;
	z-index: 999;
	position: relative;
	color: #000;
}
/* .card:nth-child(1) .card-inner { background-color: #1a1020; } .card:nth-child(2) .card-inner { background-color: #0e1a14; } .card:nth-child(3) .card-inner { background-color: #0a0e1a; } .card:nth-child(4) .card-inner { background-color: #1a100a; } .card:nth-child(5) .card-inner { background-color: #0f0f18; } */

.card-impact-cluster {
	position: absolute;
	font-family: 'Lora';
	font-size: 16vw;
	color: #fff;
	top: 50%;
	width: 120%;
	right: unset;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: left;
	padding: 10%;
	text-transform: uppercase;
	transition: opacity 2s;
	line-height: 1;
}

	.card-impact-cluster .deempahsize {
		font-family: var(--font-sans);
		font-size: 7vw;
		text-transform: initial;
		color: var(--cream);
		opacity: .5;
		display: inline-block;
		line-height: 1;
	}

	.card-impact-cluster .card-sub-text {
		font-size: 2rem;
		text-align: center;
	}

.card:has(.card-label.visible) .card-impact-cluster .deempahsize {
	opacity: 1;
	transition: opacity 2s;
}


.card:nth-child(1) .card-inner {
	/*background-color: #000;*/
}

.card:nth-child(2) .card-inner {
	/*background-color: #000;*/
}

.card:nth-child(3) .card-inner {
	/* background-color: #000; */
}

.card:nth-child(4) .card-inner {
	/*background-color: #000;*/
}

.card:nth-child(5) .card-inner {
	/*background-color: #000;*/
}

.card-label {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 3rem;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	/*opacity: 0;*/
	/*transition: opacity 0.3s;*/
	transition: opacity .5s, filter .5s;
	opacity: 1;
	width: 100%;
	filter: sepia(1) brightness(.4) contrast(2);
	/* opacity: 0.6; */
}

	.card-label.card-boost-brightness {
		filter: sepia(1) brightness(.8) contrast(2);
		transition: opacity .5s, filter .5s;
	}

	.card-label.visible {
		opacity: 1;
		filter: sepia(0) brightness(.25) contrast(1);
		transition: opacity .5s, filter .5s;
	}

	.card-label.card-dark-bg.visible {
		opacity: 1;
		filter: sepia(0) brightness(.5) contrast(1);
		transition: opacity .5s, filter .5s;
	}



	.card-label.has-ripple {
		filter: none;
	}

.card-name {
	font-size: 1.4rem;
	font-weight: 300;
	color: #fff;
}

.card-meta {
	font-size: 0.6rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
	overflow: hidden;
	max-height: 100%;
}

	.card-meta img {
		width: 100%;
	}




.card .home-services.in-panel {
	/* margin-bottom: 32px; */
	bottom: 0;
	position: absolute;
	padding-bottom: 12px;
}





#progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background: linear-gradient( 90deg, var(--agency-purple), var(--agency-orange), var(--agency-green));
	width: 0%;
	z-index: 20;
	pointer-events: none;
}

#depth-dots {
	position: fixed;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	display: none;
	flex-direction: column;
	gap: 0.6rem;
	z-index: 20;
	pointer-events: none;
}

.ddot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--fg-muted);
	transition: all 0.4s;
}

	.ddot.active {
		background: var(--accent);
		transform: scale(1.8);
	}

#outro {
	height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1.5rem;
	text-align: center;
	display: none;
}

	#outro p {
		font-size: 0.7rem;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: var(--fg-muted);
	}

	#outro a {
		font-size: 1.8rem;
		font-weight: 300;
		color: var(--fg);
		text-decoration: none;
		border-bottom: 1px solid var(--accent);
		padding-bottom: 0.2rem;
	}




* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
}

:root {
	--hero-h: 50vh;
}

#hero {
	width: 100vw;
	height: 100vh; /* height: var(--hero-h);*/
	cursor: default;
	overflow: hidden;
	position: relative;
}


body:has(.search-container.on .ripple-iframe) #hero {
	display: none;
}

#hero:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	/* inset: 0; */
	/* background-image: url(data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E); */
	/* opacity: 0.04; */
	pointer-events: none;
	z-index: 1;
	background-color: rgb(113 83 141);
	/* background: radial-gradient(1400px 520px at 32% 78%, rgba(120, 150, 180, 0.22) 0%, rgba(76, 98, 122, 0.14) 28%, rgba(22, 31, 42, 0.04) 55%, rgba(5, 8, 12, 0) 72%), linear-gradient(180deg, #020507 0%, #071119 18%, #0d1f2b 46%, #142635 67%, #0b1219 100%); */
	/* background: radial-gradient(1400px 520px at 32% 78%, rgba(120, 150, 180, 0.22) 0%, rgba(76, 98, 122, 0.14) 28%, rgba(22, 31, 42, 0.04) 55%, rgba(5, 8, 12, 0) 72%), linear-gradient(180deg, #020507 0%, #071119 18%, #163346 46%, #1e3a51 67%, #0b1219 100%); */
	background-image: url(/assets/images/impartiumTexture1.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	animation: heroHueShift 20s linear infinite alternate;
	left: 0;
}

#replay {
	display: none;
}

@keyframes heroHueShift {
	from {
		filter: hue-rotate(0deg);
	}

	to {
		filter: hue-rotate(360deg);
	}
}
/* Floor vignette — gives illusion of depth/back wall */

#hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 110%, rgba(0,0,0,0.65) 0%, transparent 60%), radial-gradient(ellipse at 50% -10%, rgba(0,0,0,0.4) 0%, transparent 55%), linear-gradient(to right, rgba(0,0,0,0.18) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.18) 100%);
	pointer-events: none;
	z-index: 1;
}

#hero canvas {
	display: block;
	position: relative;
	z-index: 2;
	width: 100vw;
	height: 100vh;
}
/* ── MESSAGING OVERLAY ─────────────────────────────────────────────────── * pointer-events: none means all clicks/drags pass through to the canvas. * Opacity transitions on hero hover via JS class toggle. */

.methods-hero-messaging {
	position: absolute;
	top: 20vh;
	width: 100%;
	z-index: 3;
	pointer-events: none;
	display: flex;
	align-items: center; /* Push content into right ~55% of hero */
	padding: 0 12%;
	opacity: 1;
	transition: opacity 0.55s ease;
}




.methods-messaging {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	pointer-events: none;
	display: flex;
	align-items: center; /* Push content into right ~55% of hero */
	padding-left: 3%;
	padding-right: 6%;
	opacity: 1;
	transition: opacity 0.55s ease;
}

.card .home-service:before {
	display: block;
	content: "\f061";
	font-family: var(--fa-family, var(--fa-style-family, "Font Awesome 7 Pro"));
	font-weight: 300;
	font-size: 12px;
	color: #fff;
	position: absolute;
	top: 0;
	bottom: unset;
	right: -20px;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 20px;
	border-radius: 50%;
	background: var(--agency-purple);
	opacity: .8;
	padding: 10px;
	transition: all ease-in-out .3s;
}

.card .msg-inner {
	top: 60px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	max-width: 90%;
	width: 80%;
}

.card .home-services.in-panel .home-services-boxes {
	bottom: 0;
	position: absolute;
	padding-bottom: 7vh;
	left: 0;
	width: 90%;
	gap: 0;
}

.card .home-service {
	padding: 0 30px;
	width: 100%;
	overflow: visible;
}

#hero.hovered .methods-messaging {
	opacity: 0.5;
}

.msg-inner {
	max-width: 80%;
}

.msg-eyebrow {
	font-family: var(--font-sans);
	font-weight: 500;
	font-size: clamp(10px, 1vw, 13px);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.38);
	margin-bottom: 18px;
}

.msg-headline {
	font-family: 'Lora', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(22px, 2.8vw, 42px);
	line-height: 1.22;
	color: rgba(255,255,255,0.92);
	margin-bottom: 22px;
	letter-spacing: -0.01em;
}

.msg-sub {
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: clamp(12px, 1.1vw, 15px);
	line-height: 1.7;
	color: rgba(255,255,255,0.38);
	max-width: 80%;
}

#replay {
	position: fixed;
	bottom: 24px;
	right: 24px;
	padding: 8px 18px;
	border: 1px solid rgba(255,255,255,0.2);
	background: transparent;
	color: rgba(255,255,255,0.35);
	font-family: var(--font-sans);
	font-size: 12px;
	letter-spacing: 0.08em;
	cursor: pointer;
	border-radius: 4px;
	z-index: 10;
	transition: all 0.2s;
	pointer-events: all;
}

	#replay:hover {
		border-color: rgba(255,255,255,0.5);
		color: rgba(255,255,255,0.75);
	}

.card-label.has-ripple .ripple-instruct {
	position: absolute;
	font-weight: 100;
	padding: 0 10px;
	z-index: 10;
	display: none;
	bottom: -32px;
	font-size: 1rem;
}

.card-label.has-ripple.visible .ripple-instruct {
	display: block;
}



@media (min-width: 768px) {
	.methods-hero-messaging {
		top: 46%;
	}


		.methods-hero-messaging .msg-inner {
			position: relative;
		}

	.card .msg-inner {
		top: -22vh;
		position: relative;
	}


	.card .home-services.in-panel {
		margin-bottom: 32px;
	}

	.card .msg-inner {
	}

	.card .home-services.in-panel .home-services-boxes {
		bottom: 50px;
		position: absolute;
		padding: 44px 10%;
		padding-bottom: 15vh;
		left: 1px;
		width: 100%;
		/* transform: translateX(calc(-50% - 20px)); */
	}

	.card .home-service {
		padding-right: 22px;
	}
}

@media (min-width: 1024px) {
	.methods-hero-messaging {
		top: 50%;
	}

	.card .msg-inner {
		top: -12vh;
		position: relative;
	}


	.card .home-services.in-panel {
		margin: 100px 0px 100px 0px;
		margin-bottom: 32px;
	}

	.card .msg-inner {
	}

	.card .home-services.in-panel .home-services-boxes {
		grid-template-columns: repeat(2,1fr);
		padding-bottom: 10vh;
	}

	.card .home-service {
	}

		.card .home-service:before {
			right: -12px;
		}
}

@media (min-width: 1280px) {
	.card .home-service:before {
		right: 30px;
	}
}
