/* Blends & Botanics landing page (templates/page-blends-botanics.php).
   Its own brand inside the site: teal ink throughout, with gold and mint from the covers (no pink, by request);
   DM Serif Display (headlines), Barlow Condensed (cover-line labels), a touch of
   Great Vibes script, EB Garamond body (shared with the site). */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

.bb {
	--bb-ink: #0f3b3c;
	--bb-ink-deep: #0a2a2b;
	--bb-paper: #f7f2ea;
	--bb-paper-2: #efe6d8;
	--bb-blush: #f4d3df;
	--bb-pink: #e58fb4;
	--bb-rose: #b8326e;
	--bb-gold: #e7bf55;
	--bb-mint: #94d1c3;
	--bb-text: #1f2b2b;
	--bb-muted: #556563;
	--bb-cream: #fbf7f0;
	--bb-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--bb-label: "Barlow Condensed", "Arial Narrow", sans-serif;
	--bb-script: "Great Vibes", cursive;
	display: block;
	background: var(--bb-ink);
	color: var(--bb-cream);
	font-family: "EB Garamond", Georgia, serif;
	font-size: 19px;
	line-height: 1.6;
	overflow-x: clip;
}
.bb *,
.bb *::before,
.bb *::after {
	box-sizing: border-box;
}
.bb img {
	max-width: 100%;
	height: auto;
}
.bb > section {
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 76px); /* below the sticky header */
}
.bb-wrap {
	width: min(1180px, 100% - 64px);
	margin: 0 auto;
}

/* Shared bits */
.bb .bb-eyebrow {
	margin: 0 0 10px;
	font-family: var(--bb-label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bb-gold);
}
.bb .bb-title {
	margin: 0;
	font-family: var(--bb-display);
	font-weight: 400;
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.005em;
	color: var(--bb-cream);
	text-transform: none;
}
.bb-head {
	margin-bottom: clamp(32px, 4vw, 52px);
}
.bb .bb-script {
	margin: 0 0 4px;
	font-family: var(--bb-script);
	font-size: clamp(34px, 3.6vw, 46px);
	line-height: 1;
	color: var(--bb-gold);
}
.bb-tag {
	display: inline-block;
	padding: 5px 12px 4px;
	background: var(--bb-gold);
	color: var(--bb-ink-deep);
	font-family: var(--bb-label);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.bb .bb-btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 26px;
	border: 2px solid var(--bb-gold);
	border-radius: 999px;
	background: var(--bb-gold);
	color: var(--bb-ink-deep);
	font-family: var(--bb-label);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bb .bb-btn:hover,
.bb .bb-btn:focus-visible {
	background: var(--bb-cream);
	border-color: var(--bb-cream);
	color: var(--bb-ink-deep);
	transform: translateY(-2px);
}
.bb .bb-btn--ghost {
	background: transparent;
	border-color: rgba(251, 247, 240, 0.55);
	color: var(--bb-cream);
}
.bb .bb-btn--ink {
	background: var(--bb-gold);
	border-color: var(--bb-gold);
	color: var(--bb-ink-deep);
}
.bb a:focus-visible {
	outline: 3px solid var(--bb-gold);
	outline-offset: 3px;
}
.bb-cover__img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 24px 50px rgba(5, 20, 20, 0.35), 0 4px 10px rgba(5, 20, 20, 0.2);
}

/* ---- Header (template-parts/bb-header.php), replaces the Maisy pill on this page ---- */
.bb-hdr {
	--bb-ink: #0f3b3c;
	--bb-ink-deep: #0a2a2b;
	--bb-gold: #e7bf55;
	--bb-cream: #fbf7f0;
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: rgba(10, 42, 43, 0.94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(231, 191, 85, 0.35);
	color: var(--bb-cream);
}
.bb-hdr *,
.bb-hdr *::before,
.bb-hdr *::after {
	box-sizing: border-box;
}
.bb-hdr__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	width: min(1180px, 100% - 64px);
	min-height: 76px;
	margin: 0 auto;
}
.bb-hdr a {
	color: inherit;
	text-decoration: none;
}
.bb-hdr a:focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 3px;
}
.bb-hdr__brand {
	display: block;
	flex: none;
	line-height: 0;
}
.bb-hdr__logo {
	display: block;
	width: 210px;
	aspect-ratio: 1024 / 138;
	background: var(--bb-cream);
	-webkit-mask: var(--bb-logo) no-repeat left center / contain;
	mask: var(--bb-logo) no-repeat left center / contain;
	transition: background-color 0.2s ease;
}
.bb-hdr__brand:hover .bb-hdr__logo {
	background: var(--bb-gold);
}
.bb-hdr__nav {
	display: flex;
	gap: 28px;
	margin-left: 20px;
}
.bb-hdr__nav a,
.bb-hdr__maisy,
.bb-hdr__shop {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.bb-hdr__nav a {
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.bb-hdr__nav a:hover {
	color: var(--bb-gold);
	border-bottom-color: var(--bb-gold);
}
.bb-hdr__right {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
}
.bb-hdr__maisy {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 18px;
	border-right: 1px solid rgba(251, 247, 240, 0.2);
	transition: opacity 0.2s ease;
}
.bb-hdr .bb-hdr__maisy-img {
	display: block;
	width: auto;
	height: 54px;
	transition: transform 0.2s ease;
}
.bb-hdr__maisy:hover .bb-hdr__maisy-img {
	transform: scale(1.04);
}
.bb-hdr__shop {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--bb-gold);
	color: var(--bb-ink-deep) !important;
	transition: background-color 0.2s ease;
}
.bb-hdr__shop:hover {
	background: var(--bb-cream);
}
.bb-hdr__basket {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
}
.bb-hdr__basket:hover {
	color: var(--bb-gold);
}
.bb-hdr .mm-hdr-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--bb-gold);
	color: var(--bb-ink-deep);
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
}
.bb-hdr .mm-hdr-count[hidden] {
	display: none;
}
@media (max-width: 900px) {
	.bb-hdr__nav {
		display: none;
	}
	.bb-hdr__maisy {
		padding-right: 14px;
	}
}
@media (max-width: 700px) {
	.bb-hdr__inner {
		width: calc(100% - 32px);
		min-height: 64px;
		gap: 12px;
	}
	.bb-hdr__logo {
		width: 150px;
	}
	.bb-hdr__right {
		gap: 10px;
	}
	.bb-hdr .bb-hdr__maisy-img {
		height: 42px;
	}
	.bb-hdr__shop {
		min-height: 36px;
		padding: 0 14px;
	}
}

