/*
Theme Name:  BlinkShift
Theme URI:   https://blinkshift.net/
Author:      Blinkshift
Author URI:  https://blinkshift.net/
Description: Custom block-powered theme for Blinkshift, engineers building shipping, logistics and insurance platforms. Ships a library of server-rendered section blocks, each with multiple layout variants, so every page is composed in the editor rather than hard-coded.
Version:     1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blinkshift
Tags:        business, portfolio, custom-blocks, block-patterns, full-width-template, custom-logo, custom-menu
*/

/*
 * Real styles live in assets/css/ and are enqueued separately:
 *   tokens.css      design tokens (colour ramps, type scale, spacing)
 *   base.css        reset + element defaults
 *   layout.css      container, grid, section rhythm, light/dark scopes
 *   components.css  buttons, cards, labels, forms, accordions, nav
 *   blocks.css      per-section-block styles and their layout variants
 *   motion.css      reveal states + reduced-motion fallbacks
 *
 * This file exists for the WordPress theme header and is loaded last,
 * so anything written below overrides everything else.
 */

/* Site-wide: solid surfaces without decorative light washes (was homepage only). */
body,
body [data-scheme] {
	--grad-card: var(--c-surface);
	--grad-card-hover: var(--c-surface-2);
	--grad-sheen: none;
	--chip-plate: var(--c-surface-2);
	--chip-hover-plate: var(--c-surface-3);
	--chip-bloom: none;
	--shadow-glow: none;
	--shadow-glow-sm: none;
}
.bs-section[data-scheme='dark']::before,
.bs-section[data-scheme='void']::before,
.bs-hero--glow::before,
.bs-hero--glow::after,
.bs-footer::before,
.bs-cta--boxed .bs-cta__box::before,
.bs-hero__visual::after,
.bs-service__media::after,
.bs-card__chip::before,
.bs-card__chip::after,
.bs-card::before,
.bs-pain--grid .bs-pain__item::before,
.bs-services--grid .bs-service::before,
.bs-proof--columns .bs-proof__item::before,
.bs-why--grid .bs-why__point::before {
	display: none;
}
.bs-field--media .bs-field__veil {
	background: rgb(0 0 0 / var(--bs-field-dim, 0.7));
}
.bs-loader { background-image: none; }
.bs-loader__fill,
.bs-card__chip,
.bs-card__chip:hover { box-shadow: none; }
.bs-videoframe__empty { background: var(--c-surface-2); }
.bs-card--hover:hover,
.bs-pain--grid .bs-pain__item:hover,
.bs-services--grid .bs-service:hover,
.bs-proof--columns .bs-proof__item:hover,
.bs-why--grid .bs-why__point:hover {
	box-shadow: var(--shadow-card-hover);
}

/* Homepage hero: give the headline and supporting copy a wider measure. */
.home .bs-services--alternating .bs-service__media { aspect-ratio: 3 / 2; }
.home .bs-services--alternating .bs-service__media img {
	object-fit: contain;
	transform: none;
	filter: none;
}
.bs-service__features {
	margin: 0;
	padding-inline-start: 1.25rem;
	color: var(--c-ink-soft);
	line-height: 1.65;
}
.bs-audience__outro { max-inline-size: 68ch; margin-block-start: 2.5rem; }
.bs-service__features li + li { margin-block-start: 0.5rem; }
.bs-service__example {
	margin: 0;
	padding-block-start: 1rem;
	border-block-start: 1px solid var(--c-line);
	color: var(--c-ink-soft);
	font-size: 0.875rem;
	line-height: 1.65;
}
.home .bs-home-offer-note {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 1rem var(--gutter);
	background: var(--d-0);
	color: var(--n-0);
	text-align: center;
	font-size: 0.875rem;
}
.home .bs-home-offer-note p { margin: 0; }
.home .bs-hero--field .bs-hero__copy { max-inline-size: 76rem; }
.home .bs-hero--field .bs-hero__title { max-inline-size: 25ch; }
.home .bs-hero--field .bs-hero__sub { max-inline-size: 70ch; }

