/*
Theme Name: Bemani Studio
Theme URI: https://bemanistudio.com
Author: BEMANI LLC
Description: Custom block theme for Bemani Studio — photography, film, design and creative production. Design system v1 (dark, black-and-white home, colour galleries).
Template: twentytwentyfive
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.2.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bemani-studio
*/

/* =========================================================
   Design rules v1 — see the "Style guide" board on the canvas.
   Colours, sizes and spacing come from theme.json presets.
   ========================================================= */

:root {
	--b-night: var(--wp--preset--color--night);
	--b-charcoal: var(--wp--preset--color--charcoal);
	--b-graphite: var(--wp--preset--color--graphite);
	--b-line: var(--wp--preset--color--line);
	--b-stone: var(--wp--preset--color--stone);
	--b-ash: var(--wp--preset--color--ash);
	--b-silver: var(--wp--preset--color--silver);
	--b-paper: var(--wp--preset--color--paper);
	--b-snow: var(--wp--preset--color--snow);
	--b-ink: var(--wp--preset--color--ink);
	--b-ink-soft: var(--wp--preset--color--ink-soft);
	--b-display: var(--wp--preset--font-family--display);
	--b-body: var(--wp--preset--font-family--body);
	--b-bar: 56px;
}

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
:where(.wp-block-image) img { display: block; }
a:focus-visible, .wp-block-button__link:focus-visible, button:focus-visible { outline: 2px solid var(--b-paper); outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.b-bw img, img.b-bw { filter: grayscale(1) contrast(1.06); }
.b-small { font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-note { font-size: var(--wp--preset--font-size--small); color: var(--b-stone); margin: 0; }
.b-link a, a.b-link { font-size: 0.875rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.b-wrap { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; }
.b-section { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.b-section--flush-top { padding-top: 0; }
.b-section, .b-steps, .b-header, .b-footer { padding-left: var(--wp--style--root--padding-left); padding-right: var(--wp--style--root--padding-right); }
.b-section h2 { margin: 0 0 2rem; }
.b-sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.b-sechead > * { margin: 0 !important; }

.b-pos-15 img { object-position: center 15% !important; }
.b-pos-20 img { object-position: center 20% !important; }
.b-pos-30 img { object-position: center 30% !important; }
.b-pos-40 img { object-position: center 40% !important; }
.b-posx-30 img { object-position: 30% center !important; }
.b-gallery--story .b-posx-30 img { object-position: 12% center !important; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--b-snow);
	border: 1px solid var(--b-paper); font-weight: 300;
	padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.08); color: var(--b-snow); }
.wp-block-buttons { gap: 1rem; }

/* Light surfaces (Paper / Silver): reversed buttons and ink text */
.b-on-light { color: var(--b-ink); }
.b-on-light a:not(.wp-block-button__link) { color: var(--b-ink); }
.b-on-light .b-small, .b-on-light .b-muted { color: var(--b-ink-soft); }
.b-on-light .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--b-ink); color: var(--b-snow); }
.b-on-light .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #000; }
.b-on-light .wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--b-ink); color: var(--b-ink); }
.b-on-light .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(0, 0, 0, 0.06); }
.b-on-light a:focus-visible { outline-color: var(--b-ink); }

