/*
 * Petite Lemon — brand overrides CSS shipped with pl-brand-tokens mu-plugin.
 * Loaded on every frontend request alongside Inter (Google Fonts).
 */

/* ===========================================================
 * Button block style variations registered by the mu-plugin.
 * Editors can choose these via Block sidebar → Styles.
 * ========================================================= */
.wp-block-button.is-style-pl-primary > .wp-block-button__link,
.wp-block-button.is-style-pl-primary .wp-block-button__link {
	background-color: var(--wp--preset--color--custom-mantis) !important;
	color: var(--wp--preset--color--white) !important;
	border-radius: 999px;
}
.wp-block-button.is-style-pl-cta > .wp-block-button__link,
.wp-block-button.is-style-pl-cta .wp-block-button__link {
	background-color: var(--wp--preset--color--custom-meyer-lemon) !important;
	color: var(--wp--preset--color--custom-pewter) !important;
	border-radius: 999px;
}

/* ===========================================================
 * Brand button default. 2026 refresh: custom-mantis is remapped to
 * yellow #FFCC00 in pl-brand-tokens.php, so every pill below lands
 * on the new yellow CTA color without per-block edits.
 * ========================================================= */
.wp-block-button__link.wp-element-button {
	background-color: var(--wp--preset--color--custom-mantis) !important;
	color: var(--wp--preset--color--white) !important;
}
/* Keep yellow CTAs yellow: HIRE US (.hirebutton), PARTNER WITH US (inside nav block), opt-in cta style */
.hirebutton .wp-block-button__link,
.wp-block-navigation .wp-block-button__link,
.wp-block-button.partnerbutton .wp-block-button__link,
.wp-block-button.is-style-pl-cta .wp-block-button__link {
	background-color: var(--wp--preset--color--custom-meyer-lemon) !important;
	color: var(--wp--preset--color--white) !important;
}

/* ===========================================================
 * Bold inline lead-ins ("20+ Years of Industry Experience:")
 * — Inter Tight Bold replaces Helvetica Neue Condensed Bold.
 * Inter Tight is a tighter sibling of Inter (Google Fonts),
 * matching the comp's condensed proportions better than plain Inter.
 * ========================================================= */
.wp-block-post-content strong,
.wp-block-paragraph strong,
.wp-block-uagb-advanced-heading strong,
.wp-block-list strong,
.entry-content strong,
p strong,
li strong {
	font-family: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif !important;
	font-weight: 700 !important;
	font-stretch: condensed;
}

/* ===========================================================
 * Font-weight overrides — Spectra inlines `font-weight: 100`
 * (Thin) on every text block, which renders Poppins as Thin and
 * Inter as Thin. The .ai canonical wants Poppins Medium (500),
 * Helvetica/Helvetica Light = Light (300), Argent CF Light (300).
 * Target by the inline font-family declaration so we only retarget
 * what Spectra emits.
 * ========================================================= */
/* Argent CF headlines: weight 300 (Light) */
.wp-block-uagb-advanced-heading [style*="argent-cf"],
.wp-block-uagb-advanced-heading [style*="argent-cf"] *,
[style*="font-family: argent-cf"],
[style*="font-family:argent-cf"],
p.headerweight,
h1.headerweight {
	font-weight: 300 !important;
}
/* Poppins subheads: weight 500 (Medium) */
.wp-block-uagb-advanced-heading [style*="poppins"],
.wp-block-uagb-advanced-heading [style*="poppins"] *,
[style*="font-family: poppins"],
[style*="font-family:poppins"],
.has-poppins-font-family,
h2.headerweight,
h3.headerweight,
h2.has-custom-desert-green-color,
h3.has-custom-desert-green-color,
h4.has-custom-desert-green-color,
h2.has-custom-meyer-lemon-color,
h3.has-custom-meyer-lemon-color {
	font-weight: 500 !important;
}
/* Helvetica + Helvetica Light body: weight 300 (Light).
 * Excluded: strong/b children (handled separately as condensed bold above). */
.wp-block-uagb-advanced-heading [style*="Helvetica"]:not([style*="Bold"]):not(strong):not(b),
.wp-block-uagb-advanced-heading [style*="Helvetica"]:not([style*="Bold"]) > *:not(strong):not(b),
[style*='font-family: "Helvetica"']:not(strong):not(b),
[style*='font-family:"Helvetica"']:not(strong):not(b),
[style*='font-family: "Helvetica Light"'],
[style*='font-family:"Helvetica Light"'],
p.has-helvetica-font-family,
li.has-helvetica-font-family,
.has-helvetica-font-family:not(strong):not(b) {
	font-weight: 300 !important;
}
/* Keep strong bold within Helvetica body */
p.has-helvetica-font-family strong,
.has-helvetica-font-family strong,
p strong, li strong {
	font-weight: 700 !important;
}

/* ===========================================================
 * Partner page (and any other) multi-column lists: prevent the
 * weird mid-word and mid-phrase breaks ("COLLABORATIO / N",
 * "GRAPHIC / DESIGN", "UNIQUE / MESSAGING").
 * The cause is `.wp-block-column` rendering at 157px each which
 * cannot fit two-word phrases. Force columns wider and tell list
 * items not to wrap inside themselves.
 * ========================================================= */
.wp-block-uagb-container .wp-block-list,
.wp-block-uagb-container .wp-block-list li,
.wp-block-columns .wp-block-list li,
.wp-block-list[class*="column-count"] li {
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	hyphens: none !important;
}
.wp-block-uagb-container .wp-block-columns .wp-block-column {
	min-width: 220px;
	flex-basis: auto !important;
}
.wp-block-uagb-container .wp-block-columns .wp-block-column li,
.wp-block-uagb-container .wp-block-list li {
	white-space: nowrap;
}
@media (max-width: 600px) {
	.wp-block-uagb-container .wp-block-columns .wp-block-column li,
	.wp-block-uagb-container .wp-block-list li {
		white-space: normal;
	}
}

/* ===========================================================
 * WPForms restyle — labels in brand subhead style, submit in Mantis pill
 * ========================================================= */
.wpforms-field-label {
	font-family: poppins, "Helvetica Neue", Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--custom-desert-green);
	font-weight: 500;
}
.wpforms-submit {
	background-color: var(--wp--preset--color--custom-mantis) !important;
	border-color: var(--wp--preset--color--custom-mantis) !important;
	color: var(--wp--preset--color--white) !important;
	border-radius: 999px !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.6rem 1.5rem !important;
}
.wpforms-required-label,
.wpforms-field-label .wpforms-required-label {
	color: var(--wp--preset--color--custom-mantis) !important;
}

/* ===========================================================
 * Hamburger touch target — WCAG 2.5.5 minimum 44x44.
 * ========================================================= */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px !important;
	min-height: 44px !important;
	padding: 10px !important;
}

/* ===========================================================
 * Section headlines — prevent single-word orphans.
 * ========================================================= */
h1, h2, h3 {
	text-wrap: balance;
}

/* ===========================================================
 * Paper-scrap labels (.widetape) — "why hire us?", "brag board",
 * "contact us". Rotate + overlap the band edge above + add shadow.
 * Currently sits flat inside the section; comp dips it above
 * the band edge by ~30% of its height.
 * ========================================================= */
.widetape {
	transform: rotate(-2deg);
	margin-top: clamp(-3rem, -5vw, -1.5rem);
	margin-bottom: clamp(-1.5rem, -2vw, -0.5rem);
	filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.18));
	position: relative;
	z-index: 5;
}
@media (max-width: 600px) {
	.widetape {
		transform: rotate(-1.5deg);
		margin-top: -1rem;
		margin-bottom: -1rem;
	}
}

/* ===========================================================
 * Italic Helvetica Desert Green subtitle ("Your ideas, our
 * expertise. Let's get started!") gets `text-transform: capitalize`
 * baked in via Spectra. The .ai source is sentence case, so we
 * override here. Targets the H6 used as that italic CTA tagline.
 * ========================================================= */
h5.has-helvetica-font-family.has-custom-desert-green-color,
h6.has-helvetica-font-family.has-custom-desert-green-color,
.has-helvetica-font-family[style*="italic"].has-custom-desert-green-color {
	text-transform: none !important;
}

/* Contact paper-scrap label was previously fixed via CSS ::after pseudo;
 * now the source contact-form template-part says "contact us" directly,
 * so the CSS hack is removed. */

/* Header social chips: removed June 2026. Socials now live in the
 * footer (Hillary: "your socials you can put at the bottom").
 * See .pl-footer-socials in the 2026 refresh block. */

/* ===========================================================
 * Header nav order — comp wants GALLERY before ABOUT US.
 * Flexbox order swap so we don't have to touch the navigation
 * block content. PARTNER WITH US pill stays last.
 * ========================================================= */
.wp-block-navigation .wp-block-navigation-item:has(a[href*="/portfolio"]),
.wp-block-navigation .wp-block-navigation-item:has(a[href*="/gallery"]) {
	order: 1;
}
.wp-block-navigation .wp-block-navigation-item:has(a[href*="/about"]) {
	order: 2;
}
.wp-block-navigation .wp-block-navigation-item:has(.wp-block-buttons),
.wp-block-navigation .wp-block-navigation-item:has(.wp-block-button) {
	order: 3;
}

/* ===========================================================
 * Brag-board outer testimonial cards — rotation + push-pin.
 * The middle card (.centerblurb) is a PNG that already includes
 * its rotation + pin baked in. The outer two (.leftblurb and
 * the unclassed figure in column 3) are flat — add CSS rotation
 * and a ::before push-pin to match the comp.
 * Scoped to body.home; the block ID is reused on inner pages.
 * ========================================================= */
body.home .uagb-block-56226acd .wp-block-column,
body.home .uagb-block-56226acd .wp-block-image {
	overflow: visible !important;
	position: relative;
}
.leftblurb {
	transform: rotate(-1.8deg);
	transform-origin: 50% 30%;
	filter: drop-shadow(2px 6px 14px rgba(0, 0, 0, 0.22));
}
.uagb-block-56226acd .wp-block-column:not(.divmargins):last-child .wp-block-image:not(.centerblurb) {
	transform: rotate(1.5deg);
	transform-origin: 50% 30%;
	filter: drop-shadow(2px 6px 14px rgba(0, 0, 0, 0.22));
}
/* Push-pin pseudo-element on the outer two figures (gold sphere with shadow) */
.leftblurb::before,
.uagb-block-56226acd .wp-block-column:not(.divmargins):last-child .wp-block-image:not(.centerblurb)::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	width: 18px;
	height: 18px;
	transform: translateX(-50%);
	background: radial-gradient(circle at 32% 28%, #f3c14d 0%, #c08a1c 55%, #6b4806 100%);
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), inset -1px -1px 2px rgba(0, 0, 0, 0.25);
	z-index: 10;
}
/* Mobile: reduce rotation to avoid edge clipping */
@media (max-width: 700px) {
	.leftblurb,
	.uagb-block-56226acd .wp-block-column:not(.divmargins):last-child .wp-block-image:not(.centerblurb) {
		transform: rotate(0deg);
	}
}

/* ===========================================================
 * Default WordPress footer cleanup — hide the search widget,
 * "Proudly powered by WordPress" link, and the yellow site-title
 * link until the custom footer pattern is built (gameplan C7).
 * Footer rebuild proper will replace the entire template part.
 * ========================================================= */
.wp-block-template-part[data-wp-area="footer"] .wp-block-search,
footer .wp-block-search,
.wp-block-template-part[data-wp-area="footer"] .wp-block-site-title,
footer .wp-block-site-title {
	display: none !important;
}
/* "Proudly powered by WordPress" — hide its paragraph wrapper. */
footer p:has(> a[href*="wordpress.org"]),
footer .has-text-align-right:has(a[href*="wordpress.org"]) {
	display: none !important;
}
/* Orphaned "Search" / "Social" labels — they're <p> tags styled Meyer Lemon,
 * not headings. Hide both. Also hide the entire search column wrapper since
 * its only content (the search form) is already hidden. */
footer p.has-custom-meyer-lemon-color {
	display: none !important;
}
footer .wp-block-group:has(> .wp-block-search) {
	display: none !important;
}
/* Heading text matches — broader catch for "SEARCH" / "SOCIAL" headings
 * styled with Meyer Lemon color. Targets WP-emitted heading blocks
 * inside the footer template part. */
