/* ==========================================================================
   Blush & Bloom — main stylesheet
   1. Fonts & tokens      6. Homepage            11. Ads
   2. Base                7. Cards & grids       12. Footer
   3. Utilities           8. Archives & pages    13. Motion
   4. Header & nav        9. Single post         14. WordPress core classes
   5. Drawer & search    10. Sidebar & widgets
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
	font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
	font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
	font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
	--cream: #FFF9F6;
	--blush: #F6E1E1;
	--blush-deep: #EFCFCF;
	--rose: #C98B8B;
	--mauve: #6E3F4F;
	--plum: #4A2A36;
	--gold: #C8A96A;
	--sage: #A8B5A0;
	--ink: #3E2A31;
	--muted: #7A5F66;
	--line: #EBD9D6;

	--serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;

	--arch: 999px 999px 18px 18px;
	--arch-sm: 80px 80px 12px 12px;
	--radius: 24px;
	--shadow: 0 18px 40px -22px rgba(110, 63, 79, .35);

	--wrap: 1200px;
	--gutter: clamp(1.125rem, 4vw, 2.5rem);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-soft: cubic-bezier(.45, 0, .2, 1);
	--header-h: 128px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 600;
	color: var(--mauve);
	line-height: 1.12;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1.2em; text-wrap: pretty; }

a { color: var(--mauve); text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: .2em; transition: color .3s var(--ease); }
a:hover { color: var(--rose); }

:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--blush-deep); color: var(--plum); }

button { font: inherit; cursor: pointer; }

input, textarea, select {
	font: inherit;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: .8rem 1rem;
	width: 100%;
	transition: border-color .3s, box-shadow .3s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blush) 80%, transparent); }

/* 3. Utilities ------------------------------------------------------------- */
.bb-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	top: 12px; left: 12px; z-index: 1000; padding: .8rem 1.2rem;
	background: var(--mauve); color: var(--cream); border-radius: 999px; text-decoration: none;
}

.bb-sprig { width: 120px; height: 40px; color: var(--gold); }

.bb-pill {
	display: inline-block;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1;
	padding: .45rem .8rem .5rem;
	border-radius: 999px;
	background: var(--blush);
	color: var(--mauve);
	text-decoration: none;
	transition: background .3s var(--ease), color .3s var(--ease);
}
.bb-pill:hover { background: var(--mauve); color: var(--cream); }

.bb-btn {
	position: relative;
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .9rem 1.75rem;
	border: 1px solid var(--mauve);
	border-radius: 999px;
	background: var(--mauve);
	color: var(--cream);
	font-family: var(--sans);
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .02em;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.bb-btn::after {
	content: "";
	position: absolute; inset: 0 auto 0 -60%;
	width: 50%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg);
	z-index: -1;
	transition: left .8s var(--ease);
}
.bb-btn:hover { color: var(--cream); background: var(--plum); transform: translateY(-2px); }
.bb-btn:hover::after { left: 120%; }
.bb-btn--ghost { background: transparent; color: var(--mauve); }
.bb-btn--ghost:hover { background: var(--mauve); }

.bb-link {
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
	padding-bottom: 2px;
	transition: background-size .45s var(--ease), color .3s;
}
.bb-link:hover { background-size: 0 1px; background-position: 100% 100%; }

.bb-iconbtn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border: 0; border-radius: 50%;
	background: transparent;
	color: var(--mauve);
	transition: background .3s var(--ease);
}
.bb-iconbtn:hover { background: var(--blush); }

.bb-social { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.bb-social a {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	color: currentColor;
	transition: background .3s var(--ease), transform .3s var(--ease);
}
.bb-social a:hover { background: var(--blush); transform: translateY(-2px); }

/* 4. Header & nav ------------------------------------------------------------ */
.bb-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.bb-progress span {
	display: block; height: 100%;
	background: linear-gradient(90deg, var(--rose), var(--gold));
	transform-origin: 0 50%;
	transform: scaleX(var(--progress, 0));
}

.bb-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--cream) 88%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.admin-bar .bb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bb-header { top: 0; } }

.bb-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(110, 63, 79, .5); }

.bb-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding-block: 1.25rem .5rem;
	transition: padding .4s var(--ease);
}
.bb-header.is-scrolled .bb-header__bar { padding-block: .5rem .25rem; }
.bb-header__end { display: flex; justify-content: flex-end; align-items: center; gap: .25rem; }