/* Open problem columns, site-wide. */
.bs-pain--grid .bs-pain__items {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 4rem);
}
.bs-pain--grid .bs-pain__item,
.bs-pain--grid .bs-pain__item:hover {
	padding: 0;
	gap: 1rem;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform: none;
}
.bs-pain--grid .bs-pain__index,
.bs-pain--grid .bs-card__chip { display: none; }
.bs-pain--grid .bs-pain__title { padding: 0; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.bs-pain--grid .bs-pain__text { margin: 0; }

/* Delivery principles are compact editorial rows, without card surfaces. */
.home #working-together .bs-why__head {
	max-inline-size: 52rem;
	margin-block-end: 2.5rem;
}
.home #working-together .bs-why__points {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}
.home #working-together .bs-why__point,
.home #working-together .bs-why__point:hover {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	padding: 1.75rem 0;
	height: auto;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--c-line);
	border-radius: 0;
	box-shadow: none;
	transform: none;
}
.home #working-together .bs-why__point:last-child { border-bottom: 1px solid var(--c-line); }
.home #working-together .bs-card__chip { display: none; }
.home #working-together .bs-why__index { display: block; padding-top: 0.2rem; font-size: 0.875rem; }
.home #working-together .bs-why__body {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 2.5rem;
}
.home #working-together .bs-why__title {
	font-size: clamp(1.25rem, 1.65vw, 1.5rem);
	line-height: 1.3;
}
.home #working-together .bs-why__text {
	margin: 0;
	max-inline-size: none;
}
@media (max-width: 900px) {
	.home .bs-pain--grid .bs-pain__items { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.home #working-together .bs-why__body { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
	.home #working-together .bs-why__point { gap: 1rem; }
}

/* Site-wide editorial tabs (was homepage only). */
.bs-heading:has(> .bs-label):has(> .bs-heading__title) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}
.bs-heading:has(> .bs-heading__title) > .bs-label {
	align-self: flex-start;
	margin-block-start: -1px;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
}
.bs-heading:has(> .bs-label) > .bs-heading__title,
.bs-heading:has(> .bs-label) > .bs-heading__intro {
	margin: 0;
}
.bs-hero__label {
	position: relative;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
}
.bs-hero__label::after {
	display: none;
}
/* About: a tighter editorial rhythm within the shared section system. */
#about-hero,
/* About: a tighter editorial rhythm within the shared section system. */
#contact-hero,
/* About: a tighter editorial rhythm within the shared section system. */
#ship-hero,
#xb-hero,
#wh-hero,
#cs-hero {
	min-block-size: 0;
	padding-block: calc(var(--header-h) + 3.5rem) 4rem;
	text-align: left;
}
#about-hero .bs-hero__title,
#contact-hero .bs-hero__title,
#ship-hero .bs-hero__title,
#xb-hero .bs-hero__title,
#wh-hero .bs-hero__title,
#cs-hero .bs-hero__title,
#ws-hero .bs-hero__title {
	font-size: clamp(2.75rem, 4.5vw, 4.5rem);
	max-inline-size: 18ch;
	line-height: 1.04;
	margin-inline: 0;
}
#about-hero .bs-hero__inner,
#contact-hero .bs-hero__inner,
#ship-hero .bs-hero__inner,
#xb-hero .bs-hero__inner,
#wh-hero .bs-hero__inner,
#cs-hero .bs-hero__inner,
#ws-hero .bs-hero__inner { max-width: calc(var(--container) + (var(--gutter) * 2)); }
#about-hero .bs-hero__copy,
#contact-hero .bs-hero__copy,
#ship-hero .bs-hero__copy,
#xb-hero .bs-hero__copy,
#wh-hero .bs-hero__copy,
#cs-hero .bs-hero__copy,
#ws-hero .bs-hero__copy { align-items: flex-start; }
#about-hero .bs-hero__visual,
#contact-hero .bs-hero__visual,
#ship-hero .bs-hero__visual,
#xb-hero .bs-hero__visual,
#wh-hero .bs-hero__visual,
#cs-hero .bs-hero__visual,
#ws-hero .bs-hero__visual {
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 0;
	block-size: clamp(25rem, 38vw, 34rem);
	aspect-ratio: auto;
	align-self: start;
	margin-block-start: 0;
}
#about-hero .bs-hero__sub,
#contact-hero .bs-hero__sub,
#ship-hero .bs-hero__sub,
#xb-hero .bs-hero__sub,
#wh-hero .bs-hero__sub,
#cs-hero .bs-hero__sub,
#ws-hero .bs-hero__sub { max-inline-size: 55ch; }
#about-hero .bs-hero__meta,
#contact-hero .bs-hero__meta,
#ship-hero .bs-hero__meta,
#xb-hero .bs-hero__meta,
#wh-hero .bs-hero__meta,
#cs-hero .bs-hero__meta,
#ws-hero .bs-hero__meta {
	margin-block-start: 2.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
}
#about-hero .bs-stat,
#contact-hero .bs-stat,
#ship-hero .bs-stat,
#xb-hero .bs-stat,
#wh-hero .bs-stat,
#cs-hero .bs-stat,
#ws-hero .bs-stat {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	grid-template-rows: auto auto;
	justify-items: start;
	align-items: center;
	align-content: start;
	gap: 0.5rem 0.5rem;
	text-align: left;
}
#about-hero .bs-stat__icon,
#contact-hero .bs-stat__icon,
#ship-hero .bs-stat__icon,
#xb-hero .bs-stat__icon,
#wh-hero .bs-stat__icon,
#cs-hero .bs-stat__icon,
#ws-hero .bs-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 1.25rem;
	block-size: 1.25rem;
	margin: 0;
	color: var(--c-ink-soft);
}
#about-hero .bs-stat__value,
#contact-hero .bs-stat__value,
#ship-hero .bs-stat__value,
#xb-hero .bs-stat__value,
#wh-hero .bs-stat__value,
#cs-hero .bs-stat__value,
#ws-hero .bs-stat__value { display: inline-flex; align-items: baseline; gap: 0.1em; }
#about-hero .bs-stat__label,
#contact-hero .bs-stat__label,
#ship-hero .bs-stat__label,
#xb-hero .bs-stat__label,
#wh-hero .bs-stat__label,
#cs-hero .bs-stat__label,
#ws-hero .bs-stat__label { grid-column: 1 / -1; max-inline-size: 18ch; margin: 0; }
#about-story,
#about-values,
#about-team,
#about-focus,
#about-people,
#about-fit,
#about-faq,
#contact-discuss,
#contact-faq,
#book-a-call,
#contact-call,
#contact-takeaway,
#ship-faq,
#xb-faq,
#wh-faq,
#ws-tabs {
	padding-block: clamp(4rem, 7vw, 7rem);
}
#about-story .bs-sticky,
#contact-takeaway .bs-sticky { position: static; }
#about-story .bs-stack,
#contact-takeaway .bs-stack { gap: 1.5rem; }
#about-story .bs-prose,
#contact-takeaway .bs-prose { max-inline-size: 62ch; }
#about-values .bs-why__head,
#contact-discuss .bs-why__head,
#ws-tabs .bs-why__head { max-inline-size: 45rem; margin-block-end: 3rem; }
#about-values .bs-why__points,
#contact-discuss .bs-why__points,
#ws-tabs .bs-why__points {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}
#about-values .bs-why__point,
#contact-discuss .bs-why__point,
#ws-tabs .bs-why__point {
	padding-block: 2rem;
	gap: 1.25rem;
	border-top: 1px solid var(--c-line);
}
#about-values .bs-why__title,
#contact-discuss .bs-why__title,
#ws-tabs .bs-why__title { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.25; }
#about-values .bs-why__text,
#contact-discuss .bs-why__text,
#ws-tabs .bs-why__text { max-inline-size: 48ch; margin-block-start: 1rem; }
#about-focus .bs-why__points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
#about-focus .bs-why__point,
#about-values .bs-why__point,
#contact-discuss .bs-why__point,
#ws-tabs .bs-why__point {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--c-line);
}
#about-focus .bs-why__body,
#about-values .bs-why__body,
#contact-discuss .bs-why__body,
#ws-tabs .bs-why__body {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 2.5rem;
}
#about-focus .bs-why__index,
#about-values .bs-why__index,
#contact-discuss .bs-why__index,
#ws-tabs .bs-why__index { font-size: 0.875rem; padding-block-start: 0.3rem; }
#about-focus .bs-why__title,
#about-values .bs-why__title,
#contact-discuss .bs-why__title,
#ws-tabs .bs-why__title { font-size: clamp(1.25rem, 1.65vw, 1.5rem); line-height: 1.3; }
#about-focus .bs-why__text,
#about-values .bs-why__text,
#contact-discuss .bs-why__text,
#ws-tabs .bs-why__text { margin: 0; max-inline-size: none; }
.bs-about-service-link {
	margin: 0;
	padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2)) 4rem;
	background: var(--d-0);
	color: var(--n-0);
}
.bs-about-service-link p { margin: 0; }
#about-people .bs-sticky,
#about-fit .bs-sticky { position: static; }
#about-people .bs-prose { max-inline-size: none; }
#about-people .bs-prose > * { margin: 0; }
#about-people .bs-team__intro { max-inline-size: 52ch; font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--c-ink-soft); }
#about-people .bs-prose .bs-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	margin-block-start: clamp(2.5rem, 4vw, 3.5rem);
}
#about-people .bs-prose .bs-team > .bs-person,
#about-people .bs-person > * { margin: 0; }
#about-people .bs-person__portrait {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	margin-block-end: 1.5rem;
	background: var(--c-surface-2);
	border: 1px solid var(--c-line-strong);
	color: var(--c-ink-soft);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 500;
	letter-spacing: 0.04em;
}
#about-people .bs-person__portrait img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
#about-people .bs-person__name { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.25; color: var(--c-ink); }
#about-people .bs-person__role { margin-block-start: 0.35rem; color: var(--c-muted); font-size: 0.95rem; }
#about-people .bs-person__bio { margin-block-start: 1rem; max-inline-size: 38ch; color: var(--c-ink-soft); }
@media (max-width: 980px) {
	#about-people .bs-prose .bs-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	#about-people .bs-prose .bs-team { grid-template-columns: minmax(0, 1fr); }
	#about-people .bs-person__portrait { max-inline-size: 16rem; }
}

