/* Giant Truss — site footer (per the approved product-page mockup) */

.gt-footer {
	--gt-fmax: 1400px;
	background: #0b0b0b;
	color: rgba(255, 255, 255, .78);
	font-family: "Inter Tight", Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}
.gt-footer * { box-sizing: border-box; }
.gt-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .18s; }
.gt-footer a:hover { color: var(--gt-purple, #7B4FF4); }

/* ── Partner strip ──────────────────────────────────────────── */
.gt-footer-partners {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	/* Top padding carries the same band trim as the homepage sections, so the
	   gap above the partner logos matches the rest of the page. */
	padding: calc(clamp(30px, 3.6vw, 46px) - var(--gt-band-trim, 15px)) clamp(16px, 3vw, 40px) clamp(30px, 3.6vw, 46px);
}
.gt-footer-partners-title {
	max-width: var(--gt-fmax);
	margin: 0 auto 22px;
	text-align: center;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8a8a8a;
}
.gt-partner-strip {
	max-width: var(--gt-fmax);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(14px, 2.4vw, 40px);
	align-items: center;
}
.gt-partner-logo { display: grid; place-items: center; }
.gt-partner-logo img {
	max-width: 100%;
	height: auto;
	/* flatten every logo to solid black so the row reads as one set */
	filter: brightness(0);
	opacity: .55;
	transition: opacity .2s, filter .2s;
}
.gt-partner-logo img:hover {
	opacity: 1;
	/* brand purple on hover */
	filter: brightness(0) saturate(100%) invert(32%) sepia(72%) saturate(3760%) hue-rotate(247deg) brightness(101%) contrast(94%);
}

/* ── Columns ────────────────────────────────────────────────── */
.gt-footer-main {
	max-width: var(--gt-fmax);
	margin: 0 auto;
	padding: clamp(38px, 5vw, 66px) clamp(16px, 3vw, 40px);
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: clamp(24px, 3vw, 48px);
}

.gt-footer-logo { height: clamp(26px, 2.6vw, 36px); width: auto; display: block; }
.gt-footer-wordmark {
	font-family: "Inter Tight", sans-serif;
	font-weight: 700;
	font-size: 26px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}
.gt-footer-tagline {
	margin: 16px 0 0;
	max-width: 34ch;
	font-size: 13.5px;
	color: rgba(255, 255, 255, .62);
}
.gt-footer-col h4 {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	font-family: "Inter Tight", Arial, sans-serif;
}
.gt-footer-col ul { list-style: none; margin: 0; padding: 0; }
.gt-footer-col li { margin-bottom: 8px; font-size: 13.5px; }

/* ── Bottom bar ─────────────────────────────────────────────── */
.gt-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, .10);
	padding: 18px clamp(16px, 3vw, 40px);
}
.gt-footer-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	max-width: none;
}
.gt-copyright, .gt-credit { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .58); }
.gt-credit { text-align: right; }
.gt-credit a { color: var(--gt-purple, #7B4FF4); }

.gt-socials { display: flex; gap: 10px; justify-content: center; }
.gt-socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .28);
	display: grid;
	place-items: center;
	color: #fff;
}
.gt-socials a:hover { background: var(--gt-purple, #7B4FF4); border-color: var(--gt-purple, #7B4FF4); color: #fff; }

/* ── Oversized bottom wordmark ───────────────────────────────
   An outline-only wordmark sitting behind the footer: the letters are drawn
   as a hairline stroke with no fill, so they read as a watermark in the dark
   rather than as a logo. See the SVG in functions.php for why it is text and
   not an image. */
.gt-footer-reveal {
	position: relative;
	/* Wide, but capped to the footer's own content width so it reads as a
	   backdrop rather than dominating the page. */
	width: 100%;
	max-width: var(--gt-fmax);
	margin: 0 auto;
	pointer-events: none;
}
.gt-footer-mark {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.gt-footer-mark text {
	font-family: "Inter Tight", Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size: 132px;
	/* No fill at all — the glyph is its own outline. */
	fill: none;
	stroke: rgba(255, 255, 255, .16);
	/* Paired with vector-effect="non-scaling-stroke" on the element, this is a
	   single device pixel no matter how far the viewBox scales. */
	stroke-width: 1;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.gt-footer-main { grid-template-columns: 1fr 1fr; }
	.gt-partner-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 640px) {
	.gt-footer-main { grid-template-columns: 1fr; }
	.gt-footer-bar { grid-template-columns: 1fr; text-align: center; }
	.gt-credit { text-align: center; }
	.gt-partner-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Footer per the approved UI (Sep 2026) ──────────────────── */
.gt-footer-main { grid-template-columns: 1.7fr .8fr 1.2fr 1fr; align-items: start; }
.gt-footer-logo { height: clamp(46px, 4.4vw, 62px); }
.gt-footer-tagline { margin-top: 20px; max-width: 42ch; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.gt-footer-col h4 { font-size: 17px; font-weight: 500; margin-bottom: 18px; }
.gt-footer-col li { margin-bottom: 10px; font-size: 14px; }
.gt-footer .gt-footer-col a { color: rgba(255, 255, 255, .86); }
.gt-footer .gt-footer-col a:hover { color: var(--gt-purple, #7B4FF4); }

.gt-footer .gt-socials a { width: 40px; height: 40px; border: 0; background: #fff; color: #0b0b0b; }
.gt-footer .gt-socials a:hover { background: var(--gt-purple, #7B4FF4); color: #fff; }
.gt-copyright { font-size: 13.5px; color: rgba(255, 255, 255, .8); }

@media (max-width: 640px) {
	.gt-footer-main { grid-template-columns: 1fr 1fr; row-gap: 30px; column-gap: 20px; padding-top: 40px; }
	.gt-footer-brand { grid-column: 1 / -1; }
	.gt-footer-logo { height: 54px; }
	.gt-footer-tagline { font-size: 16px; line-height: 1.6; max-width: none; }
	.gt-footer-col--products { display: none; }
	.gt-footer-main > .gt-footer-col:nth-child(4) { order: 1; }   /* Important Links first, as in the UI */
	.gt-footer-main > .gt-footer-col:nth-child(3) { order: 2; }   /* then Company */
	.gt-footer-col h4 { font-size: 17px; }
	.gt-footer-bar { text-align: left; gap: 14px; padding-top: 22px; padding-bottom: 26px; }
	.gt-footer-bar .gt-socials { justify-content: flex-start; }
	.gt-credit { text-align: left; }
}