.bb-brand { text-align: center; }
.bb-brand__name {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	font-weight: 600;
	font-style: italic;
	line-height: 1;
	color: var(--mauve);
	text-decoration: none;
	transition: font-size .4s var(--ease);
}
.bb-header.is-scrolled .bb-brand__name { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.bb-brand .custom-logo { max-height: 64px; width: auto; margin-inline: auto; transition: max-height .4s var(--ease); }
.bb-header.is-scrolled .bb-brand .custom-logo { max-height: 44px; }
.bb-brand__tagline {
	margin: .35rem 0 0;
	font-size: .8125rem;
	letter-spacing: .04em;
	color: var(--muted);
	max-height: 2em;
	overflow: hidden;
	transition: max-height .4s var(--ease), opacity .3s, margin .4s;
}
.bb-header.is-scrolled .bb-brand__tagline { max-height: 0; opacity: 0; margin: 0; }

.bb-menu-open { display: none; }

.bb-nav { display: flex; justify-content: center; }
.bb-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: .5rem var(--gutter) .75rem; }
.bb-menu > li { position: relative; display: flex; align-items: center; }
.bb-menu a {
	position: relative;
	display: inline-block;
	padding: .35rem 0;
	color: var(--ink);
	font-size: .95rem;
	font-weight: 450;
	letter-spacing: .02em;
	text-decoration: none;
}
.bb-menu > li > a::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}
.bb-menu > li:hover > a::after,
.bb-menu > li:focus-within > a::after,
.bb-menu > .current-menu-item > a::after,
.bb-menu > .current-menu-ancestor > a::after,
.bb-menu > .current-category-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.bb-menu > li > a:hover { color: var(--mauve); }

.bb-subtoggle {
	display: grid; place-items: center;
	width: 24px; height: 24px; margin-left: .15rem;
	padding: 0; border: 0; background: none; color: var(--rose);
	border-radius: 50%;
}
.bb-subtoggle svg { transition: transform .35s var(--ease); }
.is-open > .bb-subtoggle svg { transform: rotate(180deg); }

.bb-menu .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%;
	min-width: 230px;
	margin: 0; padding: .75rem;
	list-style: none;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
	z-index: 10;
}
.bb-menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* hover bridge */
.bb-menu > li:hover > .sub-menu,
.bb-menu > li:focus-within > .sub-menu,
.bb-menu > li.is-open > .sub-menu {
	opacity: 1; visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
}
.bb-menu .sub-menu a { display: block; padding: .55rem .9rem; border-radius: 12px; font-size: .925rem; transition: background .25s, color .25s, padding .3s var(--ease); }
.bb-menu .sub-menu a:hover { background: var(--blush); color: var(--mauve); padding-left: 1.15rem; }

/* Mega menu: add CSS class "bb-mega" to a top-level item. */
.bb-menu > li.bb-mega > .sub-menu { width: 600px; padding-right: 290px; min-height: 250px; }
.bb-mega__feature {
	position: absolute; top: calc(100% + 10px); left: 50%;
	width: 250px;
	margin-left: 15px; /* (600/2) - 290 + 5 */
	padding: 1.1rem 1rem;
	z-index: 11;
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .35s var(--ease) .05s, transform .35s var(--ease) .05s, visibility 0s .4s;
}
.bb-menu > li.bb-mega:hover > .bb-mega__feature,
.bb-menu > li.bb-mega:focus-within > .bb-mega__feature,
.bb-menu > li.bb-mega.is-open > .bb-mega__feature { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
.bb-mega__img { display: block; width: 120px; aspect-ratio: 1; border-radius: var(--arch-sm); overflow: hidden; margin-bottom: .6rem; background: var(--blush); }
.bb-mega__img img { width: 100%; height: 100%; object-fit: cover; }
.bb-mega__label { display: block; font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 1rem; }
.bb-menu .bb-mega__title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; color: var(--mauve); padding: 0; }
.bb-menu .bb-mega__title::after { display: none; }

@media (max-width: 960px) {
	.bb-nav, .bb-social--header { display: none; }
	.bb-menu-open { display: inline-grid; }
	.bb-header__bar { padding-block: .75rem; }
	.bb-brand__tagline { display: none; }
}