#about-people .bs-proseblock__head { max-inline-size: 60rem; margin-block-end: 2rem; }
.bs-anchor-target { display: block; block-size: 0; scroll-margin-block-start: var(--header-h); }
#about-team .bs-proseblock__head { margin-block-end: 2.5rem; }
#about-team .bs-prose {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
#about-team .bs-prose > * { margin: 0; }
#about-team .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r-lg);
}
#about-team .bs-prose > p { max-inline-size: 46ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
#about-hero .bs-hero__grid,
#contact-hero .bs-hero__grid,
#ship-hero .bs-hero__grid,
#xb-hero .bs-hero__grid,
#wh-hero .bs-hero__grid,
#cs-hero .bs-hero__grid,
#ws-hero .bs-hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: stretch; }
#about-hero .bs-hero__visual,
#contact-hero .bs-hero__visual,
#ship-hero .bs-hero__visual,
#xb-hero .bs-hero__visual,
#wh-hero .bs-hero__visual,
#cs-hero .bs-hero__visual,
#ws-hero .bs-hero__visual { aspect-ratio: auto; block-size: auto; min-block-size: 30rem; align-self: stretch; }
#about-hero .bs-hero__visual img,
#contact-hero .bs-hero__visual img,
#ship-hero .bs-hero__visual img,
#xb-hero .bs-hero__visual img,
#wh-hero .bs-hero__visual img,
#cs-hero .bs-hero__visual img,
#ws-hero .bs-hero__visual img { object-fit: cover; object-position: center; filter: none; }
#about-story .bs-prose,
#contact-takeaway .bs-prose { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.75; }
#about-cta,
#contact-resource,
#ship-cta,
#xb-cta,
#wh-cta,
#cs-cta,
#ws-cta { padding-block: clamp(4rem, 6vw, 6rem); }
#about-hero .bs-label,
#about-story .bs-label,
#about-focus .bs-label,
#about-people .bs-label,
#about-values .bs-label,
#about-fit .bs-label,
#about-faq .bs-label,
#about-cta .bs-label,
#contact-hero .bs-label,
#contact-discuss .bs-label,
#contact-faq .bs-label,
#contact-resource .bs-label,
#book-a-call .bs-label,
#contact-call .bs-label,
#contact-takeaway .bs-label,
#ship-hero .bs-label,
#ship-faq .bs-label,
#ship-cta .bs-label,
#xb-hero .bs-label,
#xb-faq .bs-label,
#xb-cta .bs-label,
#wh-hero .bs-label,
#wh-faq .bs-label,
#wh-cta .bs-label,
#cs-hero .bs-label,
#cs-cta .bs-label,
#ws-hero .bs-label,
#ws-tabs .bs-label,
#ws-cta .bs-label {
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
	display: inline-block;
	margin-block-end: 1.5rem;
}
#about-story .bs-heading:has(> .bs-label),
#about-values .bs-heading:has(> .bs-label),
#about-faq .bs-heading:has(> .bs-label),
#contact-discuss .bs-heading:has(> .bs-label),
#contact-faq .bs-heading:has(> .bs-label),
#contact-takeaway .bs-heading:has(> .bs-label),
#ship-faq .bs-heading:has(> .bs-label),
#xb-faq .bs-heading:has(> .bs-label),
#wh-faq .bs-heading:has(> .bs-label),
#ws-tabs .bs-heading:has(> .bs-label) { gap: 1.5rem; }
#about-story .bs-heading > .bs-label,
#about-values .bs-heading > .bs-label,
#about-faq .bs-heading > .bs-label,
#contact-discuss .bs-heading > .bs-label,
#contact-faq .bs-heading > .bs-label,
#contact-takeaway .bs-heading > .bs-label,
#ship-faq .bs-heading > .bs-label,
#xb-faq .bs-heading > .bs-label,
#wh-faq .bs-heading > .bs-label,
#ws-tabs .bs-heading > .bs-label { margin-block-end: 0; }
#about-cta::before,
#about-cta .bs-cta__box::before,
#contact-resource::before,
#contact-resource .bs-cta__box::before,
#ship-cta::before,
#ship-cta .bs-cta__box::before,
#xb-cta::before,
#xb-cta .bs-cta__box::before,
#wh-cta::before,
#wh-cta .bs-cta__box::before,
#cs-cta::before,
#cs-cta .bs-cta__box::before,
#ws-cta::before,
#ws-cta .bs-cta__box::before { display: none; }
#about-cta .bs-cta__box,
#contact-resource .bs-cta__box,
#ship-cta .bs-cta__box,
#xb-cta .bs-cta__box,
#wh-cta .bs-cta__box,
#cs-cta .bs-cta__box,
#ws-cta .bs-cta__box { background: var(--c-surface); }
@media (max-width: 980px) {
	#about-hero .bs-hero__grid,
#contact-hero .bs-hero__grid,
#ship-hero .bs-hero__grid,
#xb-hero .bs-hero__grid,
#wh-hero .bs-hero__grid,
#cs-hero .bs-hero__grid,
#ws-hero .bs-hero__grid { grid-template-columns: minmax(0, 1fr); }
	#about-hero .bs-hero__visual,
#contact-hero .bs-hero__visual,
#ship-hero .bs-hero__visual,
#xb-hero .bs-hero__visual,
#wh-hero .bs-hero__visual,
#cs-hero .bs-hero__visual,
#ws-hero .bs-hero__visual { block-size: auto; min-block-size: 0; aspect-ratio: 3 / 2; margin-block-start: 0; }
}
@media (max-width: 760px) {
	#about-hero,
#contact-hero,
#ship-hero,
#xb-hero,
#wh-hero,
#cs-hero,
#ws-hero { padding-block: calc(var(--header-h) + 2rem) 3rem; }
	#about-hero .bs-hero__title,
#contact-hero .bs-hero__title,
#ship-hero .bs-hero__title,
#xb-hero .bs-hero__title,
#wh-hero .bs-hero__title,
#cs-hero .bs-hero__title,
#ws-hero .bs-hero__title { font-size: clamp(2.6rem, 10vw, 4rem); }
	#about-hero .bs-hero__visual,
#contact-hero .bs-hero__visual,
#ship-hero .bs-hero__visual,
#xb-hero .bs-hero__visual,
#wh-hero .bs-hero__visual,
#cs-hero .bs-hero__visual,
#ws-hero .bs-hero__visual { aspect-ratio: 3 / 2; max-block-size: none; }
	#about-values .bs-why__points,
#about-team .bs-prose,
#contact-discuss .bs-why__points,
#ws-tabs .bs-why__points { grid-template-columns: minmax(0, 1fr); }
	#about-values .bs-why__head,
#contact-discuss .bs-why__head,
#ws-tabs .bs-why__head { margin-block-end: 2rem; }
	#about-team .bs-prose { gap: 1.75rem; }
	#about-focus .bs-why__body,
#about-values .bs-why__body,
#contact-discuss .bs-why__body,
#ws-tabs .bs-why__body { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
}

