/**
 * Footer Main Styles
 *
 * Follows the site design system:
 *   - Background: #111111
 *   - Primary text: #FFFFFF
 *   - Secondary text: #DBDBDB
 *   - Muted text: #B9B9B9
 *   - Headings: Manrope 700
 *   - Body: Helvetica
 *   - Accent: Helvetica 600 uppercase 13px
 *   - Container: 1220px
 */

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */

.stg-footer {
	position: relative;
	overflow: hidden;
	background-color: #000;
	padding-top: 0;
	padding-bottom: 0;
}

.stg-footer__inner {
	position: relative;
	z-index: 2;
	max-width: 1220px;
	margin: 0 auto;
	padding: 80px 24px 40px;
}

/* ------------------------------------------------
   Decorative Background Text
   ------------------------------------------------ */

.stg-footer__decoration {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 1;
	pointer-events: none;
	user-select: none;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stg-footer__bg-text {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: clamp(260px, 38vw, 560px);
	line-height: 1;
	letter-spacing: -0.06em;
	color:#111;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.015);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.0) 0%,
		rgba(255, 255, 255, 0.0) 20%,
		rgba(255, 255, 255, 0.008) 45%,
		rgba(255, 255, 255, 0.02) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	white-space: nowrap;
	position: relative;
	text-transform: lowercase;
}

/* Shimmer animation on the stroke */
.stg-footer__bg-text::before {
	content: 'stg';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: transparent;
	-webkit-text-stroke: 1px transparent;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 35%,
		rgba(255, 255, 255, 0.035) 50%,
		rgba(255, 255, 255, 0) 65%,
		rgba(255, 255, 255, 0) 100%
	);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: stg-footer-shimmer 8s ease-in-out infinite;
}

@keyframes stg-footer-shimmer {
	0%, 100% {
		background-position: 200% center;
	}
	50% {
		background-position: -50% center;
	}
}

/* ------------------------------------------------
   Grid
   ------------------------------------------------ */

.stg-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 64px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------------
   Brand Column
   ------------------------------------------------ */

.stg-footer__logo-link {
	display: inline-block;
	text-decoration: none;
}

.stg-footer__logo {
	display: block;
	width: 150px;
	height: auto;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.stg-footer__logo-link:hover .stg-footer__logo,
.stg-footer__logo-link:focus .stg-footer__logo {
	opacity: 1;
}

.stg-footer__description {
	margin: 20px 0 0;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.7;
	color: #B9B9B9;
	max-width: 280px;
}

/* ------------------------------------------------
   Navigation Columns
   ------------------------------------------------ */

.stg-footer__heading {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #DBDBDB;
	margin: 0 0 24px;
}

.stg-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stg-footer__list li {
	margin-bottom: 4px;
}

.stg-footer__list li:last-child {
	margin-bottom: 0;
}

.stg-footer__list a {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #B9B9B9;
	text-decoration: none;
	transition: color 0.25s ease, padding-left 0.25s ease;
	display: inline-block;
}

.stg-footer__list a:hover,
.stg-footer__list a:focus {
	color: #FFFFFF;
	padding-left: 4px;
}

/* ------------------------------------------------
   Bottom Bar
   ------------------------------------------------ */

.stg-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 32px;
	flex-wrap: wrap;
	gap: 16px;
}

.stg-footer__copyright {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.35);
	margin: 0;
}

.stg-footer__legal {
	display: flex;
	align-items: center;
	gap: 8px;
}

.stg-footer__legal a {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
	transition: color 0.25s ease;
}

.stg-footer__legal a:hover,
.stg-footer__legal a:focus {
	color: rgba(255, 255, 255, 0.7);
}

.stg-footer__separator {
	color: rgba(255, 255, 255, 0.2);
	font-size: 14px;
}

/* ------------------------------------------------
   Responsive — Tablet
   ------------------------------------------------ */

@media (max-width: 1024px) {
	.stg-footer__grid {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 40px;
	}

	.stg-footer__brand {
		grid-column: 1 / -1;
	}

	.stg-footer__description {
		max-width: 400px;
	}

	.stg-footer__bg-text {
		font-size: clamp(200px, 30vw, 380px);
	}
}

/* ------------------------------------------------
   Responsive — Mobile
   ------------------------------------------------ */

@media (max-width: 767px) {
	.stg-footer__inner {
		padding: 56px 20px 32px;
	}

	.stg-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 24px;
		padding-bottom: 40px;
	}

	.stg-footer__brand {
		grid-column: 1 / -1;
	}

	.stg-footer__description {
		max-width: 100%;
	}

	.stg-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 24px;
		gap: 12px;
	}

	.stg-footer__bg-text {
		font-size: clamp(140px, 35vw, 260px);
	}

	.stg-footer__logo {
		width: 130px;
	}
}

/* ------------------------------------------------
   Responsive — Small Mobile
   ------------------------------------------------ */

@media (max-width: 479px) {
	.stg-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.stg-footer__nav {
		grid-column: 1;
	}
}
