/*
 * Beauty by Choully — main stylesheet.
 *
 * Design tokens come from theme.json and are exposed as CSS custom properties
 * named `--wp--preset--*`. Override here only when WP defaults are wrong, never
 * to redefine tokens — change theme.json instead.
 */

/* ---------- Fonts ----------
 * Cormorant Garamond (OFL) — display. Classic high-contrast bridal serif.
 *   Three static weights (300/400/500) + 400 italic. Total ~89 KB.
 * Karla (variable, OFL) — body. Soft humanist sans, friendlier than Inter.
 *   Variable weight + italic. Total ~63 KB.
 * Both load with font-display: swap so text is never invisible.
 */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Karla";
	src: url("../fonts/Karla.woff2") format("woff2-variations"),
	     url("../fonts/Karla.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Karla";
	src: url("../fonts/Karla-Italic.woff2") format("woff2-variations"),
	     url("../fonts/Karla-Italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* ---------- Reset basics ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

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

a {
	color: inherit;
}

ul,
ol {
	padding-inline-start: 1.25em;
}

/* ---------- Layout container ---------- */

.bbc-container {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
}

/* ---------- Skip link ---------- */

.bbc-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	padding: 0.75rem 1rem;
	z-index: 1000;
	text-decoration: none;
}

.bbc-skip:focus {
	left: 0;
}

/* ---------- Site header ----------
 *
 * Desktop: wordmark left, primary nav inline right.
 * Mobile (≤800px): wordmark left, burger button right; nav becomes a full-
 * screen overlay that slides in from the right with editorial typography.
 */

.bbc-header {
	padding-block: 1.5rem;
	position: relative;
	z-index: 50;
}

.bbc-header__inner {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

/* ---------- Wordmark — image-based, palette-themed, responsive swap ----
 *
 * The header wordmark renders as a CSS-masked element so the fancy
 * Beauty by Choully wordmark and the BC monogram both pick up the
 * active palette's ink colour automatically. On wider screens the
 * fancy wordmark shows; below the breakpoint the BC monogram takes
 * its place so the long form never has to squash.
 */

.bbc-wordmark {
	margin: 0;
	position: relative;
	z-index: 60; /* sits above the nav overlay */
	color: var(--wp--preset--color--ink);
	line-height: 0;
}

.bbc-wordmark a {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: clamp(0.875rem, 1.5vw, 1.25rem);
	transition: opacity 200ms ease;
}

.bbc-wordmark a:hover,
.bbc-wordmark a:focus-visible {
	opacity: 0.78;
}

.bbc-wordmark__fancy,
.bbc-wordmark__mark {
	display: block;
	background-color: currentColor;
	flex: 0 0 auto;
}

/* The fancy circular composition is square; mask `contain` fits it
 * proportionally inside the sized box. */
.bbc-wordmark__fancy {
	width: clamp(64px, 6vw, 84px);
	height: clamp(64px, 6vw, 84px);
	-webkit-mask: var(--bbc-wordmark-url) center / contain no-repeat;
	mask: var(--bbc-wordmark-url) center / contain no-repeat;
}

.bbc-wordmark__mark {
	width: 48px;
	height: 48px;
	-webkit-mask: var(--bbc-logo-url) center / contain no-repeat;
	mask: var(--bbc-logo-url) center / contain no-repeat;
	display: none;
}

/* Thin vertical hairline between the logo and the wordmark text. */
.bbc-wordmark__divider {
	flex: 0 0 1px;
	width: 1px;
	height: clamp(40px, 5vw, 56px);
	background-color: currentColor;
	opacity: 0.4;
}

/* "BEAUTY BY CHOULLY" — display serif, letter-spaced uppercase. */
.bbc-wordmark__text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(0.9375rem, 1.4vw, 1.1875rem);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
	color: currentColor;
	white-space: nowrap;
}

/* Below this breakpoint the fancy circular composition would crowd the
 * burger button — collapse to the BC monogram, but keep the divider and
 * wordmark text visible (smaller). The whole header stays branded
 * "[ BC ] | BEAUTY BY CHOULLY" on phone-sized viewports. */
@media (max-width: 800px) {
	.bbc-wordmark__fancy {
		display: none;
	}
	.bbc-wordmark__mark {
		display: block;
	}
	.bbc-wordmark a {
		gap: 0.625rem;
	}
	.bbc-wordmark__divider {
		height: 30px;
	}
	.bbc-wordmark__text {
		font-size: 0.6875rem;
		letter-spacing: 0.14em;
	}
}

/* Very narrow phones — drop the divider + text so the burger button
 * doesn't get crowded. Monogram alone. */
@media (max-width: 380px) {
	.bbc-wordmark__divider,
	.bbc-wordmark__text {
		display: none;
	}
}

/* Footer override — same lockup, smaller scale to sit comfortably above
 * the centered footer nav. Mobile drops to a tighter scale so the burger-
 * narrow viewport stays balanced. */
.bbc-footer__brand .bbc-wordmark__fancy {
	width: 56px;
	height: 56px;
}
.bbc-footer__brand .bbc-wordmark__mark {
	width: 44px;
	height: 44px;
}
.bbc-footer__brand .bbc-wordmark__divider {
	height: 36px;
}
.bbc-footer__brand .bbc-wordmark__text {
	font-size: 0.875rem;
}

@media (max-width: 800px) {
	.bbc-footer__brand .bbc-wordmark__mark {
		width: 40px;
		height: 40px;
	}
	.bbc-footer__brand .bbc-wordmark__divider {
		height: 28px;
	}
	.bbc-footer__brand .bbc-wordmark__text {
		font-size: 0.75rem;
		letter-spacing: 0.16em;
	}
}

/* Burger button — hidden on desktop, shown on mobile. */
.bbc-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0.5rem 0.75rem 0.5rem 0;
	margin: 0;
	cursor: pointer;
	color: var(--wp--preset--color--ink);
	font: inherit;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.75rem;
	align-items: center;
	gap: 0.625rem;
	position: relative;
	z-index: 60;
}

.bbc-nav-toggle__bars {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	width: 22px;
}

.bbc-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 1px;
	background: currentColor;
	transition: transform 250ms ease, opacity 250ms ease;
	transform-origin: center;
}

.bbc-nav-toggle__label {
	display: inline-block;
}

/* Burger → X when open */
.bbc-nav-toggle[aria-expanded="true"] .bbc-nav-toggle__bar:first-child {
	transform: translateY(3px) rotate(45deg);
}
.bbc-nav-toggle[aria-expanded="true"] .bbc-nav-toggle__bar:last-child {
	transform: translateY(-3px) rotate(-45deg);
}

/* Primary nav list — desktop default */
.bbc-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.75rem;
	align-items: center;
}

.bbc-nav__list > li {
	position: relative;
}

.bbc-nav__list a {
	color: inherit;
	text-decoration: none;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
}

.bbc-nav__list a:hover,
.bbc-nav__list a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Parent items with a submenu — small chevron after the label. */
.bbc-nav__list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.5em;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 200ms ease;
}

.bbc-nav__list .menu-item-has-children.is-open > a::after {
	transform: translateY(2px) rotate(-135deg);
}

/* Submenu (desktop) — opens below parent on hover or click. */
.bbc-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.75rem 0;
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 50%;
	transform: translateX(-50%);
	min-width: 13rem;
	background: var(--wp--preset--color--ivory);
	border: 1px solid var(--wp--preset--color--sand);
	box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms;
	z-index: 60;
}

.bbc-nav__list .menu-item-has-children:hover > .sub-menu,
.bbc-nav__list .menu-item-has-children:focus-within > .sub-menu,
.bbc-nav__list .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.bbc-nav__list .sub-menu li {
	display: block;
}

.bbc-nav__list .sub-menu a {
	display: block;
	padding: 0.625rem 1.25rem;
	font-size: 0.9375rem;
	white-space: nowrap;
	color: var(--wp--preset--color--charcoal);
}