/* Contact and service heroes: one-line note; also the written-summary list and section spacing. */
#contact-hero .bs-hero__meta,
#ship-hero .bs-hero__meta,
#xb-hero .bs-hero__meta,
#wh-hero .bs-hero__meta,
#cs-hero .bs-hero__meta,
#ws-hero .bs-hero__meta { display: block; margin-block-start: 1.25rem; padding: 0; border: 0; }
#contact-hero .bs-hero__note,
#ship-hero .bs-hero__note,
#xb-hero .bs-hero__note,
#wh-hero .bs-hero__note,
#cs-hero .bs-hero__note,
#ws-hero .bs-hero__note { margin: 0; color: var(--c-muted); font-size: 0.875rem; }
#book-a-call .bs-contact__head { max-inline-size: 48rem; margin-block-end: 3rem; }
#book-a-call .bs-heading:has(> .bs-label) { gap: 1.5rem; }
#book-a-call .bs-heading > .bs-label { margin-block-end: 0; }
.bs-contact__takeaway {
	display: grid;
	gap: 0.6rem;
	margin: 0.25rem 0 0;
	padding: 0;
	list-style: none;
}
.bs-contact__takeaway li {
	position: relative;
	padding-inline-start: 1.25rem;
	color: var(--c-ink-soft);
}
.bs-contact__takeaway li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.7em;
	inline-size: 0.45rem;
	block-size: 1px;
	background: currentColor;
}
#contact-call .bs-heading:has(> .bs-label) { gap: 1.5rem; }
#contact-call .bs-heading > .bs-label { margin-block-end: 0; }
#contact-takeaway .bs-prose .bs-contact__takeaway { gap: 0.75rem; margin-block: 1.25rem; }
#contact-takeaway .bs-prose .bs-contact__takeaway li { margin: 0; }
.bs-contact__takeaway li::before { inset-block-start: 0.85em; }