.bb-burger { position: relative; width: 22px; height: 14px; }
.bb-burger span {
	position: absolute; left: 0; right: 0; height: 1.5px;
	background: currentColor; border-radius: 2px;
	transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease), width .45s var(--ease);
}
.bb-burger span:nth-child(1) { top: 0; }
.bb-burger span:nth-child(2) { top: 6px; width: 70%; left: auto; }
.bb-burger span:nth-child(3) { top: 12px; }
.bb-menu-open[aria-expanded="true"] .bb-burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.bb-menu-open[aria-expanded="true"] .bb-burger span:nth-child(2) { opacity: 0; width: 0; }
.bb-menu-open[aria-expanded="true"] .bb-burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* 5. Drawer & search --------------------------------------------------------- */
.bb-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .6s; }
.bb-drawer.is-open { visibility: visible; transition: none; }
.bb-drawer__backdrop {
	position: absolute; inset: 0;
	background: rgba(74, 42, 54, .35);
	opacity: 0;
	transition: opacity .5s var(--ease);
}
.bb-drawer.is-open .bb-drawer__backdrop { opacity: 1; }
.bb-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(88vw, 400px);
	padding: 4.5rem 2rem 2rem;
	overflow-y: auto;
	background: linear-gradient(180deg, var(--cream), var(--blush));
	border-radius: 32px 0 0 32px;
	box-shadow: -20px 0 60px -30px rgba(74, 42, 54, .5);
	transform: translateX(105%);
	transition: transform .6s var(--ease);
}
.bb-drawer.is-open .bb-drawer__panel { transform: none; }
.bb-drawer__close { position: absolute; top: 1rem; right: 1rem; }

.bb-mobile-menu, .bb-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.bb-mobile-menu > li {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
	opacity: 0;
	transform: translateX(24px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
	transition-delay: calc(.15s + var(--i, 0) * 60ms);
}
.bb-drawer.is-open .bb-mobile-menu > li { opacity: 1; transform: none; }
.bb-mobile-menu > li > a {
	flex: 1;
	padding: .9rem 0;
	font-family: var(--serif);
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--mauve);
	text-decoration: none;
}
.bb-mobile-menu .bb-subtoggle { width: 40px; height: 40px; }
@keyframes bb-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bb-mobile-menu .sub-menu { flex-basis: 100%; display: none; padding-bottom: .75rem; }
.bb-mobile-menu .is-open > .sub-menu { display: block; animation: bb-fade-down .4s var(--ease); }
.bb-mobile-menu .sub-menu a { display: block; padding: .45rem 0 .45rem 1rem; color: var(--ink); text-decoration: none; }
.bb-mobile-menu .sub-menu a:hover { color: var(--mauve); }
.bb-social--drawer { margin-top: 2rem; color: var(--mauve); }
.bb-drawer__sprig { margin: 2rem auto 0; }

.bb-search {
	position: fixed; inset: 0; z-index: 110;
	display: grid; place-items: center;
	padding: var(--gutter);
	background: color-mix(in srgb, var(--cream) 90%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	opacity: 0; visibility: hidden;
	transition: opacity .45s var(--ease), visibility 0s .45s;
}
.bb-search.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.bb-search__inner { width: min(680px, 100%); text-align: center; transform: translateY(16px); transition: transform .6s var(--ease); }
.bb-search.is-open .bb-search__inner { transform: none; }
.bb-search__close { position: fixed; top: 1.25rem; right: 1.25rem; }
.bb-search__prompt { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--mauve); margin-bottom: 1.25rem; }
.bb-search .bb-searchform input { font-size: 1.25rem; padding: 1.1rem 1.4rem; }

