/*
Theme Name: Pacatis
Theme URI: https://pacatis.org
Author: Pacatis
Description: One-page landing theme. Upload, activate, and the home page shows the Pacatis design. Replace the QR code from the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pacatis
Tags: one-column, full-width-template
*/

:root {
	--navy: #1f2b3b;
	--gold: #d4a24a;
	--teal: #5eaeb6;
	--ink: #f3f6f8;
	--glow: #e48a39;
	--mark: #141414;
	--font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
	--font-script: "Amatic SC", "Caveat", cursive;
}

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

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--navy);
	color: var(--ink);
	font-family: var(--font-sans);
	font-weight: 400;
}

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

.landing {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(2.5rem, 8vh, 5.5rem) clamp(1.25rem, 7vw, 6.5rem) clamp(1.5rem, 5vh, 3.5rem);
	background-color: var(--navy);
	background-image: radial-gradient(
		ellipse 85% 75% at 100% 100%,
		var(--glow) 0%,
		rgba(228, 138, 57, 0.82) 20%,
		rgba(228, 138, 57, 0.4) 42%,
		rgba(31, 43, 59, 0) 68%
	);
}

body.admin-bar .landing {
	min-height: calc(100dvh - 32px);
}

.brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.25rem, 4.5vw, 3.75rem);
	margin: 0;
}

.eyebrow {
	margin: 0;
	color: var(--gold);
	font-size: clamp(0.68rem, 1.15vw, 0.92rem);
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.65;
	text-align: center;
	text-transform: uppercase;
}

.eyebrow span {
	display: block;
}

.wordmark {
	margin: 0;
	color: var(--teal);
	font-family: var(--font-script);
	font-size: clamp(4.8rem, 9vw, 8rem);
	font-weight: 700;
	line-height: 0.75;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.stage {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 6vh, 4rem) 0 clamp(1.5rem, 4vh, 3rem);
}

.headline {
	margin: 0;
	font-size: clamp(1.45rem, 2.7vw, 2.65rem);
	font-weight: 400;
	line-height: 1.28;
	text-align: center;
}

.headline__line {
	display: block;
}

.headline__line--lead {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 0.32em;
}

.is-light {
	color: var(--ink);
}

.is-teal {
	color: var(--teal);
}

.is-gold {
	color: var(--gold);
}

.try {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: clamp(2.4rem, 7vh, 4.75rem);
}

.try__button {
	display: inline-block;
	padding: 0.7rem 1.35rem;
	border: 1px solid var(--gold);
	border-radius: 999px;
	color: var(--gold);
	font-size: clamp(0.95rem, 1.35vw, 1.2rem);
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

.try__button:hover,
.try__button:focus-visible {
	background: var(--gold);
	color: var(--navy);
}

.landing__bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(1rem, 4vw, 3rem);
}

.footer-line {
	max-width: 46ch;
	margin: 0;
	color: var(--ink);
	font-size: clamp(0.92rem, 1.25vw, 1.08rem);
	font-weight: 400;
	line-height: 1.45;
}

.brain {
	width: min(30vw, 230px);
	height: auto;
	flex: none;
}

@media (max-width: 782px) {
	body.admin-bar .landing {
		min-height: calc(100dvh - 46px);
	}
}

@media (max-width: 900px) {
	.brand {
		flex-direction: column;
		gap: 0.35rem;
	}
}

@media (max-width: 720px) {
	.landing {
		padding: 1.75rem 1.25rem 1.5rem;
	}

	.wordmark {
		font-size: clamp(3.5rem, 22vw, 5.25rem);
		line-height: 0.9;
	}

	.eyebrow {
		font-size: 0.72rem;
		letter-spacing: 0.1em;
	}

	.headline {
		font-size: clamp(1.25rem, 5.4vw, 1.75rem);
	}

	.stage {
		padding: 1.5rem 0 1.25rem;
	}

	.try {
		margin-top: 1.75rem;
	}

	.landing__bottom {
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
	}

	.footer-line {
		max-width: none;
	}

	.brain {
		align-self: flex-end;
		width: min(42vw, 150px);
	}
}

@media (max-height: 640px) {
	.landing {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	.wordmark {
		font-size: clamp(2.8rem, 7vw, 4.25rem);
	}

	.stage {
		padding: 0.75rem 0;
	}

	.try {
		margin-top: 1rem;
	}

	.brain {
		width: min(22vw, 130px);
	}
}