/* Contact: booking section, split. Pitch and notes left, form right. */
.bs-book__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(3rem, 6vw, 6rem);
	align-items: start;
}
.bs-book__head { margin-block-end: 2rem; }
.bs-book__head .bs-heading__intro { max-inline-size: 44ch; }
.bs-book__notes { margin: 0; border-top: 1px solid var(--c-line-strong); }
.bs-book__note {
	display: grid;
	gap: 0.4rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--c-line-strong);
}
.bs-book__note dt { font-weight: 600; color: var(--c-ink); }
.bs-book__note dd { margin: 0; max-inline-size: 46ch; color: var(--c-ink-soft); }
.bs-book__note a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.bs-book__panel {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--c-surface-2);
	border: 1px solid var(--c-line-strong);
	border-radius: var(--r-lg);
}
.bs-book__panel .bs-actions__note { margin-block-start: 0; text-align: center; }
.bs-book__panel .bs-form { gap: 1.1rem; }
@media (min-width: 901px) { .bs-book__panel textarea { min-block-size: 0; block-size: 7.5rem; } }
@media (max-width: 900px) {
	.bs-book__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
.bs-book__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--c-ink); text-decoration: none !important; }
.bs-book__link svg { inline-size: 0.875rem; block-size: 0.875rem; }

/* Booking panel with tabs: calendar first, message form second. */
.bs-book__panel--tabs { padding: 0; overflow: hidden; }
.bs-book__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid var(--c-line-strong);
}
.bs-book__tabs [role="tab"] {
	padding: 1.1rem 1rem;
	background: none;
	border: 0;
	color: var(--c-muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: color var(--dur, 0.2s), background var(--dur, 0.2s);
}
.bs-book__tabs [role="tab"] + [role="tab"] { border-inline-start: 1px solid var(--c-line-strong); }
.bs-book__tabs [role="tab"][aria-selected="true"] { color: var(--c-accent-ink); background: var(--c-ink); }
.bs-book__tabs [role="tab"]:hover:not([aria-selected="true"]) { color: var(--c-ink); }
.bs-book__tabs [role="tab"]:focus-visible { outline: 2px solid var(--c-ink); outline-offset: -4px; }
.bs-book__pane { padding: clamp(1.5rem, 3vw, 2.5rem); }
.bs-book__pane[hidden] { display: none; }
.bs-book__pane--calendar { padding: 0; }
.bs-book__pane--calendar .calendly-inline-widget { inline-size: 100%; }
.bs-book__pane .bs-actions__note { margin-block-start: 0; text-align: center; }
.bs-book__pane .bs-form { gap: 1.1rem; }
@media (min-width: 901px) { .bs-book__pane textarea { min-block-size: 0; block-size: 7.5rem; } }

/* Shipping & Insurance page. */@media (max-width: 760px) { }
/* Transition: five plain columns, distinct from the fit checklist above. */@media (max-width: 1100px) { }
@media (max-width: 760px) { }
/* Options: the page's only card row, kept flat. */
/* ------------------------------------------------ Shipping & Insurance */
#ship-problems,
#platform-capabilities,
#ship-workflow,
#ship-fit,
#ship-faq,
#xb-problems,
#xb-workflow,
#xb-fit,
#xb-faq,
#wh-problems,
#warehouse-capabilities,
#wh-workflow,
#wh-fit,
#wh-faq,
#ws-steps { padding-block: clamp(4rem, 7vw, 7rem); }
#ship-problems .bs-pain__head,
#platform-capabilities .bs-why__head,
#xb-problems .bs-pain__head,
#wh-problems .bs-pain__head,
#warehouse-capabilities .bs-why__head { max-inline-size: 48rem; margin-block-end: 3rem; }

/* Problem: four short, large statements in a 2x2 grid. */
#ship-problems .bs-pain__items,
#xb-problems .bs-pain__items,
#wh-problems .bs-pain__items {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(3rem, 6vw, 6rem);
	row-gap: 0;
}
#ship-problems .bs-pain__item,
#xb-problems .bs-pain__item,
#wh-problems .bs-pain__item { padding-block: 2rem; border-top: 1px solid var(--c-line); }
#ship-problems .bs-pain__title,
#xb-problems .bs-pain__title,
#wh-problems .bs-pain__title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
#ship-problems .bs-pain__text,
#xb-problems .bs-pain__text,
#wh-problems .bs-pain__text { font-size: 1.125rem; color: var(--c-ink-soft); }

/* Capabilities: six icon tiles on dark. */
#platform-capabilities .bs-why__points,
#warehouse-capabilities .bs-why__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
#platform-capabilities .bs-why__point,
#platform-capabilities .bs-why__point:hover,
#warehouse-capabilities .bs-why__point,
#warehouse-capabilities .bs-why__point:hover { box-shadow: none; transform: none; }
#platform-capabilities .bs-why__index,
#warehouse-capabilities .bs-why__index { display: none; }
#platform-capabilities .bs-why__title,
#warehouse-capabilities .bs-why__title { font-size: 1.25rem; }
.bs-why__outro { max-inline-size: 70ch; margin: 2rem 0 0; color: var(--c-muted); font-size: 0.875rem; }

