:root {
	--flb-ink: #18231d;
	--flb-cream: #f5efe2;
	--flb-paper: #fffdf8;
	--flb-green: #42614b;
	--flb-green-dark: #294334;
	--flb-amber: #d88b2d;
	--flb-rust: #9f4b2f;
	--flb-border: rgba(24, 35, 29, 0.16);
	--flb-shadow: 0 18px 48px rgba(24, 35, 29, 0.12);
}

.flb-community-shell,
.flb-community-shell * {
	box-sizing: border-box;
}

.flb-community-shell {
	width: min(1120px, calc(100% - 32px));
	margin: clamp(36px, 7vw, 88px) auto;
	color: var(--flb-ink);
}

.flb-eyebrow {
	margin: 0 0 10px;
	color: var(--flb-rust);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.flb-community-shell h1 {
	max-width: 850px;
	margin: 0;
	color: var(--flb-ink);
	font-size: clamp(2.35rem, 6.7vw, 5.4rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.flb-community-lede {
	max-width: 760px;
	margin: 24px 0 36px;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.6;
}

.flb-connect-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 34px 0 18px;
}

.flb-connect-card {
	appearance: none;
	display: flex;
	min-height: 220px;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 22px;
	box-shadow: var(--flb-shadow);
	color: #fff;
	font: inherit;
	text-align: left;
	text-decoration: none;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.flb-connect-card:hover,
.flb-connect-card:focus-visible {
	box-shadow: 0 24px 58px rgba(24, 35, 29, 0.2);
	color: #fff;
	text-decoration: none;
	transform: translateY(-4px);
}

.flb-connect-card:focus-visible,
.flb-primary-button:focus-visible,
.flb-share-form input:focus-visible,
.flb-share-form textarea:focus-visible {
	outline: 3px solid var(--flb-amber);
	outline-offset: 3px;
}

.flb-connect-instagram {
	background: linear-gradient(145deg, #a93f64, #d16b35 54%, #da9e3b);
}

.flb-connect-facebook {
	background: linear-gradient(145deg, #254e79, #3777a6);
}

.flb-connect-signup {
	background: linear-gradient(145deg, var(--flb-green-dark), var(--flb-green));
}

.flb-connect-kicker {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.flb-connect-card strong {
	display: block;
	margin: auto 0;
	font-size: clamp(1.45rem, 2.6vw, 2.1rem);
	line-height: 1.1;
}

.flb-community-fineprint {
	margin: 16px 0 0;
	color: rgba(24, 35, 29, 0.72);
	font-size: 0.9rem;
	line-height: 1.55;
}

.flb-share-form {
	max-width: 760px;
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--flb-border);
	border-radius: 24px;
	background: var(--flb-paper);
	box-shadow: var(--flb-shadow);
}

.flb-form-field {
	display: block;
	margin-bottom: 24px;
}

.flb-form-field > span,
.flb-consent-field > span {
	display: block;
	margin-bottom: 8px;
	font-weight: 750;
	line-height: 1.45;
}

.flb-form-field em {
	color: var(--flb-rust);
	font-size: 0.78rem;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.flb-share-form input[type="text"],
.flb-share-form input[type="file"],
.flb-share-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid rgba(24, 35, 29, 0.3);
	border-radius: 10px;
	background: #fff;
	color: var(--flb-ink);
	font: inherit;
}

.flb-share-form input[type="file"] {
	padding: 10px;
}

.flb-share-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 9px 13px;
	border: 0;
	border-radius: 7px;
	background: var(--flb-cream);
	color: var(--flb-ink);
	font-weight: 700;
	cursor: pointer;
}

.flb-form-field small {
	display: block;
	margin-top: 7px;
	color: rgba(24, 35, 29, 0.68);
}

.flb-consent-field {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	margin: 4px 0 26px;
	cursor: pointer;
}

.flb-consent-field input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--flb-green);
}

.flb-consent-field > span {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 500;
}

.flb-primary-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--flb-green-dark);
	box-shadow: 0 8px 20px rgba(41, 67, 52, 0.18);
	color: #fff;
	font: inherit;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}

