/* ==========================================================================
   TransferGun — transfergun.com coming-soon page
   Single static page. No build step, no JavaScript, no third-party runtime.
   Design tokens mirror the product's house style (warm paper + forest green),
   extended with a dark "monument" palette for the hero and closing bands.
   ========================================================================== */

:root {
	/* house tokens — kept in sync with the product UI */
	--tg-paper: #f4f1ea;
	--tg-surface: #fffdf8;
	--tg-surface-2: #faf7f0;
	--tg-footer: #ece7db;
	--tg-ink: #262420;
	--tg-ink-soft: #4d4940;
	--tg-muted: #7c7466;
	--tg-line: rgb(38 36 31 / 13%);
	--tg-line-strong: rgb(38 36 31 / 26%);
	--tg-accent: #36513f;
	--tg-accent-tint: #ecf0e9;
	--tg-radius: 14px;
	--tg-radius-sm: 10px;
	--tg-shadow-card: 0 1px 2px rgb(38 36 31 / 5%), 0 10px 30px -16px rgb(38 36 31 / 30%);
	--tg-shadow-card-hover: 0 2px 4px rgb(38 36 31 / 6%), 0 22px 48px -22px rgb(38 36 31 / 42%);

	/* dark bands */
	--tg-night: #131a14;
	--tg-night-2: #1b241c;
	--tg-night-line: rgb(244 241 234 / 14%);
	--tg-on-night: #f4f1ea;
	--tg-on-night-soft: rgb(244 241 234 / 72%);
	--tg-on-night-muted: rgb(244 241 234 / 52%);
	--tg-brass: #c9a961;

	--tg-max-width: 1160px;

	--font-serif: Spectral, Georgia, 'Times New Roman', serif;
	--font-sans:
		'Libre Franklin', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
		sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	background: var(--tg-paper);
	color: var(--tg-ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.55;
	text-rendering: optimizelegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	border-radius: 6px;
	outline: 3px solid var(--tg-accent);
	outline-offset: 3px;
}

.wrap {
	width: min(100% - 2.5rem, var(--tg-max-width));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	transform: translateY(-160%);
	border-radius: var(--tg-radius-sm);
	background: var(--tg-surface);
	padding: 0.7rem 1.1rem;
	color: var(--tg-ink);
	font-size: 0.9rem;
	font-weight: 600;
	transition: transform 0.18s ease;
}

.skip-link:focus-visible {
	transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Shared type furniture
   -------------------------------------------------------------------------- */

.eyebrow {
	margin: 0;
	color: var(--tg-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.1;
	text-transform: uppercase;
}

.eyebrow--onDark {
	color: var(--tg-brass);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.brand__mark {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	flex: 0 0 auto;
}

.brand__mark svg {
	width: 100%;
	height: 100%;
}

.brand__wordmark {
	font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   Dark top: masthead + hero share one continuous night field
   -------------------------------------------------------------------------- */

.dark-top {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgb(19 26 20 / 100%);
	background:
		radial-gradient(120% 90% at 78% 34%, rgb(54 81 63 / 55%) 0%, transparent 62%),
		radial-gradient(90% 70% at 10% 8%, rgb(201 169 97 / 8%) 0%, transparent 60%),
		linear-gradient(168deg, var(--tg-night-2) 0%, var(--tg-night) 58%, #0f150f 100%);
	color: var(--tg-on-night);
}

/* fine film grain — gives the dark field the same tactile quality as the paper */
.dark-top::after,
.closing::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.05;
	pointer-events: none;
}

.masthead {
	position: relative;
	z-index: 4;
}

.masthead__inner {
	display: flex;
	min-height: 84px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.masthead .brand {
	color: var(--tg-on-night);
}

.masthead .brand__mark {
	color: var(--tg-brass);
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	border: 1px solid var(--tg-night-line);
	border-radius: 999px;
	background: rgb(244 241 234 / 5%);
	padding: 0.45rem 0.95rem;
	color: var(--tg-on-night-soft);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.status-pill__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--tg-brass);
	box-shadow: 0 0 0 0 rgb(201 169 97 / 55%);
	animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgb(201 169 97 / 50%);
	}

	70% {
		box-shadow: 0 0 0 0.5rem rgb(201 169 97 / 0%);
	}

	100% {
		box-shadow: 0 0 0 0 rgb(201 169 97 / 0%);
	}
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	z-index: 2;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
	min-height: min(78vh, 46rem);
}

.hero__copy {
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.hero__title {
	margin-top: 1.5rem;
	font-size: clamp(2.7rem, 6.1vw, 4.9rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.hero__lede {
	max-width: 34ch;
	margin-top: 1.6rem;
	color: var(--tg-on-night-soft);
	font-size: clamp(1.02rem, 1.35vw, 1.19rem);
	line-height: 1.6;
}

.hero__kicker {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.1rem;
	color: var(--tg-brass);
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 1.5vw, 1.28rem);
	font-style: italic;
	font-weight: 400;
}

.hero__kicker-rule {
	width: 3rem;
	height: 1px;
	flex: 0 0 auto;
	background: rgb(201 169 97 / 55%);
}

.scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 2.6rem;
	border-bottom: 1px solid rgb(244 241 234 / 25%);
	padding-bottom: 0.4rem;
	color: var(--tg-on-night-muted);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition:
		color 0.18s ease,
		border-color 0.18s ease;
}

.scroll-cue:hover {
	border-color: var(--tg-brass);
	color: var(--tg-on-night);
}

.scroll-cue svg {
	width: 1rem;
	height: 1rem;
	animation: nudge 2.4s ease-in-out infinite;
}

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

	50% {
		transform: translateY(0.22rem);
	}
}

/* figure: the monument reads as a dark silhouette against a warm field */
.hero__figure {
	position: relative;
	display: flex;
	align-self: end;
	justify-content: center;
	min-height: 20rem;
}

.hero__glow {
	position: absolute;
	bottom: 8%;
	left: 50%;
	width: min(115%, 40rem);
	aspect-ratio: 1;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(
		circle at 50% 50%,
		rgb(201 169 97 / 26%) 0%,
		rgb(126 122 78 / 14%) 38%,
		transparent 68%
	);
	filter: blur(6px);
}

.hero__ring {
	position: absolute;
	bottom: 14%;
	left: 50%;
	width: min(86%, 29rem);
	aspect-ratio: 1;
	transform: translateX(-50%);
	border: 1px solid rgb(201 169 97 / 26%);
	border-radius: 50%;
}

.hero__monument {
	position: relative;
	z-index: 2;
	width: auto;
	max-width: 100%;
	height: clamp(21rem, 40vw, 34rem);
	object-fit: contain;
	object-position: bottom;
	filter: brightness(1.16) contrast(1.05) drop-shadow(0 30px 42px rgb(0 0 0 / 45%));
}

/* thin horizon the statue stands on, tying the figure to the band edge */
.hero__plinth {
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: 3;
	width: min(120%, 44rem);
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(
		90deg,
		transparent,
		rgb(201 169 97 / 42%) 22%,
		rgb(201 169 97 / 42%) 78%,
		transparent
	);
}

/* --------------------------------------------------------------------------
   Paper sections
   -------------------------------------------------------------------------- */

.section {
	padding-block: clamp(3.75rem, 8vw, 6.5rem);
}

.section--band {
	border-block: 1px solid var(--tg-line);
	background: var(--tg-surface-2);
}

.section__head {
	max-width: 46rem;
	margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section__title {
	margin-top: 1rem;
	font-size: clamp(1.95rem, 3.6vw, 2.95rem);
}

.section__lede {
	max-width: 52ch;
	margin-top: 1.05rem;
	color: var(--tg-ink-soft);
	font-size: clamp(1rem, 1.25vw, 1.13rem);
	line-height: 1.6;
}

/* steps */
.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.step {
	position: relative;
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	background: var(--tg-surface);
	padding: 1.95rem 1.65rem 2.15rem;
	box-shadow: var(--tg-shadow-card);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.step:hover {
	transform: translateY(-2px);
	border-color: rgb(54 81 63 / 38%);
	box-shadow: var(--tg-shadow-card-hover);
}

.step__num {
	display: block;
	color: rgb(54 81 63 / 32%);
	font-family: var(--font-serif);
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.step__title {
	margin-top: 1.15rem;
	font-size: 1.32rem;
	font-weight: 600;
}

.step__body {
	margin-top: 0.7rem;
	color: var(--tg-ink-soft);
	font-size: 1.01rem;
	line-height: 1.55;
}

/* two-audience cards */
.paths {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.path {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tg-line);
	border-radius: var(--tg-radius);
	background: var(--tg-surface);
	padding: clamp(1.85rem, 3vw, 2.6rem);
	box-shadow: var(--tg-shadow-card);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.path:hover {
	border-color: rgb(54 81 63 / 40%);
	box-shadow: var(--tg-shadow-card-hover);
}

.path__icon {
	display: inline-flex;
	width: 3.25rem;
	height: 3.25rem;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(54 81 63 / 18%);
	border-radius: 15px;
	background: var(--tg-accent-tint);
	color: var(--tg-accent);
}

.path__icon svg {
	width: 1.75rem;
	height: 1.75rem;
}

.path__title {
	margin-top: 1.4rem;
	font-size: clamp(1.45rem, 2.1vw, 1.75rem);
	font-weight: 600;
}

.path__body {
	margin-top: 0.8rem;
	color: var(--tg-ink-soft);
	font-size: 1.04rem;
	line-height: 1.58;
}

.path__list {
	margin: 1.6rem 0 0;
	border-top: 1px solid var(--tg-line);
	padding: 1.35rem 0 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
}

.path__list li {
	position: relative;
	padding-left: 1.6rem;
	color: var(--tg-ink-soft);
	font-size: 0.98rem;
}

.path__list li::before {
	content: '';
	position: absolute;
	top: 0.58rem;
	left: 0.1rem;
	width: 0.72rem;
	height: 0.38rem;
	border-bottom: 2px solid var(--tg-accent);
	border-left: 2px solid var(--tg-accent);
	transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Closing dark band + footer
   -------------------------------------------------------------------------- */

.closing {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(90% 130% at 50% 118%, rgb(54 81 63 / 62%) 0%, transparent 60%),
		linear-gradient(180deg, #0f150f 0%, var(--tg-night) 100%);
	color: var(--tg-on-night);
}

.closing__inner {
	position: relative;
	z-index: 4;
	max-width: 44rem;
	padding-block: clamp(4rem, 9vw, 7rem);
	text-align: center;
}

.closing__title {
	margin-top: 1.15rem;
	font-size: clamp(1.95rem, 4.2vw, 3.15rem);
	line-height: 1.08;
}

.closing__body {
	margin-top: 1.3rem;
	color: var(--tg-on-night-soft);
	font-size: clamp(1rem, 1.3vw, 1.13rem);
	line-height: 1.6;
}

.footer {
	border-top: 1px solid var(--tg-line);
	background: var(--tg-footer);
}

.footer__inner {
	display: grid;
	gap: 1.05rem;
	padding-block: 2.5rem 3rem;
}

.brand--footer {
	color: var(--tg-ink);
}

.brand--footer .brand__mark {
	color: var(--tg-accent);
}

.footer__note {
	max-width: 68ch;
	color: var(--tg-muted);
	font-size: 0.84rem;
	line-height: 1.6;
}

.footer__legal {
	color: var(--tg-muted);
	font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   Motion — entrance on load, scroll reveal where the browser supports it
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.rise {
		animation: rise 0.85s cubic-bezier(0.22, 0.68, 0.24, 1) both;
	}

	.rise--1 {
		animation-delay: 0.05s;
	}

	.rise--2 {
		animation-delay: 0.14s;
	}

	.rise--3 {
		animation-delay: 0.26s;
	}

	.rise--4 {
		animation-delay: 0.38s;
	}

	.rise--5 {
		animation-delay: 0.5s;
	}

	.hero__figure {
		animation: figure-in 1.25s cubic-bezier(0.22, 0.68, 0.24, 1) both;
		animation-delay: 0.12s;
	}

	/* Progressive enhancement: browsers without scroll-driven animations simply
	   render the sections in place, with no hidden content and no JavaScript. */
	@supports (animation-timeline: view()) {
		.reveal {
			animation: rise linear both;
			animation-timeline: view();
			animation-range: entry 4% cover 26%;
		}
	}
}

@keyframes rise {
	from {
		transform: translateY(1.1rem);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes figure-in {
	from {
		transform: translateY(1.75rem) scale(0.985);
		opacity: 0;
	}

	to {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.status-pill__dot,
	.scroll-cue svg {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* four across needs more room than three did — drop to a 2x2 grid early */
@media (max-width: 1180px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1000px) {
	.paths {
		grid-template-columns: 1fr;
	}

	.step {
		padding: 1.7rem 1.6rem 1.85rem;
	}

	.step__num {
		font-size: 2.1rem;
	}
}

@media (max-width: 620px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 1.5rem 0;
		gap: 2rem;
	}

	.hero__copy {
		order: 1;
		padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
	}

	.hero__figure {
		order: 2;
		min-height: 0;
	}

	.hero__monument {
		height: clamp(15rem, 52vw, 22rem);
	}

	/* the decorative circles are sized off the figure box, which collapses on
	   narrow screens — rein them in so they frame the statue instead of the copy */
	.hero__ring {
		bottom: 6%;
		width: min(70%, 16rem);
	}

	.hero__glow {
		bottom: 2%;
		width: min(95%, 22rem);
	}

	.hero__lede {
		max-width: 46ch;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.wrap {
		width: min(100% - 2rem, var(--tg-max-width));
	}

	.masthead__inner {
		min-height: 70px;
	}

	.brand__wordmark {
		font-size: 1.22rem;
	}

	.brand__mark {
		width: 1.75rem;
		height: 1.75rem;
	}

	.status-pill {
		padding: 0.38rem 0.7rem;
		font-size: 0.66rem;
	}

	.hero__title {
		margin-top: 1.1rem;
		letter-spacing: -0.025em;
	}

	.hero__kicker {
		gap: 0.75rem;
	}

	.hero__kicker-rule {
		width: 1.75rem;
	}

	.footer__inner {
		padding-block: 2rem 2.5rem;
	}
}

/* Very wide screens: keep the hero from stretching into a thin strip */
@media (min-width: 1500px) {
	:root {
		--tg-max-width: 1260px;
	}
}