.bbc-nav__list .sub-menu a:hover,
.bbc-nav__list .sub-menu a:focus-visible {
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* Book Now — button-style CTA item in the nav, persistent across pages. */
.bbc-nav__list .bbc-nav__item--cta > a {
	display: inline-block;
	padding: 0.625rem 1.25rem;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	border: 1px solid var(--wp--preset--color--ink);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 500;
	transition: background 200ms ease, color 200ms ease;
}

.bbc-nav__list .bbc-nav__item--cta > a:hover,
.bbc-nav__list .bbc-nav__item--cta > a:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* ---- Mobile nav overlay ---- */
@media (max-width: 800px) {
	.bbc-nav-toggle {
		display: inline-flex;
	}

	.bbc-nav {
		position: fixed;
		inset: 0;
		z-index: 55;
		background: var(--wp--preset--color--ivory);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: clamp(4rem, 12vh, 7rem) clamp(1.5rem, 6vw, 3rem);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 280ms ease, transform 280ms ease, visibility 280ms;
	}

	.bbc-nav-open .bbc-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.bbc-nav__list {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: clamp(1.25rem, 3vh, 2rem);
		text-align: center;
	}

	.bbc-nav__list a {
		font-family: var(--wp--preset--font-family--display);
		font-weight: 300;
		font-size: clamp(2rem, 7vw, 3rem);
		letter-spacing: -0.005em;
		color: var(--wp--preset--color--ink);
		line-height: 1.1;
	}

	.bbc-nav__list a:hover,
	.bbc-nav__list a:focus-visible {
		text-decoration: none;
		font-style: italic;
	}

	/* Submenu on mobile — inline accordion, no absolute positioning. */
	.bbc-nav__list .sub-menu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		display: none;
		min-width: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0.5rem 0 0;
		text-align: center;
	}

	.bbc-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.bbc-nav__list .sub-menu a {
		font-family: var(--wp--preset--font-family--display);
		font-weight: 300;
		font-size: clamp(1.25rem, 4vw, 1.625rem);
		font-style: italic;
		padding: 0.375rem 0;
		color: var(--wp--preset--color--charcoal);
	}

	.bbc-nav__list .menu-item-has-children > a::after {
		width: 0.4em;
		height: 0.4em;
	}

	/* CTA on mobile — keeps its button treatment but at a larger touch target. */
	.bbc-nav__list .bbc-nav__item--cta > a {
		font-size: 0.875rem;
		padding: 0.875rem 2rem;
		margin-top: 0.5rem;
	}
}

/* ---------- Main ---------- */

.bbc-main {
	min-height: 60vh;
}

.bbc-main:focus {
	outline: none;
}

/* ---------- Homepage ----------
 *
 * Two hero variants — same typographic layout, two backgrounds:
 *   .bbc-home-hero            — flat ivory background, charcoal type.
 *                               Used when no Featured Image is set on the
 *                               home page (typographic-only mode).
 *   .bbc-home-hero--image     — cinematic full-bleed: photo at full
 *                               opacity, dark gradient scrim anchored to
 *                               the bottom-left, white type sitting on top.
 *                               Buttons invert for the dark background.
 *
 * History: original brief was full-bleed cinematic. May 2026 the cinematic
 * mode was retired in favour of an atmospheric (faint) image — that read
 * too washed-out and the artist's input redirected back to full-bleed
 * cinematic. This is the canonical version.
 */

.bbc-home-hero {
	padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 9vw, 7rem);
	background: var(--wp--preset--color--ivory);
	position: relative;
	overflow: hidden;
}

.bbc-home-hero--image {
	min-height: clamp(34rem, 82vh, 52rem);
	display: flex;
	align-items: flex-end;
	padding-block: clamp(5rem, 12vw, 10rem) clamp(3rem, 6vw, 5rem);
	background: #1a1a1a;
}

.bbc-home-hero__inner {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
	max-width: 920px;
	position: relative;
	z-index: 2;
}

/* Full-bleed image — sits behind the type at full opacity. */

.bbc-home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.bbc-home-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Focal point + zoom set per-page via the "Hero image position" meta
	 * box (inc/hero-focal.php) — inline custom properties on the img. */
	object-position: var(--bbc-hero-focal-x, 50%) var(--bbc-hero-focal-y, 50%);
	transform: scale(var(--bbc-hero-zoom, 1));
	transform-origin: center;
}

/* Dark gradient scrim anchored to the bottom-left where text sits. Fades
 * transparent toward the upper-right where the photo subject usually lives,
 * so the image stays fully visible and the type stays legible. */
.bbc-home-hero--image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%),
		linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 55%);
	pointer-events: none;
}

.bbc-home-hero__eyebrow {
	margin: 0 0 1.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-home-hero--image .bbc-home-hero__eyebrow {
	color: rgba(255, 255, 255, 0.78);
}

.bbc-home-hero__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 9vw, 7rem);
	line-height: 1.02;
	margin: 0 0 1.75rem;
	color: var(--wp--preset--color--ink);
	font-weight: 300;
	letter-spacing: -0.012em;
}

.bbc-home-hero--image .bbc-home-hero__title {
	color: #fff;
}

.bbc-home-hero__title em,
.bbc-home-hero__title i {
	font-style: italic;
	font-weight: 400;
}

.bbc-home-hero__lede {
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	max-width: 44ch;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.55;
	margin: 0 0 2.5rem;
}

.bbc-home-hero--image .bbc-home-hero__lede {
	color: rgba(255, 255, 255, 0.92);
}

.bbc-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
}

/* Buttons inverted on cinematic so they read against the dark scrim. */
.bbc-home-hero--image .bbc-button {
	background: #fff;
	color: var(--wp--preset--color--ink);
	border-color: #fff;
}

.bbc-home-hero--image .bbc-button:hover,
.bbc-home-hero--image .bbc-button:focus-visible {
	background: rgba(255, 255, 255, 0.85);
	color: var(--wp--preset--color--ink);
	border-color: rgba(255, 255, 255, 0.85);
}

.bbc-home-hero--image .bbc-button--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.bbc-home-hero--image .bbc-button--ghost:hover,
.bbc-home-hero--image .bbc-button--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: #fff;
}

/* Signature line under the buttons — only renders on the text-only hero
 * (when no Featured Image is set on the home page). Magazine-spread feel
 * without needing photography. Hidden on the cinematic image variant. */
.bbc-home-hero__signature {
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--wp--preset--color--sand);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	max-width: 44ch;
}

.bbc-home-hero__signature span[aria-hidden="true"] {
	color: var(--wp--preset--color--sand);
}

.bbc-home-hero--image .bbc-home-hero__signature {
	display: none;
}

/* ---------- Service pillars (homepage) ----------
 *
 * Three stacked editorial sections, alternating image-left / image-right —
 * Bridal, Editorial, Glam & Events. Equal visual weight; reading order
 * (Bridal first) signals the specialty without breaking the equal-weight
 * principle. Each section is full-width inside its own container so the
 * image gets substantial real estate — explicitly *not* a uniform grid.
 */

