:root {
	--bb-blue: #a7cbd7;
	--bb-blue-dark: #adcbd5;
	--bb-red: #da1f1f;
	--bb-black: #000;
	--bb-white: #fff;
	--bb-muted: #828282;
	--bb-border: #d9d9d9;
	--bb-content: 1272px;
}

* {
	box-sizing: border-box;
}

html {
	max-width: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	max-width: 100%;
	margin: 0;
	background: var(--bb-white);
	color: var(--bb-black);
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 1.5;
	overflow-x: hidden;
}

body.admin-bar .hero__notice {
	top: 68px;
}

.brascobox-page {
	width: 100%;
	max-width: 100vw;
	overflow: hidden;
}

.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;
}

.skip-link:focus {
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: #fff;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.wp-block-image {
	margin: 0;
}

h2 {
	margin-bottom: 2.2rem;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.05;
	text-transform: uppercase;
}

.lead {
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: 1.22rem;
	font-weight: 500;
}

.hero {
	position: relative;
	height: min(57vw, 824px);
	min-height: 620px;
	background-color: var(--bb-blue);
	background-image: url("../images/hero.png");
	background-position: center bottom;
	background-size: cover;
}

@media (min-width: 2200px) {
	.hero {
		background-position: center -135% !important;
	}
}

.hero__notice {
	position: absolute;
	z-index: 2;
	top: 44px;
	left: max(32px, calc((100vw - var(--bb-content)) / 2));
	margin: 0;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.hero__scribble {
	position: absolute;
	z-index: 2;
	top: 40px;
	right: max(60px, calc((100vw - var(--bb-content)) / 2));
	margin: 0;
	color: var(--bb-red);
	font-family: "Rock Salt", cursive;
	font-size: clamp(3.5rem, 7vw, 6rem);
	letter-spacing: -0.04em;
	line-height: 1.08;
	text-align: center;
	transform: rotate(8deg);
}

.hero__title-wrap {
	position: absolute;
	z-index: 2;
	top: 39%;
	left: 50%;
	width: min(865px, 70vw);
	transform: translate(-50%, -50%);
	text-align: center;
}

.hero__tagline {
	margin-bottom: 1rem;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: clamp(1.2rem, 2vw, 2.4rem);
}

.hero__title {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: var(--bb-black);
	font-family: "League Spartan", sans-serif;
	font-weight: 700;
	line-height: 0.78;
	text-transform: uppercase;
}

.hero__coming {
	margin-right: 0.35rem;
	margin-bottom: 0;
	color: var(--bb-white);
	font-family: "Bakbak One", sans-serif;
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 400;
	line-height: 0.78;
	text-align: right;
	margin-top: -0.5rem;
}

.hero__brand {
	margin: 0;
	font-family: "League Spartan", sans-serif;
	font-size: clamp(5rem, 10vw, 10rem);
	font-weight: 700;
	letter-spacing: -0.06em;
	text-align: left;
}

.section {
	background: var(--bb-white);
}

.section__inner {
	position: relative;
	width: min(calc(100% - 4rem), var(--bb-content));
	margin: 0 auto;
}

.wholesale {
	min-height: 700px;
	padding: 5.5rem 0 3.5rem;
}

.wholesale__copy {
	position: relative;
	z-index: 2;
	max-width: 100%;
	padding-right: 5rem;
}

.wholesale__copy p {
	max-width: 1120px;
	margin-bottom: 1.15rem;
}

.wholesale__image {
	position: absolute;
	z-index: 3;
	right: -34%;
	bottom: -11rem;
	width: 64%;
	max-width: 820px;
	transform: rotate(7deg);
}

.products {
	padding: 4.5rem 0 5rem;
}

.products .section__inner {
	padding-top: 3.2rem;
	border-top: 1px solid var(--bb-border);
	border-bottom: 1px solid var(--bb-border);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	padding: 0 0 4.6rem;
}

.products .product-grid.wp-block-columns {
	display: grid !important;
}

.product-grid > .wp-block-column {
	width: auto !important;
	min-width: 0;
	flex-basis: auto !important;
}

.product-card img {
	display: block;
	width: 100%;
	margin-bottom: 1.3rem;
	border-radius: 8px;
}

.product-card .wp-block-image {
	margin-bottom: 0;
}

.product-card {
	min-width: 0;
}

.product-card h3 {
	margin-bottom: 0.3rem;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.product-card p {
	margin: 0;
	color: var(--bb-muted);
	font-size: 1rem;
}

.inside {
	padding: 5.5rem 0;
	background: var(--bb-blue-dark);
	color: var(--bb-white);
}

.inside__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.8fr);
	gap: 4rem;
	align-items: center;
	width: min(calc(100% - 4rem), var(--bb-content));
	margin: 0 auto;
}

.inside h2 {
	margin-bottom: 1.2rem;
}

