/*
Theme Name: Tinker Farms
Theme URI: https://tinkerfarmsgame.com/
Author: Tinker Farms
Author URI: https://tinkerfarmsgame.com/
Description: A one-page teaser block theme for the Tinker Farms Roblox game.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tinker-farms
*/

html {
	scroll-behavior: smooth;
}

body {
	background:
		linear-gradient(180deg, rgba(255, 250, 236, 0.96), rgba(244, 250, 235, 0.94)),
		radial-gradient(circle at 20% 10%, rgba(244, 184, 74, 0.16), transparent 28%),
		radial-gradient(circle at 86% 18%, rgba(98, 72, 124, 0.12), transparent 30%);
}

a {
	text-underline-offset: 0.18em;
}

.site-shell {
	overflow: hidden;
}

.tf-header {
	backdrop-filter: blur(16px);
	background: rgba(255, 250, 236, 0.91);
	border-bottom: 1px solid rgba(88, 68, 43, 0.16);
	position: sticky;
	top: 0;
	z-index: 20;
}

.tf-header .wp-block-navigation__container {
	gap: clamp(0.7rem, 2vw, 1.3rem);
}

.tf-header a {
	text-decoration: none;
}

.tf-logo-wordmark img {
	height: auto;
	max-width: min(220px, 48vw);
}

.tf-hero {
	background:
		linear-gradient(100deg, rgba(38, 84, 68, 0.68), rgba(72, 52, 97, 0.34)),
		url("assets/images/build-the-farm.png") center/cover no-repeat;
	min-height: clamp(620px, 88vh, 840px);
	position: relative;
}

.tf-hero:after {
	background: linear-gradient(180deg, rgba(255, 250, 236, 0), rgba(255, 250, 236, 1));
	bottom: 0;
	content: "";
	height: 96px;
	left: 0;
	position: absolute;
	right: 0;
}

.tf-hero > .wp-block-group {
	position: relative;
	z-index: 1;
}

.tf-eyebrow {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-button-row .wp-block-button__link {
	box-shadow: 0 12px 28px rgba(44, 31, 23, 0.2);
}

.tf-band {
	padding-bottom: clamp(3.4rem, 8vw, 7rem);
	padding-top: clamp(3.4rem, 8vw, 7rem);
}

.tf-band-tight {
	padding-bottom: clamp(2.4rem, 6vw, 5rem);
	padding-top: clamp(2.4rem, 6vw, 5rem);
}

.tf-feature-card {
	background: rgba(255, 255, 248, 0.82);
	border: 1px solid rgba(88, 68, 43, 0.16);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(72, 52, 35, 0.1);
	height: 100%;
}

.tf-feature-card figure {
	overflow: hidden;
}

.tf-feature-card img {
	display: block;
	width: 100%;
}

.tf-split-media {
	border-radius: 8px;
	box-shadow: 0 20px 44px rgba(46, 56, 40, 0.16);
	overflow: hidden;
}

.tf-split-media img {
	display: block;
	width: 100%;
}

.tf-workshop-band {
	background:
		linear-gradient(115deg, rgba(53, 48, 83, 0.92), rgba(24, 77, 74, 0.72)),
		url("assets/images/tool-hero.png") center/cover no-repeat;
	color: #fffaf0;
}

.tf-field-band {
	background:
		linear-gradient(180deg, rgba(246, 251, 234, 0.56), rgba(234, 246, 224, 0.88)),
		url("assets/images/protect-crops.png") center bottom/cover no-repeat;
}

.tf-save-band {
	background:
		linear-gradient(100deg, rgba(117, 49, 55, 0.68), rgba(58, 78, 49, 0.56)),
		url("assets/images/save-the-farm.png") center/cover no-repeat;
	color: #fffaf0;
}

.tf-dev-band {
	background: #243733;
	color: #fffaf0;
}

.tf-coming-soon {
	background:
		linear-gradient(180deg, rgba(255, 250, 236, 0.96), rgba(255, 244, 214, 0.98)),
		url("assets/images/development-preview.png") center/cover no-repeat;
}

.tf-footer {
	background: #2b3528;
	color: #fffaf0;
}

.tf-footer a {
	color: #ffe3a2;
}

@media (max-width: 900px) {
	.tf-header .wp-block-group {
		align-items: flex-start;
		flex-direction: column;
	}

	.tf-header .wp-block-navigation__container {
		row-gap: 0.45rem;
	}

	.tf-hero {
		min-height: 680px;
	}
}

@media (max-width: 640px) {
	.tf-header {
		position: static;
	}

	.tf-hero {
		min-height: auto;
		padding-bottom: 5rem;
		padding-top: 4rem;
	}

	.tf-hero h1 {
		font-size: 3rem !important;
	}

	.tf-button-row {
		align-items: stretch;
		flex-direction: column;
	}

	.tf-button-row .wp-block-button,
	.tf-button-row .wp-block-button__link {
		width: 100%;
	}
}