.bbc-home-services {
	padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 5vw, 4rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-home-services__intro {
	max-width: 720px;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.bbc-home-services__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-home-services__title {
	margin: 0 0 1rem;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.1;
}

.bbc-home-services__lede {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

.bbc-home-services__list {
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 6vw, 5rem);
}

/* Single pillar — alternating two-column composition. */

.bbc-pillar {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Two-class form bumps specificity over core/columns flex layout when the
 * pillar's inner is a wp-block-columns block (the home-pillars seed). */
.bbc-pillar__inner,
.wp-block-columns.bbc-pillar__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.bbc-pillar--right .bbc-pillar__inner,
.bbc-pillar--right .wp-block-columns.bbc-pillar__inner {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

/* Visual reorder for --right alignment. Targets either the legacy
 * media-link wrapper or the first wp-block-column (home-pillars seed). */
.bbc-pillar--right .bbc-pillar__media-link,
.bbc-pillar--right .bbc-pillar__inner > .wp-block-column:first-child {
	order: 2;
}

@media (max-width: 720px) {
	.bbc-pillar__inner,
	.wp-block-columns.bbc-pillar__inner,
	.bbc-pillar--right .bbc-pillar__inner,
	.bbc-pillar--right .wp-block-columns.bbc-pillar__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.bbc-pillar--right .bbc-pillar__media-link,
	.bbc-pillar--right .bbc-pillar__inner > .wp-block-column:first-child {
		order: 0;
	}
}

.bbc-pillar__media-link {
	display: block;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}

.bbc-pillar__media {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
}

.bbc-pillar__media img,
.bbc-pillar__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Bias toward the upper third — same rule-of-thirds anchor as the
	 * service-page heroes. Keeps faces in frame on portrait-oriented
	 * pillar photos instead of cropping head and feet equally. */
	object-position: center 30%;
	display: block;
}

.bbc-pillar__placeholder {
	background: linear-gradient(135deg, var(--wp--preset--color--cream), var(--wp--preset--color--sand));
}

.bbc-pillar__media img {
	transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bbc-pillar__media-link:hover img,
.bbc-pillar__media-link:focus-visible img,
.bbc-pillar__media a:hover img,
.bbc-pillar__media a:focus-visible img {
	transform: scale(1.04);
}

.bbc-pillar__copy {
	max-width: 520px;
}

/* Two-class form lets this win over core/group flex layout when the
 * eyebrow is a wp-block-group (the home-pillars seed). */
.bbc-pillar__eyebrow,
.wp-block-group.bbc-pillar__eyebrow {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin: 0 0 1.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

/* `margin: 0` neutralises core paragraph default margin when the number
 * and category are <p> blocks rather than the legacy <span> markup. */
.bbc-pillar__number {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.125rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--ink);
	line-height: 1;
}

.bbc-pillar__category {
	margin: 0;
	display: inline-block;
	flex: 0 1 auto;
}

.bbc-pillar__title {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 300;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

.bbc-pillar__description {
	margin: 0 0 1.75rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
}

.bbc-pillar__cta {
	margin: 0;
}

.bbc-pillar__link {
	display: inline-block;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
	transition: border-color 200ms ease, padding 200ms ease;
}

.bbc-pillar__link:hover,
.bbc-pillar__link:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
}

/* ---------- Recent work — asymmetric editorial grid ----------
 *
 * 5 items in a magazine-style layout:
 *
 *   [a a b]
 *   [a a c]
 *   [d e e]
 *
 * `a` is the lead (taller, larger), `b` and `c` stack on the right of the
 * top row, `d` is a square below-left, `e` extends to the right.
 *
 * On small viewports it collapses into a vertical stack with varying aspects.
 */

.bbc-home-featured {
	padding-block: clamp(4rem, 9vw, 7rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-home-featured__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem 2rem;
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.bbc-home-featured__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	grid-column: 1 / -1;
}

.bbc-home-featured__title {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.bbc-home-featured__more {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
	white-space: nowrap;
}

.bbc-home-featured__more:hover,
.bbc-home-featured__more:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
}

/* Magazine grid: a 4-col layout with the first (most recent) entry as a 2×2
 * lead and the remaining four as 1×1 supporting tiles. All tiles share a 1/1
 * aspect ratio so the lead's height equals two stacked smalls + the gap —
 * the classic editorial "hero + grid" pattern. Tablet collapses to a
 * full-width lead over a 2×2 of smalls; mobile stacks. */

.bbc-home-featured__editorial {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.bbc-feature {
	display: block;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
}

.bbc-feature:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.bbc-feature__media {
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
	aspect-ratio: 1 / 1;
}

.bbc-feature__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bbc-feature:first-child .bbc-feature__title {
	font-size: clamp(1.375rem, 2.2vw, 1.875rem);
}

@media (max-width: 1000px) {
	.bbc-home-featured__editorial {
		grid-template-columns: repeat(2, 1fr);
	}
	.bbc-feature:first-child {
		grid-column: span 2;
		grid-row: auto;
	}
	.bbc-feature:first-child .bbc-feature__media {
		aspect-ratio: 5 / 4;
	}
}

@media (max-width: 540px) {
	.bbc-home-featured__editorial {
		grid-template-columns: 1fr;
	}
	.bbc-feature:first-child {
		grid-column: span 1;
	}
	.bbc-feature:first-child .bbc-feature__media,
	.bbc-feature__media {
		aspect-ratio: 4 / 5;
	}
}

.bbc-feature:hover .bbc-feature__media img,
.bbc-feature:focus-visible .bbc-feature__media img {
	transform: scale(1.04);
}

.bbc-feature__caption {
	padding-top: 0.875rem;
}

.bbc-feature__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.2;
}

.bbc-feature__meta {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

/* About teaser */

.bbc-home-about {
	padding-block: clamp(4rem, 8vw, 6rem);
	background: var(--wp--preset--color--cream);
}

.bbc-home-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (max-width: 720px) {
	.bbc-home-about__inner {
		grid-template-columns: 1fr;
	}
}

.bbc-home-about__portrait {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	max-width: 480px;
}

.bbc-home-about__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbc-home-about__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-home-about__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.bbc-home-about__excerpt {
	font-size: 1.0625rem;
	line-height: 1.65;
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--charcoal);
}

.bbc-home-about__more {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
}

.bbc-home-about__more:hover,
.bbc-home-about__more:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
}

/* Final CTA */

.bbc-home-cta {
	padding-block: clamp(4rem, 8vw, 6rem);
	text-align: center;
}

.bbc-home-cta h2 {
	margin: 0 0 1rem;
}

.bbc-home-cta p {
	max-width: 36ch;
	margin: 0 auto 1.5rem;
}

/* ---------- Scroll-driven motion (homepage) ----------
 *
 * Uses CSS animation-timeline. Wrapped in @supports so older browsers fall
 * back to a perfectly fine static page, and gated by prefers-reduced-motion
 * so users who've opted out get no motion. Mobile-friendly (no fixed
 * positioning, no jank from JS scroll listeners).
 *
 * Sticky portrait on the about teaser uses position:sticky which has near-
 * universal support and degrades gracefully on its own.
 */

@media (prefers-reduced-motion: no-preference) {

	/* ---- Hero text page-load stagger ----
	 * The hero is in viewport on load (animation-timeline can't help here),
	 * so use a plain CSS animation with staggered delays for an editorial
	 * fade-in. Eyebrow, title, lede, actions arrive one after another. */

	.bbc-home-hero__eyebrow,
	.bbc-home-hero__title,
	.bbc-home-hero__lede,
	.bbc-home-hero__actions {
		animation: bbc-hero-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
	.bbc-home-hero__eyebrow { animation-delay: 0.15s; }
	.bbc-home-hero__title   { animation-delay: 0.30s; }
	.bbc-home-hero__lede    { animation-delay: 0.55s; }
	.bbc-home-hero__actions { animation-delay: 0.80s; }

	@keyframes bbc-hero-rise {
		from { opacity: 0; transform: translateY(28px); filter: blur(2px); }
		to   { opacity: 1; transform: translateY(0); filter: blur(0); }
	}

	/* ---- About teaser sticky portrait ----
	 * Modern equivalent of "fixed-attachment" without iOS bugs / perf cost. */
	@media (min-width: 720px) {
		.bbc-home-about__portrait {
			position: sticky;
			top: 12vh;
			align-self: start;
		}
	}

	@supports (animation-timeline: view()) {

		/* ---- Section reveals on scroll ----
		 * Headers, single-block sections, and the about teaser copy all rise
		 * + fade as they enter view. */

		.bbc-home-services__intro,
		.bbc-home-featured__header,
		.bbc-home-about__copy,
		.bbc-home-cta > * {
			animation: bbc-reveal-strong linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 50%;
		}

		/* ---- Pillars showcase ----
		 * Each pillar's copy rises + fades, and its media has a slow scroll-
		 * driven scale + parallax-like translate that gives each section a
		 * cinematic "moment" as you scroll past. */

		.bbc-pillar__copy {
			animation: bbc-reveal-strong linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}

		.bbc-pillar__media img {
			animation: bbc-pillar-image linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
			transform-origin: center;
		}

		@keyframes bbc-pillar-image {
			from { transform: scale(1.06) translateY(2%); }
			to   { transform: scale(1.0)  translateY(-2%); }
		}

		/* ---- Recent work ---- each magazine tile reveals as it enters view. */
		.bbc-feature {
			animation: bbc-reveal-strong linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}

		.bbc-feature__media img {
			animation: bbc-image-settle linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 80%;
		}

		/* Generic — used by the showcase + bridal pages too. */
		.bbc-portfolio-grid__media img {
			animation: bbc-image-settle linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}

		.bbc-home-about__portrait img {
			animation: bbc-image-settle linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}

		@keyframes bbc-reveal-strong {
			from { opacity: 0; transform: translateY(28px); }
			to   { opacity: 1; transform: translateY(0); }
		}

		@keyframes bbc-image-settle {
			from { opacity: 0.55; transform: scale(0.96); }
			to   { opacity: 1; transform: scale(1); }
		}
	}
}

/* ---------- Legacy hero classes (kept for fallback) ---------- */

.bbc-hero {
	padding-block: clamp(4rem, 12vw, 9rem);
}

.bbc-hero__inner {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
}

.bbc-hero__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 7vw, 5rem);
	line-height: 1.05;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--ink);
	font-weight: 300;
	letter-spacing: -0.005em;
}

.bbc-hero__tagline {
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	max-width: 36ch;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.5;
	margin: 0;
}

/* ---------- Page / single ---------- */

.bbc-page,
.bbc-single {
	padding-block: clamp(3rem, 8vw, 6rem);
}

.bbc-page__header,
.bbc-single__header {
	margin-bottom: 2rem;
}

.bbc-single__media {
	margin: 0 0 2rem;
}

/* ---------- Archive grid ---------- */

.bbc-archive__header {
	padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.bbc-archive__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.bbc-archive__item a {
	color: inherit;
	text-decoration: none;
	display: block;
}

.bbc-archive__media {
	margin: 0 0 0.75rem;
	overflow: hidden;
	aspect-ratio: 2 / 3;
}

.bbc-archive__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
}

.bbc-archive__item a:hover .bbc-archive__media img {
	transform: scale(1.04);
}

.bbc-archive__title {
	font-size: 1.125rem;
	margin: 0;
}

/* ---------- Portfolio archive ---------- */

.bbc-portfolio-archive__header {
	padding-block: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.bbc-portfolio-archive__header h1 {
	margin: 0;
}

/* Optional intro paragraph below the H1 — Customizer-set on the main
 * archive, term description on category archives. Renders nothing when
 * empty so there's no orphan padding. */
.bbc-portfolio-archive__intro {
	margin: 1.25rem 0 0;
	max-width: 56ch;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
}

.bbc-portfolio-archive__intro p {
	margin: 0 0 0.75rem;
}

.bbc-portfolio-archive__intro p:last-child {
	margin-bottom: 0;
}

/* ---------- Showcase "All" view — sectioned by category ----------
 *
 * The /showcase/ landing groups entries by category instead of showing
 * one flat grid. Each section has a header (category name + "See all"
 * link) and up to 6 entries. Visual rhythm is editorial — generous
 * padding between sections, hairline divider on every section after
 * the first, link-styled section title that resolves on hover.
 */

.bbc-showcase-section {
	padding-block: clamp(3rem, 6vw, 5rem) 0;
}

.bbc-showcase-section + .bbc-showcase-section {
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-showcase-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.bbc-showcase-section__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

.bbc-showcase-section__title a {
	color: inherit;
	text-decoration: none;
	transition: color 200ms ease;
}

.bbc-showcase-section__title a:hover,
.bbc-showcase-section__title a:focus-visible {
	color: var(--wp--preset--color--charcoal);
}

.bbc-showcase-section__more {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
	transition: border-color 200ms ease, color 200ms ease;
}

.bbc-showcase-section__more:hover,
.bbc-showcase-section__more:focus-visible {
	color: var(--wp--preset--color--ink);
	border-bottom-color: var(--wp--preset--color--ink);
}

.bbc-portfolio-filter {
	padding-block: 0 2rem;
}

.bbc-portfolio-filter__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	border-bottom: 1px solid var(--wp--preset--color--sand);
	padding-bottom: 1rem;
}

.bbc-portfolio-filter__link {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease;
}

.bbc-portfolio-filter__link:hover,
.bbc-portfolio-filter__link.is-current {
	border-bottom-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

/* Portfolio grid — uniform 3-column / 4-5 portrait grid so rows align and
 * captions sit on a single baseline. Used by the Showcase archive (both the
 * All view and per-category views), service-page "Recent" sections, and any
 * future portfolio listings. */

.bbc-portfolio-grid {
	list-style: none;
	margin: 0;
	padding: 0 0 clamp(3rem, 6vw, 5rem);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 1000px) {
	.bbc-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
	.bbc-portfolio-grid { grid-template-columns: 1fr; }
}

.bbc-portfolio-grid__item {
	display: block;
	overflow: hidden;
}

.bbc-portfolio-grid__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bbc-portfolio-grid__media {
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
	aspect-ratio: 4 / 5;
}

.bbc-portfolio-grid__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bbc-portfolio-grid__link:hover .bbc-portfolio-grid__media img,
.bbc-portfolio-grid__link:focus-visible .bbc-portfolio-grid__media img {
	transform: scale(1.04);
}

.bbc-portfolio-grid__caption {
	padding-top: 0.75rem;
}

.bbc-portfolio-grid__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 400;
}

.bbc-portfolio-grid__meta {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--taupe);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------- Single portfolio entry ---------- */

.bbc-portfolio__hero {
	margin: 0;
	max-height: 90vh;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
}

.bbc-portfolio__hero img {
	width: 100%;
	height: 100%;
	max-height: 90vh;
	object-fit: cover;
	/* Focal point + zoom set per-entry via the "Hero image position" meta
	 * box (inc/hero-focal.php) — defaults to center 20% (showcase photos
	 * tend to compose subjects high in the frame). */
	object-position: var(--bbc-hero-focal-x, 50%) var(--bbc-hero-focal-y, 20%);
	transform: scale(var(--bbc-hero-zoom, 1));
	transform-origin: center;
}

.bbc-portfolio__header {
	padding-block: clamp(2.5rem, 5vw, 4rem) 1rem;
}

.bbc-portfolio__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-portfolio__title {
	margin: 0;
}

/* Container fills bbc-container (1280px) so galleries and image blocks
 * breathe at the full editorial width. Reading copy is constrained to a
 * comfortable 64ch column below — text narrow, photos wide, the standard
 * portfolio-site rhythm. Section padding tightened to give photos room. */
.bbc-portfolio__content {
	padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
}

.bbc-portfolio__content > p,
.bbc-portfolio__content > h2,
.bbc-portfolio__content > h3,
.bbc-portfolio__content > h4,
.bbc-portfolio__content > ul,
.bbc-portfolio__content > ol,
.bbc-portfolio__content > blockquote {
	max-width: 64ch;
}

.bbc-portfolio__content > p {
	line-height: 1.7;
	font-size: 1.0625rem;
}

/* Generous spacing between blocks so photo grids don't feel cramped. */
.bbc-portfolio__content > * + * {
	margin-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

/* Galleries, image, embed, and video blocks stretch to the full
 * container width — they're visual content, not reading copy. */
.bbc-portfolio__content .wp-block-gallery,
.bbc-portfolio__content .wp-block-image,
.bbc-portfolio__content .wp-block-embed,
.bbc-portfolio__content .wp-block-video {
	max-width: 100%;
}

/* Video and YouTube/Vimeo embeds — keep a small editorial breath above
 * and below so they sit cleanly between photo sections. */
.bbc-portfolio__content .wp-block-embed iframe,
.bbc-portfolio__content .wp-block-video video {
	width: 100%;
	display: block;
}

.bbc-portfolio__credits {
	padding-block: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--wp--preset--color--sand);
	max-width: 640px;
}

.bbc-credits {
	margin: 0;
	display: grid;
	gap: 0.5rem 2rem;
}

.bbc-credits__row {
	display: grid;
	grid-template-columns: 12rem 1fr;
	gap: 1rem;
	padding-block: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--cream);
	margin: 0;
}

.bbc-credits__row dt {
	margin: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-credits__row dd {
	margin: 0;
	font-size: 0.9375rem;
}

.bbc-portfolio__cta {
	padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
	text-align: center;
}

/* ---------- Buttons ---------- */

.bbc-button {
	display: inline-block;
	padding: 0.875rem 1.75rem;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	text-decoration: none;
	font-size: 0.9375rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--ink);
	transition: background 200ms ease, color 200ms ease;
}

.bbc-button:hover,
.bbc-button:focus-visible {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--ink);
}

.bbc-button--ghost {
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.bbc-button--ghost:hover,
.bbc-button--ghost:focus-visible {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
}

/* ---------- Bridal page ----------
 *
 * Magazine-opener layout: featured image full-bleed at top, hero text in
 * normal flow below with editorial spacing. When there's no featured image,
 * the text-only hero falls back to its prior centred layout.
 */

.bbc-bridal-hero__media {
	margin: 0;
	height: clamp(40vh, 60vh, 70vh);
	overflow: hidden;
	background: var(--wp--preset--color--cream);
}

@media (max-width: 800px) {
	.bbc-bridal-hero__media {
		height: 50vh;
	}
}

.bbc-bridal-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Focal point + zoom set per-page via the "Hero image position" meta
	 * box (inc/hero-focal.php) — defaults to center 30% (rule-of-thirds
	 * anchor keeps faces in frame on portrait photos). */
	object-position: var(--bbc-hero-focal-x, 50%) var(--bbc-hero-focal-y, 30%);
	transform: scale(var(--bbc-hero-zoom, 1));
	transform-origin: center;
	display: block;
}

.bbc-bridal-hero {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}

/* Tighter top padding when an image precedes — text feels connected to the
 * image rather than starting fresh after dead space. */
.bbc-bridal-hero--has-media {
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
}

.bbc-bridal-hero__inner {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
	max-width: 760px;
}

.bbc-bridal-hero__title {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
	font-weight: 300;
}

.bbc-bridal-hero__lede {
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.55;
	max-width: 42ch;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 2rem;
}

/* When a hero image is present, animate it on scroll the same way the home
 * pillar images animate — gentle scale + drift for a cinematic feel. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: scroll(root)) {
		.bbc-bridal-hero__media img {
			animation: bbc-bridal-hero-scale linear both;
			animation-timeline: scroll(root);
			animation-range: 0 80vh;
			transform-origin: center;
		}
		/* First view = least cropped: start at the page's chosen zoom, build
		 * a gentle further zoom-in as the visitor scrolls. Multiplies on top
		 * of --bbc-hero-zoom so the scroll effect and the manual zoom slider
		 * compose instead of one overriding the other. Magnitude trimmed
		 * 1.06 → 1.04 — same depth sensation, less edge sacrifice. */
		@keyframes bbc-bridal-hero-scale {
			from { transform: scale(var(--bbc-hero-zoom, 1)); }
			to   { transform: scale(calc(var(--bbc-hero-zoom, 1) * 1.04)); }
		}
	}
}