.inside p {
	max-width: 690px;
}

.inside em {
	font-family: "Rock Salt", cursive;
	font-size: 0.85em;
	font-style: normal;
}

.inside img {
	width: 100%;
	height: 380px;
	object-fit: cover;
}

.seams {
	padding: 6rem 0 5rem;
}

.seams__inner {
	display: grid;
	grid-template-columns: minmax(360px, 1fr) minmax(0, 1.35fr);
	gap: 3rem;
	align-items: center;
	padding: 3.5rem 0;
	border-top: 1px solid var(--bb-border);
	border-bottom: 1px solid var(--bb-border);
}

.seams__media img {
	width: 135%;
	margin-left: -35%;
}

.seams__copy {
	text-align: right;
}

.seams__copy h2 {
	margin-bottom: 1.2rem;
}

.newsletter {
	position: relative;
	min-height: 334px;
	padding: 4rem 2rem 3rem;
	overflow: hidden;
	background: var(--bb-blue);
	color: var(--bb-white);
	text-align: center;
}

.newsletter__inner {
	position: relative;
	z-index: 2;
	width: min(920px, 75%);
	margin: 0 auto;
}

.newsletter__form-block {
	position: relative;
	z-index: 4;
}

.newsletter h2 {
	margin-bottom: 0.8rem;
	font-size: 2.5rem;
}

.newsletter__scribble {
	position: absolute;
	z-index: 3;
	top: 45px;
	left: max(20px, calc((100vw - 1380px) / 2));
	margin: 0;
	color: var(--bb-red);
	font-family: "Rock Salt", cursive;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1;
	transform: rotate(-9deg);
}

.newsletter__shoe {
	display: none;
}

.newsletter__form {
	display: flex;
	justify-content: center;
	width: min(430px, 100%);
	margin: 2rem auto 0;
}

.newsletter__form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0.9rem;
	border: 0;
	border-radius: 6px 0 0 6px;
	font: inherit;
	font-size: 0.9rem;
}

.newsletter__form button {
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 0 6px 6px 0;
	background: #2c2c2c;
	color: var(--bb-white);
	font: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}

.newsletter__form button:hover,
.newsletter__form button:focus-visible {
	background: var(--bb-red);
}

.honeypot {
	position: absolute;
	left: -9999px;
}

.form-message {
	margin: 1rem auto -1rem;
	font-weight: 600;
}

.form-message--error {
	color: #7f0000;
}

.sustainability {
	display: grid;
	grid-template-columns: 190px minmax(0, 580px);
	gap: 3rem;
	align-items: center;
	justify-content: center;
	min-height: 330px;
	padding: 4rem 2rem;
}

.sustainability img {
	width: 180px;
}

.sustainability h2 {
	margin-bottom: 0;
	font-size: 2.2rem;
	letter-spacing: -0.02em;
}

.sustainability .lead {
	margin-bottom: 0;
	font-size: 1.2rem;
	text-transform: uppercase;
}