.bb-searchform { position: relative; display: flex; }
.bb-searchform input { border-radius: 999px; padding-right: 3.5rem; }
.bb-searchform button {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 0; border-radius: 50%;
	background: var(--mauve); color: var(--cream);
	transition: background .3s;
}
.bb-searchform button:hover { background: var(--rose); }
.bb-searchform input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* 6. Homepage -------------------------------------------------------------- */
.bb-hero { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.bb-hero::before {
	content: "";
	position: absolute;
	width: 60vw; max-width: 760px; aspect-ratio: 1;
	right: -14vw; top: 4%;
	border-radius: 50%;
	background: radial-gradient(circle, var(--blush) 0%, color-mix(in srgb, var(--blush) 40%, transparent) 45%, transparent 70%);
	z-index: -1;
}
.bb-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bb-hero__title {
	font-size: clamp(2.75rem, 6.4vw, 5.25rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.02em;
	margin-bottom: 1.25rem;
	max-width: 11ch;
}
.bb-hero__intro { font-size: 1.15rem; max-width: 34rem; color: var(--muted); margin-bottom: 2.25rem; }
.bb-hero__feature { max-width: 34rem; padding-top: 1.75rem; border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.bb-hero__kicker { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--rose); margin-bottom: .25rem; }
.bb-hero__post { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .6rem; }
.bb-hero__post a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.bb-hero__post a:hover { background-size: 100% 1px; color: var(--mauve); }
.bb-hero__excerpt { color: var(--muted); margin-bottom: 1.5rem; }

.bb-hero__visual { position: relative; width: min(440px, 100%); margin-inline: auto; aspect-ratio: 440 / 560; }
.bb-hero__arch {
	position: absolute; inset: 18px;
	display: block;
	border-radius: var(--arch);
	overflow: hidden;
	background: var(--blush);
}
.bb-hero__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.bb-hero__arch:hover img { transform: scale(1.04); }
.bb-hero__outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bb-hero__outline path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }

.bb-petals { position: absolute; inset: -6% -10%; pointer-events: none; }
.bb-petals i {
	position: absolute;
	width: 18px; height: 18px;
	border-radius: 80% 0 80% 0;
	background: linear-gradient(135deg, var(--blush-deep), var(--rose));
	opacity: .75;
}
.bb-petals i:nth-child(1) { top: 8%;  left: 4%;  transform: rotate(20deg); }
.bb-petals i:nth-child(2) { top: 22%; right: 2%; width: 12px; height: 12px; transform: rotate(-30deg); background: var(--gold); opacity: .55; }
.bb-petals i:nth-child(3) { bottom: 18%; left: 0; width: 14px; height: 14px; transform: rotate(60deg); }
.bb-petals i:nth-child(4) { bottom: 6%; right: 8%; transform: rotate(-10deg); }
.bb-petals i:nth-child(5) { top: 52%; right: -2%; width: 10px; height: 10px; background: var(--sage); opacity: .7; }

@media (max-width: 860px) {
	.bb-hero__grid { grid-template-columns: 1fr; }
	.bb-hero__visual { order: -1; width: min(320px, 78vw); }
	.bb-hero__title { max-width: none; }
}

/* Category bubbles */
.bb-bubbles { padding-bottom: clamp(1rem, 3vw, 2rem); }
.bb-bubbles ul {
	display: flex; gap: clamp(1rem, 3vw, 2.5rem);
	justify-content: center;
	list-style: none; margin: 0; padding: .5rem 0 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.bb-bubbles ul::-webkit-scrollbar { display: none; }
.bb-bubbles li { scroll-snap-align: start; flex: 0 0 auto; }
.bb-bubbles a { display: grid; justify-items: center; gap: .65rem; width: 112px; text-align: center; text-decoration: none; color: var(--ink); }
.bb-bubbles__img {
	position: relative;
	width: 96px; height: 96px;
	border-radius: 50%;
	background: var(--blush);
	padding: 5px;
}
.bb-bubbles__img::after {
	content: "";
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 1px solid var(--gold);
	transition: transform .5s var(--ease), border-color .5s;
}
.bb-bubbles__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .6s var(--ease); }
.bb-bubbles a:hover .bb-bubbles__img::after { transform: scale(1.08); border-color: var(--rose); }
.bb-bubbles a:hover img { transform: scale(.94); }
.bb-bubbles__name { font-size: .9rem; font-weight: 500; line-height: 1.3; }
@media (max-width: 760px) { .bb-bubbles ul { justify-content: flex-start; } }

/* Sections */
.bb-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.bb-section--tinted {
	background: var(--blush);
	border-radius: clamp(32px, 7vw, 96px) clamp(32px, 7vw, 96px) 0 0;
	margin-inline: clamp(0rem, 2vw, 1.5rem);
	margin-top: clamp(1.5rem, 4vw, 3rem);
}
.bb-section--tinted .bb-pill { background: var(--cream); }
.bb-section--tinted .bb-pill:hover { background: var(--mauve); }
.bb-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bb-section-title { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 500; margin: 0; }

.bb-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.bb-split__list { display: grid; gap: 1.5rem; }
.bb-split__lead .bb-card__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
@media (max-width: 860px) { .bb-split { grid-template-columns: 1fr; } }

.bb-welcome {
	display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
	padding-block: clamp(3rem, 8vw, 6.5rem);
}
.bb-welcome:not(:has(.bb-welcome__img)) { grid-template-columns: 1fr; text-align: center; max-width: 760px; }
.bb-welcome:not(:has(.bb-welcome__img)) .bb-welcome__sprig { margin-inline: auto; }
.bb-welcome__img { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.bb-welcome__img::before {
	content: ""; position: absolute; inset: -14px 14px 14px -14px;
	border: 1px solid var(--gold); border-radius: var(--arch);
}
.bb-welcome__img img { position: relative; border-radius: var(--arch); width: 100%; aspect-ratio: 600 / 760; object-fit: cover; }
.bb-welcome__text h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; font-style: italic; }
.bb-welcome__text p { font-size: 1.125rem; color: var(--muted); max-width: 38rem; }
.bb-welcome:not(:has(.bb-welcome__img)) .bb-welcome__text p { margin-inline: auto; }
.bb-welcome__sprig { margin-bottom: 1rem; }
@media (max-width: 760px) { .bb-welcome { grid-template-columns: 1fr; } }

.bb-newsletter { padding-block: clamp(1rem, 3vw, 2rem); }
.bb-newsletter__inner {
	position: relative;
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 5rem);
	background: var(--blush);
	border-radius: var(--radius);
}
.bb-newsletter__inner::before {
	content: ""; position: absolute; inset: 12px;
	border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
	border-radius: 16px; pointer-events: none;
}
.bb-newsletter h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }
.bb-newsletter p { color: var(--muted); max-width: 32rem; margin-inline: auto; }
.bb-newsletter__sprig { margin: 0 auto 1rem; }
.bb-newsletter__form { max-width: 480px; margin: 1.5rem auto 0; }
.bb-newsletter__form form { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.bb-newsletter__form input[type="email"], .bb-newsletter__form input[type="text"] { flex: 1 1 220px; border-radius: 999px; }
.bb-newsletter__form input[type="submit"], .bb-newsletter__form button {
	width: auto; border-radius: 999px; background: var(--mauve); color: var(--cream); border: 0; padding: .8rem 1.6rem; font-weight: 500;
}

.bb-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.bb-duo__col { display: grid; gap: 1.25rem; align-content: start; }
.bb-duo__col .bb-section__head { margin-bottom: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .bb-duo { grid-template-columns: 1fr; } }

/* 7. Cards & grids --------------------------------------------------------- */
.bb-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.bb-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.bb-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.bb-grid--archive { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.bb-grid__ad { grid-column: 1 / -1; }

.bb-card { position: relative; }
.bb-card__media {
	display: block;
	overflow: hidden;
	background: var(--blush);
	border-radius: var(--arch);
	aspect-ratio: 600 / 760;
}
.bb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bb-card:hover .bb-card__media img { transform: scale(1.06); }
.bb-card__body { padding-top: 1.1rem; }
.bb-card__body .bb-pill { margin-bottom: .7rem; }
.bb-card__title { font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: .45rem; }
.bb-card__title a { color: var(--mauve); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.bb-card:hover .bb-card__title a { background-size: 100% 1px; }
.bb-card__excerpt { color: var(--muted); font-size: .975rem; margin-bottom: .6rem; }

.bb-card--row { display: grid; grid-template-columns: 132px 1fr; gap: 1.25rem; align-items: center; }
.bb-card--row .bb-card__media { border-radius: var(--arch-sm); aspect-ratio: 4 / 5; }
.bb-card--row .bb-card__body { padding-top: 0; }
.bb-card--row .bb-card__title { font-size: 1.35rem; }
.bb-card--row .bb-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-card--row .bb-pill { margin-bottom: .45rem; }

.bb-card--mini { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: center; }
.bb-card--mini .bb-card__media { border-radius: 50%; aspect-ratio: 1; }
.bb-card--mini .bb-card__body { padding-top: 0; }
.bb-card--mini .bb-card__title { font-size: 1.25rem; margin-bottom: .2rem; }

.bb-thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, var(--blush), var(--blush-deep)); }
.bb-thumb-placeholder .bb-sprig { width: 60%; max-width: 120px; }

.bb-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .8125rem; color: var(--muted); }
.bb-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.bb-meta a { color: var(--mauve); text-decoration: none; font-weight: 500; }
.bb-meta__read svg { color: var(--rose); }

