/* Troop 396 Tree Recycling — homepage design system */

#tree-home {
	--tr-green: #23402f;
	--tr-green-dark: #16281c;
	--tr-red: #c0272d;
	--tr-red-dark: #9e1f24;
	--tr-cream: #faf9f5;
	--tr-tan: #e9e5da;
	--tr-ink: #1c1c1a;
	--tr-ink-muted: #5c5c56;
	--tr-border: #ddd8ca;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--tr-ink);
	background: var(--tr-cream);
}

#tree-home * {
	box-sizing: border-box;
}

#tree-home .tr-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

#tree-home .tr-eyebrow {
	color: var(--tr-red);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

#tree-home .tr-eyebrow--light {
	color: #ff9a9e;
}

#tree-home .tr-section__title {
	font-size: clamp(28px, 3.5vw, 40px);
	line-height: 1.15;
	margin: 0 0 20px;
	color: var(--tr-ink);
	font-weight: 800;
}

/* Hero */
#tree-home .tr-hero {
	position: relative;
	background: var(--tr-green);
	color: #fff;
	overflow: hidden;
	padding: 72px 0 96px;
}

#tree-home .tr-hero__stripe {
	position: absolute;
	top: -20%;
	right: 12%;
	width: 220px;
	height: 160%;
	background: var(--tr-red);
	transform: rotate(18deg);
	opacity: 0.95;
}

#tree-home .tr-hero__inner {
	position: relative;
	z-index: 1;
}

#tree-home .tr-hero__title {
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 800;
	line-height: 1.05;
	margin: 8px 0 24px;
	color: #fff;
}

#tree-home .tr-hero__lead {
	max-width: 520px;
	font-size: 17px;
	line-height: 1.6;
	color: #e7ece8;
	margin: 0 0 32px;
}

#tree-home .tr-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

#tree-home .tr-btn {
	display: inline-block;
	padding: 14px 28px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 3px;
	border: 2px solid transparent;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

#tree-home .tr-btn:hover {
	opacity: 0.9;
}

#tree-home .tr-btn--primary {
	background: var(--tr-red);
	color: #fff;
}

#tree-home .tr-btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

/* Generic sections */
#tree-home .tr-section {
	padding: 80px 0;
}

#tree-home .tr-section--tan {
	background: var(--tr-tan);
}

#tree-home .tr-step__text {
	color: var(--tr-ink-muted);
	line-height: 1.6;
	font-size: 15px;
	margin: 0;
}

/* How it works */
#tree-home .tr-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}

#tree-home .tr-step {
	background: #fff;
	border: 1px solid var(--tr-border);
	border-radius: 6px;
	padding: 28px 24px;
}

#tree-home .tr-step__icon {
	font-size: 28px;
	display: inline-block;
	margin-bottom: 16px;
}

#tree-home .tr-step__label {
	color: var(--tr-ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 8px;
}

#tree-home .tr-step__title {
	font-size: 19px;
	font-weight: 800;
	margin: 0 0 10px;
}

/* Pickup days */
#tree-home .tr-pickup {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

#tree-home .tr-dates {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#tree-home .tr-date-card {
	background: #fff;
	border: 1px solid var(--tr-border);
	border-radius: 6px;
	padding: 20px 24px;
}

#tree-home .tr-date-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

#tree-home .tr-date-card__day {
	font-size: 19px;
	font-weight: 800;
	margin: 0;
}

#tree-home .tr-date-card__deadline {
	color: var(--tr-ink-muted);
	font-size: 14px;
	margin: 8px 0 0;
}

#tree-home .tr-badge {
	background: var(--tr-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 3px;
	white-space: nowrap;
}

/* Donation */
#tree-home .tr-donation {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

#tree-home .tr-callout {
	margin-top: 28px;
	background: var(--tr-tan);
	border-left: 4px solid #8a6d3b;
	padding: 18px 20px;
	border-radius: 3px;
}

#tree-home .tr-callout__title {
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 6px;
}

#tree-home .tr-callout__text {
	margin: 0;
	color: var(--tr-ink-muted);
	font-size: 14px;
	line-height: 1.5;
}

#tree-home .tr-donation__media-placeholder {
	background: var(--tr-green-dark);
	color: #cfe0d3;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	text-align: center;
	padding: 20px;
}

/* Crew */
#tree-home .tr-crew {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 40px;
}

#tree-home .tr-crew__photo {
	background: #22221f;
	border-radius: 6px;
	aspect-ratio: 1 / 1;
}

/* Responsive */
@media (max-width: 900px) {
	#tree-home .tr-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	#tree-home .tr-pickup,
	#tree-home .tr-donation {
		grid-template-columns: 1fr;
	}

	#tree-home .tr-crew {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	#tree-home .tr-steps {
		grid-template-columns: 1fr;
	}

	#tree-home .tr-hero {
		padding: 56px 0 72px;
	}

	#tree-home .tr-hero__stripe {
		width: 120px;
		right: -30px;
	}

	#tree-home .tr-hero__lead {
		max-width: none;
	}

	#tree-home .tr-section {
		padding: 56px 0;
	}
}