footer .wp-block-heading {
	font-family: poppins, "Helvetica Neue", Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--custom-desert-green) !important;
	font-size: 0.85rem;
	font-weight: 500;
}
/* Social link list — make it brand-friendly */
footer ul.wp-block-list,
footer .wp-block-list {
	list-style: none;
	padding: 0;
}
footer ul.wp-block-list a {
	color: var(--wp--preset--color--custom-pewter) !important;
	text-decoration: none;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
footer ul.wp-block-list a:hover {
	color: var(--wp--preset--color--custom-mantis) !important;
}

/* ===========================================================
 * New custom footer (rebuilt per comp): wordmark left + nav right
 * .pl-footer-wordmark image, .pl-footer-nav link items
 * ========================================================= */

/* Widen the alignwide container so wordmark + nav fit side-by-side */
footer .wp-block-group.alignwide {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
}
/* Force flex: row, no wrap, space-between at desktop */
footer .wp-block-group.alignwide.is-layout-flex {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 2rem;
}
.pl-footer-nav p {
	margin: 0 !important;
}
.pl-footer-nav a {
	color: var(--wp--preset--color--custom-pewter) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.pl-footer-nav a:hover,
.pl-footer-nav a:focus {
	color: var(--wp--preset--color--custom-mantis) !important;
	text-decoration: none !important;
}
.pl-footer-wordmark {
	margin: 0 !important;
}
.pl-footer-wordmark img {
	max-width: 280px;
	height: auto;
	display: block;
}
/* Mobile: stack vertically, wordmark on top */
@media (max-width: 700px) {
	footer .wp-block-group.alignwide.is-layout-flex {
		flex-direction: column !important;
		gap: 1rem;
		text-align: center;
	}
	.pl-footer-wordmark img {
		max-width: 220px;
		margin: 0 auto;
	}
	.pl-footer-nav {
		gap: 1.25rem !important;
		flex-wrap: wrap;
		justify-content: center !important;
	}
}

/* ===========================================================
 * Mobile fixes (<= 600px)
 * ========================================================= */
@media (max-width: 600px) {
	/* WPForms field rows: collapse to single column for usability */
	.wpforms-field-row {
		flex-direction: column !important;
		gap: 16px !important;
	}
	.wpforms-field-row .wpforms-field {
		width: 100% !important;
		float: none !important;
	}

	/* Tighter sub-headline kerning to prevent 4-5 line wraps */
	.uagb-heading-text[class*="subhead"],
	h5, h6 {
		letter-spacing: 0.025em !important;
	}

	/* Service list — single column to avoid mid-word breaks */
	.wp-block-columns ul[style*="column-count"],
	ul[style*="column-count"],
	ol[style*="column-count"] {
		column-count: 1 !important;
		columns: 1 !important;
	}
}

/* ============================================================
 * 2026 BRAND REFRESH (Hillary's Miro board, June 11 2026)
 * The palette itself is remapped in pl-brand-tokens.php (slugs are
 * stable, hex updated: gray #575759, yellow #FFCC00, teal #33CCCC).
 * Everything below is what the palette swap can't do by itself.
 * ========================================================== */

/* --- Accessibility: 16px floor on all "small" fluid text.
 * Inline Spectra/TT3 clamps bottom out at 0.875rem (14px); Hillary
 * wants nothing under 16. Those clamps cap at 1rem anyway, so
 * pinning to 1rem keeps the scale intact. Covers nav items, buttons,
 * quote band, footer links. */
[style*="font-size:clamp(0.875"],
.has-small-font-size {
	font-size: 1rem !important;
}

/* --- Forms: 16px minimum everywhere (labels turn teal via the
 * palette swap; size set here). */
.wpforms-field-label,
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="url"],
.wpforms-form textarea,
.wpforms-form .wpforms-field-sublabel,
.wpforms-form ::placeholder {
	font-size: 1rem !important;
}

/* --- Texture bands -> solid brand colors. Scoped to body.home because
 * Spectra reuses these container IDs on the inner pages (the partner
 * "we have answers!" band shares uagb-block-41733376), and an unscoped
 * rule bled the homepage colors onto them.
 * "why hire us" band: green texture image -> solid teal.
 * "brag board" band: yellow swatch texture -> solid yellow. */
body.home .wp-block-uagb-container.uagb-block-3086bbc5,
body.home .wp-block-uagb-container.uagb-block-bf05f605 {
	background-image: none !important;
	background-color: var(--wp--preset--color--custom-desert-green) !important;
}
body.home .wp-block-uagb-container.uagb-block-41733376,
body.home .wp-block-uagb-container.uagb-block-56226acd {
	background-image: none !important;
	background-color: var(--wp--preset--color--custom-meyer-lemon) !important;
}

/* --- Paper-scrap script labels: bigger type ("can text be bigger?"
 * on why hire us / brag board / contact us). One uniform fluid size. */

/* --- Header: make it truly stick on scroll (Hillary: "can the header
 * stick at the top so when you scroll, the header stays there?").
 * The theme's .is-position-sticky sits on an inner group whose parent
 * is exactly its own height, so it has no travel room. Promote the
 * OUTER header template-part (its parent is the full-page .wp-site-blocks)
 * to the sticky element instead. */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky !important;
	top: 0;
	z-index: 90;
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
/* Neutralize the now-redundant inner sticky so the two don't fight. */
header .wp-block-group.is-position-sticky {
	position: static !important;
}
.wp-block-navigation__container {
	gap: 30px !important;
}

/* --- Hero headline emphasis ("over $100 million"): italic in the same
 * weight as the rest of the headline. Until Oct 2026 this was Regular Italic
 * (400) inside a Light headline, per the 2024 style guide. Once Argent CF
 * Thin was added to the Adobe web project the headline turned Thin and the
 * Regular Italic stood out much more, so Hillary chose to match it: "switch
 * to the thin italic for 'over $100 million'" (Oct 8 2026). Inheriting the
 * headline's weight gives Thin Italic now, and would follow along if the
 * headline weight ever changes again. */
p.headerweight em,
h1.headerweight em,
.headerweight em {
	font-weight: inherit !important;
	font-style: italic !important;
}

/* --- Breathing room around the 2-col service lists ("feels
 * crowded, maybe 15px space between"). */
.wp-block-uagb-container .wp-block-columns:has(.wp-block-list) {
	margin-top: 15px !important;
	margin-bottom: 15px !important;
}

/* --- Footer nav row: keep horizontal even with the added FAQs item. */
.pl-footer-nav {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 1.5rem !important;
}
.pl-footer-nav p {
	white-space: nowrap;
}

/* --- Footer socials (moved out of the header, new yellow chips). */
.pl-footer-socials {
	display: flex !important;
	gap: 0.75rem;
	align-items: center;
	margin: 0 !important;
}
.pl-footer-socials img {
	width: 34px;
	height: 34px;
	display: block;
}
@media (max-width: 700px) {
	.pl-footer-socials {
		justify-content: center;
	}
}

/* --- Section + hero headlines are <p class="headerweight"> with no
 * font-family, so they fell back off Argent CF (Hillary: "is this font
 * correct? it should be Argent CF light"). Pin the brand serif; <em>
 * emphasis renders as Argent CF Regular Italic (weight handled above). */
p.headerweight,
h1.headerweight,
h2.headerweight {
	font-family: "argent-cf", Georgia, "Times New Roman", serif !important;
}

/* --- New logo sizing. The 2026 lockup is wider/shorter than the old mast,
 * so size by height and let width follow. */
header .pl-new-logo {
	width: auto !important;
	height: auto !important;
	max-height: 54px;
	display: block;
}
.pl-footer-wordmark .pl-new-logo,
footer .pl-new-logo {
	width: auto !important;
	height: auto !important;
	max-height: 60px;
	display: block;
}
.pl-footer-wordmark {
	width: auto !important;
}

/* --- Remove buttons Hillary flagged ("can we remove this button?"):
 * the hero "Hire Us" CTA and the two "I have questions about working
 * together" buttons (both link to /partner). Homepage only. */
body.home .hirebutton,
body.home .wp-block-buttons.hirebutton,
body.home .bodybutton:has(a[href$="/partner"]),
body.home .bodybutton:has(a[href$="/partner/"]) {
	display: none !important;
}

/* --- Brag-board cards: the new PNGs already include note texture, shadow,
 * tilt and pin, so neutralize the old per-figure rotation + push-pin pseudo
 * elements to avoid doubling them up. */
.uagb-block-56226acd .leftblurb,
.uagb-block-56226acd .centerblurb,
.uagb-block-56226acd .wp-block-image,
.leftblurb.wp-block-image:has(.pl-brag-card),
.wp-block-image:has(.pl-brag-card) {
	transform: none !important;
	filter: none !important;
}
.wp-block-image:has(.pl-brag-card)::before,
.leftblurb::before,
.uagb-block-56226acd .wp-block-column:not(.divmargins):last-child .wp-block-image:not(.centerblurb)::before {
	display: none !important;
	content: none !important;
}
.pl-brag-card {
	width: 100%;
	height: auto;
	display: block;
}

/* ============================================================
 * ABOUT PAGE (id 34)
 * ========================================================== */

/* Hero/intro texture -> plain white (Hillary: "let's remove this
 * texture, background will be white"). */
body.page-id-34 .wp-block-uagb-container.uagb-block-32193268 {
	background-image: none !important;
	background-color: #ffffff !important;
}

/* "our team" label sits on a torn-paper scrap (Hillary: "our team
 * needs to be on one of these paper images"). */
.pl-our-team-label {
	display: inline-block !important;
	background: url("/wp-content/uploads/2024/10/paper_tape_banners.png") no-repeat center center;
	background-size: 100% 100%;
	padding: 0.55em 1.4em 0.7em !important;
	color: #575759 !important;
	transform: rotate(-2deg);
	filter: drop-shadow(2px 4px 9px rgba(0, 0, 0, 0.18));
}

/* Team photo grid: leave blank for now (Hillary: "waiting to see what
 * we want here. Maybe for now, we leave it blank."). Hide the gray
 * placeholder cells until real photos arrive. */
body.page-id-34 .pl-our-team-grid-wrap {
	display: none !important;
}

/* Bio/intro body text: larger + darker (Hillary: "larger font for text
 * and darker color please"). Pewter already darkened to #575759 via the
 * palette swap; bump the size above the 16px floor. */
body.page-id-34 .wp-block-uagb-container p.has-helvetica-font-family {
	font-size: 1.05rem !important;
	line-height: 1.6 !important;
}

/* ============================================================
 * PARTNER PAGE (id 12133)
 * ========================================================== */

/* "we have answers!" banner -> solid teal. The heading text in this
 * band is white (has-base-color), so the band must be a saturated
 * color for it to read; teal matches the homepage "why hire us" band. */
body.page-id-12133 .wp-block-uagb-container.uagb-block-41733376 {
	background-image: none !important;
	background-color: var(--wp--preset--color--custom-desert-green) !important;
}

/* "we have answers!" band: the scrap label and heading sit in a
 * horizontal nowrap flex, and the global .widetape negative margins
 * pulled the scrap onto the heading (Hillary: "text is overlapping").
 * Reset the scrap's offsets here and give the row real spacing. */
body.page-id-12133 .bigboy.is-horizontal {
	gap: clamp(1.5rem, 4vw, 3.5rem) !important;
	align-items: center !important;
}
body.page-id-12133 .bigboy.is-horizontal .widetape {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	flex: 0 0 auto;
}

/* FAQ question headings -> teal (Hillary: "Questions will be in blue").
 * The questions are advanced-heading h4s with no color class; the
 * capability lists already carry desert-green (now teal), so exclude
 * those. */
body.page-id-12133 .wp-block-uagb-advanced-heading h4.uagb-heading-text:not(.has-custom-desert-green-color):not(.has-custom-meyer-lemon-color):not(.has-custom-pewter-color) {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* ============================================================
 * GALLERY PAGE (Spectra image gallery)
 * Hillary: "I like this kind of idea where there is space between the
 * images and they don't have to fit in a grid of all square photos."
 * Convert the square grid to a masonry column layout with gaps so the
 * thumbnails keep their natural aspect ratios. (The missing-thumbnail
 * bug itself is fixed by the <source>-stripping filter in
 * pl-2026-refresh.php.)
 * ========================================================== */
/* Widen the gallery container a little (the block caps it at 800px). */
.page-template-wp-custom-template-gallery .uagb-container-inner-blocks-wrap {
	max-width: 1080px !important;
}
/* The real grid container -> CSS columns masonry. */
.spectra-image-gallery.spectra-image-gallery__layout--grid {
	display: block !important;
	columns: 3 260px;
	column-gap: 18px;
}
.spectra-image-gallery__media-wrapper {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 18px !important;
	width: 100% !important;
	display: inline-block !important;
}
.spectra-image-gallery__media,
.spectra-image-gallery__media--grid {
	aspect-ratio: auto !important;
	height: auto !important;
}
/* Natural aspect ratio + a placeholder min-height so the column reserves
 * vertical space before images load — that keeps below-the-fold cells out
 * of the viewport so native lazy-loading staggers the requests instead of
 * firing all ~24 at once (which is what tripped the CDN 503s). */
.spectra-image-gallery__media-thumbnail,
.spectra-image-gallery__media-thumbnail--grid {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: auto !important;
	display: block !important;
	min-height: 160px;
	background: #f4f4f4;
	border-radius: 4px;
}
@media (max-width: 900px) {
	.spectra-image-gallery.spectra-image-gallery__layout--grid { columns: 2 220px; }
}
@media (max-width: 560px) {
	.spectra-image-gallery.spectra-image-gallery__layout--grid { columns: 1; }
}

/* ============================================================
 * JULY 2026 REFINEMENTS (Hillary's Miro board, "July 2026 changes")
 * A second pass of tweaks layered on top of the June refresh.
 * ========================================================== */

/* --- Home: drop the shadow behind the (sticky) header bar
 * (Hillary: "remove the shadow behind the bar please"). */
.wp-site-blocks > header.wp-block-template-part {
	box-shadow: none !important;
}

/* --- Titles throughout: smaller + tighter leading (Hillary: "reduce the
 * size of the titles throughout and tighten up the space between the type",
 * plus the red-box/yellow-box note showing tighter hero-headline leading).
 * Targets the pewter Argent-CF serif titles (hero + section headings). The
 * teal all-caps eyebrows are a different class and keep their own size. */
p.headerweight.has-custom-pewter-color,
h1.headerweight.has-custom-pewter-color,
h2.headerweight.has-custom-pewter-color {
	font-size: clamp(1.9rem, 1.25rem + 2.2vw, 2.7rem) !important;
	line-height: 1.12 !important;
}

/* --- Home: enlarge the small teal all-caps lead-in over the client logos
 * ("FROM HOUSEHOLD NAMES TO MAJOR BRANDS...") so it reads closer to the
 * testimonial quotes (Hillary: "increase the font size here ... match the
 * quotes"). */
body.home h2.headerweight.has-custom-desert-green-color {
	font-size: 1.2rem !important;
	line-height: 1.4 !important;
}

/* --- Contact: the "Your ideas, our expertise. Let's get started!" tagline
 * is yellow here; Hillary wants the brighter teal (it already is teal on the
 * Partner page). Scoped to the contact page + its unique .right-fill line. */
body.page-id-12080 p.right-fill.has-custom-mantis-color {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* --- Partner/FAQ: the first question heading ("WHY SHOULD WE HIRE...") sits
 * flush against the teal "we have answers!" band (Hillary: "fix the
 * overlapping text"). The band's margin-bottom collapses against the content
 * container's existing 40px top margin, so it can't open the gap; use
 * non-collapsing padding-top on the content container instead. */
body.page-id-12133 .wp-block-uagb-container.uagb-block-954f8c77 {
	padding-top: 3rem !important;
}

/* --- Partner/FAQ: the italic subtitles ("Think of us...", "Our goal is...")
 * render in a muted gray-green; Hillary wants them the bold yellow and a bit
 * larger to match the quotes. They are the color-classless h6 headings
 * (the teal tagline carries has-text-color, so it is excluded). */
body.page-id-12133 h6.uagb-heading-text:not(.has-text-color) {
	color: var(--wp--preset--color--custom-meyer-lemon) !important;
	font-weight: 700 !important;
	font-size: 1.15rem !important;
}

/* --- Partner/FAQ: breathing room between the "Your ideas..." tagline and the
 * contact form's first field (Hillary: "add some padding ... between the
 * header and the 'first name'"). */
body.page-id-12133 .wpforms-container-full,
body.page-id-12133 form.wpforms-form {
	margin-top: 2.25rem !important;
}

/* --- About: bio/intro body text a touch larger (Hillary: "increase the font
 * size ... match the quotes"). Bumps the earlier 1.05rem. */
body.page-id-34 .wp-block-uagb-container p.has-helvetica-font-family {
	font-size: 1.15rem !important;
}

/* --- Gallery: remove the hover zoom (Hillary: "remove the animation on
 * these ... so the size doesn't increase when you mouse over them"). Spectra
 * puts transform + transition on the thumbnail; neutralize every hover path. */
.spectra-image-gallery__media-thumbnail,
.spectra-image-gallery__media-wrapper:hover .spectra-image-gallery__media-thumbnail,
.spectra-image-gallery__media:hover .spectra-image-gallery__media-thumbnail,
.spectra-image-gallery__media-thumbnail:hover {
	transform: none !important;
	transition: none !important;
}

/* --- Home: the capability lists in "let us take care of it" (GRAPHIC
 * DESIGN / ILLUSTRATION / ... and TREND RESEARCH / ...) render in the old
 * muted sage #9DB7B4; Hillary wants the brighter teal. They are the only
 * headerweight h2s on the page without a color class (every teal eyebrow
 * carries has-text-color), so :not() isolates them exactly. */
body.home h2.headerweight:not(.has-text-color) {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* --- Forms: field labels (FIRST NAME, EMAIL, WEBSITE...) -> brighter teal
 * (Hillary's note on the About page form; same form renders on Contact and
 * Partner). The June rule already intended this but WPForms' own
 * .wpforms-container-full .wpforms-form selector out-specifies it and the
 * labels stayed muted sage #9DB7B4 -- restate with matching specificity. */
.wpforms-container-full .wpforms-form .wpforms-field-label,
.wpforms-field-label {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* --- Home: vertically center the text column against the artwork in the
 * image+text rows (hero, partners in creativity, leading with expertise,
 * let us take care of it). The core columns rows default to top alignment,
 * which left the text pinned to the top with dead space below, especially
 * after the July title-size reduction. Scoped to main (the header/footer
 * also contain columns rows) and to desktop (columns stack on mobile). */
@media (min-width: 782px) {
	body.home main .wp-block-columns {
		align-items: center !important;
	}
}

/* =====================================================================
 * JULY 15 2026 ROUND (Hillary's third board)
 * ===================================================================== */

/* --- "why hire us?" tape was missing its torn edges. Every paper scrap on
 * the site uses the same artwork (paper_tape_banners.png); the difference is
 * background-size. The brag board and contact scraps use `contain` (whole
 * tape visible, torn edges intact) while this one used `cover`, which scales
 * up and crops the ragged ends off. Match the others. */
.widetape.uagb-block-9a3fb61c,
.widetape.uagb-block-9e02d26c {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* --- Teal sub-headlines to the sans serif face (Hillary: "this font needs
 * to be the sans serif font....for the sub-headlines" and "same with this
 * list of things"). These all share one class: the teal eyebrow lines
 * (WHY ARE WE THE DESIGN PROS, YOUR CREATIVE PARTNER..., FROM HOUSEHOLD
 * NAMES...) carry .has-custom-desert-green-color, and the capability lists
 * are the same headerweight h2 without a color class. Both were inheriting
 * argent-cf (serif). "Helvetica" is aliased to Inter in pl-brand-tokens.php. */
h2.headerweight.has-custom-desert-green-color,
body.home h2.headerweight:not(.has-text-color) {
	font-family: "Inter", "Helvetica", Arial, sans-serif !important;
	letter-spacing: 0.06em;
}

/* --- Home hero: the teal sub-headline under the headline reads too small
 * against the new title sizing, Hillary asked for roughly twice its size.
 * Scoped to the hero row only (first columns row in main) so the other teal
 * eyebrows on the page keep their current size. Clamped so it scales down
 * instead of overwhelming narrow screens. */
body.home main > .wp-block-columns:first-of-type h2.headerweight.has-custom-desert-green-color {
	/* July 23: Hillary supplied exact specs from the WhatFont extension for
	 * this line (19px / 27px line-height / weight 500 / teal). Her board says
	 * "19pt" but the pasted spec screenshot reads 19px, so px is authoritative.
	 * This walks back the July 15 enlargement to near its original size. */
	font-size: 19px !important;
	line-height: 27px !important;
	font-weight: 500 !important;
}

/* --- Header nav: "PARTNER WITH US" sat too close to "ABOUT US". The
 * container gap stays 30px for the plain links; the pill button gets extra
 * breathing room ahead of it. */
.wp-block-navigation__container > :last-child {
	margin-left: 20px;
}

/* --- Home top: dead space between the header bar and the hero ("remove some
 * padding here. this feels like too much space"). The gap comes from a 72px
 * margin-top on <main>, not from the hero row (a margin-top on the row just
 * collapses into main's). Trimmed to 24px on the home page only. */
body.home main {
	margin-top: 24px !important;
}

/* --- Home: even out the space above the three section titles.
 * Measured before: 28px above "partners in creativity" but 155px and 164px
 * above the other two. The cause is the vertical centering added earlier:
 * with align-items:center the offset above each title is (rowHeight -
 * textHeight) / 2, so it varies with each row's image height. Hillary asked
 * for one consistent gap, so these three rows are top-aligned again with a
 * single shared offset. The hero row keeps its centering (it reads well and
 * has no title-rhythm problem). :has() picks exactly the rows carrying a
 * pewter section title, and :not(:first-of-type) leaves the hero alone. */
@media (min-width: 782px) {
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) {
		align-items: flex-start !important;
	}
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:has(p.headerweight.has-custom-pewter-color) {
		padding-top: 90px;
	}
}

/* --- Home: headline -> subhead gap. July 15 set this to 24px; on review
 * Hillary picked the tight pairing under "leading with expertise" as the one
 * that looks right ("partners in creativity" and "let us take care of it"
 * measured 24px and read as too loose, that one measured 0). Matching all
 * three to the tight version: zero the eyebrow's top margin and the
 * headline's residual bottom margin. */
body.home main h2.headerweight.has-custom-desert-green-color {
	margin-top: 0;
}
body.home main p.headerweight.has-custom-pewter-color {
	margin-bottom: 0;
}

/* --- Home: left edges in "let us take care of it" did not line up. The
 * headline sat at 210px, the teal eyebrow at 214px and the two body
 * paragraphs at 202px ("tired of juggling..." / "need modern, rustic..."
 * read as too far left). Pull everything in that column onto one edge. */
body.home main .wp-block-column:has(> p.headerweight.has-custom-pewter-color) > p:not(.headerweight) {
	padding-left: 12px;
}
body.home main p.headerweight.has-custom-pewter-color {
	padding-left: 4px;
}
/* The teal eyebrow carried a 32px left padding of its own, which pushed it
 * 32px right of the headline and body copy. */
body.home main h2.headerweight.has-custom-desert-green-color {
	padding-left: 0 !important;
}

/* --- Home: the teal "why hire us" band was taller than it needed to be. */
body.home .uagb-block-3086bbc5 {
	min-height: 0 !important;
	padding-top: 34px !important;
	padding-bottom: 34px !important;
}

/* --- Quotes sitting on the teal bands -> 18px (Hillary: "there are 3 spots
 * where quotes appear on blue background. All need to be 18 pt text"; her
 * pasted specs confirm these numbers are px). */
.has-custom-desert-green-background-color .has-helvetica-neue-font-family,
.uagb-block-3086bbc5 .has-helvetica-neue-font-family {
	font-size: 18px !important;
	line-height: 1.5 !important;
}

/* --- Home brag board: whole section reads too large. Cards and the "brag
 * board" tape come down 20%, and the yellow panel loses some height. The
 * quote cards are flattened PNGs with their type baked in, so scaling the
 * card is the only way to change the type size -- at 80% the note text lands
 * near the 16px Hillary asked for. */
body.home .uagb-block-41733376 {
	padding-top: 0.4% !important;
	padding-bottom: 0.4% !important;
}
body.home img.pl-brag-card {
	width: 80%;
	height: auto;
	display: block;
	margin-inline: auto;
}

/* --- Header: logo up ~20% and more air before the "PARTNER WITH US" pill. */
header .pl-new-logo {
	max-height: 66px !important;
}
.wp-block-navigation__container > :last-child {
	margin-left: 44px;
}

/* --- Home: "See design gallery" relocated out of the client-logo column and
 * centered below the "leading with expertise" row (moved in
 * pl-2026-refresh.php). The original wrapper is right-justified, so the
 * justification is overridden here rather than in the markup. */
.pl-gallery-cta {
	/* No bottom margin: the next section supplies its own 90px top offset, so
	 * adding one here would push "let us take care of it" out of step with
	 * the other two section titles. */
	margin: 8px auto 0;
	/* July 23: centering it across the whole row read as "centered on the
	 * page" rather than belonging to the section. This block sits in a
	 * full-width group, so it is first constrained to the same content width
	 * as the row above it, then offset by half of that -- which lands the
	 * button under the right-hand copy column ("leading with expertise")
	 * rather than the middle of the window. */
	/* The row runs full-bleed, and the copy column's centre sits at 70% of it,
	 * so a 40% left inset centres the button under that column. */
	padding-left: 40%;
	box-sizing: border-box;
}
@media (max-width: 781px) {
	.pl-gallery-cta {
		padding-left: 0;
	}
}
.pl-gallery-cta .wp-block-buttons {
	justify-content: center !important;
	/* The original wrapper carries inline margin-top/bottom of 1%, which at
	 * this container width added ~21px and pushed the next section title out
	 * of step with the other two. Both are zeroed here. */
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* --- About: the yellow italic sign-off ("Because while we take our work
 * seriously...") to teal, matching the equivalent tagline on Contact.
 * Scoped to About so the Partner page's bold-yellow taglines are untouched. */
/* (Not scoped to main: this paragraph sits outside <main> in the About
 * template. It is the only mantis-coloured element on the page, so the page
 * scope alone is precise enough and Partner's yellow taglines are untouched.) */
body.page-id-34 p.has-custom-mantis-color {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* --- About: "Because while we take our work seriously, we don't take
 * ourselves too seriously." was split by a hard <br>; Hillary wants it on one
 * line. Dropped only where the line has room to fit. */
@media (min-width: 900px) {
	body.page-id-34 p.has-custom-mantis-color br {
		display: none;
	}
}

/* --- About: the white copy in the teal "our team" band ("In addition to our
 * core design team, we partner with a talented network of creatives...") sat
 * at 16px and got lost against the full-width band. Hillary asked for roughly
 * twice the size. Scoped via the band's background class rather than the
 * paragraph's own classes, which repeat ten times across the page. The "our
 * team" scrap in the same band uses the Beach Bound Script family, so it is
 * not caught by this. The inline style carries its own clamp, hence
 * !important. */
body.page-id-34 .has-custom-desert-green-background-color p.has-helvetica-font-family {
	font-size: clamp(1.15rem, 0.85rem + 1.1vw, 2rem) !important;
	line-height: 1.45 !important;
}

/* --- About: make the contact scrap match the home page's ("yes, let's use
 * this tape and words from the home page here"). Two differences: this one
 * used background-size:cover, which crops the torn ends off exactly like the
 * "why hire us" tape did, and it read "contact" rather than "contact us"
 * (the wording is corrected in pl-2026-refresh.php). Sizing/centering here
 * mirrors the home scrap. */
body.page-id-34 .widetape.uagb-block-344d60e7 {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* --- Blog listing: post titles were inherited at 52px/65px from the single
 * post style, but the archive lays them out in ~255px columns, so long words
 * broke mid-word ("FREE DOWNLO AD"). Scoped to the query loop so the single
 * post page keeps its large title. Excerpts were 12px, under the 16px floor
 * agreed for the rest of the site, so they come up to match. */
.wp-block-query .wp-block-post-title {
	font-size: clamp(1.15rem, 0.95rem + 0.5vw, 1.5rem) !important;
	line-height: 1.3 !important;
	hyphens: none;
	overflow-wrap: break-word;
}
.wp-block-query .wp-block-post-excerpt p,
.wp-block-query .wp-block-post-excerpt__excerpt,
.wp-block-query .wp-block-post-date {
	font-size: 16px !important;
	line-height: 1.6 !important;
}

/* --- Footer nav: adding BLOG pushed CONTACT onto a second line. Each item
 * carried `padding: 0 32px` (64px per item, ~320px of the row spent on
 * padding) with a 24px gap on top of that. Dropping the padding and letting
 * the flex gap do the spacing brings the five links back onto one line with
 * room to spare, and keeps them evenly spaced. */
/* `.wp-block-group.is-layout-flex` sets the gap and outranks a single class,
 * hence the doubled selector. Original spacing between adjacent links was
 * ~88px (32px padding each side + a 24px gap); reproducing that as a pure gap
 * keeps the approved rhythm, and the clamp lets it tighten on narrower
 * screens instead of overflowing now that the row no longer wraps. */
.pl-footer-nav.wp-block-group {
	gap: clamp(28px, 4.5vw, 80px) !important;
	flex-wrap: nowrap;
}
.pl-footer-nav > p {
	padding-left: 0 !important;
	padding-right: 0 !important;
	white-space: nowrap;
}
@media (max-width: 900px) {
	.pl-footer-nav {
		flex-wrap: wrap;
		gap: 20px 28px;
	}
}

/* =====================================================================
 * PAPER TAPES: make the lettering scale with the tape
 * ---------------------------------------------------------------------
 * Hillary: "all of the tapes ... have the text as a font on top of them,
 * so when you size the site, the type doesn't get smaller with the tape.
 * Would you like me to make images of the tapes with the words on them?"
 *
 * No new artwork needed. The tape is a background image sized with
 * `contain`, so it scales with its container, while the lettering was a
 * fixed pixel size that did not. Making each tape a container query
 * container and expressing its type in `cqw` (percent of the tape's own
 * width) locks the two together at every screen size, and keeps the words
 * as real text: still editable in the block editor, still readable by
 * search engines and screen readers, still crisp on any display.
 *
 * Each ratio below is that tape's CURRENT size divided by its CURRENT
 * width, so desktop rendering is unchanged to the pixel; only the
 * behaviour on resize differs. Applied to tapes whose text lives in a
 * child element (an element cannot be its own query container).
 * ===================================================================== */
/* The query container goes on the tape's PARENT, not the tape. Each tape is
 * sized to fit its own text (fit-content inside a flex row), so making the
 * tape itself the container is circular: containment collapses the width it
 * was deriving from that text, which shrank the tapes and their lettering by
 * ~13%. The parent group takes its width from the page layout, so it is a
 * stable thing to measure against, and because the tape hugs its text, sizing
 * the text against the parent pulls the tape along with it.
 *
 * min() keeps the current desktop size as a ceiling, so nothing changes on a
 * wide screen; below that the type scales with the layout and the tape
 * follows it down.
 *
 * Applied per tape rather than to every `.wp-block-group:has(> .widetape)`:
 * the "why hire us?" tape sits in a group whose own width is content-driven,
 * so making that group a container collapsed it to 22px and took the tape
 * with it. The two below sit in layout-width groups and are safe. The
 * remaining tapes keep their viewport-based clamps, which already scale. */

/* "why hire us?" needs its container one level further out: its immediate
 * group is content-sized, but the teal band around it spans the page, so the
 * band is the stable thing to measure. Ratio is against the band's full
 * width (73.6px of ~2019px) rather than the group. */

/* --- Partner/FAQ: the two keyword lists ("GRAPHIC DESIGN / TREND RESEARCH..."
 * and "INNOVATION / SEASONAL EXPRESSIONS...") read as blue-on-white and
 * Hillary wants them black. They are h4.wp-block-heading at 16px, whereas the
 * teal question headings are h4.uagb-heading-text at 21.6px, so this reaches
 * the lists without touching the questions. */
body.page-id-12133 h4.wp-block-heading.has-custom-desert-green-color {
	color: var(--wp--preset--color--custom-pewter) !important;
}

/* --- Partner/FAQ: the contact form sat 32px left of the FAQ copy above it
 * (form at 610px, copy at 642px), so headings, body and field labels did not
 * share an edge. */
body.page-id-12133 .wpforms-container,
body.page-id-12133 .wpforms-container-full {
	padding-left: 32px !important;
	box-sizing: border-box;
}

/* --- Partner/FAQ: the "we have answers!" script text was set at 73.6px in a
 * 551px box inside a 572px tape, so it wrapped onto extra lines and spilled
 * past the tape artwork (Hillary: "can we fix this? should the text be part
 * of the image?"). Keeping it as live text (editable + readable by screen
 * readers) and sizing it to fit on one line inside the tape instead. Scoped
 * by page id because Spectra reuses container block ids across pages. */

/* --- Partner/FAQ: the white lead-in beside that tape ("We've got you covered
 * so you can focus on your larger business goals!") sat at 16px against a big
 * teal band. Hillary asked for roughly twice the size. */
body.page-id-12133 h2.wp-block-heading.right-fill.has-base-color {
	font-size: clamp(1.2rem, 0.85rem + 1.1vw, 2rem) !important;
	line-height: 1.4;
}

/* --- Hard line breaks in the teal eyebrow lines (Hillary: "when I make my
 * browser smaller, this text moves to the next line in a weird way ... it
 * seems to keep 'to major brands' together and won't split it up"). The
 * markup has a literal <br> after "...TO MAJOR BRANDS.", so that whole
 * phrase is forced to hold together and wraps awkwardly once the column
 * narrows. Keep the deliberate two-line lockup on desktop, but let the text
 * reflow naturally below that. */
@media (max-width: 1100px) {
	h2.headerweight.has-custom-desert-green-color br {
		display: none;
	}
	h2.headerweight.has-custom-desert-green-color {
		text-wrap: pretty;
	}
}

/* =====================================================================
 * SEPTEMBER 2026 ROUND (Hillary's Loom walkthroughs)
 * ===================================================================== */

/* --- Header: the logo sat 15px lower than the nav (logo centre 81px, nav
 * centre 66px). Centring the header row puts them on one line. */
.wp-site-blocks > header .wp-block-group.is-layout-flex {
	align-items: center;
}

/* --- Home: a little air back between each headline and its subhead. July
 * set these to 0 to make them match; at 0 they read as too tight. Hillary's
 * own diagnosis was the giveaway: the pairing that looked right has no
 * descenders, so it only appeared to have more space. A small uniform value
 * restores the gap without reintroducing the old inconsistency. */
body.home main h2.headerweight.has-custom-desert-green-color {
	margin-top: 10px;
}

/* --- Home: separate the photo from the copy in the image+text rows. They
 * were 8px apart; Hillary asked for roughly double, "not a lot". */
body.home main > .wp-block-columns.is-layout-flex {
	gap: 16px !important;
}

/* --- Home: stop the full-bleed bands butting straight up against the photos
 * above and below them ("instead of the photo running right up against the
 * band, can there be a little space"; restated in the Sept 14 Loom as "if
 * there could be a little cushion here and then one here").
 *
 * IMPORTANT: Spectra emits each band TWICE, as a desktop copy and a mobile
 * copy, and only one is ever visible. On home the visible desktop pair is
 * bf05f605 (teal) / 56226acd (yellow); 3086bbc5 / 41733376 carry
 * `uag-hide-desktop uag-hide-tab` and render at zero width. This rule
 * originally listed only the hidden pair, so it never took effect on a real
 * screen -- which is why she reported the same gap three rounds running.
 * Any new home-band rule must list all four. */
body.home .uagb-block-3086bbc5,
body.home .uagb-block-41733376,
body.home .uagb-block-bf05f605,
body.home .uagb-block-56226acd {
	margin-top: 26px !important;
	margin-bottom: 26px !important;
}

/* --- The three teal bands each pair a tape with a line of copy, and the
 * sizes had drifted badly apart: home 18px, About and Partner both 32px
 * ("this one's really small, then these two are really big"). One value in
 * between, applied to all three. */
body.home .uagb-block-3086bbc5 .has-helvetica-neue-font-family,
body.home .uagb-block-bf05f605 .has-helvetica-neue-font-family,
body.page-id-34 .has-custom-desert-green-background-color p.has-helvetica-font-family,
body.page-id-12133 h2.wp-block-heading.right-fill.has-base-color {
	font-size: 24px !important;
	line-height: 1.45 !important;
}

/* --- About: the "our team" band stacked its tape above the copy while home
 * and Partner sit tape-left / copy-right. Match the others. */
@media (min-width: 782px) {
	body.page-id-34 .has-custom-desert-green-background-color > .wp-block-group {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 44px;
		flex-wrap: nowrap;
	}
	body.page-id-34 .has-custom-desert-green-background-color > .wp-block-group > .pl-our-team-label {
		flex: 0 0 auto;
		margin: 0;
	}
	body.page-id-34 .has-custom-desert-green-background-color > .wp-block-group > p.has-helvetica-font-family {
		flex: 1 1 auto;
		margin: 0;
	}
}

/* --- Partner: the "we have answers!" lettering was still the pre-2026 pewter
 * (#928888) while every other tape uses the darker #575759. */
body.page-id-12133 .widetape.lefttape p.tagalignment {
	color: var(--wp--preset--color--custom-pewter) !important;
}

/* --- Tape heights were all over the place (209 / 223 / 242 / 249). Hillary:
 * "it's okay if the width of them changes, but the height of them needs to be
 * consistent." Fixing the height and letting the artwork scale inside it
 * keeps them uniform without distorting the torn edges. */
.widetape:has(> p.tagalignment) {
	height: 212px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* --- The Partner page had no scrap above its form; this is the new one. */
.pl-lets-talk-tape {
	background: url("/wp-content/uploads/2024/10/paper_tape_banners.png") no-repeat center center;
	background-size: contain;
	max-width: 560px;
	margin: 0 0 8px;
}

/* --- "Let's talk more" was 14px while "Partner with us" and "See design
 * gallery" are both 16px. */
.wpforms-submit {
	font-size: 16px !important;
}

/* --- Buttons hovered to a muted colour; Hillary wants the brighter teal that
 * runs through the rest of the site. */
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wpforms-submit:hover,
.wpforms-submit:focus-visible {
	background-color: var(--wp--preset--color--custom-desert-green) !important;
	border-color: var(--wp--preset--color--custom-desert-green) !important;
	color: #fff !important;
	transition: background-color 0.18s ease;
}

/* --- "See design gallery" now sits inside the copy column (moved in the PHP
 * filter), directly under "Long-Term Client Partnerships", so it no longer
 * needs the half-row offset that pushed it over the next photo. */
.pl-gallery-cta {
	margin: 22px 0 0 !important;
	padding-left: 0 !important;
	max-width: none !important;
}
.pl-gallery-cta .wp-block-buttons {
	justify-content: flex-start !important;
}

/* --- About: the "a little about us" photo was small next to a much taller
 * column of copy. Widening its column and letting the image fill it brings it
 * closer to the image-to-text balance used on the home page. */
@media (min-width: 782px) {
	body.page-id-34 main > .wp-block-columns:first-of-type > .wp-block-column:first-child {
		flex-basis: 38% !important;
	}
}
body.page-id-34 main > .wp-block-columns:first-of-type img {
	width: 100%;
	height: auto;
	max-width: none;
}

/* --- Partner: the yellow italic lines sat flush against the paragraph above
 * them ("can they have a little space"). */
body.page-id-12133 h6.uagb-heading-text:not(.has-text-color) {
	margin-top: 14px !important;
}

/* --- Corrections after first verification of the September round --- */

/* The header logo and nav sit in a columns row, not a group, so the earlier
 * align-items rule missed them. */
.wp-site-blocks > header .wp-block-columns.is-layout-flex {
	align-items: center !important;
}

/* The "leading with expertise" eyebrow was still resolving to margin-top 0
 * while its two siblings picked up the 10px, so force it. */
body.home main h2.headerweight.has-custom-desert-green-color {
	margin-top: 10px !important;
}

/* Tapes are content-box with differing padding, so a fixed height still came
 * out at 228 / 231 / 236. border-box makes the declared height the real one. */
.widetape:has(> p.tagalignment) {
	box-sizing: border-box !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* The new Partner tape needs its own type size: it is not one of the original
 * scraps, so it was falling through to a container-query rule meant for the
 * "we have answers" tape and rendering at a fraction of the right size. */

/* "let's talk" is a much shorter phrase than "why hire us?" or "contact us",
 * so a fit-content box came out 174px wide and background-size:contain shrank
 * the tape artwork to a thin strip behind the type. Give this one an explicit
 * width in the same range as the other scraps (why hire us? is 453px) and
 * align it to the copy above rather than letting it sit mid-column. */

/* =====================================================================
 * PAPER TAPES: one authoritative rule set (15 Sept 2026)
 * ---------------------------------------------------------------------
 * Replaces the per-tape sizing rules that had accumulated over four
 * rounds and drifted apart. Measured at Hillary's laptop width (995px)
 * the six tapes were rendering at 35.8 / 36.3 / 39.9 / 73.6 / 75.6px
 * across six different widths, and the About one was still the old
 * pewter #928888. That drift is exactly what she kept reporting, so the
 * fix is consolidation rather than another override.
 *
 * Because the width is now fixed, the tape can safely be its own query
 * container and the lettering expressed in cqw, so the type scales with
 * the tape rather than with the viewport. Hillary's reference is the
 * "why hire us?" tape, and the size below is set so that the longest
 * phrase ("we have answers!") still fits on one line inside it.
 * ===================================================================== */
.widetape:has(> p.tagalignment) {
	/* These sit as flex items beside their quote text, and with the default
	 * flex-shrink the declared width was being compressed (420px came out as
	 * 269px on home). flex: 0 0 auto holds the width; max-width still lets it
	 * give way on genuinely narrow screens. */
	flex: 0 0 auto !important;
	width: 420px !important;
	max-width: 100% !important;
	height: 212px !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	container-type: inline-size;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}
.widetape > p.tagalignment,
body.page-id-34 .widetape > p.tagalignment,
body.page-id-12133 .widetape > p.tagalignment {
	/* Fixed point size, NOT a proportion of the tape.
	 * Hillary: "if the type can be the same point size across all of the tapes."
	 * `11cqw` tied the lettering to each tape's own width, so wherever a tape got
	 * squeezed the type shrank with it. At her own window width (~995px) the
	 * About "let's talk" tape is boxed into a 329px column by nested Spectra
	 * padding and was rendering at 36px while every other tape sat at 46px, which
	 * is the inconsistency she kept seeing. Width is allowed to vary (her earlier
	 * note: "it's okay if the width of them changes, but the height of them needs
	 * to be consistent"), so pinning the size here and letting the box flex is the
	 * correct split. Safe at every width: the longest phrase, "we have answers!",
	 * measures 217px at 46px against a 305px usable box in the narrowest tape. */
	font-size: 46px !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
	margin: 0 !important;
	text-align: center !important;
	color: var(--wp--preset--color--custom-pewter) !important;
}

/* The About "our team" label is a different animal: the text is the
 * element itself rather than a child, so it cannot be its own query
 * container. It was also rendering at 240x108 against everyone else's
 * 420x212, which is the "this type and tape is still off" note. Same
 * box, same colour, fixed type size since the width is fixed. */
.pl-our-team-label {
	flex: 0 0 auto !important;
	width: 420px !important;
	max-width: 100% !important;
	height: 212px !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 46px !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
	color: var(--wp--preset--color--custom-pewter) !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* Nov 17 2026: the lettering on the About "our team" tape and the Partner
 * "let's talk" tape was not being drawn at all in Chrome (desktop and
 * phone; the tapes showed as blank paper). The text was there, in the right
 * font and colour; Chrome dropped it when painting a rotated element with a
 * drop-shadow filter over its own background image. Found on the live site
 * after launch, and the same on staging. Giving every tape its own
 * compositing layer makes Chrome paint the text again. Applies to all tapes
 * so they stay consistent; it changes nothing visually where the text was
 * already showing. */
.widetape,
.pl-our-team-label {
	will-change: transform;
}

/* --- Home: as the window narrows, the copy column kept its full 90px top
 * offset, which left a growing gap above the text while the photo beside it
 * stayed put (Hillary: "when it gets small, there's too much space here at
 * the top ... the type needs to move up"). Step the offset down with the
 * viewport so the text tracks the photo instead of drifting away from it. */
@media (max-width: 1400px) {
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:has(p.headerweight.has-custom-pewter-color) {
		padding-top: 52px;
	}
}
@media (max-width: 1100px) {
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:has(p.headerweight.has-custom-pewter-color) {
		padding-top: 24px;
	}
}
@media (max-width: 900px) {
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:has(p.headerweight.has-custom-pewter-color) {
		padding-top: 8px;
	}
}

/* --- About hero photo. Hillary has now reported it as small twice ("the photo
 * to me doesn't look much larger... wondering if it can go a little larger
 * still", Sept 15). The earlier rule never applied at all: the row is not a
 * direct child of <main>, it sits inside a Spectra container, so
 * `main > .wp-block-columns` never matched. Targeting the image itself fixed
 * that and took the column from ~17% to 36%, but at her own window width
 * (~995px) that still only renders 277px against a 662px source file, which is
 * why it still reads small to her.
 *
 * 46% measured across widths: 353px photo at 995px viewport (copy column 415px,
 * about 45 characters per line, still comfortable) and 517px at 1440px. The
 * columns trade width 1:1, so this costs the copy roughly two extra lines.
 * Going past ~50% starts to crowd the copy without reaching the 662px cap
 * anyway. Still capped at 662px, the file's natural width, since beyond that it
 * would just upscale and go soft. */
@media (min-width: 782px) {
	body.page-id-34 .wp-block-column:has(img.wp-image-12189) {
		flex: 0 0 46% !important;
		max-width: 46% !important;
	}
}
body.page-id-34 img.wp-image-12189 {
	width: 100% !important;
	height: auto !important;
	max-width: 662px !important;
}

/* --- Teal bands: the inner group is capped at the theme's 800px wide size.
 * Now that every tape is a fixed 420px, that left only ~336px for the copy
 * beside it, so the text broke into eight short lines with empty band either
 * side. Widening the group gives the copy room without touching the tape. */
body.page-id-34 .has-custom-desert-green-background-color > .wp-block-group,
body.home .uagb-block-3086bbc5 .wp-block-group.alignwide {
	max-width: 1120px !important;
}
/* Nov 17 2026: on phones the About "our team" tape stuck out past the right
 * edge (17px at 375px wide, 87px at 320px), so the page scrolled sideways.
 * On phones the band stacks its contents in a column, which sizes this group
 * to its content (the 367px tape) instead of the band, so the tape's
 * max-width: 100% (above) measured against a 367px group and never took
 * effect. Capping the group at the band's width lets the tape give way as
 * intended. No change at desktop widths, where the band is wider than 1120px
 * or the group already fills it. */
body.page-id-34 .has-custom-desert-green-background-color > .wp-block-group {
	max-width: min(1120px, 100%) !important;
}

/* --- Partner/FAQ: the "let's talk" tape above the contact form was centred
 * in its 800px wrapper (left edge at 499px) while the FAQ headings, body copy
 * and form labels all share an edge at 345px, so the tape lined up with
 * nothing on the page. Hillary, Sept 14 Loom: "that tape is too big, it looks
 * like -- maybe it just needs to move over." The size half is already handled
 * (every tape is 420x212 now), so this is the position half: left-align it to
 * the copy column, which is exactly what the About page tape does and what she
 * signed off there ("it's lined up correctly"). */
body.page-id-12133 .widetape.pl-lets-talk-tape {
	margin-left: 32px !important;
	margin-right: auto !important;
	align-self: flex-start !important;
	/* Nov 17 2026: the tape is capped at 100% of its column, but the 32px
	 * margin then pushed it 32px past the column, so on phones (under about
	 * 400px wide) the page scrolled sideways. Subtracting the margin keeps the
	 * same left edge and lets the tape end at the column edge. No effect at
	 * desktop widths, where the column is far wider than the 367px tape. */
	max-width: calc(100% - 32px) !important;
}

/* =====================================================================
 * SEPT 23 2026: PAULA-SIZE ROUND
 * Hillary recorded a Loom "at about the size that Paula looks at it".
 * Matching the video's line breaks against the live page at swept widths
 * puts that at a layout width of roughly 1090-1150 CSS px: a small laptop,
 * still the desktop layout. Everything below was checked at 1136px (her
 * width) plus 1440, 995 and 430.
 * ===================================================================== */

/* 1. Header nav on one line. The PARTNER WITH US pill is not part of the
 * link list: it is a separate buttons block sitting beside the list inside the
 * navigation's own flex wrapper, and that wrapper was allowed to wrap. At her
 * width (~1120px) the pill therefore dropped to a second row ("it stacks on
 * top of itself when it gets to this size. Can it be side by side?"). The
 * older 44px "more air before the pill" margin targeted the last list item,
 * not the pill, so it never took effect; at her width the pill sat just 8px
 * from ABOUT US.
 *
 * From 1024px up: never wrap, breathing room goes on the pill itself, and the
 * logo scales down slightly between 1024 and 1200 so the one-row nav never
 * runs into it (at a fixed 66px logo height the nav overlapped the logo below
 * ~1100px). At her width the logo stays about 60px tall, close to the 63px it
 * was, so the July "logo up ~20%" request is essentially preserved. Below 1024 (tablet) the old two-row wrap is kept on purpose: one
 * row there would need a logo too small to read. */
@media (min-width: 1024px) {
	.wp-site-blocks > header .wp-block-navigation,
	.wp-site-blocks > header .wp-block-navigation__responsive-container-content,
	.wp-site-blocks > header .wp-block-navigation__container {
		flex-wrap: nowrap !important;
		align-items: center !important;
	}
	.wp-site-blocks > header .wp-block-navigation-item,
	.wp-site-blocks > header .wp-block-button__link {
		white-space: nowrap;
	}
	.wp-site-blocks > header .wp-block-navigation__responsive-container-content > .wp-block-buttons {
		margin-left: 36px !important;
		flex-wrap: nowrap !important;
	}
}
@media (min-width: 1024px) and (max-width: 1280px) {
	header .pl-new-logo {
		max-height: clamp(46px, calc(9.8vw - 51px), 66px) !important;
	}
	.wp-site-blocks > header .wp-block-navigation__container {
		gap: 20px !important;
	}
	.wp-site-blocks > header .wp-block-navigation__responsive-container-content > .wp-block-buttons {
		margin-left: 22px !important;
	}
}

/* 2. Teal sub-headlines smaller and wrapped evenly ("it feels like there's
 * some hard returns in this text and it's wrapping in a weird place", "the
 * font could go smaller in this blue text just across the board"). At 19px
 * they broke into four ragged lines at her width. At 15px they settle into
 * two or three: the hero one opens with "OUR INDUSTRY EXPERTS DELIVER" (the
 * line she traced with the cursor), and "FROM HOUSEHOLD NAMES TO MAJOR
 * BRANDS, / OUR TEAM'S BEEN THERE AND DESIGNED THAT." lands on exactly the
 * two lines she read out. The class is doubled to outrank the two older
 * !important size rules (19px and 1.2rem) further up this file. */
body.home main > .wp-block-columns h2.headerweight.has-custom-desert-green-color.has-custom-desert-green-color {
	font-size: 15px !important;
	letter-spacing: 0.06em !important;
	line-height: 1.45 !important;
	text-wrap: balance;
}
/* The capability lists under "let us take care of it" are the same teal
 * text, so they come down too. Their two-column wrapper also carried a 72px
 * indent on each side, which squeezed each column to 144px; "MERCHANDISING"
 * then split mid-word on Windows. (Her Mac's narrower font rendering hid it,
 * but other browsers would have shown it.) */
body.home .wp-block-column > .wp-block-columns.is-not-stacked-on-mobile {
	padding-left: clamp(0px, 3vw, 72px) !important;
	padding-right: 0 !important;
}
body.home .wp-block-columns.is-not-stacked-on-mobile h2.headerweight.headerweight {
	font-size: 15px !important;
	letter-spacing: 0.06em !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
	hyphens: manual !important;
}
@media (max-width: 1024px) {
	body.home .wp-block-columns.is-not-stacked-on-mobile h2.headerweight.headerweight {
		font-size: 13px !important;
		letter-spacing: 0.04em !important;
	}
}

/* 3. Client logo block a little smaller ("this block of logos could go a
 * little smaller, maybe that helps with the relation to the images"). It is a
 * single image; 80% width, kept flush left with the copy above it. */
body.home img.wp-image-11383 {
	width: 80% !important;
	height: auto !important;
}
body.home figure:has(> img.wp-image-11383) {
	text-align: left;
	margin-left: 0 !important;
}

/* 4. The three photo + copy rows (partners in creativity, leading with
 * expertise, let us take care of it). At her width every copy block ran
 * 110-170px taller than its photo and was pushed down by a 52px top offset,
 * so the copy overhung the photo and "SEE DESIGN GALLERY" nearly touched the
 * next image. Her asks: "it would be nice if this image could be taller next
 * to this text", "it's bottom-aligned... it should be center-aligned so that
 * it's not touching the next image", "could the photo be centered and the
 * text centered to it", and the Squarespace behaviour she wants matched: "the
 * box kind of stays and the image kind of changes sizes in the box".
 *
 * So each photo now sits in a box that stretches to its copy block and crops
 * to fit (object-fit: cover) instead of keeping its own proportions. Photo and
 * copy therefore share a top and bottom edge at any width, which is centred
 * by construction, and it also keeps the gap above each title identical
 * (the July request that the earlier top-aligned offset was solving). The
 * min-height is only a floor for wide screens where the copy gets short; it is
 * kept low (22vw, capped at 400px) so that even at 1920px the copy is inset at
 * most ~40px, keeping the gap above each title near-identical across rows.
 * Supersedes the 90 / 52 / 24 / 8px padding-top ladder earlier in this file.
 * 40px between rows so a row's copy never runs into the next photo. */
@media (min-width: 782px) {
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) {
		align-items: stretch !important;
		margin-block-start: 40px !important;
	}
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:has(p.headerweight.has-custom-pewter-color) {
		padding-top: 16px !important;
		padding-bottom: 16px !important;
		align-self: center !important;
	}
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:not(:has(p.headerweight.has-custom-pewter-color)) {
		position: relative;
		align-self: stretch !important;
		min-height: clamp(260px, 22vw, 400px);
	}
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:not(:has(p.headerweight.has-custom-pewter-color)) > figure.wp-block-image {
		position: absolute !important;
		inset: 0;
		margin: 0 !important;
		width: 100% !important;
		height: 100% !important;
	}
	body.home main > .wp-block-columns:not(:first-of-type):has(p.headerweight.has-custom-pewter-color) > .wp-block-column:not(:has(p.headerweight.has-custom-pewter-color)) > figure.wp-block-image img {
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover !important;
	}
}

/* 5. Paper tapes 12.5% smaller, lettering unchanged ("I love the size of the
 * font in why hire us and all the other tapes... can the tape itself be a
 * little smaller? Maybe the tape shrinks 10%, but the type inside stays the
 * same size"; later "10 to 15 percent"). The artwork PNG is an 835x271 canvas
 * with the visible paper only 680x200 inside it, and the old 420x212 box
 * letterboxed that canvas with ~110px of empty height. That dead height is
 * what the bands were sizing themselves around. The box is now fitted to the
 * canvas (367 x 367*271/835 = 119, rounded to 120), so every tape is still one
 * consistent height and the visible paper is 12.5% smaller. The 46px
 * lettering rule above is untouched. */
.widetape:has(> p.tagalignment),
.widetape.pl-lets-talk-tape,
.pl-our-team-label {
	width: 367px !important;
	height: 120px !important;
	overflow: visible !important;
}
/* The lettering paragraph carried ~35px of top and bottom padding, harmless
 * in the old 212px box but a pixel too tall for 120px. The tape containers
 * scroll on overflow, so every tape grew a visible scrollbar on Windows.
 * The box already centres the lettering, so the padding is not needed. */
.widetape > p.tagalignment {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* 6. Home teal band about 40% shorter ("right now the teal band is quite
 * tall. Can it be shorter, maybe even half as tall as it is now?"). 289px ->
 * 183px at her width. Beyond the smaller tape, the height came from 24px
 * margins on the quote plus three nested layers of padding. The band's side
 * padding is also trimmed so the quote gets enough width to drop from five
 * lines to four. A true half would need the quote on three lines, which does
 * not fit beside the tape at her width without shrinking the 24px quote she
 * asked for on Sept 15. */
body.home .uagb-block-bf05f605 {
	padding: 22px clamp(32px, 6vw, 96px) !important;
	min-height: 0 !important;
}
body.home .uagb-block-bf05f605 > .uagb-block-2f3adf79 {
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
}
body.home .uagb-block-bf05f605 .wp-block-group.is-nowrap {
	gap: 40px !important;
	width: 100% !important;
	max-width: 1180px !important;
}
body.home .uagb-block-bf05f605 .uagb-block-9fb0d647 {
	padding: 0 !important;
	min-height: 0 !important;
	flex: 1 1 auto !important;
	max-width: none !important;
}
body.home .uagb-block-bf05f605 h3.has-helvetica-neue-font-family {
	margin: 0 !important;
}

/* 7. About teal band shorter to match ("and then if this could be less tall,
 * too", said with the cursor on the About band). 308px -> about 183px at her
 * width: the smaller tape plus 22px vertical padding instead of 48px. */
body.page-id-34 .wp-block-group.alignfull.has-custom-desert-green-background-color {
	padding-top: 22px !important;
	padding-bottom: 22px !important;
}

/* 8. Every tape on one shared left edge ("it would be nice if all the tapes
 * kind of landed in the same place in each of the pages"; with the cursor on
 * the About "our team" tape: "this one looks great, the placement... this
 * placement could be the gold standard for all"; and on About, "this tape
 * [let's talk] should line up with this one").
 *
 * The reference is where "our team" already sits: the left edge of the
 * site's centred 1120px wide column, never closer than 32px to the window
 * edge, i.e. max(32px, (100vw - 1120px) / 2). Measured 32 / 32 / 153 / 393px
 * at 1024 / 1136 / 1440 / 1920. Before this, the other tapes landed anywhere
 * from 68px to 216px at her width.
 *
 * Most tapes sit at the start of a container that is centred in the window,
 * so (100vw - 100%) / 2 is that container's own left edge and the difference
 * is the shift needed. (The scrollbar's share of 100vw cancels out of both
 * terms.) Two tapes sit inside Spectra containers whose left edge is set by
 * percentage padding, which works out to 16.4% of the window on both pages,
 * so they use that figure directly. Desktop layout only. */
@media (min-width: 782px) {
	body.home .uagb-block-bf05f605 .widetape,
	body.home .uagb-block-56226acd .widetape,
	body.home .widetape.uagb-block-72e423f8,
	body.page-id-12133 .widetape.pl-lets-talk-tape {
		margin-left: calc(max(32px, (100vw - 1120px) / 2) - (100vw - 100%) / 2) !important;
		margin-right: auto !important;
		align-self: flex-start !important;
	}
}
/* The 16.4% figure is Spectra's desktop padding; its tablet padding differs,
 * and below 1025px these two formulas pushed the tapes off the left edge. So
 * they only apply in Spectra's desktop range. */
@media (min-width: 1025px) {
	body.page-id-34 .widetape.uagb-block-344d60e7 {
		margin-left: calc(max(32px, (100vw - 1120px) / 2) - 16.4vw) !important;
		margin-right: auto !important;
	}
	body.page-id-12133 .widetape.uagb-block-dfe323fc {
		margin-left: calc(max(32px, (100vw - 1120px) / 2) - 16.4vw - 32px) !important;
		margin-right: auto !important;
	}
}

/* 9. Found while testing, not from the video: at exactly 1024px wide (an iPad
 * held landscape) the home page showed every band TWICE. Spectra's desktop
 * copies start at 1025px and its "hide on tablet" rule stops at 1023px, so at
 * 1024 both the desktop and the mobile copy of each band rendered. Closing the
 * one-pixel gap: at 1024 the tablet-hidden copies stay hidden. */
@media (min-width: 1024px) and (max-width: 1024.98px) {
	.uag-hide-tab {
		display: none !important;
	}
}

/* 10. Partner/FAQ: the "let's talk" tape was covering the last line of the
 * final answer ("staying true to your identity."). Cause, pre-existing: Spectra
 * gives the FAQ list a 1% row gap, and in an auto-height column the browser
 * sizes the container as if percentage gaps were zero, then applies them
 * anyway, so the six answers overflowed their container by ~38px at the top
 * and ~37px at the bottom. The old 212px tape box had enough transparent space
 * above its paper to hide the bottom overflow; the 120px box above exposed it.
 * Fix: a fixed gap (1% worked out to 15px, so the spacing between answers is
 * unchanged); the container's top padding reduced by the 38px the list used to
 * overflow upward (the 3rem it had was tuned while that overflow was hiding in
 * it), so the first question stays exactly where it was; and 24px above the
 * tape, matching the gap under the teal band. */
body.page-id-12133 .uagb-block-954f8c77 > .uagb-container-inner-blocks-wrap {
	row-gap: 15px !important;
}
body.page-id-12133 .wp-block-uagb-container.uagb-block-954f8c77 {
	padding-top: 10px !important;
}
body.page-id-12133 .widetape.pl-lets-talk-tape {
	margin-top: 24px !important;
}

/* =====================================================================
 * SEPT 28 2026: ROUND 5 (Hillary's email + Loom, checked at 20fps)
 * Viewed at Paula's width again (~1120px layout). Everything below was
 * checked at 800, 1024, 1136, 1440 and 1920.
 * ===================================================================== */

/* R5-1. Tapes less tall, same width, same lettering. Her mockup is the
 * existing tape squashed vertically: width unchanged (99.8%), height cut to
 * 77%. So no new artwork is needed; the same PNG is stretched into a box
 * 77% as tall (120px -> 92px) instead of being fitted with "contain". */
.widetape:has(> p.tagalignment),
.widetape.pl-lets-talk-tape,
.pl-our-team-label,
body.page-id-34 .widetape.uagb-block-344d60e7 {
	height: 92px !important;
	background-size: 100% 100% !important;
}
/* (The last selector matches an older About-only rule that forces "contain"
 * on that page's "let's talk" tape; without it, that one tape would render
 * narrower than the rest in the shorter box.) */

/* R5-2. Teal-band quotes: 24px -> 18px and regular weight, no bold ("I
 * looked and it was 24 pixels, could it be 18 pixels?", "can we make them
 * all the non-bold text"). Same three selectors as the Sept 15 24px rule,
 * plus the hidden mobile copy of the home band, and every bold run inside. */
body.home .uagb-block-3086bbc5 .has-helvetica-neue-font-family,
body.home .uagb-block-bf05f605 .has-helvetica-neue-font-family,
body.page-id-34 .has-custom-desert-green-background-color p.has-helvetica-font-family,
body.page-id-12133 h2.wp-block-heading.right-fill.has-base-color {
	font-size: 18px !important;
	line-height: 1.5 !important;
}
body.home .uagb-block-3086bbc5 .has-helvetica-neue-font-family :is(strong, b),
body.home .uagb-block-bf05f605 .has-helvetica-neue-font-family :is(strong, b),
body.page-id-34 .has-custom-desert-green-background-color p.has-helvetica-font-family :is(strong, b),
body.page-id-12133 h2.wp-block-heading.right-fill.has-base-color :is(strong, b) {
	font-weight: inherit !important;
	font-family: inherit !important;
	font-stretch: inherit !important;
}
/* (Each quote keeps the weight its plain words already had, and the bold runs
 * take that same weight: 400 on home, the site's 300 on About and Partner.
 * Forcing 400 everywhere was tried first and it changed the face on About and
 * Partner, because their "Helvetica" family maps weight 400 to a separate
 * uploaded Helvetica file rather than the Inter every other line uses. On
 * About the bold run was also a different face, Inter Tight at 75% width from
 * the site-wide <strong> style, hence the family and stretch resets.) */

/* R5-2b. Keep each teal band at the height she approved. On About she said
 * "the size of the blue looks great, thank you for implementing that" with
 * the cursor on the band's bottom edge, i.e. the 183px height from Sept 23,
 * and on home "the quotes, everything looks so good". The smaller quote and
 * shorter tape would otherwise shrink the bands to ~136px (home, About) and
 * ~106px (Partner), so each is held at its approved height, content centred. */
body.home .uagb-block-bf05f605 {
	min-height: 183px !important;
}
body.page-id-34 .wp-block-group.alignfull.has-custom-desert-green-background-color {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	min-height: 183px !important;
}
body.page-id-12133 .uagb-block-41733376 {
	min-height: 134px !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}
/* (Spectra had given this band 11px top and 3px bottom padding, which only
 * mattered once the band became taller than its content: even padding keeps
 * the tape and lead-in centred in it.) */

/* R5-3. Natural word-by-word wrapping everywhere ("stunning design is one
 * word... it could be like, if it's this size, then stunning can be here and
 * design can be there... sizes per word and doesn't move chunks of words").
 * The chunking came from text-wrap: balance (site-wide on headings, and on the
 * teal lines from Sept 23), which evens out line lengths by pulling words down
 * in pairs. Plain wrapping fills each line first. Only the wrap *style* is
 * reset: the shorthand text-wrap: wrap would also switch wrapping back on for
 * things that must stay on one line (nav links, tape lettering), and in
 * testing it broke "GALLERY" mid-word. The non-breaking spaces that glued
 * other pairs together ("the strategy", "to exceed") are fixed in
 * pl-2026-refresh.php. */
:is(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption) {
	text-wrap-style: auto !important;
}

/* R5-4. Logo lines up with the left edge of the hero photo at every width
 * ("can it move to the left so that it's always kind of lined up with this
 * photo"). The hero is inset 10% of the page width; the logo column was
 * inset 32 + 32px plus 8% of the header's content width, i.e. 25-34px to the
 * right of the photo depending on width. In the header's own terms the photo
 * edge sits at 10% of its content width minus 51.2px, so that becomes the
 * column's padding. The logo PNG also has a transparent margin of 2.79% of
 * its width on the left; the translate cancels it so the visible "p" of
 * "petite" is what lands on the edge, whatever size the logo is scaled to. */
@media (min-width: 782px) {
	.wp-site-blocks > header .wp-block-columns > .wp-block-column:has(.pl-new-logo) {
		padding-left: max(0px, calc(10% - 51.2px)) !important;
	}
	header .pl-new-logo {
		translate: -2.79% 0;
	}
}

/* R5-5. Hero headline: let its text box run to the column edge ("the text
 * box I think ends right here. Could the text box end here, and then maybe
 * the lines don't move over as much"). It carried 32px of right padding, so
 * it wrapped well short of where she pointed. "and counting" is removed in
 * pl-2026-refresh.php. */
body.home main > .wp-block-columns:first-of-type p.headerweight.has-custom-pewter-color {
	padding-right: 0 !important;
}

/* R5-6. "leading with expertise": title and teal line start at the same edge
 * as the "20+ Years" copy below them, which also lines up with the mug photo
 * above ("this is over to the left too much, can this line up with 20 plus
 * years, just scoot it over to the right"). Measured offsets are constant at
 * every width: the title sat 14px and the teal line 12px left of the copy. */
body.home main > .wp-block-columns:has(img.wp-image-11381) p.headerweight.has-custom-pewter-color {
	padding-left: 14px !important;
}
body.home main > .wp-block-columns:has(img.wp-image-11381) h2.headerweight.has-custom-desert-green-color {
	padding-left: 12px !important;
}

/* R5-7. Button labels centred in the yellow pills ("it's not quite centered
 * within that bubble... there's a little more space under partner than there
 * is above it"). Padding was already equal; the gap comes from where the font
 * draws its capitals inside the line box, which differs by platform (about 2px
 * high on her Mac). text-box trims the label's box to the capital height, so
 * equal padding now means equal space. Padding is sized with the cap unit so
 * every pill keeps its current 36px height. Browsers without text-box support
 * keep the previous look. */
@supports (text-box: trim-both cap alphabetic) {
	.wp-block-button__link,
	.wpforms-container button.wpforms-submit {
		text-box: trim-both cap alphabetic;
		padding-top: calc((36px - 1cap) / 2) !important;
		padding-bottom: calc((36px - 1cap) / 2) !important;
	}
}

/* R5-8. Partner/FAQ: less space between the "let's talk" tape and "Your
 * ideas, our expertise. Let's get started!" ("can you take out some of the
 * space here so this is closer to that"). That line carried a 63px top
 * margin; 16px plus the tape's own 8px leaves 24px. */
body.page-id-12133 .widetape.pl-lets-talk-tape + h6.wp-block-heading {
	margin-top: 16px !important;
}

/* R5-9. Found in QA, not from the video: at Paula's width the footer menu
 * wrapped, dropping CONTACT onto a row of its own (the same kind of stacking
 * she asked to fix in the header). The five links need 554px at 1087px with
 * the 4.5vw gap, against 539px available, and only just fit at 1136. Below
 * 1200px the gap between links is tightened so they stay on one row down to
 * 1024; wider screens keep the existing spacing. */
@media (max-width: 1199px) {
	.pl-footer-nav.wp-block-group {
		gap: clamp(24px, 2.8vw, 48px) !important;
	}
}

/* R5-10. Found in QA, not from the video: centre the "why hire us?" tape
 * against the quote beside it, as on About and Partner. The Sept 23 shared
 * left-edge rule gives this tape align-self: flex-start, which is what keeps
 * tapes left in the column-stacked sections, but here the tape sits in a row,
 * so it pinned the tape to the top instead. Where the quote wraps to four
 * lines (about 1024-1100px, Paula's width included) the tape sat 8px above
 * the middle of the band. The row stays a row at every width from 782px, so
 * centring it moves nothing sideways. */
@media (min-width: 782px) {
	body.home .uagb-block-bf05f605 .wp-block-group.is-nowrap > .widetape {
		align-self: center !important;
	}
}

/* =====================================================================
 * OCT 6 2026: BLOG LISTING (Hillary's mockup)
 * Keep the existing grid and simplify it: three columns, square
 * thumbnails, the title under each, no excerpt or date, an "our blog"
 * heading, and the new site's fonts and colours. Display only. The markup
 * side (heading, thumbnails for posts without a featured image, removing
 * the excerpt and date, nine posts per page) is in pl-2026-refresh.php.
 * Applies to the blog page and to the category, tag, date and author
 * archives and search results, which share the grid. Single posts are not
 * touched. Checked at 390, 782, 1024, 1087, 1440 and 1920.
 * ===================================================================== */

/* B1. One centred column: the same 1120px column the rest of the site
 * uses, never closer than 32px to the window edge (24px on phones). */
:is(body.blog, body.archive, body.search) main.wp-block-group {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-top: clamp(8px, 2.5vw, 32px) !important;
}
:is(body.blog, body.archive, body.search) main > :is(.pl-blog-head, .wp-block-query) {
	box-sizing: border-box;
	width: min(1120px, 100% - 64px) !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
@media (max-width: 599px) {
	:is(body.blog, body.archive, body.search) main > :is(.pl-blog-head, .wp-block-query) {
		width: calc(100% - 48px) !important;
	}
}

/* B2. Heading: the site's section-heading pair (Argent CF in lowercase and
 * pewter, the teal capitals under it, 10px apart), centred as in the
 * mockup. The size follows the home page's section headings at every
 * width, 30px on phones up to 43px from about 1040px. */
:is(body.blog, body.archive, body.search) .pl-blog-head {
	margin-bottom: clamp(28px, 3.5vw, 48px) !important;
	text-align: center;
}
:is(body.blog, body.archive, body.search) .pl-blog-head__title {
	margin: 0 !important;
	font-family: argent-cf, Georgia, serif !important;
	font-style: normal !important;
	font-weight: 300 !important;
	font-size: clamp(1.9rem, 1.2529rem + 2.1955vw, 2.7rem) !important;
	line-height: 1.12 !important;
	letter-spacing: normal !important;
	text-transform: lowercase !important;
	color: var(--wp--preset--color--custom-pewter) !important;
}
:is(body.blog, body.archive, body.search) .pl-blog-head__eyebrow {
	margin: 10px 0 0 !important;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
	font-weight: 500 !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	letter-spacing: 0.9px !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--custom-desert-green) !important;
}
:is(body.blog, body.archive, body.search) .pl-blog-head__eyebrow a {
	color: inherit !important;
	text-decoration: none !important;
}
:is(body.blog, body.archive, body.search) .pl-blog-head__eyebrow a:is(:hover, :focus-visible) {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* B3. The grid: three columns, two on small tablets, one on phones. */
:is(body.blog, body.archive, body.search) main .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	column-gap: clamp(16px, 2vw, 28px) !important;
	row-gap: clamp(32px, 3.4vw, 48px) !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
@media (max-width: 699px) {
	:is(body.blog, body.archive, body.search) main .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 479px) {
	:is(body.blog, body.archive, body.search) main .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}
:is(body.blog, body.archive, body.search) main .wp-block-post-template > .wp-block-post {
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* (The search results template uses the older "flex container" grid, whose
 * rule sizes each card to a third of the row; inside this grid that meant a
 * third of its own column, about 92px. The width reset above undoes it.) */

/* B4. Square thumbnails, cropped to fill. Posts without a featured image
 * show the first picture from the post (see pl-2026-refresh.php). A post
 * with no picture at all gets a paper square with the logo; a picture that
 * fails to load leaves a plain paper square rather than a broken icon. The
 * white behind each picture keeps transparent PNGs looking as they do in
 * the posts. */
:is(body.blog, body.archive, body.search) main .wp-block-post-featured-image {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	margin: 0 !important;
	overflow: hidden;
	background: #f0ece4;
}
:is(body.blog, body.archive, body.search) main .wp-block-post-featured-image.pl-thumb-placeholder {
	background: #f0ece4 url("../uploads/2026/06/petite-lemon-creative-studio-logo.png") center / 72% auto no-repeat;
}
:is(body.blog, body.archive, body.search) main .wp-block-post-featured-image > a {
	display: block;
	width: 100%;
	height: 100%;
}
:is(body.blog, body.archive, body.search) main .wp-block-post-featured-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
	object-position: center;
	background-color: #fff;
}

/* B5. Titles under the pictures, in the navigation's style: light
 * capitals with open tracking, pewter, teal on hover. */
:is(body.blog, body.archive, body.search) main .wp-block-post-title {
	margin: 14px 0 0 !important;
	padding: 0 !important;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
	font-style: normal !important;
	font-weight: 300 !important;
	font-size: clamp(14px, 0.75rem + 0.3vw, 16px) !important;
	line-height: 1.55 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	text-align: left !important;
	color: var(--wp--preset--color--custom-pewter) !important;
	hyphens: none;
	overflow-wrap: break-word;
}
:is(body.blog, body.archive, body.search) main .wp-block-post-title a {
	color: inherit !important;
	text-decoration: none !important;
}
:is(body.blog, body.archive, body.search) main .wp-block-post-title a:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--custom-desert-green) !important;
}

/* B6. Hide what the PHP takes out, as a backstop (the excerpt, date and
 * spacer in each card, and the theme's "Got any book recommendations?" box
 * under the blog grid with the spacer in front of it). */
:is(body.blog, body.archive, body.search) main .wp-block-post :is(.wp-block-post-excerpt, .wp-block-post-date, .wp-block-spacer),
body.blog main > :is(.wp-block-spacer, .wp-block-columns) {
	display: none !important;
}

/* B7. Older/newer page links in the same capitals as the titles. "Next"
 * keeps to the right when it is the only link (on the first page). */
:is(body.blog, body.archive, body.search) main .wp-block-query-pagination {
	width: 100% !important;
	max-width: none !important;
	margin: clamp(40px, 5vw, 64px) 0 0 !important;
	padding: 0 !important;
	justify-content: space-between !important;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
	font-weight: 300 !important;
	font-size: 15px !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}
:is(body.blog, body.archive, body.search) main .wp-block-query-pagination a {
	color: var(--wp--preset--color--custom-pewter) !important;
	text-decoration: none !important;
}
:is(body.blog, body.archive, body.search) main .wp-block-query-pagination a:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--custom-desert-green) !important;
}
:is(body.blog, body.archive, body.search) main .wp-block-query-pagination :is(.wp-block-query-pagination-previous-arrow, .wp-block-query-pagination-next-arrow) {
	color: var(--wp--preset--color--custom-desert-green);
}
:is(body.blog, body.archive, body.search) main .wp-block-query-pagination-next {
	margin-left: auto !important;
}

/* =====================================================================
 * OCT 7 2026: ARGENT CF THIN ADDED TO THE ADOBE WEB PROJECT
 * Hillary added Argent CF Thin and Thin Italic to the site's Adobe Fonts
 * web project so the serif headlines could be lighter. An older font
 * plugin prints a site-wide rule, outside this stylesheet, that sets every
 * paragraph to Argent CF at weight 100 !important. Until now the web
 * project had no weight that light, so that text fell back to Regular. With
 * Thin in the project, the body text of all 990 blog posts (and their
 * "Posted" line, author name and comment notice) turned Thin as well, which
 * nobody asked for and which reads poorly at 18px.
 *
 * This puts post paragraphs back on Regular, exactly as they looked before
 * (checked on 44 pages and posts: every Argent run goes from 100 to 400 and
 * nothing else changes). Paragraphs with their own font class keep their
 * own rules. Two things inherited the paragraph's 100 and are held where
 * they were: <b>, which the browser draws one step bolder than its parent
 * (so it showed as Regular), and links, which use WordPress's global link
 * font rather than Argent (links inside <b>/<strong> already follow those).
 * The headlines that ask for a light weight (the home hero and section
 * headings, and the blog heading) are not touched: they now use Thin, which
 * is the change Hillary made.
 * ===================================================================== */
body.single main p:not([class*="-font-family"]) {
	font-weight: 400 !important;
}
body.single main p:not([class*="-font-family"]) b {
	font-weight: 400 !important;
}
body.single main p:not([class*="-font-family"]) a:where(:not(.wp-element-button)):not(:is(b, strong) a) {
	font-weight: 100 !important;
}

/* =====================================================================
 * OCT 2026: GALLERY SETS (Hillary's Christmas set)
 * Three columns of five images whose heights add up to the same total, so
 * the block lines up at the top and bottom at every width; a "christmas"
 * heading above it in the site's heading style. Markup and image list are
 * in pl-2026-refresh.php. Gaps (18px) and the 4px corner radius match the
 * old gallery grid these sets replaced. One column on phones.
 * ===================================================================== */
body.page-id-12177 .pl-gallery-set {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	margin: clamp(16px, 3vw, 40px) 0 clamp(48px, 6vw, 80px);
}
body.page-id-12177 .pl-gallery-set__title {
	margin: 0 0 clamp(24px, 3vw, 40px) !important;
	padding: 0 !important;
	text-align: center;
	font-family: argent-cf, Georgia, serif !important;
	font-style: normal !important;
	font-weight: 300 !important;
	font-size: clamp(1.9rem, 1.2529rem + 2.1955vw, 2.7rem) !important;
	line-height: 1.12 !important;
	letter-spacing: normal !important;
	text-transform: lowercase !important;
	color: var(--wp--preset--color--custom-pewter) !important;
}
body.page-id-12177 .pl-gallery-set__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 18px;
	align-items: start;
}
body.page-id-12177 .pl-gallery-set__col {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}
body.page-id-12177 .pl-gallery-set__item {
	margin: 0 !important;
	line-height: 0;
}
body.page-id-12177 .pl-gallery-set__item img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	border-radius: 4px;
	background: #f0ece4;
}
@media (max-width: 599px) {
	body.page-id-12177 .pl-gallery-set__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 12px;
	}
	body.page-id-12177 .pl-gallery-set__col {
		gap: 12px;
	}
}

/* The end of the Gallery page (Nov 2026): Hillary's closing line and a
 * CONTACT US button. The line takes the style of "Your ideas, our expertise.
 * Let's get started!" on the Contact page, light teal sans serif, a little
 * smaller so it sits on one line at laptop widths. Narrower than that it
 * wraps word by word, like the rest of the site (R5-3). */
body.page-id-12177 .pl-gallery-close {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	margin: 0 0 clamp(48px, 6vw, 80px);
	padding: 0 14px;
	text-align: center;
}
body.page-id-12177 .pl-gallery-close__line {
	margin: 0 0 24px !important;
	padding: 0 !important;
	font-family: Helvetica, Arial, sans-serif !important;
	font-style: normal !important;
	font-weight: 300 !important;
	font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem) !important;
	line-height: 1.5 !important;
	letter-spacing: normal !important;
	color: var(--wp--preset--color--custom-desert-green) !important;
}
body.page-id-12177 .pl-gallery-close .wp-block-buttons {
	justify-content: center;
}

/* =====================================================================
 * NOV 2026: GALLERY MOSAIC SETS (Wedding, Graduation, Kids & Baby)
 * Hillary's layouts for these sets have pictures that span two columns and
 * rows that line up across columns, so each tile has a fixed place (written
 * on the tile by pl-2026-refresh.php): first column --c, columns spanned
 * --s, top and bottom as units plus 18px gaps (--ta/--tk, --ba/--bk). A
 * column is 384 units wide, so the pictures scale with the page while every
 * gap stays 18px, like the Christmas set, and all three columns start and
 * stop level ("the 3 columns are a block that starts and stops at the same
 * place"). The block's own height is --ae units plus --ke gaps. Container
 * units (cqw) measure the block's width; that needs the outer wrapper, since
 * an element can't size itself from its own container units.
 * ===================================================================== */
body.page-id-12177 .pl-gallery-mosaic {
	container-type: inline-size;
	width: 100%;
}
body.page-id-12177 .pl-gallery-mosaic__canvas {
	--cw: calc((100cqw - 36px) / 3);
	--u: calc(var(--cw) / 384);
	position: relative;
	height: calc(var(--u) * var(--ae) + 18px * var(--ke));
}
body.page-id-12177 .pl-gallery-mosaic__tile {
	position: absolute;
	margin: 0 !important;
	left: calc(var(--c) * (var(--cw) + 18px));
	width: calc(var(--s) * var(--cw) + (var(--s) - 1) * 18px);
	top: calc(var(--u) * var(--ta) + 18px * var(--tk));
	height: calc(var(--u) * (var(--ba) - var(--ta)) + 18px * (var(--bk) - var(--tk)));
	line-height: 0;
}
body.page-id-12177 .pl-gallery-mosaic__tile img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 4px;
	background: #f0ece4;
}
/* Phones: one column in reading order (the markup is already top to bottom,
 * left to right), each picture at its own shape, 12px apart like Christmas. */
@media (max-width: 599px) {
	body.page-id-12177 .pl-gallery-mosaic__canvas {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	body.page-id-12177 .pl-gallery-mosaic__tile {
		position: static;
		width: auto;
		height: auto;
		aspect-ratio: var(--ar);
	}
}

/* Gallery: less space between each set's title and its pictures (Hillary,
 * Nov 9). Was 24-40px. */
body.page-id-12177 .pl-gallery-set__title {
	margin-bottom: clamp(10px, 1.2vw, 16px) !important;
}

/* --- Home hero (Nov 9): five new rotating images. They now carry their
 * width and height (so the page doesn't jump while they load); height:auto
 * keeps them at their own shape instead of the 468px those attributes say. */
body.home .carousel img.pl-hero-slide {
	height: auto !important;
	max-width: 100%;
}

/* --- Home hero subhead (Nov 9): the new wording is stored as Hillary wrote
 * it; shown in capitals like the line it replaced and the other teal lines. */
body.home h2.headerweight.pl-hero-subhead {
	text-transform: uppercase;
}

/* --- About (Nov 9): "all gray text in the lighter weight, nothing bolded".
 * The grey paragraphs are already the light weight; the bold runs inside
 * them ("creative studio", "building strong relationships", ...) take the
 * paragraph's weight and face, the same reset as the teal-band quotes in
 * R5-2. */
body.page-id-34 p.has-custom-pewter-color :is(strong, b) {
	font-weight: inherit !important;
	font-family: inherit !important;
	font-stretch: inherit !important;
}

/* =====================================================================
 * NOV 17 2026: NO SIDEWAYS SCROLL ON PHONES (after launch)
 * ---------------------------------------------------------------------
 * Request (Jesus, after the launch check): fix the pages that could be
 * pushed sideways on a phone. Two causes on About and Partner:
 *   1. The paper tapes. Fixed inside the consolidated tape block (Sept 15),
 *      not here, per the "no per-tape overrides" rule: see the Nov 17 notes
 *      on the About band group and the Partner "let's talk" tape.
 *   2. Partner's teal "Your ideas, our expertise" line, below.
 * Found while checking: Chrome was not drawing the lettering on the About
 * "our team" and Partner "let's talk" tapes. Also fixed inside the tape
 * block (will-change: transform on every tape), see the Nov 17 note there.
 * ===================================================================== */

/* Spectra gives this line width: 100% and the block's own settings add a 5%
 * left margin, so it always ends 5% past its column (2 to 3px of sideways
 * scroll on phones, the "overflows 4 to 6px at 782 to 900px" noted in Sept).
 * Capping it at the rest of the column keeps the same left edge. Limited to
 * Spectra's phone and tablet range so the desktop line breaks Paula approved
 * are not touched. */
@media (max-width: 1024px) {
	body.page-id-12133 .widetape.pl-lets-talk-tape + h6.wp-block-heading {
		max-width: 95% !important;
	}
}