.flb-primary-button:hover,
.flb-primary-button:focus-visible {
	background: var(--flb-rust);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.flb-form-message {
	max-width: 760px;
	margin: 0 0 22px;
	padding: 15px 18px;
	border-radius: 10px;
	font-weight: 700;
	line-height: 1.5;
}

.flb-form-message--success {
	border: 1px solid rgba(66, 97, 75, 0.35);
	background: #e9f1ea;
	color: var(--flb-green-dark);
}

.flb-form-message--error {
	border: 1px solid rgba(159, 75, 47, 0.35);
	background: #f9e9e3;
	color: #742f1f;
}

.flb-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.flb-social-share-page .flb-newsletter,
.flb-social-share-page .flb-footer-newsletter {
	display: none !important;
}

.flb-social-share-page.flb-modal-open {
	overflow: auto !important;
}

.flb-wall-link {
	margin: 22px 0 0;
	font-weight: 800;
}

.flb-wall-cta {
	margin: 0 0 34px;
}

.flb-photo-grid {
	columns: 3 280px;
	column-gap: 18px;
}

.flb-photo-card {
	break-inside: avoid;
	margin: 0 0 18px;
	overflow: hidden;
	border: 1px solid var(--flb-border);
	border-radius: 16px;
	background: var(--flb-paper);
	box-shadow: 0 10px 30px rgba(24, 35, 29, 0.1);
}

.flb-guest-photo {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.flb-photo-copy {
	padding: 15px 17px 17px;
}

.flb-photo-copy p {
	margin: 0 0 6px;
	font-size: 1rem;
	line-height: 1.5;
}

.flb-photo-copy span {
	color: var(--flb-rust);
	font-size: 0.9rem;
	font-weight: 800;
}

.flb-empty-wall {
	max-width: 720px;
	padding: clamp(26px, 5vw, 50px);
	border: 1px dashed rgba(24, 35, 29, 0.28);
	border-radius: 22px;
	background: var(--flb-cream);
}

.flb-empty-wall h2 {
	margin: 0 0 8px;
	font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.flb-empty-wall p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
}

.flb-home-wall {
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 5%, rgba(216, 139, 45, 0.16), transparent 34%),
		linear-gradient(180deg, #f7f1e6 0%, #fffdf8 100%);
}

.flb-home-wall,
.flb-home-wall * {
	box-sizing: border-box;
}

.flb-home-wall-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(24px, 5vw, 72px);
	align-items: end;
	margin-bottom: clamp(28px, 5vw, 48px);
}

.flb-home-wall-heading > div {
	max-width: 760px;
}

.flb-home-wall-heading h2 {
	margin: 0;
	font-size: clamp(2.25rem, 5.2vw, 4.6rem);
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.flb-home-wall-heading > div > p:last-child {
	max-width: 680px;
	margin: 20px 0 0;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	line-height: 1.65;
}

.flb-home-photo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 22px);
}

.flb-home-photo-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: 18px;
	background: var(--flb-green-dark);
	box-shadow: 0 16px 38px rgba(24, 35, 29, 0.17);
}

.flb-home-photo-card:first-child:nth-last-child(1) {
	width: min(720px, 100%);
	justify-self: center;
	grid-column: 1 / -1;
}

.flb-home-guest-photo {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.flb-home-photo-copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 46px 18px 16px;
	background: linear-gradient(transparent, rgba(16, 28, 21, 0.9));
	color: #fff;
}

.flb-home-photo-copy p {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.flb-home-photo-copy span {
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.flb-home-wall-link {
	margin: 24px 0 0;
	font-weight: 800;
}

.flb-home-wall-link a {
	color: var(--flb-green-dark);
}

@media (max-width: 820px) {
	.flb-connect-grid {
		grid-template-columns: 1fr;
	}

	.flb-connect-card {
		min-height: 170px;
	}

	.flb-home-wall-heading {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.flb-home-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.flb-community-shell {
		width: min(100% - 22px, 1120px);
		margin: 30px auto 52px;
	}

	.flb-share-form {
		padding: 22px 17px;
		border-radius: 16px;
	}

	.flb-primary-button {
		width: 100%;
	}

	.flb-home-photo-grid {
		grid-template-columns: 1fr;
	}

	.flb-home-photo-card:first-child:nth-last-child(1) {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.flb-connect-card,
	.flb-primary-button {
		transition: none;
	}
}