/* Workflow: pinned heading, numbered steps on the right. */
#ship-workflow .bs-why__grid,
#xb-workflow .bs-why__grid,
#wh-workflow .bs-why__grid,
#ws-steps .bs-why__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
#ship-workflow .bs-why__points,
#xb-workflow .bs-why__points,
#wh-workflow .bs-why__points,
#ws-steps .bs-why__points { display: grid; gap: 0; counter-reset: ship-step; }
#ship-workflow .bs-why__point,
#ship-workflow .bs-why__point:hover,
#xb-workflow .bs-why__point,
#xb-workflow .bs-why__point:hover,
#wh-workflow .bs-why__point,
#wh-workflow .bs-why__point:hover,
#ws-steps .bs-why__point,
#ws-steps .bs-why__point:hover {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: 0 1rem;
	padding: 1.5rem 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--c-line);
	border-radius: 0;
	box-shadow: none;
	transform: none;
	counter-increment: ship-step;
}
#ship-workflow .bs-why__point:last-child,
#xb-workflow .bs-why__point:last-child,
#wh-workflow .bs-why__point:last-child,
#ws-steps .bs-why__point:last-child { border-bottom: 1px solid var(--c-line); }
#ship-workflow .bs-why__point::before,
#xb-workflow .bs-why__point::before,
#wh-workflow .bs-why__point::before,
#ws-steps .bs-why__point::before {
	content: counter(ship-step, decimal-leading-zero);
	grid-row: span 2;
	padding-top: 0.25rem;
	color: var(--c-muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
#ship-workflow .bs-why__index,
#ship-workflow .bs-card__chip,
#xb-workflow .bs-why__index,
#xb-workflow .bs-card__chip,
#wh-workflow .bs-why__index,
#wh-workflow .bs-card__chip,
#ws-steps .bs-why__index,
#ws-steps .bs-card__chip { display: none; }
#ship-workflow .bs-why__title,
#xb-workflow .bs-why__title,
#wh-workflow .bs-why__title,
#ws-steps .bs-why__title { font-size: 1.25rem; margin: 0; }
#ship-workflow .bs-why__text,
#xb-workflow .bs-why__text,
#wh-workflow .bs-why__text,
#ws-steps .bs-why__text { margin: 0.35rem 0 0; color: var(--c-ink-soft); }

/* Fit: who it is for beside the three options. */
.bs-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem); margin-block-start: 1rem; }
.bs-fit__title { margin: 0 0 1rem; font-size: 1.125rem; color: var(--c-muted); font-weight: 500; }
.bs-fit__list { margin: 0; padding: 0; list-style: none; }
.bs-fit__list li { display: grid; gap: 0.35rem; padding-block: 1.25rem; border-top: 1px solid var(--c-line-strong); }
.bs-fit__list li:last-child { border-bottom: 1px solid var(--c-line-strong); }
.bs-fit__list strong { color: var(--c-ink); font-size: 1.125rem; }
.bs-fit__list span { color: var(--c-ink-soft); }
#ship-fit .bs-prose,
#xb-fit .bs-prose,
#wh-fit .bs-prose { max-inline-size: none; }

/* FAQ and final CTA share one light band. */
#ship-faq,
#xb-faq,
#wh-faq { padding-block-end: clamp(2rem, 3vw, 3rem); }
#ship-cta,
#xb-cta,
#wh-cta,
#cs-cta,
#ws-cta { padding-block: 0 clamp(4rem, 7vw, 7rem); }

@media (max-width: 900px) {
	#ship-problems .bs-pain__items,
#ship-workflow .bs-why__grid,
.bs-fit,
#xb-problems .bs-pain__items,
#xb-workflow .bs-why__grid,
#wh-problems .bs-pain__items,
#wh-workflow .bs-why__grid,
#ws-steps .bs-why__grid { grid-template-columns: minmax(0, 1fr); }
	#platform-capabilities .bs-why__points,
#warehouse-capabilities .bs-why__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	#platform-capabilities .bs-why__points,
#warehouse-capabilities .bs-why__points { grid-template-columns: minmax(0, 1fr); }
}
#ship-fit .bs-label,
#xb-fit .bs-label,
#wh-fit .bs-label {
	display: inline-block;
	margin-block-end: 1.5rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
}
#ship-fit .bs-label::before,
#xb-fit .bs-label::before,
#wh-fit .bs-label::before { display: none; }
#ship-fit .bs-fit__title,
#xb-fit .bs-fit__title,
#wh-fit .bs-fit__title { color: var(--c-muted); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
#ship-workflow .bs-why__body,
#xb-workflow .bs-why__body,
#wh-workflow .bs-why__body,
#ws-steps .bs-why__body { display: block; }

