/* ==========================================================================
   Site Footer (dark)
   ========================================================================== */

.site-footer {
	position: relative;
	background: #0c0c0c;
	color: #d6d6d6;
	padding: 72px 40px 0;
	overflow: hidden;
}

/* ---------- Top: brand + newsletter ---------- */
.site-footer__top {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
	padding-bottom: 48px;
}

.site-footer__brand {
	display: inline-flex;
	flex-direction: column;
	color: #fff;
	text-decoration: none;
	line-height: 1;
}

.site-footer__brand-row {
	display: inline-flex;
	align-items: flex-start;
	gap: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	padding-bottom: 6px;
}

.site-footer__brand-mark {
	font-family: 'Parkinsans', sans-serif;
	font-weight: 700;
	font-size: 28px;
	letter-spacing: -0.01em;
	color: #fff;
}

.site-footer__brand-icon {
	display: inline-block;
	margin-top: 2px;
}

.site-footer__brand-sub {
	font-size: 13px;
	font-weight: 400;
	color: #cfcfcf;
	margin-top: 8px;
	letter-spacing: 0.02em;
	align-self: flex-end;
}

/* Newsletter */
.site-footer__newsletter {
	max-width: 380px;
	justify-self: end;
	width: 100%;
}

.site-footer__newsletter-title {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 6px;
}

.site-footer__newsletter-lede {
	font-size: 13px;
	color: #9a9a9a;
	margin: 0 0 14px;
}

.site-footer__form {
	position: relative;
	width: 100%;
}

.site-footer__form-input {
	width: 100%;
	padding: 14px 56px 14px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 14px;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}

.site-footer__form-input:focus {
	border-color: #2ecc71;
	background: #202020;
}

.site-footer__form-btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 0;
	background: #2ecc71;
	color: #fff;
	cursor: pointer;
	transition: background .2s ease, transform .15s ease;
}

.site-footer__form-btn:hover { background: #27b765; }
.site-footer__form-btn:active { transform: translateY(-50%) scale(0.95); }
.site-footer__form-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ---------- Cols ---------- */
.site-footer__cols {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-bottom: 64px;
}

.site-footer__col-title {
	font-size: 14px;
	font-weight: 500;
	color: #c0c0c0;
	margin: 0 0 18px;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #e3e3e3;
	text-decoration: none;
	transition: color .2s ease, transform .15s ease;
}

.site-footer__list a:hover {
	color: #2ecc71;
	transform: translateX(2px);
}

.site-footer__list a span {
	font-size: 13px;
	opacity: 0.85;
}

.site-footer__list--plain a:hover {
	color: #fff;
	transform: none;
}

/* ---------- Giant ghost wordmark ---------- */
.site-footer__wordmark {
	position: relative;
	margin: 40px -40px 0;
	font-family: 'Parkinsans', sans-serif;
	font-weight: 700;
	line-height: 0.82;
	letter-spacing: -0.05em;
	color: rgba(255, 255, 255, 0.07);
	user-select: none;
	pointer-events: none;
	overflow: hidden;
	white-space: nowrap;
}

.site-footer__wordmark span {
	display: block;
	white-space: nowrap;
	font-size: 26vw;
	line-height: 0.82;
}

/* "Seamfix" bleeds off the LEFT edge */
.site-footer__wordmark span:first-child {
	margin-left: -6vw;
}

/* "Foundation" bleeds off the RIGHT edge, shifted right */
.site-footer__wordmark span + span {
	margin-left: 18vw;
	margin-top: -0.06em;
}

/* ---------- Bottom: left-aligned copyright with half-width divider ---------- */
.site-footer__bottom {
	position: relative;
	z-index: 2;
	margin: -90px -40px 0;
	padding: 22px 40px 26px;
	text-align: left;
	background: transparent;
}

.site-footer__bottom::before {
	content: "";
	display: block;
	width: 50%;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	margin-bottom: 18px;
}

.site-footer__bottom p {
	font-size: 13px;
	color: #b0b0b0;
	margin: 0;
	padding-left: 20%;          /* nudge text under the line, like the design */
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.site-footer { padding: 56px 24px 0; }
	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.site-footer__newsletter {
		justify-self: start;
		max-width: none;
	}
	.site-footer__cols {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
		padding-bottom: 48px;
	}
}

@media (max-width: 480px) {
	.site-footer__cols {
		grid-template-columns: 1fr;
	}
	.site-footer__wordmark {
		font-size: 70px;
	}
}