/* 8. Archives & pages ------------------------------------------------------- */
.bb-page-head { text-align: center; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.bb-page-title { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 500; margin-bottom: .75rem; }
.bb-page-desc { max-width: 40rem; margin: 0 auto; color: var(--muted); }
.bb-page-head__sprig { margin: 1rem auto 0; }
.bb-page-head__avatar img { border-radius: 50%; margin: 0 auto 1rem; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold); }
.bb-page-head__search { max-width: 520px; margin: 1rem auto 0; }

.bb-breadcrumbs { font-size: .8125rem; color: var(--muted); margin-bottom: 1.25rem; }
.bb-breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.bb-breadcrumbs li + li::before { content: "›"; color: var(--gold); margin: 0 .55rem; }
.bb-breadcrumbs a { color: var(--muted); text-decoration: none; }
.bb-breadcrumbs a:hover { color: var(--mauve); }
.bb-breadcrumbs [aria-current] { color: var(--mauve); }

.bb-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.has-sidebar .bb-layout { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 1024px) { .has-sidebar .bb-layout { grid-template-columns: 1fr; } }

.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.nav-links .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 1rem;
	border-radius: 999px; border: 1px solid var(--line);
	text-decoration: none; color: var(--mauve); font-weight: 500;
	transition: background .3s, color .3s, border-color .3s;
}
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--mauve); border-color: var(--mauve); color: var(--cream); }
.nav-links .dots { border: 0; }

.bb-empty { text-align: center; max-width: 520px; margin: 2rem auto; }
.bb-empty__sprig { margin: 0 auto 1rem; }