/* ------------------------------------------------------- Case Studies */
/* Text-only hero: keep the copy at a readable measure. */
#cs-hero .bs-hero__copy { max-inline-size: 52rem; }
#cs-hero { padding-block-end: clamp(4rem, 6vw, 6rem); }
/* Small, plain case numbers instead of large outlined numerals. */
.bs-case__index {
	font-size: 0.875rem !important;
	line-height: 1 !important;
	-webkit-text-stroke: 0 !important;
	color: var(--c-muted) !important;
	letter-spacing: 0.04em;
	margin-block-end: 1rem;
}
/* Hero: copy on the left, a three-case index on the right. */
#cs-hero .bs-hero__copy {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	column-gap: clamp(3rem, 6vw, 6rem);
	max-inline-size: none;
	align-items: start;
}
#cs-hero .bs-hero__copy > * { grid-column: 1; }
#cs-hero .bs-hero__meta { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin: 0; }
.bs-cases-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line-strong); }
.bs-cases-index li { border-bottom: 1px solid var(--c-line-strong); }
.bs-cases-index a {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.25rem 1rem;
	padding-block: 1.35rem;
	color: var(--c-ink);
	text-decoration: none;
	transition: padding var(--dur, 0.2s);
}
.bs-cases-index a:hover { padding-inline-start: 0.5rem; }
.bs-cases-index__num { grid-row: span 2; padding-top: 0.2rem; color: var(--c-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.bs-cases-index__name { font-size: 1.25rem; font-weight: 600; }
.bs-cases-index__meta { color: var(--c-muted); font-size: 0.875rem; }
@media (max-width: 900px) {
	#cs-hero .bs-hero__copy { grid-template-columns: minmax(0, 1fr); }
	#cs-hero .bs-hero__meta { grid-column: 1; grid-row: auto; margin-block-start: 2rem; }
}
#cs-hero .bs-hero__grid { grid-template-columns: minmax(0, 1fr); }
#cs-hero .bs-hero__copy > .bs-label,
#cs-hero .bs-hero__copy > .bs-hero__label { justify-self: start; }
#cs-hero .bs-hero__title { max-inline-size: 14ch; }

/* Case study, story layout: the case beside its illustration. */
.bs-case--story { padding-block: clamp(4.5rem, 8vw, 8rem); }
.bs-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(3rem, 6vw, 6rem);
	align-items: start;
}
.bs-story--reverse .bs-story__text { order: 2; }
.bs-story--reverse .bs-story__media { order: 1; }
.bs-story--no-media { grid-template-columns: minmax(0, 1fr); }
.bs-story__media {
	position: sticky;
	top: calc(var(--header-h, 80px) + 2rem);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-lg);
	background: var(--c-surface-2);
}
.bs-story__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.bs-story__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-block-end: 1.5rem; }
.bs-story__num { color: var(--c-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.bs-story__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--c-ink-soft);
	font-size: 0.875rem;
}
.bs-story__status::before {
	content: "";
	inline-size: 0.5rem;
	block-size: 0.5rem;
	border-radius: 50%;
	background: #2fb67c;
}
.bs-story__title { margin: 0; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.08; }
.bs-story__industry { margin: 0.75rem 0 0; color: var(--c-muted); }
.bs-story__label { margin: 2.25rem 0 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--c-ink); letter-spacing: 0; }
.bs-story__challenge p { margin: 0; color: var(--c-ink-soft); font-size: 1.125rem; line-height: 1.65; }
.bs-story__built { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.bs-story__built li { padding-block: 0.7rem; border-bottom: 1px solid var(--c-line); color: var(--c-ink-soft); }
.bs-story__why { margin: 1.75rem 0 0; color: var(--c-ink-soft); }
.bs-story__why strong { color: var(--c-ink); }
.bs-story__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-block-start: 1.75rem;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}
.bs-story__link svg { inline-size: 1rem; block-size: 1rem; transition: transform var(--dur, 0.2s); }
.bs-story__link:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
	.bs-story { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
	.bs-story--reverse .bs-story__text,
	.bs-story__text { order: 2; }
	.bs-story__media { order: 1; position: static; }
}
/* Centre the illustration against the story instead of pinning it to the top. */
.bs-story { align-items: center; }
.bs-story__media { position: relative; top: auto; }