/* ---- Hero ---- */
.bb-hero {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
	background:
		radial-gradient(ellipse at 78% 40%, rgba(148, 209, 195, 0.18), transparent 55%),
		var(--bb-ink);
	color: var(--bb-cream);
}
.bb-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.bb-hero__logo {
	margin: 0 0 22px;
	line-height: 0;
}
.bb-logo {
	display: block;
	width: min(560px, 100%);
	aspect-ratio: 1024 / 138;
	background: var(--bb-cream);
	-webkit-mask: var(--bb-logo) no-repeat left center / contain;
	mask: var(--bb-logo) no-repeat left center / contain;
}
.bb .bb-hero__kicker {
	margin: 0 0 26px;
	max-width: 30ch;
	font-family: var(--bb-display);
	font-style: italic;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.25;
	color: var(--bb-cream);
}
.bb-hero__issue {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 34px;
}
.bb-hero__note {
	font-family: var(--bb-label);
	font-weight: 500;
	font-size: 17px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bb-mint);
}
.bb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.bb-hero__covers {
	position: relative;
	justify-self: center;
	width: min(420px, 100%);
	padding: 0 0 0 16%;
}
.bb-cover--front {
	position: relative;
	z-index: 2;
	transform: rotate(3deg);
}
.bb-cover--back {
	position: absolute;
	z-index: 1;
	left: -6%;
	top: 8%;
	width: 72%;
	transform: rotate(-9deg);
	opacity: 0.92;
}

/* ---- Inside this issue ---- */
.bb-inside {
	padding: clamp(72px, 9vw, 120px) 0;
	border-top: 1px solid rgba(251, 247, 240, 0.12);
}
.bb-contents {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(32px, 5vw, 72px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-contents__item {
	display: flex;
	gap: 20px;
	align-items: baseline;
	padding: 22px 0;
	border-top: 1px solid rgba(251, 247, 240, 0.14);
}
.bb-contents__num {
	flex: none;
	width: 48px;
	font-family: var(--bb-display);
	font-style: italic;
	font-size: 34px;
	line-height: 1;
	color: var(--bb-tone);
}
.bb-tone-0 { --bb-tone: var(--bb-gold); }
.bb-tone-1 { --bb-tone: var(--bb-mint); }
.bb-tone-2 { --bb-tone: var(--bb-gold); }
.bb-tone-3 { --bb-tone: var(--bb-mint); }
.bb-contents__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.bb-contents__name {
	font-family: var(--bb-display);
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.2;
	color: var(--bb-cream);
}
.bb-contents__line {
	font-family: var(--bb-label);
	font-weight: 500;
	font-size: 17px;
	letter-spacing: 0.04em;
	line-height: 1.35;
	color: rgba(251, 247, 240, 0.7);
}

/* ---- From the editor ---- */
.bb-editor {
	/* no bottom padding: the cut-out photo stands on the photo band below */
	padding: clamp(40px, 5vw, 64px) 0 0;
	border-top: 1px solid rgba(251, 247, 240, 0.12);
}
.bb-editor__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: end;
}
.bb-editor__photo {
	position: relative;
	justify-self: center;
	width: min(540px, 100%);
	line-height: 0;
}
.bb-editor__photo::before {
	/* a soft glow behind the cut-out */
	content: "";
	position: absolute;
	inset: 10% -6% 0;
	background: radial-gradient(ellipse at 50% 60%, rgba(148, 209, 195, 0.28), transparent 65%);
}
.bb-editor__text {
	padding-bottom: clamp(48px, 6vw, 80px);
}
.bb-editor .bb-title {
	font-size: clamp(28px, 3vw, 40px);
}
.bb-editor .bb-script {
	font-size: clamp(28px, 2.8vw, 38px);
}
.bb-editor__img {
	position: relative;
	display: block;
	width: 100%;
}
.bb-prose {
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(251, 247, 240, 0.88);
}
.bb-prose p {
	margin: 0 0 1em;
}
.bb-sign {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(231, 191, 85, 0.4);
}
.bb-sign__name {
	font-family: var(--bb-display);
	font-size: 24px;
	color: var(--bb-cream);
}
.bb-sign__role {
	font-family: var(--bb-label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bb-gold);
}

/* ---- Photo band ---- */
.bb-band {
	position: relative;
	min-height: clamp(380px, 48vw, 620px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--bb-ink-deep);
}
.bb .bb-band__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bb-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 42, 43, 0) 30%, rgba(10, 42, 43, 0.88) 100%);
}
.bb-band__inner {
	position: relative;
	z-index: 1;
	padding: 0 0 clamp(36px, 5vw, 64px);
}
.bb-band__quote {
	margin: 0;
	max-width: 760px;
	padding: 0 0 0 24px;
	border-left: 4px solid var(--bb-gold);
}
.bb-band__quote p {
	margin: 0;
	font-family: var(--bb-display);
	font-style: italic;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.3;
	color: var(--bb-cream);
}