.bbc-bridal-content {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.bbc-bridal-content__inner {
	max-width: 640px;
	margin-inline: auto;
}

.bbc-bridal-content__inner p {
	line-height: 1.7;
}

.bbc-bridal-process {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-process__title {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Two-class form bumps specificity over core/columns flex layout. */
.bbc-bridal-process__list,
.wp-block-columns.bbc-bridal-process__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4vw, 3rem);
	counter-reset: bbc-step;
}

@media (max-width: 720px) {
	.bbc-bridal-process__list,
	.wp-block-columns.bbc-bridal-process__list {
		grid-template-columns: 1fr;
	}
}

/* Step item — supports both legacy <ol><li> and the block-pattern
 * core/columns markup. The CSS counter targets either child element. */
.bbc-bridal-process__list > li,
.bbc-bridal-process__list > .wp-block-column {
	counter-increment: bbc-step;
	position: relative;
	padding: 2.5rem 0 0;
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-process__list > li::before,
.bbc-bridal-process__list > .wp-block-column::before {
	content: counter(bbc-step, decimal-leading-zero);
	position: absolute;
	top: -0.875rem;
	left: 0;
	background: var(--wp--preset--color--ivory);
	padding-right: 0.625rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--wp--preset--color--ink);
	line-height: 1;
}

.bbc-bridal-process__list h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 300;
	letter-spacing: -0.005em;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--ink);
}