/* Case story: stronger contrast and presence. */
.bs-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.bs-story__media { aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.45); }
.bs-story__title { font-size: clamp(2.25rem, 3.8vw, 3.25rem); }
.bs-story__industry { color: var(--c-ink-soft); font-size: 1.125rem; }
.bs-story__status {
	padding: 0.5rem 0.85rem;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
}
.bs-story__status::before { background: #3ddc97; }
.bs-story__num { color: var(--c-ink); font-weight: 600; font-size: 1rem; }
.bs-story__label { margin-block-start: 2.5rem; font-size: 1rem; font-weight: 700; }
.bs-story__challenge p { color: var(--c-ink); font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.6; }
.bs-story__built {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 2rem;
	border: 0;
}
.bs-story__built li {
	display: grid;
	grid-template-columns: 1.5rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0;
	border: 0;
	color: var(--c-ink);
	font-weight: 500;
	line-height: 1.45;
}
.bs-story__tick {
	display: grid;
	place-items: center;
	inline-size: 1.5rem;
	block-size: 1.5rem;
	border-radius: 50%;
	background: var(--c-ink);
	color: var(--c-bg);
}
.bs-story__tick svg { inline-size: 0.8rem; block-size: 0.8rem; }
.bs-story__why {
	margin-block-start: 2.25rem;
	padding: 1.25rem 1.5rem;
	border-inline-start: 3px solid var(--c-ink);
	background: var(--c-surface-2);
	color: var(--c-ink);
}
@media (max-width: 600px) {
	.bs-story__built { grid-template-columns: minmax(0, 1fr); }
}
.bs-story .bs-story__built li,
.bs-story .bs-story__built li + li { margin: 0; }
@media (max-width: 900px) {
	.bs-story { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
	.bs-story__media { aspect-ratio: 4 / 3; }
}

/* Case story, final: editorial and plain. No icons, boxes, dots or shadows;
   contrast comes from full-strength text and solid rules. */
.bs-story__media { box-shadow: none; }
.bs-story__status {
	padding: 0.65rem 1rem;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
}
.bs-story__status::before { display: none; }
.bs-story__num { color: var(--c-ink); font-size: 0.875rem; font-weight: 500; }
.bs-story__industry { color: var(--c-ink-soft); font-size: 1rem; }
.bs-story .bs-story__built {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2rem;
	border-top: 0;
	border-bottom: 0;
}
.bs-story .bs-story__built li,
.bs-story .bs-story__built li + li {
	display: block;
	margin: 0;
	padding: 0.85rem 0;
	border-top: 1px solid var(--c-line-strong);
	color: var(--c-ink);
	font-weight: 400;
}
.bs-story__tick { display: none; }
.bs-story__why {
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-ink);
	opacity: 0.85;
}
@media (max-width: 600px) {
	.bs-story .bs-story__built { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------- Insights */
.bs-pagehead--dark { padding-block: calc(var(--header-h) + 3.5rem) clamp(3.5rem, 6vw, 5.5rem); border: 0; }
.bs-pagehead--dark .bs-breadcrumb { margin-block-end: 2rem; }
.bs-pagehead--dark .bs-label {
	display: inline-block;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.35;
}
.bs-pagehead--dark .bs-label::before { display: none; }
.bs-pagehead--dark .bs-pagehead__title { margin-block-start: 1.5rem; max-inline-size: 22ch; }
.bs-pagehead--article .bs-pagehead__title { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.06; max-inline-size: 26ch; }
.bs-pagehead__meta { display: flex; gap: 0.6rem; margin-block-start: 1.75rem; color: var(--c-muted); font-size: 0.875rem; }

.bs-insights { padding-block: clamp(3.5rem, 6vw, 6rem); }
.bs-insights-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-end: 2.5rem; }
.bs-insights-filter a {
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--c-line-strong);
	color: var(--c-ink);
	font-size: 0.875rem;
	text-decoration: none;
}
.bs-insights-filter a span { color: var(--c-muted); margin-inline-start: 0.25rem; }
.bs-insights-filter a:hover { border-color: var(--c-ink); }
.bs-insights-filter a[aria-current] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.bs-insights-filter a[aria-current] span { color: inherit; opacity: 0.7; }

.bs-postrows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line-strong); }
.bs-postrow { margin: 0; border-bottom: 1px solid var(--c-line-strong); }
.bs-postrow a {
	display: grid;
	grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 2rem;
	gap: 1rem clamp(2rem, 4vw, 4rem);
	align-items: start;
	padding-block: 1.75rem;
	color: var(--c-ink);
	text-decoration: none;
}
.bs-postrow__meta { display: grid; gap: 0.35rem; color: var(--c-muted); font-size: 0.875rem; padding-top: 0.3rem; }
.bs-postrow__cat { color: var(--c-ink); font-weight: 500; }
.bs-postrow__body { display: grid; gap: 0.5rem; }
.bs-postrow__title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.bs-postrow__excerpt { color: var(--c-ink-soft); max-inline-size: 70ch; }
.bs-postrow__arrow { padding-top: 0.35rem; justify-self: end; transition: transform var(--dur, 0.2s); }
.bs-postrow a:hover .bs-postrow__title { text-decoration: underline; text-underline-offset: 0.15em; }
.bs-postrow a:hover .bs-postrow__arrow { transform: translateX(4px); }
@media (max-width: 760px) {
	.bs-postrow a { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
	.bs-postrow__meta { display: flex; gap: 0.75rem; padding: 0; }
	.bs-postrow__arrow { display: none; }
}

/* Article body. */
.bs-article { padding-block: clamp(3.5rem, 6vw, 5.5rem) 1rem; }
.bs-article .bs-entry { max-width: 42rem; font-size: 1.125rem; line-height: 1.75; color: var(--c-ink); }
.bs-article .bs-entry h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.2; margin-top: 3rem; }
.bs-article .bs-entry a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 0.15em; }
.bs-article .bs-entry ol,
.bs-article .bs-entry ul { padding-inline-start: 1.4rem; }
.bs-article .bs-entry li + li { margin-top: 0.6rem; }
.bs-article .wp-block-table { margin-inline: 0; overflow-x: auto; }
.bs-article .wp-block-table table { inline-size: 100%; border-collapse: collapse; font-size: 1rem; }
.bs-article .wp-block-table th,
.bs-article .wp-block-table td { padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--c-line-strong); text-align: left; vertical-align: top; }
.bs-article .wp-block-table th { font-weight: 600; }
.bs-related { padding-block: clamp(3rem, 5vw, 5rem) 2rem; }
.bs-related__head { margin-block-end: 2rem; gap: 1.5rem; }
.bs-related .bs-label {
	align-self: flex-start;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: var(--c-ink);
	color: var(--c-bg);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.35;
}
.bs-related .bs-label::before { display: none; }
.bs-article-cta { padding-block: 2rem clamp(4rem, 7vw, 7rem); }
.bs-article .wp-block-table table,
.bs-article .wp-block-table thead,
.bs-article .wp-block-table tr { border: 0; }
.bs-article .wp-block-table th,
.bs-article .wp-block-table td { border: 0; border-bottom: 1px solid var(--c-line-strong); }
.bs-article .wp-block-table thead th { border-bottom: 2px solid var(--c-ink); font-size: 0.875rem; }
.bs-article .wp-block-table td:first-child { font-weight: 600; inline-size: 34%; }
/* Worksheet page: text-only hero. */
/* Match the service-page heroes. */
#ws-hero { padding-block: 130px 64px; }
/* The CTA follows a dark section here, so it needs its own top spacing. */
#ws-cta { padding-block: clamp(4rem, 7vw, 7rem); }
#ws-steps .bs-why__point::before { color: var(--c-muted); }
/* Worksheet hero: frame matches the 3:2 illustration so nothing is clipped. */
@media (min-width: 981px) {
	#ws-hero .bs-hero__grid { align-items: center; }
	#ws-hero .bs-hero__visual { align-self: center; min-block-size: 0; block-size: auto; aspect-ratio: 3 / 2; }
}