/* ---- Issues ---- */
.bb-issues {
	padding: clamp(72px, 9vw, 120px) 0;
}
.bb-issues__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: clamp(28px, 4vw, 48px);
}
.bb-issue {
	display: grid;
	grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.2fr);
	gap: 28px;
	align-items: start;
	padding: 28px;
	background: var(--bb-ink-deep);
	border: 1px solid rgba(251, 247, 240, 0.12);
}
.bb .bb-issue__label {
	margin: 0 0 14px;
	font-family: var(--bb-label);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bb-gold);
}
.bb-issue__lines {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bb-issue__lines li {
	padding: 8px 0;
	border-top: 1px solid rgba(251, 247, 240, 0.12);
	font-family: var(--bb-display);
	font-size: 19px;
	line-height: 1.3;
	color: var(--bb-cream);
}
.bb-issue__credit {
	margin: 14px 0 0;
	font-size: 15px;
	font-style: italic;
	color: rgba(251, 247, 240, 0.65);
}

/* ---- Free copy ---- */
.bb-free {
	padding: clamp(64px, 8vw, 100px) 0;
	color: var(--bb-cream);
}
.bb-free__inner {
	display: flex;
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
	max-width: 900px;
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid rgba(231, 191, 85, 0.5);
	border-top: 4px solid var(--bb-gold);
	background: var(--bb-ink-deep);
}
.bb-free__cover {
	flex: none;
	width: 180px;
	transform: rotate(-4deg);
}
.bb-free__text p {
	margin: 12px 0 24px;
	font-size: 20px;
}
.bb-free .bb-title {
	color: var(--bb-cream);
}

/* ---- Sponsors & small print ---- */
.bb-credits {
	padding: 48px 0 56px;
	border-top: 1px solid rgba(251, 247, 240, 0.12);
	color: rgba(251, 247, 240, 0.8);
	text-align: center;
}
.bb-credits__sponsor {
	max-width: 640px;
	margin: 0 auto 26px;
	font-family: var(--bb-display);
	font-style: italic;
	font-size: 20px;
	line-height: 1.4;
	color: var(--bb-cream);
}
.bb-credits__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px 48px;
	margin-bottom: 26px;
}
.bb .bb-credits__logo {
	display: block;
	width: auto;
	max-height: 70px;
	max-width: 180px;
}
.bb-credits__small {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--bb-label);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.bb-hero {
		padding-top: 48px;
	}
}
@media (max-width: 900px) {
	.bb-hero__inner,
	.bb-editor__inner {
		grid-template-columns: 1fr;
	}
	.bb-hero__covers {
		width: min(340px, 80%);
	}
	.bb-editor__photo {
		order: 2; /* photo last, so it still stands on the photo band */
		width: min(320px, 80%);
	}
	.bb-editor__text {
		padding-bottom: 8px;
	}
}

/* ---- Phone ---- */
@media (max-width: 700px) {
	.bb {
		font-size: 18px;
	}
	.bb-wrap {
		width: calc(100% - 32px);
	}
	.bb-hero__text {
		text-align: center;
	}
	.bb-logo {
		margin: 0 auto;
		-webkit-mask-position: center;
		mask-position: center;
	}
	.bb .bb-hero__kicker {
		margin-left: auto;
		margin-right: auto;
	}
	.bb-hero__issue,
	.bb-hero__actions {
		justify-content: center;
	}
	.bb-contents {
		grid-template-columns: 1fr;
	}
	.bb-issue {
		grid-template-columns: 1fr;
		padding: 20px;
	}
	.bb-issue__cover {
		width: min(240px, 70%);
		margin: 0 auto;
	}
	.bb-free__inner {
		flex-direction: column;
		text-align: center;
	}
	.bb-free__cover {
		width: 140px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb .bb-btn {
		transition: none;
	}
}