.bbc-bridal-process__list p {
	margin: 0;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.bbc-bridal-process__list > li,
		.bbc-bridal-process__list > .wp-block-column {
			animation: bbc-reveal-strong linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
	}
}

.bbc-bridal-work {
	padding-block: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-work__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.bbc-bridal-work__header h2 {
	margin: 0;
}

.bbc-bridal-work__more {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
}

.bbc-bridal-work__more:hover,
.bbc-bridal-work__more:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

.bbc-bridal-work__categories {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}

.bbc-bridal-work__categories-label {
	color: var(--wp--preset--color--taupe);
}

.bbc-bridal-work__categories a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 2px;
}

.bbc-bridal-work__categories a:hover,
.bbc-bridal-work__categories a:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

/* ---------- Editorial — areas of work list ---------- */

.bbc-editorial-types {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-editorial-types__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-editorial-types__header h2 {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.bbc-editorial-types__list {
	margin: 0;
	max-width: 64rem;
}

.bbc-editorial-types__row,
.wp-block-group.bbc-editorial-types__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-editorial-types__row:last-child,
.wp-block-group.bbc-editorial-types__row:last-child {
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

@media (min-width: 720px) {
	.bbc-editorial-types__row,
	.wp-block-group.bbc-editorial-types__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 2rem;
	}
}

/* Row label — supports legacy <dl><dt> and block-pattern paragraphs */
.bbc-editorial-types__row dt,
.bbc-editorial-types__row > p:first-child {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

/* Row description — supports legacy <dd> and block-pattern paragraphs */
.bbc-editorial-types__row dd,
.bbc-editorial-types__row > p:last-child {
	margin: 0;
	max-width: 56ch;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

/* ---------- Bridal pricing — editorial menu ---------- */

.bbc-bridal-pricing {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-pricing__header {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.bbc-bridal-pricing__header h2 {
	margin: 0 0 1rem;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* No custom max-width — let theme.json's contentSize centre the lede
 * at the same width as the heading above so they line up as a single
 * centred block. */
.bbc-bridal-pricing__lede {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
}

/* Two-class form (.wp-block-columns.bbc-...) bumps specificity above
 * core's own .wp-block-columns.is-layout-flex so the grid override sticks
 * when the block pattern wraps the packages in a core/columns block. */
.bbc-bridal-pricing__packages,
.wp-block-columns.bbc-bridal-pricing__packages {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 720px) {
	.bbc-bridal-pricing__packages,
	.wp-block-columns.bbc-bridal-pricing__packages {
		grid-template-columns: 1fr 1fr;
	}
}

.bbc-bridal-pricing__package {
	border-top: 1px solid var(--wp--preset--color--ink);
	padding-top: 1.5rem;
}

.bbc-bridal-pricing__package-header,
.wp-block-group.bbc-bridal-pricing__package-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 0.875rem;
}

.bbc-bridal-pricing__package-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

.bbc-bridal-pricing__package-price {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	color: var(--wp--preset--color--ink);
	white-space: nowrap;
}

.bbc-bridal-pricing__package-note {
	margin: 0;
	max-width: 38ch;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

.bbc-bridal-pricing__includes {
	background: var(--wp--preset--color--cream);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.bbc-bridal-pricing__includes-label {
	margin: 0 0 0.875rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-bridal-pricing__includes ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.bbc-bridal-pricing__includes li {
	position: relative;
	padding-left: 1.25rem;
	line-height: 1.55;
	color: var(--wp--preset--color--charcoal);
}

.bbc-bridal-pricing__includes li::before {
	content: "—";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--taupe);
}

/* Two-class form bumps specificity over core/columns flex layout. */
.bbc-bridal-pricing__columns,
.wp-block-columns.bbc-bridal-pricing__columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 720px) {
	.bbc-bridal-pricing__columns,
	.wp-block-columns.bbc-bridal-pricing__columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1000px) {
	.bbc-bridal-pricing__columns--three,
	.wp-block-columns.bbc-bridal-pricing__columns--three {
		grid-template-columns: repeat(3, 1fr);
	}
}

.bbc-glam-who {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-glam-who__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-glam-who__header h2 {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Two-class form picks up wp-block-list applied by the core list block. */
.bbc-glam-who__list,
ul.bbc-glam-who__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
	max-width: 60ch;
}

@media (min-width: 720px) {
	.bbc-glam-who__list,
	ul.bbc-glam-who__list {
		grid-template-columns: 1fr 1fr;
		column-gap: 3rem;
	}
}

.bbc-glam-who__list li {
	position: relative;
	padding-left: 1.5rem;
	line-height: 1.55;
	color: var(--wp--preset--color--charcoal);
}

.bbc-glam-who__list li::before {
	content: "—";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--taupe);
}

.bbc-bridal-pricing__list-title {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
}

.bbc-bridal-pricing__list dl {
	margin: 0;
}

.bbc-bridal-pricing__row,
.wp-block-group.bbc-bridal-pricing__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 0;
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-pricing__row:last-child,
.wp-block-group.bbc-bridal-pricing__row:last-child {
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

/* Row label — supports both legacy <dl><dt> and block-pattern paragraphs */
.bbc-bridal-pricing__row dt,
.bbc-bridal-pricing__row > p:first-child {
	margin: 0;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.4;
}

/* Row price — supports both legacy <dd> and block-pattern paragraphs */
.bbc-bridal-pricing__row dd,
.bbc-bridal-pricing__row > p:last-child {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	color: var(--wp--preset--color--ink);
	white-space: nowrap;
}

.bbc-bridal-pricing__notes {
	max-width: 60rem;
	border-top: 1px solid var(--wp--preset--color--sand);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	display: grid;
	gap: 0.875rem;
}

.bbc-bridal-pricing__notes p {
	margin: 0;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

.bbc-bridal-pricing__notes strong {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.bbc-bridal-pricing__fineprint {
	font-size: 0.875rem;
	color: var(--wp--preset--color--taupe);
}

/* No broad left-align override — theme.json's constrained-layout
 * auto-centering is left in place. Sections that want their heading
 * and content to share an alignment should ensure both elements use
 * the same max-width constraint (or both use the theme contentSize
 * default), so they centre at the same horizontal box. */

/* ---------- Bridal — what my brides say ----------
 *
 * Editorial pull-quote layout: italic Cormorant for the quote text,
 * small uppercase taupe attribution underneath, hairline divider above
 * each testimonial so they read as separate beats. Constrained to
 * 56rem reading width so the quotes don't span the full container. */

.bbc-bridal-testimonials {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-testimonials__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-bridal-testimonials__header h2 {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* 3-column grid at desktop, single-column stack on mobile. The list
 * spans the full container so quotes have room to breathe without
 * each one becoming a long horizontal block. */
.bbc-bridal-testimonials__list,
.wp-block-group.bbc-bridal-testimonials__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	max-width: none;
}

@media (max-width: 800px) {
	.bbc-bridal-testimonials__list,
	.wp-block-group.bbc-bridal-testimonials__list {
		grid-template-columns: 1fr;
	}
}

/* Each quote fills its column. Smaller text since columns are
 * narrower than a full-width pull-quote would be. */
.bbc-bridal-testimonials__item,
.wp-block-quote.bbc-bridal-testimonials__item {
	margin: 0 !important;
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
	border-left: 0;
	border-top: 1px solid var(--wp--preset--color--sand);
	max-width: none !important;
}

/* Quote text — italic display serif. Targets ONLY paragraphs that
 * aren't the source line, so the stars + "Google review" header
 * stays upright body type. Sized smaller than a full-width pull-quote
 * since the 3-column grid gives each quote a narrower column. */
.bbc-bridal-testimonials__item p:not(.bbc-bridal-testimonials__source) {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.5;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

/* Source line above each quote — five-star rating + "Google review"
 * tag in small upright body type. Visually quieter than the quote so
 * it reads as metadata rather than competing with the testimonial. */
.bbc-bridal-testimonials__source {
	display: flex !important;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 1rem !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-style: normal !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal;
}

.bbc-bridal-testimonials__stars {
	color: #d4a017;
	letter-spacing: 0.08em;
	font-size: 0.875rem;
}

.bbc-bridal-testimonials__via {
	color: var(--wp--preset--color--taupe);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.6875rem;
}

.bbc-bridal-testimonials__item cite {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-bridal-faq {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-faq__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-bridal-faq__header h2 {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.bbc-bridal-faq__list {
	max-width: 56rem;
}

.bbc-bridal-faq__item {
	border-top: 1px solid var(--wp--preset--color--sand);
	padding-block: 1.5rem;
}

.bbc-bridal-faq__item:last-child {
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

.bbc-bridal-faq__item > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	color: var(--wp--preset--color--ink);
	line-height: 1.3;
}

.bbc-bridal-faq__item > summary::-webkit-details-marker {
	display: none;
}

.bbc-bridal-faq__item > summary::after {
	content: "+";
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.25rem;
	font-weight: 300;
	color: var(--wp--preset--color--taupe);
	transition: transform 200ms ease, color 200ms ease;
}

.bbc-bridal-faq__item[open] > summary::after {
	content: "−";
	color: var(--wp--preset--color--ink);
}

.bbc-bridal-faq__item > summary:hover,
.bbc-bridal-faq__item > summary:focus-visible {
	color: var(--wp--preset--color--ink);
}

.bbc-bridal-faq__item p {
	margin: 1rem 0 0;
	max-width: 60ch;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
}

.bbc-bridal-cta {
	background: var(--wp--preset--color--cream);
	padding-block: clamp(4rem, 9vw, 7rem);
	margin-top: clamp(3rem, 6vw, 5rem);
	text-align: center;
}

.bbc-bridal-cta h2 {
	margin: 0 0 1rem;
	font-style: italic;
	font-weight: 300;
	font-size: clamp(2rem, 4.5vw, 3rem);
}

.bbc-bridal-cta p {
	margin: 0 auto 1.75rem;
	max-width: 42ch;
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* ---------- Book page + form ---------- */

.bbc-book {
	padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem);
}

.bbc-book__inner {
	max-width: 720px;
	margin-inline: auto;
}

.bbc-book__header {
	margin-bottom: 3rem;
}

.bbc-book__title {
	margin: 0 0 1rem;
}

.bbc-book__intro p {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 1rem;
}

.bbc-book__success {
	padding: clamp(2rem, 4vw, 3rem);
	background: var(--wp--preset--color--cream);
	border-left: 2px solid var(--wp--preset--color--ink);
}

.bbc-book__success h2 {
	margin: 0 0 1rem;
	font-size: 1.5rem;
}

.bbc-book__success p {
	margin: 0 0 1rem;
}

.bbc-book__flash {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	background: var(--wp--preset--color--cream);
	border-left: 2px solid var(--wp--preset--color--ink);
	font-size: 0.9375rem;
}

.bbc-book__next {
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-book__next-title {
	margin: 0 0 1.5rem;
	font-size: 0.75rem;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-book__next-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.25rem;
	counter-reset: bbc-next;
}

.bbc-book__next-list > li {
	counter-increment: bbc-next;
	position: relative;
	padding-left: 2.5rem;
	max-width: 60ch;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

.bbc-book__next-list > li::before {
	content: counter(bbc-next, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.05em;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 400;
	font-size: 1rem;
	color: var(--wp--preset--color--taupe);
	line-height: 1.6;
}

.bbc-form {
	display: grid;
	gap: 1.5rem;
}

.bbc-form__honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bbc-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

@media (max-width: 640px) {
	.bbc-form__row {
		grid-template-columns: 1fr;
	}
}

.bbc-form__field {
	display: grid;
	gap: 0.5rem;
}

.bbc-form__label {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}

.bbc-form input[type="text"],
.bbc-form input[type="email"],
.bbc-form input[type="tel"],
.bbc-form input[type="date"],
.bbc-form input[type="number"],
.bbc-form select,
.bbc-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.875rem 1rem;
	background: transparent;
	border: 1px solid var(--wp--preset--color--taupe);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 200ms ease;
}

/* Force consistent computed height across single-line input types — Safari
 * and some Chrome variants render `input[type="email"]` slightly taller
 * than `input[type="text"]` because of autofill / IDN UI hints, which
 * stretches the grid row and breaks side-by-side alignment. */
.bbc-form input[type="text"],
.bbc-form input[type="email"],
.bbc-form input[type="tel"],
.bbc-form input[type="date"],
.bbc-form input[type="number"] {
	height: 3.25rem; /* 52px — matches padding + line-height with border-box */
}

.bbc-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--charcoal) 50%),
		linear-gradient(135deg, var(--wp--preset--color--charcoal) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}

.bbc-form textarea {
	resize: vertical;
}

.bbc-form input:focus,
.bbc-form select:focus,
.bbc-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--ink);
	box-shadow: 0 0 0 1px var(--wp--preset--color--ink);
}

.bbc-form [aria-invalid="true"] {
	border-color: #8b1a1a;
}

.bbc-form__error {
	color: #8b1a1a;
	font-size: 0.8125rem;
}

/* Category radios — pill-style. The actual <input> is visually hidden;
 * the <span> sibling is the visible button. Keyboard focus on the input
 * surfaces a focus ring on the pill. */
.bbc-form__category {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	display: grid;
	gap: 0.875rem;
}

.bbc-form__category > .bbc-form__label {
	display: block;
}

.bbc-form__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.bbc-form__pill {
	cursor: pointer;
	user-select: none;
}

.bbc-form__pill input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.bbc-form__pill > span {
	display: inline-block;
	padding: 0.625rem 1.25rem;
	border: 1px solid var(--wp--preset--color--taupe);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--charcoal);
	background: transparent;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.bbc-form__pill:hover > span {
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

.bbc-form__pill input:checked + span {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	border-color: var(--wp--preset--color--ink);
}

.bbc-form__pill input:focus-visible + span {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* Conditional service field group — only renders when [hidden] is removed
 * by the JS. Visually mirrors a labeled section with a quiet top rule. */
.bbc-form__group {
	border: 0;
	margin: 0;
	padding: 1.5rem 0 0;
	min-width: 0;
	border-top: 1px solid var(--wp--preset--color--sand);
	display: grid;
	gap: 1.5rem;
}

.bbc-form__group[hidden] {
	display: none;
}

.bbc-form__group-title {
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
	padding: 0;
	margin: 0;
}

.bbc-form__meta {
	margin: 0;
	color: var(--wp--preset--color--taupe);
}

.bbc-form button[type="submit"] {
	justify-self: start;
	font: inherit;
	cursor: pointer;
}

/* ---------- About page ---------- */

.bbc-about {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.bbc-about__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-about__title {
	margin: 0;
}

/* Two-class form bumps specificity over core/columns flex layout when this
 * class lands on a wp-block-columns element (the about-bio block pattern). */
.bbc-about__body,
.wp-block-columns.bbc-about__body {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.bbc-about__portrait {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
}

.bbc-about__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbc-about__bio p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal);
	margin: 0 0 1.25rem;
}

.bbc-about__cta {
	margin-top: 2rem;
}

/* Mobile — collapse the 2-column grid to a single stacked column.
 * Two-class form mirrors the desktop rule so this wins specificity
 * when bbc-about__body is on a wp-block-columns element. */
@media (max-width: 720px) {
	.bbc-about__body,
	.wp-block-columns.bbc-about__body {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 5vw, 2rem);
	}
	.bbc-about__portrait {
		aspect-ratio: 4 / 5;
		max-width: 360px;
		margin-inline: auto;
	}
	.bbc-about__bio p {
		font-size: 1rem;
		line-height: 1.65;
	}
}

/* ---------- About — approach / philosophy block ---------- */

/* ---------- About — behind-the-scenes gallery ---------- */

.bbc-about-gallery {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
	margin-top: clamp(3rem, 6vw, 5rem);
}

.bbc-about-gallery__header {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.bbc-about-gallery__header h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

/* About-page gallery — Gutenberg's default gallery handles auto-sizing
 * (photos fill their columns at whatever column count the gallery block
 * is set to). All we add is a width constraint so the gallery stays in
 * the same 1280px content frame as the bio columns above and gets the
 * matching bbc-container padding. */
.bbc-about .wp-block-gallery,
.bbc-about figure.wp-block-gallery {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 3rem);
	box-sizing: border-box;
}

.bbc-about-approach {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
	margin-top: clamp(3rem, 6vw, 5rem);
}

.bbc-about-approach__label {
	margin: 0 0 1.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-about-approach__quote {
	margin: 0;
	max-width: 36ch;
	border: 0;
	padding: 0;
}

.bbc-about-approach__quote p {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	line-height: 1.25;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

/* ---------- About — featured & recognition strip ---------- */

.bbc-about-press {
	padding-block: clamp(4rem, 8vw, 6rem);
	border-top: 1px solid var(--wp--preset--color--sand);
}

.bbc-about-press__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bbc-about-press__header h2 {
	margin: 0;
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.bbc-about-press__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 600px) {
	.bbc-about-press__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.bbc-about-press__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.bbc-about-press__item {
	margin: 0;
}

.bbc-about-press__item > a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bbc-about-press__media {
	margin: 0 0 1rem;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--wp--preset--color--cream);
}

.bbc-about-press__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 600ms ease;
}

.bbc-about-press__item > a:hover .bbc-about-press__media img,
.bbc-about-press__item > a:focus-visible .bbc-about-press__media img {
	transform: scale(1.04);
}

.bbc-about-press__caption {
	display: grid;
	gap: 0.375rem;
}

.bbc-about-press__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.bbc-about-press__excerpt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--wp--preset--color--taupe);
}

/* ---------- Contact page ---------- */

.bbc-contact {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.bbc-contact__inner {
	max-width: 1080px;
	margin-inline: auto;
}

.bbc-contact__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
	max-width: 640px;
}

.bbc-contact__title {
	margin: 0 0 1rem;
}

.bbc-contact__intro p {
	font-size: 1.0625rem;
	line-height: 1.6;
	margin: 0;
	color: var(--wp--preset--color--charcoal);
}

.bbc-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.bbc-contact__aside-title {
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--ink);
	font-weight: 400;
}

.bbc-contact__details {
	margin: 0;
	display: grid;
	gap: 1.5rem;
}

.bbc-contact__details > div {
	margin: 0;
}

.bbc-contact__details dt {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-contact__details dd {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.bbc-contact__details a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--taupe);
	padding-bottom: 1px;
}

.bbc-contact__details a:hover,
.bbc-contact__details a:focus-visible {
	border-bottom-color: var(--wp--preset--color--ink);
}

@media (max-width: 720px) {
	.bbc-contact__layout {
		grid-template-columns: 1fr;
	}
}

/* ---------- 404 ---------- */

.bbc-404 {
	padding-block: clamp(4rem, 10vw, 8rem);
}

.bbc-404__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
}

.bbc-404--has-media .bbc-404__inner {
	max-width: 1100px;
}

@media (min-width: 860px) {
	.bbc-404--has-media .bbc-404__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

.bbc-404__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-width: 460px;
	width: 100%;
	justify-self: center;
}

.bbc-404__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.94);
}

.bbc-404__copy {
	max-width: 44ch;
}

.bbc-404:not(.bbc-404--has-media) .bbc-404__copy {
	margin-inline: auto;
	text-align: center;
}

.bbc-404__eyebrow {
	margin: 0 0 1.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-404__title {
	margin: 0 0 1.25rem;
	font-weight: 300;
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.bbc-404__lede {
	margin: 0 0 2rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--wp--preset--color--charcoal);
}

.bbc-404:not(.bbc-404--has-media) .bbc-404__lede {
	margin-inline: auto;
	max-width: 48ch;
}

.bbc-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
}

.bbc-404:not(.bbc-404--has-media) .bbc-404__actions {
	justify-content: center;
}

/* ---------- Navigation indicator — spinning monogram ----------
 *
 * Small fixed-position circle bottom-right. Hidden by default; appears
 * when <body> has .is-navigating (set by main.js after a 250ms delay so
 * fast navigations don't flash). Logo SVG inside spins gently. Honors
 * prefers-reduced-motion: visible but motionless.
 */

.bbc-loading {
	position: fixed;
	bottom: clamp(1rem, 3vw, 1.5rem);
	right: clamp(1rem, 3vw, 1.5rem);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.45);
	border: 1px solid var(--wp--preset--color--sand);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.85);
	transition:
		opacity 240ms ease,
		visibility 240ms,
		transform 320ms cubic-bezier(0.2, 0.8, 0.3, 1);
	z-index: 60;
}

.bbc-loading .bbc-logo {
	display: block;
	animation: bbc-monogram-spin 2.4s linear infinite;
}

.is-navigating .bbc-loading {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

@keyframes bbc-monogram-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.bbc-loading {
		transition: opacity 0ms, visibility 0ms, transform 0ms;
	}
	.bbc-loading .bbc-logo {
		animation: none;
	}
}

/* ---------- Brand monogram (CSS-masked PNG) ----------
 *
 * .bbc-logo renders the BC monogram from assets/img/logo.png as a CSS
 * mask, with the silhouette filled in `currentColor`. Drop into any
 * palette context — header, footer, About, loading indicator — and it
 * picks up the parent's text colour automatically. The PNG's transparent
 * background is preserved (the mask only honours its alpha channel).
 *
 * Size + URL are passed inline by the bbc_logo() helper.
 */

.bbc-logo {
	display: inline-block;
	background-color: currentColor;
	-webkit-mask: var(--bbc-logo-url) center / contain no-repeat;
	mask: var(--bbc-logo-url) center / contain no-repeat;
}

/* ---------- Scroll-to-top button ----------
 *
 * Hidden by default. Appears once the user has scrolled past ~400px
 * (toggled by .is-scrolled on <body>, set by main.js). On mobile it sits
 * above the centered enquire pill in a vertical stack; on desktop, where
 * the pill is hidden, it lives in the bottom-right corner. Hidden during
 * page navigation so it doesn't fight the loading indicator (which also
 * sits bottom-right on desktop).
 */

.bbc-scroll-top {
	position: fixed;
	left: 50%;
	bottom: calc(clamp(1rem, 4vw, 1.5rem) + 56px);
	transform: translateX(-50%) scale(0.85);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	font: inherit;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.4);
	transition:
		opacity 240ms ease,
		visibility 240ms,
		transform 320ms cubic-bezier(0.2, 0.8, 0.3, 1),
		background 200ms ease,
		color 200ms ease;
	z-index: 49; /* below the sticky CTA pill (50) so the pill stays primary */
}

.bbc-scroll-top svg {
	display: block;
	width: 14px;
	height: 14px;
}

.bbc-scroll-top:hover,
.bbc-scroll-top:focus-visible {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	outline: none;
}

.is-scrolled .bbc-scroll-top {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) scale(1);
}

/* During navigation, defer to the loading indicator. */
.is-navigating .bbc-scroll-top {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@media (min-width: 800px) {
	/* Desktop — pill is hidden up here, so the scroll-to-top moves to
	 * the bottom-right corner alongside the loading indicator. */
	.bbc-scroll-top {
		left: auto;
		right: clamp(1rem, 3vw, 1.5rem);
		bottom: clamp(1rem, 3vw, 1.5rem);
		transform: scale(0.85);
	}
	.is-scrolled .bbc-scroll-top {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bbc-scroll-top {
		transition: opacity 0ms, visibility 0ms;
	}
}

/* ---------- Mobile sticky enquire pill ----------
 *
 * Hidden on desktop (≥800px) and on /book/ (template doesn't render it).
 * Slides into view after ~200px of scroll — JS in main.js toggles
 * .is-visible. Honors prefers-reduced-motion: snaps in/out instead of
 * sliding when user prefers reduced motion.
 */

.bbc-sticky-cta {
	display: none;
}

@media (max-width: 799px) {
	.bbc-sticky-cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		left: 50%;
		bottom: clamp(1rem, 4vw, 1.5rem);
		transform: translateX(-50%) translateY(120%);
		padding: 0.875rem 1.75rem;
		background: var(--wp--preset--color--ink);
		color: var(--wp--preset--color--ivory);
		border: 1px solid var(--wp--preset--color--ink);
		border-radius: 999px;
		text-decoration: none;
		font-size: 0.8125rem;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		font-weight: 500;
		box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.4);
		opacity: 0;
		visibility: hidden;
		z-index: 50;
		transition:
			transform 320ms cubic-bezier(0.2, 0.8, 0.3, 1),
			opacity 240ms ease,
			visibility 320ms;
	}

	.bbc-sticky-cta.is-visible {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.bbc-sticky-cta:hover,
	.bbc-sticky-cta:focus-visible {
		background: transparent;
		color: var(--wp--preset--color--ink);
		text-decoration: none;
	}

	/* Hide while the mobile nav overlay is open — the overlay's own CTA
	 * is right there and a floating duplicate is noise. */
	.bbc-nav-open .bbc-sticky-cta {
		opacity: 0;
		visibility: hidden;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bbc-sticky-cta {
		transition: opacity 0ms, visibility 0ms;
		transform: translateX(-50%) translateY(0);
	}
}

/* ---------- Footer ----------
 *
 * Centered editorial composition: brand mark + tagline → nav → social → tiny
 * copyright. Each row sits on its own line with consistent vertical rhythm.
 * Brand uses the display family at a real size so the footer reads as the
 * brand's signature, not a utility row.
 */

.bbc-footer {
	padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
	margin-top: clamp(4rem, 8vw, 7rem);
	border-top: 1px solid var(--wp--preset--color--sand);
	background: var(--wp--preset--color--ivory);
}

/* Mobile only — reserve space at the bottom so the sticky enquire pill
 * and the scroll-to-top button don't cover the social icons + copyright
 * when the user reaches the absolute bottom of the page. The two stickies
 * occupy roughly 110px of viewport at the bottom edge; this extra padding
 * lets the footer content scroll comfortably above them. */
@media (max-width: 800px) {
	.bbc-footer {
		padding-bottom: clamp(7rem, 16vw, 9rem);
	}
}

.bbc-footer__inner {
	width: 100%;
	max-width: 1280px;
	padding-inline: clamp(1rem, 4vw, 3rem);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.75rem, 3vw, 2.5rem);
	text-align: center;
}

.bbc-footer__brand-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.bbc-footer__brand {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--wp--preset--color--ink);
}

.bbc-footer__brand a {
	color: inherit;
	text-decoration: none;
}

.bbc-footer__tagline {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

.bbc-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.bbc-footer__list a {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease, color 200ms ease;
}

.bbc-footer__list a:hover,
.bbc-footer__list a:focus-visible {
	color: var(--wp--preset--color--ink);
	border-bottom-color: var(--wp--preset--color--ink);
}

.bbc-footer__social {
	gap: 1.25rem;
}

.bbc-footer__social .bbc-social__link {
	width: 2rem;
	height: 2rem;
	color: var(--wp--preset--color--charcoal);
}

.bbc-footer__social .bbc-social__link svg {
	width: 1rem;
	height: 1rem;
}

.bbc-footer__copyright {
	margin: 0;
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--taupe);
}

/* ---------- Social ----------
 *
 * Editable per-platform via Appearance → Customize → Social Media. Empty
 * platforms are skipped server-side, so the markup never has dead links.
 *
 * Icons inherit currentColor — change link color and the icons follow. The
 * footer block uses .bbc-footer__social, the contact aside uses
 * .bbc-contact__social, both modifiers of .bbc-social.
 */

.bbc-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
}

.bbc-social__item {
	display: flex;
}

.bbc-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--wp--preset--color--charcoal);
	border: 1px solid transparent;
	border-radius: 999px;
	transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.bbc-social__link svg {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
}

.bbc-social__link:hover,
.bbc-social__link:focus-visible {
	color: var(--wp--preset--color--ivory);
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
}

/* On the cinematic image hero footer rows it'd inherit dark, but we render
 * the footer on cream so default tokens work fine. Light-on-dark variant
 * lives below for any future image-overlay placement. */

.bbc-footer__social {
	color: var(--wp--preset--color--charcoal);
}

.bbc-contact__social {
	gap: 0.625rem;
}

.bbc-contact__social .bbc-social__link {
	width: 2rem;
	height: 2rem;
}

.bbc-contact__social .bbc-social__link svg {
	width: 1rem;
	height: 1rem;
}

/* ---------- Focus styles — restrained ≠ invisible ---------- */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
	/* Header stays horizontal on mobile (wordmark + burger).
	 * Footer's centered editorial layout already stacks fine — no override. */
}

/* ====================================================================== */
/* Link in Bio — /links/                                                   */
/* ====================================================================== */

/* Beacons-style leaf page reached from Instagram bio. No site nav, no
   sticky CTA, no footer chrome. Single mobile-first column. */

body.bbc-links-page {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--charcoal);
}

.bbc-links {
	max-width: 28rem; /* ~448px — phone-first, comfortable on tablet */
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 4rem) 1.25rem 4rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.bbc-links__profile {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

/* Brand lockup at the top of the Links page — BC monogram + thin
 * vertical divider + "BEAUTY BY CHOULLY" wordmark in a horizontal row.
 * Plain <img> + spans (no CSS masking) so it always renders. */
.bbc-links__brand {
	margin: 0;
	display: flex;
	justify-content: center;
	color: var(--wp--preset--color--ink);
}

.bbc-links__brand a {
	display: inline-flex;
	align-items: center;
	gap: clamp(0.625rem, 2vw, 1rem);
	color: inherit;
	text-decoration: none;
	transition: opacity 200ms ease;
}

.bbc-links__brand a:hover,
.bbc-links__brand a:focus-visible {
	opacity: 0.78;
}

.bbc-links__brand-logo {
	flex: 0 0 auto;
	display: block;
	width: clamp(40px, 11vw, 56px);
	height: auto;
}

.bbc-links__brand-divider {
	flex: 0 0 1px;
	width: 1px;
	height: clamp(28px, 7vw, 40px);
	background-color: currentColor;
	opacity: 0.4;
}

.bbc-links__brand-text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(0.8125rem, 3vw, 1rem);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
	color: currentColor;
	white-space: nowrap;
}

/* Very narrow phones — drop the divider + wordmark text so the BC
 * monogram alone sits at the top. */
@media (max-width: 360px) {
	.bbc-links__brand-divider,
	.bbc-links__brand-text {
		display: none;
	}
}

.bbc-links__avatar {
	width: clamp(10.5rem, 42vw, 13.5rem);
	height: clamp(10.5rem, 42vw, 13.5rem);
	border-radius: 50%;
	overflow: hidden;
	background: var(--wp--preset--color--cream);
	box-shadow: 0 1px 0 var(--wp--preset--color--sand);
	margin-inline: auto; /* Centred under the brand lockup */
}

/* Supports the legacy direct img class and the new core/image block which
 * wraps in a figure (so the img is a descendant rather than direct child). */
.bbc-links__avatar-img,
.bbc-links__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bbc-links__name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 300;
	font-size: clamp(1.75rem, 5vw, 2.25rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.bbc-links__tagline {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--wp--preset--color--charcoal);
	margin: 0;
	max-width: 22rem;
}

.bbc-links__list,
.wp-block-group.bbc-links__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 22rem;
	margin-inline: auto;
}