/* ---------- Home cover (hero) ---------- */
.b-hero {
	position: relative; overflow: hidden; height: 880px; margin: 0 !important;
	padding: 0 !important;
	background: linear-gradient(160deg, #302F2D 0%, var(--b-charcoal) 55%, #222120 100%);
}
.b-hero::before, .b-hero::after { content: ""; position: absolute; pointer-events: none; transform-origin: left top; }
.b-hero::before { left: 38%; top: -14%; width: 95%; height: 150px; background: rgba(255, 255, 255, 0.13); transform: rotate(-26deg); filter: blur(44px); }
.b-hero::after { left: -12%; top: 70%; width: 125%; height: 180px; background: rgba(255, 255, 255, 0.075); transform: rotate(-12deg); filter: blur(54px); }
.b-hero > * { margin: 0 !important; }
.b-hero__tag { position: absolute; left: 6.5%; top: 13%; z-index: 3; max-width: 320px; }
.b-hero__tag h1 { margin: 0; line-height: 1.04; }
.b-hero__lead { margin: 1.5rem 0 0 !important; color: var(--b-ash); }
.b-hero__actions { margin-top: 2rem !important; }
.b-hero__actions .b-note { margin-top: 1rem !important; }
.b-hero__actions .wp-block-buttons { margin: 0; }
.b-hero__cue { position: absolute !important; left: 6.5%; bottom: 7%; z-index: 3; }
.b-hero__cue a { display: flex; align-items: center; gap: 1rem; text-decoration: none; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-hero__cue a::before { content: ""; display: block; width: 1px; height: 48px; background: var(--b-stone); }

/* Magazine cover */
.b-cover {
	position: absolute; left: 60.9%; top: 50%; transform: translate(-50%, -50%);
	width: 31%; max-width: 520px; aspect-ratio: 359 / 507; z-index: 2;
	background: linear-gradient(135deg, #DEDCD8 0%, #C4C2BE 60%, #B6B4B0 100%);
	box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.35);
}
.b-cover::before { content: ""; position: absolute; left: 0; top: 0; width: 46.8%; height: 40.4%; background: var(--b-night); z-index: 3; }
.b-cover::after { content: ""; position: absolute; left: 46.8%; top: 0; width: 53.2%; height: 18.7%; background: linear-gradient(135deg, #D2D0CC 0%, #ABA9A5 100%); z-index: 3; }
.b-cover > * { margin: 0 !important; }
.b-cover__photo { position: absolute !important; left: 32.3%; top: 18.7%; width: 67.7%; height: 72%; z-index: 1; background: #FFF; }
.b-cover__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.b-cover__strap {
	position: absolute; left: 32.3%; top: 90.7%; width: 67.7%; height: 9.3%; z-index: 2;
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 0.75rem; box-sizing: border-box;
	font-family: var(--b-display); font-style: italic; font-weight: 300; font-size: clamp(0.875rem, 1.2vw, 1.0625rem); line-height: 1.15; color: var(--b-ink);
}
.b-cover__brand { position: absolute !important; left: 0; top: 5.5%; width: 46.8%; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.b-cover__brand > * { margin: 0 !important; }
.b-cover__brand .wp-block-image { width: 42%; }
.b-cover__brand .wp-block-image img { width: 100%; }
.b-wordmark { font-family: var(--b-display); font-weight: 500; font-size: 1rem; letter-spacing: 0.2em; white-space: nowrap; color: var(--b-snow); }
.b-wordmark a { color: inherit; text-decoration: none; }
.b-cover .b-wordmark { font-family: var(--b-body); font-weight: 600; font-size: clamp(0.6875rem, 1vw, 0.9375rem); letter-spacing: 0.24em; }

/* Big menu on the cover */
.b-hero__nav { position: absolute !important; left: 79.3%; top: 30%; z-index: 10; }
.b-hero__nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.b-hero__nav .wp-block-navigation-item__content { font-family: var(--b-display); font-weight: 300; font-size: 2.5rem; line-height: 1; text-decoration: none; opacity: 0.92; }
.b-hero__nav .wp-block-navigation-item__content:hover { opacity: 1; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* "Book now" item in any navigation */
.wp-block-navigation .b-nav-cta > .wp-block-navigation-item__content {
	font-family: var(--b-body) !important; font-size: 0.9375rem !important; font-weight: 600; line-height: 1.2 !important;
	background: var(--b-paper); color: var(--b-ink) !important; padding: 0.875rem 1.5rem; opacity: 1; text-decoration: none !important;
}
.wp-block-navigation .b-nav-cta > .wp-block-navigation-item__content:hover { background: #FFF; }
.b-hero__nav .b-nav-cta { margin-top: 0.5rem; }

/* Overlay menu (phones) */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--b-night) !important; color: var(--b-snow) !important; padding: 1.25rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4rem; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch !important; gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { border-top: 1px solid #34332F; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--b-display) !important; font-weight: 300 !important; font-size: 2.125rem !important; line-height: 1 !important; padding: 0.875rem 0 !important; opacity: 1;
}
.wp-block-navigation__responsive-container.is-menu-open .b-nav-cta { border-top: 0 !important; margin-top: 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .b-nav-cta > .wp-block-navigation-item__content { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 1rem !important; font-family: var(--b-body) !important; font-size: 0.9375rem !important; font-weight: 600 !important; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* Cover on tablets and phones: stacked */
@media (max-width: 1023px) {
	.b-hero { height: auto; display: flex; flex-direction: column; padding: 1rem 1.25rem 3rem !important; }
	.b-hero__tag { display: contents; }
	.b-hero__tag h1 { order: 1; position: relative; z-index: 3; margin-top: 0.5rem !important; }
	.b-hero__lead { order: 2; position: relative; z-index: 3; margin-top: 1rem !important; max-width: 34rem; }
	.b-cover { order: 3; position: relative; left: auto; top: auto; transform: none; width: min(280px, 72vw); margin: 1.5rem auto 0 !important; }
	.b-hero__actions { order: 4; position: relative; z-index: 3; margin-top: 1.5rem !important; }
	.b-hero__actions .wp-block-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
	.b-hero__actions .wp-block-button__link { width: 100%; padding-left: 0.5rem; padding-right: 0.5rem; }
	.b-hero__actions .b-note { text-align: center; }
	.b-hero__cue { display: none; }
	.b-hero__nav { order: 0; position: relative !important; left: auto; top: auto; align-self: stretch; }
	.b-hero__nav .wp-block-navigation__container { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
	.b-hero__nav .wp-block-navigation-item__content { font-size: 1.375rem; }
	.b-hero__nav .b-nav-cta { margin-top: 0; }
	.b-cover__strap { font-size: 0.875rem; }
}
@media (max-width: 599px) {
	.b-hero__nav { align-self: flex-end; }
	.b-hero__tag h1 { font-size: 2.625rem; }
}

/* ---------- Inner page header ---------- */
.b-header { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.b-header__row { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: nowrap; }
.b-header__row > * { margin: 0 !important; }
.b-brand { display: flex; align-items: center; gap: 1rem; }
.b-brand > * { margin: 0 !important; }
.b-brand .wp-block-image img { height: 80px; width: auto; }
.b-header .b-brand { gap: 1.25rem; }
.b-header .b-wordmark { font-family: var(--b-body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.24em; }
.b-header .wp-block-navigation { gap: 2rem; font-size: 0.9375rem; }
.b-header .wp-block-navigation__container { gap: 2rem; align-items: center; }
.b-header .wp-block-navigation-item__content { text-decoration: none; }
.b-header .current-menu-item > .wp-block-navigation-item__content { border-bottom: 1px solid var(--b-snow); }
@media (max-width: 599px) {
	.b-header { padding-top: 1rem; padding-bottom: 0.5rem; }
	.b-header .b-brand { gap: 0.75rem; }
	.b-brand .wp-block-image img { height: 68px; }
	.b-header .b-wordmark { font-size: 0.8125rem; letter-spacing: 0.2em; }
}

/* ---------- Tile grid ("What do you need?") ---------- */
.b-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 240px); gap: 0.5rem; }
.b-grid > * { margin: 0 !important; }
.b-tile {
	position: relative; overflow: hidden; isolation: isolate; background: var(--b-night);
	display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
}
.b-tile > * { margin: 0 !important; }
.b-tile > .wp-block-image { position: absolute !important; inset: 0; z-index: -1; }
.b-tile > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: transform 0.6s ease; }
.b-tile:hover > .wp-block-image img { transform: scale(1.03); }
.b-label { background: var(--b-night); padding: 1rem 1.25rem; }
.b-label > * { margin: 0 !important; }
.b-label h3, .b-tile h3 { font-size: var(--wp--preset--font-size--label); line-height: 1.1; margin: 0; }
.b-tile a { text-decoration: none; color: inherit; }
.b-tile h3 a::after, .b-tile .b-stretch a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.b-label .b-small, .b-tile--text h3 + p { margin-top: 0.25rem !important; }

.b-tile--lg { grid-column: 3 / 5; grid-row: 1 / 3; }
.b-tile--lg .b-label { padding: 1.5rem 2rem; }
.b-tile--lg .b-label h3 { font-size: var(--wp--preset--font-size--subtitle); }

.b-tile--feature { grid-column: 1 / 3; grid-row: 1 / 2; padding: 2rem; justify-content: space-between; align-items: flex-end; text-align: right; }
.b-tile--feature > .wp-block-image::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(270deg, rgba(22, 22, 21, 0.85) 0%, rgba(22, 22, 21, 0.5) 45%, rgba(22, 22, 21, 0) 75%), linear-gradient(0deg, rgba(22, 22, 21, 0.55) 0%, rgba(22, 22, 21, 0) 45%);
}
.b-tile--feature h3 { font-size: var(--wp--preset--font-size--title); line-height: 1; }
.b-tile--feature p { max-width: 300px; }
.b-tile--feature .b-link { margin-top: 0.5rem !important; }

.b-tile--text { padding: 1.5rem; justify-content: space-between; }
.b-tile--text::before { font-size: 1.25rem; line-height: 1; }
.b-tile--film { background: var(--b-graphite); }
.b-tile--film::before { content: ""; width: 32px; height: 32px; border: 1.2px solid var(--b-snow); border-radius: 50%; box-sizing: border-box; }
.b-tile--film::after { content: ""; position: absolute; left: calc(1.5rem + 12px); top: calc(1.5rem + 9px); border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--b-snow); }
.b-tile--silver { background: var(--b-silver); }
.b-tile--paper { background: var(--b-paper); }
.b-tile--silver::before, .b-tile--paper::before { content: "→"; align-self: flex-end; color: var(--b-ink); }

@media (max-width: 1023px) {
	.b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
	.b-grid > .b-tile { height: 184px; }
	.b-grid > .b-tile--lg { grid-column: 1 / 3; grid-row: auto; height: 248px; }
	.b-tile--lg .b-label { padding: 1rem 1.5rem; }
	.b-grid > .b-tile--feature { grid-column: 1 / 3; grid-row: auto; height: 232px; padding: 1.5rem; }
	.b-tile.b-tile--feature > .wp-block-image img { object-position: 18% 30% !important; }
	.b-tile--feature p:not(.b-link) { font-size: var(--wp--preset--font-size--small); max-width: 200px; }
	.b-label { padding: 1rem; }
	.b-tile--text { padding: 1rem; }
	.b-tile--film::after { left: calc(1rem + 12px); top: calc(1rem + 9px); }
	.b-grid > .b-tile--silver, .b-grid > .b-tile--paper { grid-column: 1 / 3; height: auto; min-height: 0; flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; padding: 1.25rem; }
}
/* Phone: every photo tile is full width with the label over the photo, like Portraits & family. */
@media (max-width: 599px) {
	.b-grid > .b-tile:not(.b-tile--feature):not(.b-tile--text) { grid-column: 1 / 3; grid-row: auto; height: 248px; }
	.b-grid > .b-tile:not(.b-tile--feature):not(.b-tile--text) .b-label { padding: 1rem 1.5rem; }
	.b-grid > .b-tile:not(.b-tile--feature):not(.b-tile--text) .b-label h3 { font-size: var(--wp--preset--font-size--subtitle); }
	.b-grid > .b-tile--video > .wp-block-image img { object-position: center 25%; }
	/* Portraits tile keeps the photo's own shape on phones, so the crossed arms stay in frame. */
	.b-grid > .b-tile.b-tile--lg:not(.b-tile--feature) { height: auto; }
	.b-grid > .b-tile--lg > .wp-block-image { position: relative !important; inset: auto; z-index: 0; width: 100%; aspect-ratio: 1800 / 1242; }
	.b-grid > .b-tile--lg > .b-label { position: relative; z-index: 1; margin-top: -2.75rem !important; }
}
@media (min-width: 600px) and (max-width: 1023px) { .b-grid > .b-tile { height: 220px; } .b-grid > .b-tile--lg { height: 360px; } .b-grid > .b-tile--feature { height: 260px; } .b-grid > .b-tile--silver, .b-grid > .b-tile--paper { height: auto; } }

/* ---------- Steps ---------- */
.b-steps { border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); padding-top: 3rem; padding-bottom: 3rem; }
.b-steps__row { max-width: 1240px; margin: 0 auto !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.b-steps__row > * { margin: 0 !important; display: flex; gap: 1rem; align-items: baseline; }
.b-steps strong { font-weight: 600; }
.b-num { font-family: var(--b-display); font-weight: 300; font-size: var(--wp--preset--font-size--subtitle); color: var(--b-stone); line-height: 1; }
@media (max-width: 781px) { .b-steps { padding-top: 2rem; padding-bottom: 2rem; } .b-steps__row { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- About card ---------- */
.b-about { background: var(--b-paper); display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 !important; }
.b-about > * { margin: 0 !important; }
.b-about > .wp-block-image { flex: 0 1 420px; min-width: 0; }
.b-about > .wp-block-image img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.b-about__text { flex: 1 1 360px; min-width: 0; padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.b-about__text > * { margin: 0 !important; }
.b-about__text .wp-block-buttons { margin-top: 0.5rem !important; }
@media (max-width: 599px) { .b-about__text { padding: 1.5rem; } }

/* ---------- Footer ---------- */
.b-footer { background: var(--b-night); padding-top: 3rem; padding-bottom: 3rem; margin-top: 0 !important; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-footer__row { max-width: 1240px; margin: 0 auto !important; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.b-footer__row > * { margin: 0 !important; }
.b-footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.b-footer__links a { color: var(--b-ash); }
.b-footer__links a:hover { color: var(--b-snow); }

/* Fixed "Book now" bar on phones */
.b-mobile-book { display: none; }
@media (max-width: 599px) {
	body { padding-bottom: var(--b-bar); }
	.b-mobile-book {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; margin: 0 !important;
		transition: transform 0.25s ease;
	}
	.b-mobile-book a {
		display: flex; align-items: center; justify-content: center; height: var(--b-bar);
		background: var(--b-paper); color: var(--b-ink) !important; text-decoration: none; font-weight: 600;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
	}
	.b-mobile-book.is-hidden { transform: translateY(100%); }
	.b-footer { padding-bottom: calc(3rem + var(--b-bar)); }
}
@media (prefers-reduced-motion: reduce) { .b-mobile-book { transition: none; } }

/* ---------- Service page ---------- */
.b-crumb { margin: 0 0 1.5rem !important; }
.b-crumb a { color: var(--b-ash); }
.b-intro { display: grid; grid-template-columns: 7fr 5fr; gap: 0.5rem; min-height: 520px; }
.b-intro > * { margin: 0 !important; }
.b-intro__text { background: var(--b-night); padding: 3rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem; }
.b-intro__text > * { margin: 0 !important; }
.b-intro__text p { color: var(--b-ash); max-width: 460px; }
.b-intro > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 781px) {
	.b-intro { grid-template-columns: 1fr; min-height: 0; gap: 0; }
	.b-intro > .wp-block-image { order: -1; }
	.b-intro > .wp-block-image img { height: 300px; object-position: center 15%; }
	.b-intro__text { padding: 1.5rem; gap: 1rem; }
	.b-intro__text .wp-block-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
	.b-intro__text .wp-block-button__link { width: 100%; padding-left: 0.5rem; padding-right: 0.5rem; }
}

.b-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.b-packages > * { margin: 0 !important; }
.b-pk { background: var(--b-paper); color: var(--b-ink); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.b-pk > * { margin: 0 !important; }
.b-pk h3 { font-size: var(--wp--preset--font-size--subtitle); }
.b-pk ul { list-style: none; padding: 0; color: var(--b-ink-soft); }
.b-pk li { padding: 0.5rem 0; border-top: 1px solid #CFCBC4; }
.b-pk .b-price { margin-top: auto !important; }
.b-pk .b-price strong { font-weight: 600; }
.b-pk .wp-block-button, .b-pk .wp-block-button__link { width: 100%; }
@media (max-width: 781px) {
	.b-packages { grid-template-columns: 1fr; }
	.b-pk { padding: 1.5rem; }
}

.b-story { background: var(--b-graphite); padding: 3rem; display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; }
.b-story > * { margin: 0 !important; }
.b-story__text > *, .b-story__details > * { margin: 0 !important; }
.b-story__text h2 { margin-bottom: 1rem !important; font-size: var(--wp--preset--font-size--display); }
.b-story__text p { color: var(--b-ash); max-width: 460px; }
.b-story__details ul { list-style: none; padding: 0; }
.b-story__details li { padding: 0.5rem 0; border-top: 1px solid var(--b-line); }
.b-story__details .b-price { margin: 1rem 0 !important; }
@media (max-width: 781px) { .b-story { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; } }

.b-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.b-gallery > * { margin: 0 !important; }
.b-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.b-gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-story + .b-gallery { margin-top: 0.5rem !important; }
.b-gallery--wide img { aspect-ratio: 3 / 2; }
@media (max-width: 781px) {
	.b-gallery { grid-template-columns: 1fr 1fr; }
	.b-gallery > :first-child { grid-column: 1 / 3; }
	.b-gallery--wide { grid-template-columns: 1fr; }
	.b-gallery--wide > :first-child { grid-column: auto; }
}

.b-faq { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; }
.b-faq > * { margin: 0 !important; }
.b-faq .wp-block-details { border-top: 1px solid var(--b-line); padding: 1rem 0; margin: 0 !important; }
.b-faq .wp-block-details:last-child { border-bottom: 1px solid var(--b-line); }
.b-faq summary { cursor: pointer; font-weight: 600; }
.b-faq .wp-block-details p { margin: 0.5rem 0 0; color: var(--b-ash); }
@media (max-width: 781px) { .b-faq { grid-template-columns: 1fr; gap: 1.5rem; } }

.b-band { background: var(--b-paper); color: var(--b-ink); padding: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.b-band > * { margin: 0 !important; }
.b-band h2 { margin: 0 !important; }
.b-band p { margin: 0.5rem 0 0 !important; color: var(--b-ink-soft); }
@media (max-width: 599px) {
	.b-band { padding: 1.5rem; }
	.b-band .wp-block-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; width: 100%; }
	.b-band .wp-block-button__link { width: 100%; padding-left: 0.5rem; padding-right: 0.5rem; }
}

/* =========================================================
   Legacy v0.1 styles — still used by the inner pages that have
   not been rebuilt in the new design yet (Services overview,
   Events, Social media, Portfolio, About, Contact, Book).
   Old colour names are mapped onto the new palette.
   ========================================================= */
:root {
	--wp--preset--color--white: var(--wp--preset--color--graphite);
	--wp--preset--color--muted: var(--wp--preset--color--ash);
	--wp--preset--color--bronze: var(--wp--preset--color--snow);
	--wp--preset--color--sand: var(--wp--preset--color--silver);
}
.bs-italic { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--wp--preset--color--ash); }
.bs-muted { color: var(--wp--preset--color--ash); }
.bs-center { text-align: center; }
.bs-price { font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; line-height: 1.2; margin: 0; }
.bs-more a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.bs-small { font-size: 0.9375rem; }
.wp-block-image.bs-fill, .wp-block-image.bs-fill img { width: 100%; height: 100%; }
.wp-block-image.bs-fill img { object-fit: cover; }
.bs-section { padding-top: var(--wp--preset--spacing--70); }
.bs-section--last { padding-bottom: var(--wp--preset--spacing--70); }
.bs-section h2 { margin-top: 0; }
.bs-section .bs-intro { max-width: 34rem; margin-left: auto; margin-right: auto; }

/* ---------- Three paths ---------- */
.bs-paths { gap: 24px !important; margin-top: 3rem !important; }
.bs-path { background: var(--wp--preset--color--white); padding: 2.5rem 2.25rem; border-top: 3px solid var(--wp--preset--color--ink); display: flex; flex-direction: column; }
.bs-path--session { border-top-color: var(--wp--preset--color--bronze); }
.bs-path--shop { border-top-color: var(--wp--preset--color--sand); }
.bs-path h3 { margin: 0 0 0.75rem; font-size: 2.25rem; }
.bs-path p { margin: 0 0 1rem; }
.bs-path ul { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.9375rem; line-height: 1.9; }
.bs-path .bs-more { margin-top: auto; margin-bottom: 0; }

/* ---------- Feature rows (services) ---------- */
.bs-feature { gap: 3.5rem !important; align-items: center !important; }
.bs-feature + .bs-feature { margin-top: var(--wp--preset--spacing--60) !important; }
.bs-feature__text h2 { margin-bottom: 1rem; }
.bs-feature__text p { max-width: 27rem; }
.bs-feature__text .wp-block-buttons { margin-top: 1.25rem; }
@media (min-width: 782px) {
	.bs-feature--reverse { flex-direction: row-reverse; }
	.bs-feature--reverse .bs-feature__text { text-align: right; }
	.bs-feature--reverse .bs-feature__text p { margin-left: auto; }
	.bs-feature--reverse .bs-feature__text .wp-block-buttons { justify-content: flex-end; }
}
.bs-images { display: flex; gap: 14px; align-items: flex-end; }
.bs-images > * { margin: 0 !important; flex: 1 1 0; min-width: 0; }
.bs-images img { width: 100%; object-fit: cover; }
.bs-images--portraits img { height: 420px; object-position: center 20%; }
.bs-images--portraits > :nth-child(2) img { height: 340px; }
.bs-images--places { align-items: flex-start; }
.bs-images--places > :first-child { flex: 1.4 1 0; }
.bs-images--places img { height: 400px; }
.bs-images--places > :last-child img { height: 460px; }
.bs-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bs-grid3 > * { margin: 0 !important; }
.bs-grid3 img { width: 100%; height: 100%; object-fit: cover; }
.bs-grid3 .bs-span2 { grid-column: span 2; }
.bs-grid3--commercial > * { height: 300px; }
.bs-grid3--commercial > :nth-child(n+3) { height: 200px; }
@media (max-width: 781px) {
	.bs-images--portraits img, .bs-images--portraits > :nth-child(2) img { height: 240px; }
	.bs-images--places img, .bs-images--places > :last-child img { height: 260px; }
	.bs-grid3--commercial > * { height: 160px; }
	.bs-grid3--commercial > :nth-child(n+3) { height: 120px; }
}

/* ---------- Events band ---------- */
.bs-dark { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.bs-dark a:not(.wp-block-button__link) { color: var(--wp--preset--color--paper); }
.bs-dark .bs-italic { color: #DCD5C9; }
.bs-dark h2 { font-size: clamp(3rem, 6vw, 4.5rem); }
.bs-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
.bs-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--wp--preset--color--sand); }
.bs-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--paper); }
.bs-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
.bs-events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bs-events-grid > * { margin: 0 !important; background: var(--wp--preset--color--ink-soft); min-height: 200px; display: flex; align-items: flex-end; padding: 1rem; color: #B9B2A6; font-size: 0.8125rem; }
.bs-events-grid > :first-child { grid-column: span 2; grid-row: span 2; min-height: 420px; }
.bs-events-grid > :last-child { grid-column: span 2; }
.bs-events-grid p { margin: 0; }
@media (max-width: 781px) { .bs-events-grid > :first-child { min-height: 260px; } .bs-events-grid > * { min-height: 120px; } }

/* ---------- Social ---------- */
.bs-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 520px; }
.bs-feed > * { margin: 0 !important; aspect-ratio: 4 / 5; }
.bs-feed img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Project card ---------- */
.bs-card { background: var(--wp--preset--color--white); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem); }
.bs-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bs-grid2 > * { margin: 0 !important; height: 220px; }
.bs-grid2 img { width: 100%; height: 100%; object-fit: cover; }
.bs-placeholder { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--line); display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; text-align: center; }
.bs-placeholder--light { background: #E9E4DB; color: var(--wp--preset--color--muted); }
.bs-placeholder p { margin: 0; }

/* ---------- Process ---------- */
.bs-steps { gap: 2.5rem !important; margin-top: 3rem !important; }
.bs-step { border-top: 1px solid var(--wp--preset--color--ink); padding-top: 1.25rem; }
.bs-step__num { font-family: var(--wp--preset--font-family--display); font-size: 2.5rem; line-height: 1; color: var(--wp--preset--color--bronze); margin: 0 0 0.6rem; }
.bs-step h3 { font-family: var(--wp--preset--font-family--body); font-size: 1.125rem; font-weight: 600; margin: 0 0 0.5rem; }
.bs-step p:last-child { margin: 0; color: var(--wp--preset--color--muted); }

/* ---------- About ---------- */
.bs-about { gap: 4rem !important; align-items: center !important; }
.bs-about img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bs-roles { font-size: 0.9375rem; letter-spacing: 0.03em; color: var(--wp--preset--color--muted); }

/* ---------- FAQ ---------- */
.bs-faq { max-width: 54rem; margin-left: auto !important; margin-right: auto !important; }
.bs-faq .wp-block-details { border-top: 1px solid var(--wp--preset--color--line); padding: 1.25rem 0; margin: 0; }
.bs-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.bs-faq summary { font-weight: 600; cursor: pointer; font-size: 1.0625rem; }
.bs-faq .wp-block-details p { margin: 0.6rem 0 0; color: var(--wp--preset--color--muted); }

/* ---------- Contact CTA ---------- */
.bs-cta { text-align: center; }
.bs-cta .wp-block-image { margin: 0 auto; }
.bs-cta .wp-block-image img { height: 110px; width: auto; margin: 0 auto; }
.bs-cta .wp-block-buttons { justify-content: center; }

/* ---------- Inner pages ---------- */
.bs-page-hero { padding-top: clamp(2rem, 5vw, 4rem); text-align: center; }
.bs-page-hero h1 { margin: 0; }
.bs-page-hero .bs-italic { max-width: 40rem; margin: 1rem auto 0; }
.bs-cols { gap: 2.5rem !important; }
.bs-box { background: var(--wp--preset--color--white); padding: 2.25rem 2rem; }
.bs-box h3 { margin-top: 0; }
.bs-box ul { padding-left: 1.1rem; }
.bs-list-plain { list-style: none; padding: 0 !important; }
.bs-list-plain li { border-top: 1px solid var(--wp--preset--color--line); padding: 0.7rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.bs-list-plain li:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.bs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.bs-gallery > * { margin: 0 !important; aspect-ratio: 4 / 5; }
.bs-gallery img { width: 100%; height: 100%; object-fit: cover; }
.bs-gallery--wide > * { aspect-ratio: 3 / 2; }
.bs-anchor-nav { justify-content: center; gap: 0.5rem 1.5rem !important; font-size: 0.9375rem; margin-top: 2rem !important; }
.bs-anchor-nav a { text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--line); }
.bs-anchor-nav p { margin: 0; }
[id] { scroll-margin-top: 2rem; }

.bs-footer__links { display: flex; flex-wrap: wrap; }
.bs-center-buttons { justify-content: center; margin-top: 2.5rem !important; }
.bs-box .wp-block-image { margin: -2.25rem -2rem 1.5rem; }
.bs-box .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.bs-box .bs-price { margin-bottom: 1.25rem; }
.bs-box .bs-list-plain { margin-bottom: 0; }
.bs-feature__text .bs-list-plain { max-width: 27rem; margin: 1.25rem 0; }
@media (min-width: 782px) { .bs-feature--reverse .bs-feature__text .bs-list-plain { margin-left: auto; } }


/* Events: keep the woman in front of the yoga photo fully in frame */
.b-intro img[src*="event-yoga"], .b-gallery img[src*="event-yoga"], .b-row img[src*="event-yoga"] { object-position: 8% 30% !important; }
@media (min-width: 782px) { .b-intro:has(img[src*="event-yoga"]) { grid-template-columns: 5fr 7fr; } }

/* ---------- About ---------- */
.b-prose > * { margin: 0 0 1rem !important; }
.b-prose p { color: var(--b-ash); max-width: 640px; }
.b-num { white-space: nowrap; }
.b-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.b-people > * { margin: 0 !important; }
.b-person > * { margin: 0 !important; }
.b-person .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.b-person h3 { margin-top: 1.5rem !important; }
.b-person .b-small { margin-top: 0.25rem !important; }
.b-person .b-muted { margin-top: 1rem !important; color: var(--b-ash); max-width: 520px; }
@media (max-width: 781px) { .b-people { grid-template-columns: 1fr; } }

/* About intro without photo */
.b-intro.b-intro--text { grid-template-columns: 1fr; min-height: 0; }
.b-intro.b-intro--text .b-intro__text { padding: 4rem 3rem; justify-content: flex-start; }
.b-intro.b-intro--text .b-intro__text p { max-width: 640px; }
@media (max-width: 781px) { .b-intro.b-intro--text .b-intro__text { padding: 2rem 1.5rem; } }

/* ---------- Submenus (Services, Events) ---------- */
.b-header .wp-block-navigation__submenu-container {
	background: var(--b-night) !important; color: var(--b-snow) !important; border: 1px solid var(--b-line) !important;
	padding: 0.5rem 0 !important; min-width: 240px !important; gap: 0 !important;
}
.b-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.625rem 1.25rem !important; font-size: 0.9375rem; white-space: nowrap; }
.b-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--b-graphite); }
.b-header .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 0.75rem 0 !important; background: transparent !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-top: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-family: var(--b-body) !important; font-size: 0.9375rem !important; padding: 0.375rem 0 !important; color: var(--b-ash);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; }

/* ---------- Service rows (Services page) ---------- */
.b-row { display: grid; grid-template-columns: 6fr 5fr; gap: 3rem; align-items: center; }
.b-row > * { margin: 0 !important; }
.b-row > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.b-row--rev { grid-template-columns: 5fr 6fr; }
.b-row--rev > .wp-block-image { order: 2; }
.b-row__text > * { margin: 0 !important; }
.b-row__text h2 { margin-bottom: 1rem !important; }
.b-row__text > p:not(.b-small):not(.b-price) { color: var(--b-ash); max-width: 480px; }
.b-row__text ul { list-style: none; padding: 0; margin-top: 1.5rem !important; }
.b-row__text li { padding: 0.5rem 0; border-top: 1px solid var(--b-line); }
.b-row__text li:last-child { border-bottom: 1px solid var(--b-line); }
.b-row__text .b-price { margin: 1.5rem 0 !important; }
@media (max-width: 781px) {
	.b-row { grid-template-columns: 1fr; gap: 1.5rem; }
	.b-row--rev > .wp-block-image { order: 0; }
}

/* ---------- Contact ---------- */
.b-contact { display: grid; grid-template-columns: 4fr 8fr; gap: 3rem; }
.b-contact > * { margin: 0 !important; }
.b-contact__info > * { margin: 0 0 1.5rem !important; }
.b-contact__info .b-small { display: inline-block; margin-bottom: 0.25rem; }
.b-contact__form { background: var(--b-night); padding: 2.5rem; }
.b-contact__form > h3 { margin: 0 0 1.5rem !important; }
@media (max-width: 781px) { .b-contact { grid-template-columns: 1fr; gap: 2rem; } .b-contact__form { padding: 1.5rem; } }

.b-form { display: flex; flex-direction: column; gap: 1rem; }
.b-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 599px) { .b-form__grid { grid-template-columns: 1fr; } }
.b-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b-field { display: flex; flex-direction: column; gap: 0.375rem; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-field input, .b-field select, .b-field textarea {
	font: inherit; font-size: 0.9375rem; color: var(--b-snow); background: var(--b-charcoal);
	border: 1px solid var(--b-line); border-radius: 0; padding: 0.75rem 0.875rem; width: 100%; box-sizing: border-box;
}
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { outline: 2px solid var(--b-paper); outline-offset: 0; border-color: var(--b-paper); }
.b-field input[type="date"] { color-scheme: dark; }
.b-check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-check input { margin-top: 0.2rem; width: 1rem; height: 1rem; accent-color: var(--b-paper); }
.b-form .wp-block-button__link { border: 0; cursor: pointer; }
.b-form-msg { padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.b-form-msg--ok { background: #2E6B45; color: #FFFFFF; border-left: 4px solid #7BD69A; display: flex; gap: 0.75rem; align-items: flex-start; }
.b-form-msg--ok::before { content: "✓"; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.b-form-msg--err { border: 1px solid var(--b-paper); }

/* ---------- Legal text ---------- */
.b-wrap.b-legal { max-width: 1240px; }
.b-legal > * { max-width: 760px; }
.b-legal > * { margin: 0 0 1rem !important; }
.b-legal h3 { margin-top: 2rem !important; font-size: var(--wp--preset--font-size--label); }
.b-legal p { color: var(--b-ash); }

/* Video placeholders (Film page) */
.b-video { position: relative; }
.b-video::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%);
	border: 1.5px solid var(--b-snow); border-radius: 50%; background: rgba(22, 22, 21, 0.45);
}
.b-video::before {
	content: ""; position: absolute; left: calc(50% + 4px); top: 50%; transform: translate(-50%, -50%); z-index: 1;
	border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--b-snow);
}

/* ---------- Release form (private page) ---------- */
.b-release { max-width: 760px; }
.b-release__part { border: 0; border-top: 1px solid var(--b-graphite); margin: 0; padding: 1.5rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }
.b-release__part legend { font-family: var(--wp--preset--font-family--display, inherit); font-size: var(--wp--preset--font-size--label); color: var(--b-snow); padding: 0 0 0.5rem; }
.b-release__note { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.b-release__minor { padding-left: 1rem; border-left: 2px solid var(--b-graphite); }
.b-release__indent { padding-left: 1.75rem; }
.b-release .b-check { font-size: 0.9375rem; color: var(--b-snow); }
.b-release .b-check input { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.1rem; }
.b-check--inline input[type="number"] { width: 4rem; margin: 0 0.25rem; padding: 0.25rem 0.5rem; background: transparent; color: inherit; border: 1px solid var(--b-graphite); }
.b-release__terms { max-height: 18rem; overflow-y: auto; padding: 1rem 1.25rem; background: var(--b-night); border: 1px solid var(--b-graphite); font-size: 0.875rem; line-height: 1.55; color: var(--b-ash); }
.b-release__terms h4 { margin: 0.875rem 0 0.25rem; font-size: 0.875rem; color: var(--b-snow); font-family: inherit; font-weight: 600; }
.b-release__terms p { margin: 0; }
.b-sign { position: relative; }
.b-sign__pad { display: block; width: 100%; height: 190px; background: #ffffff; border: 1px solid var(--b-graphite); touch-action: none; cursor: crosshair; }
.b-sign__hint { position: absolute; left: 1rem; bottom: 0.75rem; font-size: 0.8125rem; color: #8a8a86; pointer-events: none; }
.b-sign__pad.is-signed + .b-sign__clear + .b-sign__hint { display: none; }
.b-sign__clear { position: absolute; top: 0.5rem; right: 0.5rem; background: #ffffff; color: #161615; border: 1px solid #c9c9c4; padding: 0.375rem 0.875rem; font: inherit; font-size: 0.8125rem; cursor: pointer; }
.b-release button[type="submit"] { min-width: 14rem; padding-top: 1rem; padding-bottom: 1rem; }
.b-release button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
.post-password-form { padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right) var(--wp--preset--spacing--70) var(--wp--style--root--padding-left); max-width: 760px; }
.post-password-form p { color: var(--b-ash); }
.post-password-form label { display: flex; flex-direction: column; gap: 0.375rem; font-size: var(--wp--preset--font-size--small); color: var(--b-ash); }
.post-password-form input[type="password"] { box-sizing: border-box; width: 100%; max-width: 360px; padding: 0.75rem 0.875rem; font: inherit; font-size: 1rem; background: transparent; color: var(--b-snow); border: 1px solid var(--b-graphite); border-radius: 0; }
.post-password-form input[type="submit"] { margin-top: 0.75rem; padding: 0.875rem 1.75rem; font: inherit; font-weight: 600; background: var(--b-paper); color: var(--b-ink); border: 0; cursor: pointer; }
body:has(.b-release, .post-password-form) .b-mobile-book { display: none !important; }

/* Release form as a white sheet of paper */
.b-release-page, .post-password-form {
	--b-snow: #161615; --b-ash: #5a5a55; --b-graphite: #d6d6d0; --b-line: #b9b9b2;
	--b-night: #f5f5f1; --b-charcoal: #ffffff; --b-paper: #161615;
	background: #ffffff; color: #161615; max-width: 820px; margin-left: auto !important; margin-right: auto !important;
	padding: clamp(1.5rem, 5vw, 3.5rem) !important; box-sizing: border-box; box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 12px 40px rgba(0,0,0,.35);
}
.post-password-form { margin-top: var(--wp--preset--spacing--70) !important; margin-bottom: var(--wp--preset--spacing--70) !important; max-width: min(820px, calc(100% - 2 * var(--wp--style--root--padding-left))); }
.b-release-page h1 { color: #161615; font-size: clamp(2rem, 6vw, 3rem); margin-top: 0; }
.b-release-page p, .b-release-page .b-release__part legend { color: #161615; }
.b-release-page .b-field input[type="date"] { color-scheme: light; }
.b-release-page .b-release__part { border-top-color: #e2e2dc; }
.b-release-page .b-release__terms { background: #f7f7f3; color: #3c3c38; }
.b-release-page .b-sign__pad { border: 1px dashed #9a9a93; background: #fffffe; }
.b-release-page .wp-block-button__link, .post-password-form input[type="submit"] { background: #161615 !important; color: #ffffff !important; }
.b-release-page .wp-block-button__link:hover, .post-password-form input[type="submit"]:hover { background: #000 !important; }
.b-release-page .b-release__note { color: #5a5a55; }
.b-release-page .b-form-msg--err { color: #8a1c1c; border-color: #8a1c1c; background: #fdf3f3; }
.post-password-form input[type="password"] { background: #ffffff; color: #161615; border-color: #b9b9b2; }
@media (max-width: 599px) { .b-release-page { box-shadow: none; } }
.b-photo { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.b-photo[hidden] { display: none; }
.b-photo__preview { width: 160px; height: 200px; object-fit: cover; border: 1px solid #d6d6d0; }
.b-photo__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.b-photo__btn { font: inherit; font-size: 0.9375rem; font-weight: 600; padding: 0.75rem 1.25rem; background: #161615; color: #fff; border: 1px solid #161615; cursor: pointer; }
.b-photo__btn--ghost { background: transparent; color: #161615; }
.b-photo__btn[hidden] { display: none; }

/* ---------- Quote form ---------- */
@media (min-width: 782px) { .b-steps__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b-quote-wrap { max-width: 860px; }
.b-quote__part { border: 0; border-top: 1px solid var(--b-graphite); margin: 0; padding: 1.75rem 0 0.5rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.b-quote__part legend { font-family: var(--b-display); font-size: var(--wp--preset--font-size--subtitle, 1.75rem); color: var(--b-snow); padding: 0 0 0.75rem; }
.b-quote__group { padding: 1.25rem; border: 1px solid var(--b-graphite); background: rgba(255,255,255,0.02); }
.b-quote__group[hidden] { display: none; }
.b-quote__checks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.b-quote__checks > span { margin-bottom: 0.25rem; }
.b-field--full { grid-column: 1 / -1; }
.b-quote__flex { align-self: end; padding-bottom: 0.875rem; }
.b-quote .b-check { color: var(--b-snow); }
.b-quote select { appearance: auto; }
body:has(.b-quote, .b-quote-wrap) .b-mobile-book { display: none !important; }

/* ---------- Agreement page (white sheet) ---------- */
.b-agreement { max-width: 860px; }
.b-agreement__brand { font-size: 0.75rem; letter-spacing: 0.12em; color: #5a5a55 !important; margin: 0 0 1.5rem; }
.b-agreement h2 { color: #161615; font-size: 1.5rem; margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid #e2e2dc; }
.b-agreement h3 { color: #161615; font-size: 1.0625rem; font-family: var(--b-body); font-weight: 600; margin: 1.25rem 0 0.5rem; }
.b-agreement ul { margin: 0; padding-left: 1.25rem; color: #161615; }
.b-agreement li { margin: 0.25rem 0; }
.b-agreement__dl { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 0.5rem 1.5rem; margin: 0; color: #161615; }
.b-agreement__dl dt { color: #5a5a55; font-size: 0.9375rem; }
.b-agreement__dl dd { margin: 0; }
@media (max-width: 599px) { .b-agreement__dl { grid-template-columns: 1fr; gap: 0.125rem; } .b-agreement__dl dd { margin-bottom: 0.625rem; } }
.b-agreement__box { background: #f7f7f3; border: 1px solid #e2e2dc; padding: 1rem 1.25rem; color: #161615; }
.b-agreement__terms { max-height: 22rem; }
.b-agreement a.b-photo__btn { display: inline-block; text-decoration: none; }
body:has(.b-agreement) .b-mobile-book { display: none !important; }
@media (min-width: 1100px) { .b-packages--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 782px) and (max-width: 1099px) { .b-packages--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Agreement builder (studio only) ---------- */
.b-builder { max-width: 900px; }
.b-builder__send { margin: 0.75rem 0; }
.b-builder__list { width: 100%; border-collapse: collapse; font-size: 0.875rem; color: #161615; }
.b-builder__list th, .b-builder__list td { text-align: left; padding: 0.5rem 0.5rem; border-bottom: 1px solid #e2e2dc; vertical-align: top; }
.b-builder__list th { color: #5a5a55; font-weight: 600; }
.b-builder__list a { color: #161615; }
@media (max-width: 599px) { .b-builder__list th:nth-child(3), .b-builder__list td:nth-child(3) { display: none; } }

/* ---------- Quote form as a warm paper sheet (Contact stays dark) ---------- */
.b-quote-wrap {
	--b-snow: #161615; --b-ash: #5a5a55; --b-graphite: #dcd8cf; --b-line: #bdb8ad;
	--b-night: #f3f0e8; --b-charcoal: #fffdf8; --b-paper: #161615;
	background: #faf8f3; color: #161615; max-width: 900px;
	padding: clamp(1.25rem, 5vw, 3.5rem) !important; box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 12px 40px rgba(0,0,0,.35);
}
.b-quote-wrap .b-quote__part legend, .b-quote-wrap .b-check, .b-quote-wrap p { color: #161615; }
.b-quote-wrap .b-quote__group { background: #f3f0e8; border-color: #e3dfd5; }
.b-quote-wrap .b-field input[type="date"] { color-scheme: light; }
.b-quote-wrap .wp-block-button__link { background: #161615 !important; color: #ffffff !important; }
.b-quote-wrap .wp-block-button__link:hover { background: #000 !important; }
.b-quote-wrap a { color: #161615; }
.b-quote-wrap .b-form-msg--err { color: #8a1c1c; border-color: #8a1c1c; background: #fdf3f3; }
.b-quote-wrap .b-quote__part:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 599px) { .b-quote-wrap { box-shadow: none; } }
.b-release-page a:not(.b-photo__btn):not(.wp-block-button__link) { color: #161615; }
.b-builder__share { flex-wrap: wrap; }
.b-builder__share .b-photo__btn { text-align: center; text-decoration: none; }
.b-builder__wa { background: #1f7a4d !important; border-color: #1f7a4d !important; color: #fff !important; }
.b-builder select { appearance: auto; }
@media (max-width: 599px) { .b-builder__share .b-photo__btn { flex: 1 1 100%; } .b-builder__send .b-photo__btn { width: 100%; } }

/* iPhone zooms into any field with text smaller than 16px; keep form text at 16px on phones and tablets. */
@media (max-width: 1024px) {
	.b-field input, .b-field select, .b-field textarea,
	.post-password-form input[type="password"],
	.b-check--inline input[type="number"] { font-size: 16px !important; }
}
@media (max-width: 599px) { .b-cover .b-wordmark { font-size: 0.5625rem; letter-spacing: 0.2em; } }

/* Quote form: fields that do not apply to the chosen service stay hidden. */
.b-quote [hidden] { display: none !important; }

/* Quick email page (studio only). */
.b-mailer textarea { min-height: 16rem; }
.b-mailer [dir="rtl"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
.b-mailer__preview { display: block; width: 100%; min-height: 40rem; margin-top: 1.5rem; border: 1px solid #e2e2dc; background: #EFEDE9; }
.b-mailer__preview[hidden] { display: none; }
.b-mailer__list { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: #161615; }
.b-mailer__list li { padding: 0.625rem 0; border-bottom: 1px solid #e2e2dc; }
.b-mailer .b-photo__actions { margin-top: 1rem; }

/* Testimonials (appear only when approved ones exist). */
.b-testimonials h2 { margin-top: 0; }
.b-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.b-testimonial { margin: 0; padding: 1.75rem; border: 1px solid var(--b-line); background: rgba(255,255,255,0.02); display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.b-testimonial blockquote { margin: 0; font-family: var(--b-display); font-weight: 300; font-size: 1.375rem; line-height: 1.45; color: var(--b-snow); }
.b-testimonial blockquote p { margin: 0 0 .75rem; }
.b-testimonial blockquote[dir="rtl"], .b-testimonial blockquote:dir(rtl) { font-family: Tahoma, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.9; }
.b-testimonial figcaption { font-size: var(--wp--preset--font-size--small); color: var(--b-ash); display: flex; flex-direction: column; gap: .15rem; }
.b-testimonial figcaption strong { color: var(--b-snow); font-weight: 600; }

/* Project stories (/work/). */
.b-project__head h1 { margin-bottom: 1rem; }
.b-project__lead { font-size: 1.25rem; color: var(--b-ash); max-width: 46rem; }
.b-project__cover { margin-top: 2rem; }
.b-project__cover img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.b-project__body > .wp-block-post-content > :where(p, h2, h3, ul, ol, blockquote) { max-width: 46rem; }
.b-project__body .wp-block-gallery { margin: 2.5rem 0; }
.b-project__body blockquote { margin: 2.5rem 0; padding-left: 1.5rem; border-left: 1px solid var(--b-stone); font-family: var(--b-display); font-size: 1.5rem; font-weight: 300; line-height: 1.45; }
.b-project__cta { margin-top: 3rem; }
.b-work__grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2.5rem 1.5rem; }
.b-work__title { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.b-work__title a { color: inherit; text-decoration: none; }
.b-work__excerpt { color: var(--b-ash); font-size: var(--wp--preset--font-size--small); }

/* Persian page (/fa/). */
.b-fa { direction: rtl; text-align: right; font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif; }
.b-fa h1, .b-fa h2, .b-fa h3 { font-family: "Vazirmatn", Tahoma, sans-serif; font-weight: 300; line-height: 1.5; letter-spacing: 0; }
.b-fa h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.b-fa p, .b-fa li { line-height: 2; }
.b-fa .b-small { letter-spacing: 0; }
.b-fa__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.b-fa__item { padding: 1.5rem; border: 1px solid var(--b-line); }
.b-fa__item h3 { margin-top: 0; font-weight: 600; font-size: 1.125rem; }
.b-fa__why ul { padding-right: 1.25rem; padding-left: 0; max-width: 46rem; }
.b-fa__why li { margin-bottom: .75rem; }
.b-fa .b-steps p { direction: rtl; }
.b-quote__package { margin: -.25rem 0 1rem; font-size: var(--wp--preset--font-size--small); }
.b-quote__package[hidden] { display: none; }

/* Client logos (appear only with written permission). */
.b-clients { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.b-clients__title { margin: 0 0 1.5rem; font-size: var(--wp--preset--font-size--small); letter-spacing: .14em; text-transform: uppercase; color: var(--b-ash); }
.b-clients__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.b-clients__row li { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; padding: .5rem .75rem; background: #FFFFFF; }
.b-clients__row img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; }
.b-clients__row li:hover img, .b-clients__row li:active img, .b-clients__row a:focus-visible img { filter: none; opacity: 1; }
.b-clients__row a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }

/* Clients and their words in one frame. */
.b-trust__frame { border: 1px solid var(--b-line); padding: clamp(1.5rem, 4vw, 3rem); background: rgba(255,255,255,0.02); }
.b-trust__eyebrow { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--small); letter-spacing: .14em; text-transform: uppercase; color: var(--b-ash); }
.b-trust h2 { margin: 0 0 2rem; }
.b-trust__list { display: grid; gap: 1.5rem; }
.b-trust__item { margin: 0; display: grid; gap: 1.5rem; align-items: center; }
.b-trust__item--logo { grid-template-columns: 13rem 1fr; }
.b-trust__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; padding: .5rem .75rem; background: #FFFFFF; }
.b-trust__logo a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.b-trust__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; }
.b-trust__item:hover .b-trust__logo img, .b-trust__logo:active img { filter: none; opacity: 1; }
.b-trust__words blockquote { margin: 0 0 1rem; font-family: var(--b-display); font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--b-snow); }
.b-trust__words blockquote p { margin: 0 0 .5rem; }
.b-trust__words figcaption { font-size: var(--wp--preset--font-size--small); color: var(--b-ash); display: flex; flex-direction: column; gap: .15rem; }
.b-trust__words figcaption strong { color: var(--b-snow); font-weight: 600; }
.b-trust__list + .b-trust__more { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--b-line); }
@media (max-width: 699px) { .b-trust__item--logo { grid-template-columns: 1fr; } .b-trust__logo { max-width: 12rem; } }
@media (min-width: 700px) { .b-trust__item--logo .b-trust__words { border-left: 1px solid var(--b-line); padding-left: 1.75rem; } }

/* Logos: no tile; pure white until hovered, then the logo's own colours. */
.b-trust__logo, .b-clients__row li { background: transparent; padding: 0; }
.b-trust__logo img, .b-clients__row img { filter: brightness(0) invert(1); opacity: .9; }
.b-trust__item:hover .b-trust__logo img, .b-trust__logo:active img, .b-trust__logo a:focus-visible img,
.b-clients__row li:hover img, .b-clients__row li:active img, .b-clients__row a:focus-visible img { filter: none; opacity: 1; }
.b-gallery--wide img[src*="illustration-tree"] { object-position: center 88%; }

/* Gallery tile that invites the next client in. */
.b-ad { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 2; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--b-snow); color: var(--b-ink); overflow: hidden; }
.b-ad::before { content: ""; position: absolute; inset: clamp(.6rem, 1.2vw, 1rem); border: 1px solid rgba(22,22,21,.18); pointer-events: none; }
.b-ad p { margin: 0; position: relative; }
.b-ad__kicker { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--b-ink-soft); }
.b-ad__title { font-family: var(--b-display); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.75rem); line-height: 1.02; letter-spacing: -.01em; }
.b-ad__title em { font-style: italic; }
.b-ad__link a { color: var(--b-ink); text-decoration: none; font-weight: 600; font-size: .9375rem; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.b-ad__link a::after { content: ""; position: absolute; inset: -100vh -100vw; }
.b-ad { isolation: isolate; }
.b-ad__link a span { display: inline-block; transition: transform .25s; }
.b-ad:hover .b-ad__link a span { transform: translateX(.35rem); }
@media (max-width: 699px) { .b-ad { aspect-ratio: auto; min-height: 15rem; gap: 2rem; } }
.b-ad__title { text-align: center; }
.b-gallery--wide img { object-position: center center; }

/* Extra "Home" links: desktop only; phones and tablets use the logo. */
@media (max-width: 1023px) { .b-desk-only { display: none !important; } }
/* On the quote page itself the "Get a quote" buttons point to where you already are. */
.b-is-quote .b-nav-cta, .b-is-quote .b-mobile-book { display: none !important; }
.b-pos-br img { object-position: right bottom !important; }

/* Logos about 27% smaller. */
.b-trust__item--logo { grid-template-columns: 9.5rem 1fr; }
.b-clients__row { grid-template-columns: repeat(auto-fill, minmax(8rem, 8rem)); }
@media (max-width: 699px) { .b-trust__item--logo { grid-template-columns: 1fr; } .b-trust__logo { max-width: 8.75rem; } }

/* Four portraits in a row; the invite tile takes the same portrait shape. */
.b-gallery--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-gallery--four .b-ad { aspect-ratio: 4 / 5; }
.b-gallery--four .b-ad__title { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
@media (max-width: 781px) {
	.b-gallery--four { grid-template-columns: 1fr 1fr; }
	.b-gallery--four > :first-child { grid-column: auto; }
	.b-gallery--four .b-ad { aspect-ratio: 4 / 5; min-height: 0; padding: 1rem; gap: .5rem; }
	.b-gallery--four .b-ad__title { font-size: 1.5rem; }
	.b-gallery--four .b-ad__kicker { font-size: .625rem; letter-spacing: .16em; }
	.b-gallery--four .b-ad__link a { font-size: .8125rem; }
}
.b-pos-r img { object-position: right center !important; }

/* Not found */
.b-404 { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.b-404__code { margin: 0 0 1rem; font-family: var(--b-display); font-weight: 300; font-size: clamp(4rem, 12vw, 8rem); line-height: .9; color: var(--b-stone); }
.b-404 h1 { max-width: 18ch; margin: 0 0 1rem; }
.b-404__lead { color: var(--b-ash); margin: 0 0 1.5rem; }
.b-404__links { list-style: none; padding: 0; margin: 0 0 2.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.b-404__links li { margin: 0; }
.b-404__links a { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--b-line); color: var(--b-snow); text-decoration: none; font-size: var(--wp--preset--font-size--small); transition: border-color .2s, background .2s; }
.b-404__links a:hover { border-color: var(--b-paper); background: rgba(255,255,255,.04); }

/* Journal */
.b-journal__title { margin: .25rem 0 2rem; }
.b-journal__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.b-journal__grid > li { margin: 0; display: flex; flex-direction: column; }
.b-journal__img { margin: 0 0 .9rem !important; overflow: hidden; }
.b-journal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.b-journal__grid > li:hover .b-journal__img img { transform: scale(1.03); }
.b-journal__date { font-size: var(--wp--preset--font-size--small); color: var(--b-stone); margin: 0 0 .35rem; }
.b-journal__name { font-size: 1.6rem; line-height: 1.15; margin: 0 0 .5rem; }
.b-journal__name a { text-decoration: none; color: var(--b-snow); }
.b-journal__excerpt p { margin: 0; color: var(--b-ash); font-size: var(--wp--preset--font-size--small); line-height: 1.6; }
.b-journal__excerpt .wp-block-post-excerpt__more-text { display: none; }
.b-journal__empty { color: var(--b-ash); max-width: 36rem; }
.b-journal__pages { margin-top: 3rem; gap: 1rem; }
.b-journal__pages a { color: var(--b-snow); }
@media (max-width: 1023px) { .b-journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .b-journal__grid { grid-template-columns: 1fr; } }
.b-post__wrap { max-width: 760px !important; }
.b-post__title { margin: .25rem 0 .5rem; }
.b-post__date { color: var(--b-stone); font-size: var(--wp--preset--font-size--small); margin: 0 0 2rem; }
.b-post__cover { margin: 0 0 2.5rem !important; }
.b-post__cover img { width: 100%; height: auto; }
.b-post__body { font-size: 1.0625rem; line-height: 1.8; color: var(--b-paper); }
.b-post__body > * + * { margin-top: 1.4rem; }
.b-post__body h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.b-post__body .wp-block-image { margin: 2.5rem 0; }
.b-post__body .wp-block-image img { width: 100%; height: auto; }
.b-post__cta { margin-top: 3.5rem !important; padding-top: 2rem; border-top: 1px solid var(--b-line); }

/* iPhone: keep date fields inside the form. */
.b-field input[type="date"] { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; min-height: 2.875rem; display: block; }
.b-field { min-width: 0; }
.b-form__hint { margin: -.25rem 0 1rem; color: var(--wp--preset--color--stone, #8C8A85); }

/* inc/images.php wraps theme photos in <picture> for WebP + responsive sizes.
   display: contents keeps the layout exactly as if the <img> were still the direct child
   (so height: 100% / object-fit rules on the img keep working). */
.wp-block-image picture { display: contents; }
