/* ===========================================================================
   Bublr — Site footer (reveal footer)
   #bublr-main is an opaque layer above the fixed footer with a rounded bottom; as
   you scroll to the end it lifts up and the dark footer is revealed beneath it
   (light → dark contrast). global.js reserves the scroll space (margin-bottom).
   =========================================================================== */

#bublr-main {
	position: relative;
	z-index: 1;
	background: var(--cream, #F5F2EB);
	border-radius: 0 0 clamp(30px, 4vw, 60px) clamp(30px, 4vw, 60px);
}

.bublr-footer {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--black, #0A0A0A);
	color: rgba(255, 255, 255, 0.7);
	padding: 60px 0 34px;
}
.bublr-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 120% at 82% 0%, rgba(127, 229, 168, 0.10), transparent 55%);
	pointer-events: none;
}
.bublr-footer > * { position: relative; z-index: 2; }

/* ---------- Top: brand CTA card + link columns ---------- */
.bublr-footer-top {
	display: grid;
	grid-template-columns: 1.05fr 1.35fr;
	gap: clamp(28px, 4vw, 64px);
	align-items: stretch;
	padding-bottom: 44px;
}

.bublr-footer-cta {
	background: linear-gradient(140deg, var(--mint-green, #7FE5A8), var(--lime, #B6E94A));
	color: var(--black, #0A0A0A);
	border-radius: 24px;
	padding: clamp(26px, 2.4vw, 34px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.bublr-footer-cta__eyebrow {
	font-family: var(--font-mono, monospace);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(10, 16, 13, 0.7);
	margin-bottom: 12px;
}
.bublr-footer-cta h3 {
	font-size: clamp(22px, 2.3vw, 28px);
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--black, #0A0A0A);
	margin-bottom: 18px;
	max-width: 16ch;
}
.bublr-footer-form { display: flex; gap: 8px; max-width: 420px; }
.bublr-footer-input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(10, 16, 13, 0.18);
	background: rgba(255, 255, 255, 0.7);
	color: var(--black, #0A0A0A);
	font-family: var(--font-body, sans-serif);
	font-size: 15px;
}
.bublr-footer-input::placeholder { color: rgba(10, 16, 13, 0.45); }
.bublr-footer-input:focus { outline: none; border-color: var(--black, #0A0A0A); background: #fff; }
.bublr-footer-submit {
	flex: 0 0 auto;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: none;
	background: var(--black, #0A0A0A);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease;
}
.bublr-footer-submit:hover { transform: translateX(2px); background: #16201B; }
.bublr-footer-cta__note {
	margin: 12px 0 0;
	font-family: var(--font-mono, monospace);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: rgba(10, 16, 13, 0.6);
}

/* Link columns */
.bublr-footer-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-content: center;
}
.bublr-footer-col h5 {
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 16px;
}
.bublr-footer-col ul { list-style: none; }
.bublr-footer-col li { margin-bottom: 10px; }
.bublr-footer-col a {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease;
}
.bublr-footer-col a:hover { color: var(--mint-green, #7FE5A8); }

/* ---------- Base bar ---------- */
.bublr-footer-base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bublr-footer-brand { display: flex; align-items: center; gap: 14px; }
.bublr-footer-logo {
	width: 32px;
	height: auto;
	flex: 0 0 auto;
	display: block;
}
.bublr-footer-tagline { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); max-width: 280px; }

.bublr-footer-meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bublr-footer-social { display: flex; gap: 8px; }
.bublr-footer-social a {
	width: 36px; height: 36px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.bublr-footer-social a:hover { color: var(--black, #0A0A0A); background: var(--mint-green, #7FE5A8); transform: translateY(-2px); }
.bublr-footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.bublr-footer-legal a { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); text-decoration: none; margin-left: 16px; }
.bublr-footer-legal a:hover { color: rgba(255, 255, 255, 0.8); }

/* ---------- Big faint brand wordmark watermark (the actual logo) ---------- */
.bublr-footer-watermark {
	position: absolute;
	left: 50%;
	bottom: -3%;
	transform: translateX(-50%);
	z-index: 1;
	width: clamp(420px, 72vw, 1180px);
	height: auto;
	opacity: 0.045;
	pointer-events: none;
	user-select: none;
}

@media (max-width: 860px) {
	.bublr-footer { padding: 48px 0 28px; }
	.bublr-footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
	.bublr-footer-cols { gap: 18px; }
	.bublr-footer-base { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 480px) {
	.bublr-footer-form { flex-wrap: nowrap; }
	.bublr-footer-cols { grid-template-columns: 1fr 1fr; }
}