.bb-404 { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); max-width: 640px; }
.bb-404__num { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 20vw, 11rem); line-height: .9; color: var(--blush-deep); margin: 0; }
.bb-404 .bb-searchform { margin: 1.5rem 0 1.25rem; }

/* 9. Single post ------------------------------------------------------------ */
.bb-single__head { text-align: center; max-width: 900px; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.bb-single__head .bb-pill { margin-bottom: 1rem; }
.bb-single__title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 500; line-height: 1.04; margin-bottom: 1rem; }
.bb-single__dek { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--muted); max-width: 40rem; margin: 0 auto 1.25rem; line-height: 1.4; }
.bb-single__head .bb-meta { justify-content: center; }

.bb-single__figure { margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.bb-single__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: clamp(20px, 4vw, 40px); }
.bb-single__figure figcaption { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: .75rem; }

.bb-prose { max-width: 720px; margin-inline: auto; font-size: 1.125rem; line-height: 1.8; }
.bb-page .bb-prose { padding-inline: var(--gutter); padding-bottom: 4rem; }
.bb-prose > * + * { margin-top: 0; }
.bb-prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); margin-top: 2.5em; }
.bb-prose h2::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-bottom: .75em; }
.bb-prose h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-top: 2em; }
.bb-prose h4 { font-size: 1.3rem; margin-top: 1.8em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.bb-prose li { margin-bottom: .45em; padding-left: .2em; }
.bb-prose li::marker { color: var(--rose); }
.bb-prose ul > li::marker { content: "✿  "; font-size: .85em; }
.bb-prose img { border-radius: 20px; }
.bb-prose figure { margin: 2em 0; }
.bb-prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.bb-prose blockquote {
	position: relative;
	margin: 2.25em 0;
	padding: 1.75rem 1.5rem 1.25rem;
	text-align: center;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.6rem;
	line-height: 1.35;
	color: var(--mauve);
	border-block: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);
}
.bb-prose blockquote::before {
	content: "“";
	position: absolute; left: 50%; top: -.55em; transform: translateX(-50%);
	padding: 0 .3em;
	background: var(--cream);
	font-size: 3rem; line-height: 1; color: var(--gold);
}
.bb-prose blockquote p:last-child { margin-bottom: 0; }
.bb-prose blockquote cite { display: block; margin-top: .75rem; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); }
.bb-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1.5em 0; display: block; overflow-x: auto; }
.bb-prose th, .bb-prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.bb-prose th { background: var(--blush); color: var(--mauve); font-weight: 500; }
.bb-prose hr { border: 0; height: 40px; margin: 2.5em auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' fill='none' stroke='%23C8A96A' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M4 20h112M60 20c-6-8-6-14 0-18 6 4 6 10 0 18zM60 20c-8-2-14 0-18 5 6 3 12 2 18-5zM60 20c8-2 14 0 18 5-6 3-12 2-18-5z'/%3E%3C/svg%3E") center / 120px 40px no-repeat; }
.bb-prose code { background: var(--blush); padding: .1em .35em; border-radius: 6px; font-size: .9em; }
.bb-prose pre { background: var(--plum); color: var(--cream); padding: 1.25rem; border-radius: 16px; overflow-x: auto; }
.bb-prose pre code { background: none; padding: 0; }
.single .bb-prose > p:first-of-type::first-letter {
	float: left;
	font-family: var(--serif);
	font-size: 4.4em;
	font-weight: 500;
	line-height: .8;
	padding: .08em .12em 0 0;
	color: var(--mauve);
}

.bb-toc { margin: 2rem 0 2.5rem; background: var(--blush); border-radius: 20px; padding: 1.25rem 1.5rem; }
.bb-toc summary {
	display: flex; align-items: center; justify-content: space-between;
	cursor: pointer; list-style: none;
	font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--mauve);
}
.bb-toc summary::-webkit-details-marker { display: none; }
.bb-toc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose); transform: rotate(45deg); transition: transform .35s var(--ease); margin-right: .25rem; }
.bb-toc details[open] summary::after { transform: rotate(-135deg); }
.bb-toc ol { list-style: none; margin: .75rem 0 0; padding: 0; font-size: 1rem; }
.bb-toc ol ol { margin: .25rem 0 .25rem 1rem; font-size: .95rem; }
.bb-toc li { margin: 0; padding: 0; }
.bb-toc li::marker { content: none; }
.bb-toc a { display: block; padding: .3rem 0; text-decoration: none; color: var(--ink); transition: color .25s, transform .3s var(--ease); }
.bb-toc a:hover, .bb-toc a.is-active { color: var(--mauve); transform: translateX(4px); }
.bb-toc a.is-active { font-weight: 500; }