.sustainability p:last-child {
	margin-bottom: 0;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 227px;
	padding: 3.5rem max(32px, calc((100vw - var(--bb-content)) / 2));
	background: var(--bb-blue);
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

.site-footer__contact p {
	margin-bottom: 0;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer__social {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.2rem;
	padding: 0;
}

.site-footer__social .wp-social-link {
	background: transparent;
	color: var(--bb-black);
}

.site-footer__brand {
	margin: 0;
	font-family: "League Spartan", sans-serif;
	font-size: 4rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.72;
	text-align: right;
	text-transform: uppercase;
}

/* Text-based Brasco Box logos use one consistent wordmark treatment. */
.hero__brand,
.site-footer__brand,
.bb-logo,
.wp-block-site-title.bb-logo,
.wp-block-site-title.bb-logo a {
	font-family: "League Spartan", sans-serif;
	font-weight: 700;
}

.brascobox-not-found {
	padding: 10rem 2rem;
}


@media (max-width: 1024px) {

	.hero__title-wrap{
		top: 60%;
	}
	/* .hero__notice {
		font-size: 1.15rem;
	}

	.hero__scribble {
		font-size: clamp(2.5rem, 5vw, 4rem);
	}

	*/
	.hero__coming {
		font-size: clamp(2.5rem, 5vw, 2.7rem);
		margin-top: 0;
	}
	


}
@media (max-width: 900px) {
	body {
		font-size: 15px;
	}

	h2 {
		font-size: 2.25rem;
	}

	.hero {
		height: 280px;
		min-height: 0;
		background-position: center bottom;
	}

	.hero__notice {
		top: 8px;
		left: 8px;
		font-size: 0.48rem;
	}

	body.admin-bar .hero__notice {
		top: 54px;
	}

	.hero__scribble {
		top: 6px;
		right: 30px;
		font-size: 1.3rem;
		line-height: 1.05;
	}

	.hero__title-wrap {
		top: 54%;
		width: 90%;
	}

	.hero__tagline {
		position: absolute;
		top: 130px;
		left: 0;
		width: 100%;
		font-size: 1.2rem;
		white-space: nowrap;
		margin-top: 1.5rem;
	}

	.hero__coming {
		font-size: 1.15rem;
		line-height: 0.82;
		margin-top: 0;

	}

	.hero__brand {
		font-size: 3rem;
		margin-bottom: 0.5rem;
	}

	.section__inner {
		width: calc(100% - 2rem);
	}

	.wholesale {
		min-height: 0;
		padding: 3.2rem 0 2.2rem;
	}

	.wholesale h2 {
		width: 95%;
		margin-bottom: 2.2rem;
		font-size: 2rem;
	}

	.wholesale__copy {
		padding-right: 42%;
	}

	.wholesale__copy p {
		margin-bottom: 1rem;
	}

	.wholesale__image {
		right: -29%;
		bottom: 20%;
		width: 75%;
	}

	.products {
		padding: 1.5rem 0;
	}

	.products .section__inner {
		padding-top: 2.8rem;
	}

	.product-grid {
		gap: 1.3rem;
		padding-bottom: 2.5rem;
	}

	.product-card img {
		margin-bottom: 1rem;
	}

	.product-card h3 {
		font-size: 0.92rem;
	}

	.product-card p {
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.inside {
		padding: 0;
	}

	.inside__inner {
		display: flex;
		width: 100%;
		flex-direction: column;
		gap: 0;
	}

	.inside__copy {
		padding: 3rem 1rem 2.5rem;
	}

	.inside img {
		width: 100%;
		height: auto;
		aspect-ratio: 1.4 / 1;
	}

	.seams {
		padding: 2.7rem 0 1.5rem;
	}

	.seams__inner {
		display: block;
		padding: 2.4rem 0 2.5rem;
	}

	.seams__media {
		display: none;
	}

	.seams__copy {
		text-align: left;
	}

	.seams__copy h2 {
		font-size: 2rem;
	}

	.newsletter {
		min-height: 334px;
		padding: 4.2rem 1rem 2rem;
	}

	.newsletter__inner {
		width: 100%;
	}

	.newsletter h2 {
		font-size: 2.05rem;
	}

	.newsletter__inner > p {
		width: 76%;
		margin-right: auto;
		margin-left: auto;
	}

	.newsletter__scribble {
		top: 18px;
		left: 4px;
		font-size: 1rem;
	}

	.newsletter__shoe {
		display: block;
		position: absolute;
		z-index: 3;
		right: -28%;
		bottom: 33px;
		width: 76%;
	}

	.newsletter__form {
		position: relative;
		z-index: 4;
		margin-top: 2rem;
	}

	.sustainability {
		display: flex;
		min-height: 430px;
		flex-direction: column-reverse;
		gap: 1.6rem;
		align-items: flex-start;
		padding: 3rem 1rem 2.5rem;
	}

	.sustainability img {
		width: 135px;
		align-self: center;
	}

	.sustainability h2 {
		font-size: 2rem;
	}

	.site-footer {
		position: relative;
		width: 100vw;
		max-width: 100vw;
		min-height: 205px;
		padding: 2rem 1rem 1.5rem;
	}

	.site-footer__contact {
		max-width: 70%;
		font-size: 0.7rem;
	}

	.site-footer__brand {
		position: absolute;
		right: 1rem;
		bottom: 1.5rem;
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.wholesale__copy {
		padding-right: 39%;
		font-size: 0.92rem;
	}

	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}

	.product-card h3 {
		font-size: 0.75rem;
		overflow-wrap: anywhere;
	}

	.product-card p {
		font-size: 0.68rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/*
 * GenerateBlocks section/grid structure.
 *
 * Page-specific content remains in Gutenberg. These selectors only refine the
 * visual relationship between the new GenerateBlocks containers and the
 * existing BrascoBox design classes.
 */
.gb-grid--wholesale .wholesale__copy {
	padding-right: 0;
}

.gb-grid--wholesale .wholesale__image {
	position: relative;
	right: auto;
	bottom: auto;
	width: 100%;
	max-width: 100%;
	transform: rotate(7deg);
}

.inside .gb-grid--halves,
.seams .gb-grid--halves {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gb-grid--products > .product-card {
	min-width: 0;
}

@media (max-width: 767px) {
	.gb-grid--wholesale,
	.inside .gb-grid--halves,
	.seams .gb-grid--halves {
		grid-template-columns: 1fr;
	}

	.gb-grid--wholesale .wholesale__copy {
		padding-right: 0;
	}

	.gb-grid--wholesale .wholesale__image {
		right: auto;
		bottom: auto;
		width: 100%;
		margin: 0;
	}
}