/* Force every link tile to full container width — overrides theme.json's
 * `:where(.is-layout-constrained) > * { max-width: ...; margin-inline: auto }`
 * which would otherwise size each pill to its content. Without this the
 * "Book Now" pill is wider than "Bridal" because their text content
 * differs. */
.bbc-links__list > *,
.wp-block-group.bbc-links__list > * {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.bbc-links__item {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--sand);
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	text-align: center;
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
	/* Belt-and-suspenders: even if a parent layout setting from theme.json
	 * overrides the .bbc-links__list > * stretch rule, the pill itself
	 * always renders at full container width. Fixes mobile inconsistencies
	 * where the parent's flex stretch loses to inline-anchor sizing. */
	width: 100%;
	box-sizing: border-box;
}

.bbc-links__item:hover,
.bbc-links__item:focus-visible {
	background: var(--wp--preset--color--ivory);
	border-color: var(--wp--preset--color--taupe);
	transform: translateY(-1px);
}

.bbc-links__label {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.bbc-links__sub {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--wp--preset--color--charcoal);
	font-weight: 400;
}

/* Sublabel-less items: keep padding consistent with two-line tiles so
 * the pill heights match in a stack. */
.bbc-links__item:not(:has(.bbc-links__sub)) {
	padding-block: 0.9rem;
}

.bbc-links__empty {
	text-align: center;
	color: var(--wp--preset--color--taupe);
	font-style: italic;
}

.bbc-links__social {
	justify-content: center;
	margin-top: 1rem;
}