.bb-single__foot { max-width: 720px; margin: 2.5rem auto 0; display: grid; gap: 1.5rem; }
.bb-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.bb-tags a { display: inline-block; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--mauve); transition: border-color .3s, background .3s; }
.bb-tags a:hover { background: var(--blush); border-color: var(--blush); }
.bb-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.bb-share__label { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--mauve); margin-right: .5rem; }
.bb-share a, .bb-share__copy {
	display: inline-grid; place-items: center;
	height: 40px; min-width: 40px; padding: 0 .9rem;
	border-radius: 999px; border: 1px solid var(--line); background: transparent;
	color: var(--mauve); font-size: .85rem; text-decoration: none;
	transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.bb-share a { padding: 0; }
.bb-share a:hover, .bb-share__copy:hover { background: var(--blush); border-color: var(--blush); transform: translateY(-2px); }

.bb-author {
	max-width: 720px; margin: 2.5rem auto 0;
	display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
	padding: 1.75rem; background: var(--blush); border-radius: var(--radius);
}
.bb-author__photo img { border-radius: 50%; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold); }
.bb-author__kicker { font-family: var(--serif); font-style: italic; color: var(--rose); margin: 0; font-size: 1.05rem; }
.bb-author__name { font-size: 1.6rem; margin: 0 0 .35rem; }
.bb-author__name a { text-decoration: none; }
.bb-author__text p:last-child { margin: 0; font-size: .975rem; color: var(--muted); }
@media (max-width: 560px) { .bb-author { grid-template-columns: 1fr; text-align: center; } .bb-author__photo img { margin-inline: auto; } }

.post-navigation { max-width: 720px; margin: 2.5rem auto 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.post-navigation a { display: block; height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; transition: border-color .3s, background .3s; }
.post-navigation a:hover { background: var(--blush); border-color: var(--blush); }
.post-navigation .nav-next { text-align: right; }
.bb-postnav__label { display: block; font-family: var(--serif); font-style: italic; color: var(--rose); }
.bb-postnav__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--mauve); line-height: 1.25; }
@media (max-width: 560px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

.bb-related { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.bb-related .bb-section-title { text-align: center; margin-bottom: 2rem; }

.bb-comments { max-width: 720px; margin: 3rem auto 0; }
.bb-comments__title, .comment-reply-title { font-size: 1.9rem; }
.bb-comments__list, .bb-comments__list .children { list-style: none; margin: 0; padding: 0; }
.bb-comments__list .children { margin-left: clamp(1rem, 4vw, 2.5rem); }
.bb-comments__list .comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.bb-comments__list .avatar { border-radius: 50%; float: left; margin-right: .9rem; }
.bb-comments__list .comment-meta { font-size: .85rem; color: var(--muted); }
.bb-comments__list .comment-meta a { color: var(--muted); text-decoration: none; }
.bb-comments__list .fn { font-family: var(--serif); font-size: 1.15rem; font-style: normal; font-weight: 600; color: var(--mauve); }
.bb-comments__list .reply a { font-size: .85rem; font-weight: 500; }
.comment-form { display: grid; gap: 1rem; }
.comment-form label { display: block; font-size: .9rem; margin-bottom: .3rem; color: var(--muted); }
.comment-form .form-submit { margin: 0; }
.comment-form input[type="checkbox"] { width: auto; margin-right: .5rem; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; font-size: .9rem; }
.comment-form .bb-btn { width: auto; }

/* 10. Sidebar & widgets ----------------------------------------------------- */
.bb-sidebar { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.bb-sidebar .widget { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.widget-title { font-size: 1.45rem; font-weight: 600; margin-bottom: .9rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }
.bb-sidebar__sticky { position: sticky; top: calc(var(--header-h) - 20px); }
@media (max-width: 1024px) { .bb-sidebar__sticky { position: static; } }

/* 11. Ads --------------------------------------------------------------------- */
.bb-ad { display: block; margin: 2.25rem auto; text-align: center; overflow: hidden; }
.bb-ad__label { display: block; margin-bottom: .4rem; font-size: .6875rem; letter-spacing: .06em; color: var(--muted); opacity: .8; }
.bb-ad ins { margin-inline: auto; }
/* Reserved heights: stop content jumping when ads load (CLS) */
.bb-ad--header { min-height: 116px; margin: .75rem auto 1rem; }
.bb-ad--in-article-1, .bb-ad--in-article-2 { min-height: 280px; }
.bb-ad--after-article { min-height: 280px; max-width: 720px; }
.bb-ad--in-feed { min-height: 280px; margin-block: .5rem; }
.bb-ad--sidebar { min-height: 620px; margin: 0; }
@media (min-width: 768px) { .bb-ad--header { min-height: 106px; } }
/* Collapse slots AdSense couldn't fill */
.bb-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.bb-header-ad:not(:has(.bb-ad)) { display: none; }

/* 12. Footer ------------------------------------------------------------------ */
.bb-footer { margin-top: clamp(3rem, 6vw, 5rem); background: var(--plum); color: var(--blush); border-radius: clamp(32px, 7vw, 96px) clamp(32px, 7vw, 96px) 0 0; padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.bb-footer a { color: var(--cream); text-decoration: none; }
.bb-footer a:hover { color: var(--gold); }
.bb-footer__top { display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(160px, 1fr)); gap: 2.5rem; }
.bb-footer__name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.2rem; line-height: 1; }
.bb-footer__brand p { margin: .9rem 0 1.25rem; max-width: 26rem; color: color-mix(in srgb, var(--blush) 85%, transparent); }
.bb-footer .widget-title { color: var(--cream); font-size: 1.35rem; }
.bb-footer .widget li, .bb-footer__cats li { border-color: rgba(246, 225, 225, .12); }
.bb-footer__cats { list-style: none; margin: 0; padding: 0; }
.bb-footer__cats li { padding: .35rem 0; }
.bb-social--footer a:hover { background: rgba(246, 225, 225, .12); }
.bb-footer__sprig { margin: 3rem auto 1.5rem; }
.bb-footer__bottom { text-align: center; font-size: .85rem; color: color-mix(in srgb, var(--blush) 75%, transparent); }
.bb-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.bb-footer__disclaimer { max-width: 44rem; margin: 0 auto .5rem; }
.bb-footer__copy { margin: 0; }
@media (max-width: 760px) { .bb-footer__top { grid-template-columns: 1fr; } }

/* 13. Motion ------------------------------------------------------------------ */

/* Hero: the gold arch draws itself once on load; petals drift. Content is never hidden. */
@keyframes bb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bb-drift {
	0%, 100% { translate: 0 0; rotate: 0deg; }
	50% { translate: 6px -14px; rotate: 18deg; }
}
.bb-hero__outline path { animation: bb-draw 2.2s var(--ease-soft) .2s both; }
.bb-petals i { animation: bb-drift 9s ease-in-out infinite; }
.bb-petals i:nth-child(2) { animation-duration: 11s; animation-delay: -3s; }
.bb-petals i:nth-child(3) { animation-duration: 13s; animation-delay: -6s; }
.bb-petals i:nth-child(4) { animation-duration: 10s; animation-delay: -2s; }
.bb-petals i:nth-child(5) { animation-duration: 12s; animation-delay: -8s; }

/* Scroll reveal: JS only adds .bb-will-reveal to items below the fold, so nothing above the fold waits. */
.bb-will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.bb-will-reveal .bb-card__media { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); transition: clip-path 1.1s var(--ease-soft); transition-delay: calc(var(--delay, 0s) + .1s); }
.bb-will-reveal.is-visible { opacity: 1; transform: none; }
.bb-will-reveal.is-visible .bb-card__media { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
.bb-card--row.bb-will-reveal .bb-card__media, .bb-card--mini.bb-will-reveal .bb-card__media { clip-path: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.bb-will-reveal, .bb-will-reveal .bb-card__media { opacity: 1; transform: none; clip-path: none; }
}

/* Small screens: shorter card images so readers see more per scroll */
@media (max-width: 600px) { .bb-card--card .bb-card__media { aspect-ratio: 1 / 1; } }

/* Core search block (default sidebar widget) */
.wp-block-search__label { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--mauve); }
.wp-block-search__inside-wrapper { gap: .5rem; }
.wp-block-search__input { border-radius: 999px; }
.wp-block-search__button { border: 0; border-radius: 999px; background: var(--mauve); color: var(--cream); padding: .7rem 1.2rem; margin: 0; }
.wp-block-search__button:hover { background: var(--plum); }
.widget .wp-block-latest-posts__list li, .widget .wp-block-latest-comments li { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }

/* 14. WordPress core classes ----------------------------------------------- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.bb-prose .alignwide { width: min(1000px, 94vw); max-width: none; margin-inline: calc(50% - min(500px, 47vw)); }
.bb-prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.has-sidebar .bb-prose .alignwide, .has-sidebar .bb-prose .alignfull { width: 100%; margin-inline: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); text-align: center; }
.sticky, .bypostauthor { position: relative; }
.wp-block-button__link { border-radius: 999px; background: var(--mauve); color: var(--cream); }
.wp-block-pullquote { border-color: var(--gold); }
.bb-page-links { margin-top: 2rem; }
