/* Flow margins. A group's flow layout gives each child after the first a
   24px block-gap top margin. Inside a group this stylesheet lays out as flex
   or grid that margin is never wanted, and it has pushed things off their line
   again and again: the header 88px tall instead of 64, footer headings and
   cards dropped, drawer panels out of line, "Details" below its row, 40px
   under "Share", 24px too much above an article's text. Every such group is
   listed here, once; a new flex or grid group goes on this list.
   In the Site Editor WordPress prints that margin rule after this stylesheet,
   so there the reset repeats one class stronger (the nested rule). */
.capra-nav > *,
.capra-nav__bar > *,
.capra-mega__inner > *,
.capra-mega__panel > *,
.capra-mega__body > *,
.capra-mega__cards > *,
.capra-mega__columns > *,
.capra-mmenu > *,
.capra-mmenu__fold > *,
.capra-mmenu__cards > *,
.capra-mmenu__links > *,
.capra-footer__brand > *,
.capra-footer__columns > *,
.capra-newsletter > *,
.is-style-capra-menu-item > *,
.capra-newsroom > *,
.capra-newsroom__group > *,
.capra-newsroom__group-head > *,
.capra-postcards > *,
.capra-eventrows__list > *,
.capra-eventrow > *,
.capra-section-head > *,
.capra-section-head__text > *,
.capra-article-body > *,
.capra-article-body__rail > *,
.capra-story-crumbs > *,
.capra-share > *,
.capra-article-hero__meta > *,
.capra-event-hero__text > *,
.capra-event-hero > *,
.capra-story > *,
.capra-closing > *,
.capra-cta-band > *,
.capra-cta-band__inner > *,
.capra-cta-band__text > *,
.capra-journey > *,
.capra-takeaways > *,
.capra-takeaways__box > *,
.capra-toc > *,
.capra-faq > *,
.capra-faq__head > *,
.capra-faq__list > *,
.capra-sources__list > *,
.capra-sources__item > *,
.capra-note__card > *,
.capra-flow__screen > *,
.capra-flow__progress > *,
.capra-intents > *,
.capra-intent > *,
.capra-questions > *,
.capra-question > *,
.capra-fields > *,
.capra-field > *,
.capra-flow__actions > *,
.capra-contact__sheet > *,
.capra-contact__bar > *,
.capra-contact__body > *,
.capra-contact__intro > *,
.capra-contact__aside > *,
.capra-on > *,
.capra-tiles__list > *,
.capra-tile > *,
.capra-tile__text > *,
.capra-panels__list > *,
.capra-panel > *,
.capra-panel__body > *,
.capra-hero-gradient__inner > *,
.capra-sections > *,
.is-style-capra-section > *,
.capra-reasons > *,
.capra-reason > *,
.capra-partners-pitch__media > *,
.capra-partners-pitch__logos > *,
.is-style-capra-quote-card > *,
.capra-quote-card__text > *,
.capra-quote-card__who > *,
.capra-stat-cards > *,
.is-style-capra-stat-card > *,
.capra-latest-news__grid > *,
.capra-lead__body > *,
.capra-latest-news__side > *,
.capra-latest-news__news > *,
.capra-latest-news__articles > *,
.capra-latest-news__head > *,
.capra-minis__list > *,
.capra-mini > *,
.capra-mini__body > *,
.capra-mini__media > *,
.capra-mini__date > *,
.capra-postcard__date > *,
.capra-embed > *,
.capra-lead__card > *,
.capra-bento > *,
.capra-bento__card > *,
.capra-bento__text > *,
.capra-interfaces > *,
.capra-interfaces__group > *,
.capra-interfaces__head > *,
.capra-interface > *,
.capra-site-map > *,
.capra-integrations__notes > *,
.capra-integrations__note > *,
.is-style-capra-post-card > *,
.capra-lead__media > *,
.capra-lead__details > *,
.capra-lead__facts > *,
.capra-latest-news__events > *,
.capra-split > *,
.capra-split__text > *,
.capra-article-split > *,
.capra-article-split__text > *,
.capra-points > *,
.capra-cards-2 > *,
.is-style-capra-robot-card > *,
.capra-robot-card__foot > *,
.capra-stat-strip > *,
.capra-robot-card__text > *,
.capra-modules > *,
.capra-module > *,
.capra-steps > *,
.is-style-capra-step > *,
.capra-step__body > *,
.capra-stat-row > *,
.is-style-capra-stat-box > *,
.is-style-capra-section-gradient > *,
.capra-map-legend > *,
.capra-cards-3 > *,
.is-style-capra-solution-card > *,
.capra-router > *,
.capra-router__links > *,
.capra-router__block > *,
.capra-people > *,
.capra-leaders__list > *,
.capra-leader > *,
.capra-talk__list > *,
.capra-talk > *,
.capra-anchors > *,
.capra-anchor > *,
.capra-solution-rows__list > *,
.capra-crossing > *,
.capra-packages > *,
.is-style-capra-package > *,
.is-style-capra-package-featured > *,
.is-style-capra-package-premium > *,
.capra-case__result > *,
.capra-hero-intro__row > *,
.capra-numbers > *,
.capra-job__split > *,
.capra-job__part > *,
.capra-pains > *,
.capra-pain > *,
.capra-film > *,
.capra-statements > *,
.capra-statement > *,
.capra-statement__modules > *,
.capra-values__part > *,
.capra-values__list > *,
.capra-timeline > *,
.capra-timeline__group > *,
.capra-timeline__row > *,
.capra-milestone > *,
.capra-timeline__track > *,
.capra-chapters > *,
.capra-module-cards > *,
.capra-module-card > *,
.capra-spec-tabs > *,
.capra-spec-tab > *,
.capra-spec-cols > *,
.capra-spec-col > *,
.capra-spec-render > *,
.capra-downloads > *,
.capra-find > *,
.capra-results > *,
.capra-results__text > *,
.capra-results__list > li > *,
.capra-crumbs > *,
.capra-legal__updated > *,
.is-style-capra-download > *,
.capra-exploded__head > *,
.capra-callout > *,
.is-style-capra-stat > * {
	margin-block: 0;

	.editor-styles-wrapper & {
		margin-block: 0;
	}
}

/* Rise in (assets/js/reveal.js): a part of a section below the first screen
   fades in while rising 24px as it first comes into view, the parts one after
   another; the script takes both classes off after (Jonas, 22 Oct 2026:
   tasteful, like ottomotors.com; 23 Oct: calmer, so slower and softer; 9 Nov:
   a fifth quicker again, reveal.js NEXT_MS). */
.capra-rise {
	opacity: 0;
	translate: 0 var(--wp--preset--spacing--24);
}

.capra-rise.is-risen {
	opacity: 1;
	translate: none;
	transition: opacity .9s cubic-bezier(.25, .1, .25, 1), translate .9s cubic-bezier(.22, .61, .36, 1);
}

/* Printed, nothing waits to rise: parts below the first screen would print blank. */
@media print {
	.capra-rise {
		opacity: 1;
		translate: none;
	}
}

/* "Start here" is presented (reveal.js): its steps rise one at a time, and
   as a step settles its line runs on to the next one; the last step's check
   pops in. */
.capra-journey > .capra-rise .capra-journey__num::after {
	scale: 0 1;
	transform-origin: left;
}

.capra-journey > .capra-rise:last-child::before,
.capra-journey > .capra-rise:last-child::after {
	scale: .4;
}

.capra-journey > .capra-rise.is-risen .capra-journey__num::after {
	scale: 1;
	transition: scale .45s cubic-bezier(.6, 0, .3, 1) .25s;
}

.capra-journey > .capra-rise.is-risen:last-child::before,
.capra-journey > .capra-rise.is-risen:last-child::after {
	scale: 1;
	transition: scale .45s cubic-bezier(.2, .9, .3, 1.4) .4s;
}

/* No lone word on the last line: headings balance their lines, other text
   only avoids a one-word last line (Figma sets these by hand). */
:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

:where(p, li, figcaption) {
	text-wrap: pretty;
}

/* Line heights on the 2px grid. Every element's line height is its leading
   (Figma's ratio, --capra-leading) times its own font size, rounded to an even
   pixel: 15px body text at 1.55 is a 24px line, 15px at 1.35 is 20, 18px at
   1.35 is 24, 11px at 1.3 is 14. Figma rounds its lines the same way, which is
   why its components are even numbers (nav item 40, text link 32). The leading
   is inherited like a unitless line height, so text of every size computes
   its own line; a component sets --capra-leading, never a pixel line-height.
   Where round() is missing the plain ratio applies. */
:root {
	--capra-leading: var(--wp--custom--leading--body);
}

:where(body, body *) {
	line-height: var(--capra-leading);
}

@supports (line-height: round(1.5em, 2px)) {
	:where(body, body *) {
		line-height: round(calc(var(--capra-leading) * 1em), 2px);
	}
}

:where(h1) { --capra-leading: var(--wp--custom--leading--display); }
:where(h2) { --capra-leading: var(--wp--custom--leading--display-m); }
:where(h3) { --capra-leading: var(--wp--custom--leading--heading-xl); }
:where(h4) { --capra-leading: var(--wp--custom--leading--heading-l); }
:where(h5) { --capra-leading: var(--wp--custom--leading--heading-m); }
:where(h6) { --capra-leading: var(--wp--custom--leading--heading-xs); }
:where(.wp-block-button, .wp-element-button, .wp-block-button__link) { --capra-leading: var(--wp--custom--leading--title); }


/* Glass: the translucent white paints over photos and navy, raw by the glass
   rule (never theme tokens), named once here. */
:root {
	--capra-glass-fill: rgba(255, 255, 255, .08);          /* Glass button, header CTA over a hero, the exploded view's rail */
	--capra-glass-edge: rgba(255, 255, 255, .16);
	--capra-glass-fill-hover: rgba(255, 255, 255, .16);
	--capra-glass-edge-hover: rgba(255, 255, 255, .30);
	--capra-glass-card-fill: rgba(255, 255, 255, .06);     /* cards on navy: the footer's, the event facts */
	--capra-glass-card-edge: rgba(255, 255, 255, .12);
	--capra-glass-badge-fill: rgba(255, 255, 255, .16);    /* the map badges */
	--capra-glass-badge-edge: rgba(255, 255, 255, .35);
	--capra-glass-dark-fill: rgba(5, 10, 18, .38);         /* Secondary button, an event's card over its photo */
}

/* Icons: masked SVGs, one custom property each. An element masks itself with
   one and paints currentColor, so it is right on any surface. */
:root {
	--capra-i-arrow-l: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.666%208L3.33268%208M7.33268%204L3.33268%208L7.33268%2012%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.46667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-arrow-r: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8.08203%2011H13.9154M11.4154%2013.5L13.9154%2011L11.4154%208.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-chev-d: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5.5%208.25L11%2013.75L16.5%208.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.83333%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-close: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5.5%205.5L16.5%2016.5M16.5%205.5L5.5%2016.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.01667%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-menu: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M3.66602%206.41675H18.3327M3.66602%2011.0001H18.3327M3.66602%2015.5834H18.3327%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.83333%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-phone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.58333%203.66675H8.25L10.0833%208.25008L7.79167%209.62508C8.77338%2011.6157%2010.3844%2013.2267%2012.375%2014.2084L13.75%2011.9167L18.3333%2013.7501V17.4167C18.3333%2017.903%2018.1402%2018.3693%2017.7964%2018.7131C17.4525%2019.0569%2016.9862%2019.2501%2016.5%2019.2501C12.9243%2019.0328%209.55181%2017.5144%207.01876%2014.9813C4.48571%2012.4483%202.9673%209.07576%202.75%205.50008C2.75%205.01385%202.94315%204.54754%203.28697%204.20372C3.63079%203.8599%204.0971%203.66675%204.58333%203.66675Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.65%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-pin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.0007%2019.2499C11.0007%2019.2499%204.58398%2013.2916%204.58398%208.24992C4.58398%206.54811%205.26002%204.91601%206.46338%203.71265C7.66674%202.50929%209.29885%201.83325%2011.0007%201.83325C12.7025%201.83325%2014.3346%202.50929%2015.5379%203.71265C16.7413%204.91601%2017.4173%206.54811%2017.4173%208.24992C17.4173%2013.2916%2011.0007%2019.2499%2011.0007%2019.2499Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.65%22%2F%3E%3Cpath%20d%3D%22M11.0007%2010.5416C12.2663%2010.5416%2013.2923%209.51557%2013.2923%208.24992C13.2923%206.98427%2012.2663%205.95825%2011.0007%205.95825C9.735%205.95825%208.70898%206.98427%208.70898%208.24992C8.70898%209.51557%209.735%2010.5416%2011.0007%2010.5416Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.65%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-linkedin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15.5833%202.75H6.41667C4.39162%202.75%202.75%204.39162%202.75%206.41667V15.5833C2.75%2017.6084%204.39162%2019.25%206.41667%2019.25H15.5833C17.6084%2019.25%2019.25%2017.6084%2019.25%2015.5833V6.41667C19.25%204.39162%2017.6084%202.75%2015.5833%202.75Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.65%22%2F%3E%3Cpath%20d%3D%22M7.33398%209.6249V14.6666M7.33398%207.1499V7.24157M10.5423%2014.6666V9.6249M10.5423%2011.9166C10.5423%2010.4499%2011.459%209.53324%2012.6507%209.53324C13.8423%209.53324%2014.6673%2010.3582%2014.6673%2011.9166V14.6666%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-pause: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5.24935%202.91675H4.37435C4.05218%202.91675%203.79102%203.17792%203.79102%203.50008V10.5001C3.79102%2010.8222%204.05218%2011.0834%204.37435%2011.0834H5.24935C5.57151%2011.0834%205.83268%2010.8222%205.83268%2010.5001V3.50008C5.83268%203.17792%205.57151%202.91675%205.24935%202.91675Z%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M9.62435%202.91675H8.74935C8.42718%202.91675%208.16602%203.17792%208.16602%203.50008V10.5001C8.16602%2010.8222%208.42718%2011.0834%208.74935%2011.0834H9.62435C9.94651%2011.0834%2010.2077%2010.8222%2010.2077%2010.5001V3.50008C10.2077%203.17792%209.94651%202.91675%209.62435%202.91675Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-wheelbase: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2014%22%20fill%3D%22none%22%3E%3Crect%20x%3D%225.60352%22%20y%3D%224.36734%22%20width%3D%226.79245%22%20height%3D%225.26415%22%20rx%3D%221.35849%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.18868%22%2F%3E%3Crect%20x%3D%226.62305%22%20y%3D%221.82019%22%20width%3D%224.75472%22%20height%3D%221.5283%22%20rx%3D%220.636792%22%20fill%3D%22%23000%22%2F%3E%3Crect%20x%3D%226.62305%22%20y%3D%2210.6504%22%20width%3D%224.75472%22%20height%3D%221.5283%22%20rx%3D%220.636792%22%20fill%3D%22%23000%22%2F%3E%3Crect%20y%3D%226.32019%22%20width%3D%224.66981%22%20height%3D%221.5283%22%20rx%3D%220.636792%22%20fill%3D%22%23000%22%2F%3E%3Crect%20x%3D%2213.3301%22%20y%3D%226.19281%22%20width%3D%224.66981%22%20height%3D%221.5283%22%20rx%3D%220.636792%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-news: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Crect%20x%3D%222.5%22%20y%3D%223%22%20width%3D%2211%22%20height%3D%2210%22%20rx%3D%221.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M4.5%205.5H8M4.5%208H11.5M4.5%2010.5H11.5%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%229.5%22%20y%3D%224.5%22%20width%3D%222%22%20height%3D%222%22%20rx%3D%22.5%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-events: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Crect%20x%3D%222.5%22%20y%3D%223.75%22%20width%3D%2211%22%20height%3D%229.75%22%20rx%3D%221.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M1.75%206.5H14.25M5%201.5V4.25M11%201.5V4.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%229.25%22%20r%3D%22.75%22%20fill%3D%22%23000%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%229.25%22%20r%3D%22.75%22%20fill%3D%22%23000%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%229.25%22%20r%3D%22.75%22%20fill%3D%22%23000%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2211.75%22%20r%3D%22.75%22%20fill%3D%22%23000%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2211.75%22%20r%3D%22.75%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-document: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4%201.5H9.5L12.5%204.5V14.5H4V1.5Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6%207.5H10.5M6%2010H10.5M6%2012.3H8.6%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.16602%2010.4167L7.91602%2014.1667L15.8327%206.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.83333%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-arrow-d: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11%208.08V13.92M8.5%2011.42L11%2013.92L13.5%2011.42%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-article: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4%201.5H9.5L12.5%204.5V14.5H4V1.5Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6%207.5H10.5M6%2010H10.5M6%2012.3H8.6%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-plus: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%203.333V12.667M3.334%208H12.667%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.333%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-live: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10%2012.5A2.5%202.5%200%201%200%2010%207.5A2.5%202.5%200%200%200%2010%2012.5Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M5.25%205.25C4.62%205.87%204.12%206.61%203.78%207.425C3.44%208.24%203.26%209.116%203.26%2010C3.26%2010.884%203.44%2011.76%203.78%2012.575C4.12%2013.39%204.62%2014.13%205.25%2014.75M14.75%205.25C15.38%205.87%2015.88%206.61%2016.222%207.425C16.564%208.24%2016.74%209.116%2016.74%2010C16.74%2010.884%2016.564%2011.76%2016.222%2012.575C15.88%2013.39%2015.38%2014.13%2014.75%2014.75%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-route: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.5%2015.375A1.875%201.875%200%201%200%204.5%2011.625A1.875%201.875%200%200%200%204.5%2015.375Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.35%22%2F%3E%3Cpath%20d%3D%22M13.5%206.375A1.875%201.875%200%201%200%2013.5%202.625A1.875%201.875%200%200%200%2013.5%206.375Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.35%22%2F%3E%3Cpath%20d%3D%22M6.375%2013.5H10.5C11.097%2013.5%2011.669%2013.263%2012.091%2012.841C12.513%2012.419%2012.75%2011.847%2012.75%2011.25C12.75%2010.653%2012.513%2010.081%2012.091%209.659C11.669%209.237%2011.097%209%2010.5%209H7.5C6.903%209%206.331%208.763%205.909%208.341C5.487%207.919%205.25%207.347%205.25%206.75C5.25%206.153%205.487%205.581%205.909%205.159C6.331%204.737%206.903%204.5%207.5%204.5H11.625%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.35%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-cal: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M14.167%204.583H5.834C4.453%204.583%203.334%205.703%203.334%207.083V14.167C3.334%2015.547%204.453%2016.667%205.834%2016.667H14.167C15.548%2016.667%2016.667%2015.547%2016.667%2014.167V7.083C16.667%205.703%2015.548%204.583%2014.167%204.583Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M3.334%208.333H16.667M7.084%202.917V6.25M12.917%202.917V6.25%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-grid: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%3E%3Crect%20x%3D%223.333%22%20y%3D%223.333%22%20width%3D%225.833%22%20height%3D%225.833%22%20rx%3D%221.667%22%2F%3E%3Crect%20x%3D%2210.833%22%20y%3D%223.333%22%20width%3D%225.833%22%20height%3D%225.833%22%20rx%3D%221.667%22%2F%3E%3Crect%20x%3D%223.333%22%20y%3D%2210.833%22%20width%3D%225.833%22%20height%3D%225.833%22%20rx%3D%221.667%22%2F%3E%3Crect%20x%3D%2210.833%22%20y%3D%2210.833%22%20width%3D%225.833%22%20height%3D%225.833%22%20rx%3D%221.667%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	--capra-i-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2.8%205.2L10%2010.8L17.2%205.2M4%204H16C17.333%204%2018%204.667%2018%206V14C18%2015.333%2017.333%2016%2016%2016H4C2.667%2016%202%2015.333%202%2014V6C2%204.667%202.667%204%204%204Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-building: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2.17%2011.1h8.66M3.25%2011.1V3.52L6.5%201.9l3.25%201.62v7.58M5.42%2011.1V8.94h2.16v2.16M5.15%205.15h0M7.85%205.15h0M5.15%207.04h0M7.85%207.04h0%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-logo-mark: url("../img/logo-symbol.svg");
	--capra-logo-lockup: url("../img/logo-one-line.svg");
	--capra-logo-wide: url("../img/logo-wide.svg");
	/* The Tonal button's light: the button, the header's solid "Get in touch", the selector's "Your setup". */
	--capra-shadow-tonal: var(--wp--custom--button--shadow--tonal);
}

/* =========================================================================
   Capra components — built from Figma "02 Components".
   Every value resolves to a theme.json token. No literals except the
   deliberately raw translucent paints (glass), which are never tokenised.
   The parts, in order (search for "--- <name>"):
   Dark surfaces, Brand lockup, Buttons, Text link,
   Header, Mega menu, Closing wrapper, CTA band,
   Footer, Responsive, Motion, Utilities,
   Hero, Customer logo strip, Phone menu, Block styles,
   News and events, Article, Sections and cards, World map,
   Platform story, Robot cards, SmartFleet (open integration, start here), Events and news,
   Use cases, Company page, Solutions page, Testimonial,
   Partners pitch, Exploded view, Stat, Hero · intro,
   Robots page, Software page, Search and page not found, Page frame,
   People and the gradient hero.
   ========================================================================= */

/* --- Dark surfaces -----------------------------------------------------
   Mirrors the Dark mode of Figma's "Mapped" collection. Applied as the
   "Dark section" block style on core/group, or by the footer. Everything
   inside re-resolves to the dark token set with no other change. */
.capra-dark,
.is-style-capra-dark,
.is-style-capra-section-gradient,
.type-capra_event > .is-style-capra-post-card {
	--wp--custom--token--bg-page: var(--wp--custom--color--navy-950);
	--wp--custom--token--bg-subtle: var(--wp--custom--color--slate-950);
	--wp--custom--token--bg-surface: var(--wp--custom--color--navy-900);
	--wp--custom--token--bg-surface-tint: var(--wp--custom--color--navy-800);
	--wp--custom--token--bg-inverse: var(--wp--custom--color--slate-50);
	--wp--custom--token--bg-header: var(--wp--custom--color--navy-950);
	--wp--custom--token--bg-action-subtle: var(--wp--custom--color--navy-800);
	--wp--custom--token--bg-action-subtle-hover: var(--wp--custom--color--navy-700);
	--wp--custom--token--bg-partner-subtle: var(--wp--custom--color--amber-950);
	--wp--custom--token--bg-muted: var(--wp--custom--color--navy-800);
	--wp--custom--token--text-primary: var(--wp--custom--color--base-white);
	--wp--custom--token--text-body: var(--wp--custom--color--slate-200);
	--wp--custom--token--text-muted: var(--wp--custom--color--slate-400);
	--wp--custom--token--text-subtle: var(--wp--custom--color--slate-600);
	--wp--custom--token--text-inverse: var(--wp--custom--color--navy-900);
	--wp--custom--token--text-link: var(--wp--custom--color--blue-300);
	--wp--custom--token--text-link-hover: var(--wp--custom--color--blue-200);
	--wp--custom--token--text-tonal: var(--wp--custom--color--blue-200);
	--wp--custom--token--text-partner: var(--wp--custom--color--amber-300);
	--wp--custom--token--text-danger: var(--wp--custom--color--red-400);
	--wp--custom--token--text-success: var(--wp--custom--color--green-400);
	--wp--custom--token--border-default: var(--wp--custom--color--navy-700);
	--wp--custom--token--border-subtle: var(--wp--custom--color--navy-800);
	--wp--custom--token--border-strong: var(--wp--custom--color--base-white);
	--wp--custom--token--border-focus: var(--wp--custom--color--blue-400);
	--wp--custom--token--icon-primary: var(--wp--custom--color--base-white);
	--wp--custom--token--icon-muted: var(--wp--custom--color--slate-400);
	--wp--custom--token--icon-action: var(--wp--custom--color--blue-400);
	--wp--custom--token--icon-partner: var(--wp--custom--color--amber-400);
	--wp--custom--token--icon-accent: var(--wp--custom--color--orange-400);
	--wp--custom--token--text-accent: var(--wp--custom--color--orange-400);
	--wp--custom--token--text-accent-inverse: var(--wp--custom--color--orange-600);
	--wp--custom--token--status-live: var(--wp--custom--color--red-400);
	color: var(--wp--custom--token--text-body);
}

/* The "Dark section" style paints its own navy (it did nothing before the audit of
   4 Nov 2026); the class alone leaves the background to its part, as the footer's. */
.is-style-capra-dark {
	background: var(--wp--custom--token--bg-page);
}

/* --- Brand lockup -----------------------------------------------------
   Figma "Logo", Lockup = Capra Robotics: the official one-line lockup (the
   ring mark and CAPRA ROBOTICS®, from the logo pack), 188 x 32. Masked, so it
   takes the surface's text colour: navy on light, white over the hero and in
   the footer. Where the header is tight, the official symbol alone (Figma's
   Lockup = Mark, "for tight spaces"). The name is in the link for readers. */
.capra-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.capra-brand__logo {
	display: block;
	inline-size: 188px;
	block-size: 32px;
	background: currentColor;
	-webkit-mask: var(--capra-logo-lockup) center / contain no-repeat;
	mask: var(--capra-logo-lockup) center / contain no-repeat;
}

/* --- Buttons -----------------------------------------------------------
   One core/button, one block style per Figma Btn "Kind". Size follows the
   block's own font-size setting, so Kind and size stay independent. */
@property --capra-sweep {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

/* The sweep's colour: as faint as the groove at rest, solid while filled (see
   the arrow-in-ring below). */
@property --capra-ring-fill {
	syntax: "<color>";
	inherits: false;
	initial-value: rgba(0, 0, 0, .28);
}

.wp-block-button__link,
.wp-element-button {
	--capra-btn-height: var(--wp--custom--button--height-s);
	--capra-btn-pad: var(--wp--custom--button--pad-s);
	--capra-btn-ring: var(--wp--custom--button--ring-s);
	--capra-btn-ring-pad: var(--wp--custom--button--ring-pad-s);
	--capra-btn-gap: var(--wp--custom--button--ring-gap-s);
	display: inline-flex;
	align-items: center;
	gap: var(--capra-btn-gap);
	block-size: var(--capra-btn-height);
	padding-block: 0;
	padding-inline: var(--capra-btn-pad) var(--capra-btn-ring-pad);
	border: 0;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.wp-block-button.has-body-l-font-size .wp-block-button__link,
.capra-hero .wp-block-button__link,
.capra-flow .wp-block-button__link {
	--capra-btn-height: var(--wp--custom--button--height-l);
	--capra-btn-pad: var(--wp--custom--button--pad-l);
	--capra-btn-ring: var(--wp--custom--button--ring-l);
	--capra-btn-ring-pad: var(--wp--custom--button--ring-pad-l);
	--capra-btn-gap: var(--wp--custom--button--ring-gap-l);
}

/* The arrow-in-ring, sized per button size as Figma Btn (S 24px, L 28px):
   the same ring as the cards' (see "The arrow-in-ring" below), one
   pseudo-element after the label, so it sits wherever the label does. */
.wp-block-button__link {
	position: relative;
	--capra-ring-size: var(--capra-btn-ring);
}

/* Kinds. Primary is theme.json's default, so it needs no style class. Primary and Tonal are the
   SmartFleet app's (Jonas, 29 Oct 2026): its shadows, and its lit edge, a white inner ring brightest
   at the top left (::before; ::after is the ring arrow). Other kinds leave the edge clear. */
.wp-block-button__link,
.is-style-primary .wp-block-button__link {
	background-color: var(--wp--custom--token--bg-action);
	color: var(--wp--custom--token--text-on-action);
	box-shadow: var(--wp--custom--button--shadow--rest);
}

.wp-block-button__link::before,
.capra-setup__stage > .is-style-capra-chip::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 0 1.2px var(--capra-rim-colour, transparent);
	-webkit-mask-image: var(--capra-rim);
	mask-image: var(--capra-rim);
}

/* A button with no style is Primary, except the share icons, the pop-up's Close and the Newsroom's filter
   pills, kinds of their own (Close took Primary's fill and edge on hover, Jonas, 5 Nov 2026; the pills
   Primary's blue under their navy words, Jonas, 1 Dec 2026). */
.wp-block-button:not([class*="is-style-"], [class*="capra-share-icons"], .capra-contact__close > *, .is-style-capra-filter > *) > .wp-block-button__link,
.is-style-primary > .wp-block-button__link {
	--capra-rim-colour: #fff;
	--capra-rim: linear-gradient(to bottom right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .4) 24.7%, rgba(0, 0, 0, .1) 53%, rgba(0, 0, 0, .4) 70.7%);
}

@media (hover: hover) {
	.wp-block-button:not([class*="is-style-"], [class*="capra-share-icons"], .capra-contact__close > *, .is-style-capra-filter > *) > .wp-block-button__link:hover,
	.is-style-primary > .wp-block-button__link:hover {
		/* A third of the way to the app's hover blue: on the site the ring's sweep already
		   shows the hover, so the fill darkens less (Jonas, 4 Nov 2026). */
		background-color: color-mix(in srgb, var(--wp--custom--token--bg-action-hover) 33%, var(--wp--custom--token--bg-action));
		box-shadow: var(--wp--custom--button--shadow--hover);
	}
}

.wp-block-button:not([class*="is-style-"], [class*="capra-share-icons"], .capra-contact__close > *, .is-style-capra-filter > *) > .wp-block-button__link:active,
.is-style-primary > .wp-block-button__link:active {
	box-shadow: var(--wp--custom--button--shadow--pressed);
}

/* Tonal's edge is stronger and 80% white; the selector's "Your setup" chip wears Tonal too. */
.is-style-tonal > .wp-block-button__link,
.capra-setup__stage > .is-style-capra-chip {
	--capra-rim-colour: rgba(255, 255, 255, .8);
	--capra-rim: linear-gradient(to bottom right, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .8) 24.7%, rgba(0, 0, 0, .1) 53%, rgba(0, 0, 0, .6) 70.7%);
}

@media (hover: hover) {
	.wp-block-button__link:hover,
	.is-style-primary .wp-block-button__link:hover {
		box-shadow: var(--wp--custom--button--shadow--lift);
	}
}

.is-style-tonal .wp-block-button__link {
	background-color: color-mix(in srgb, var(--wp--custom--token--bg-action) 10%, transparent);
	color: var(--wp--custom--token--text-tonal);
	box-shadow: var(--capra-shadow-tonal);
}

@media (hover: hover) {
	.is-style-tonal .wp-block-button__link:hover {
		background-color: color-mix(in srgb, var(--wp--custom--token--bg-action) 16%, transparent);
		box-shadow: var(--wp--custom--button--shadow--tonal-hover);
	}
}

/* Glass and Secondary sit on photography, so their paints stay raw rgba —
   a translucent value is never bound to a colour token. */
.is-style-glass .wp-block-button__link {
	background-color: var(--capra-glass-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-edge);
	color: var(--wp--custom--token--on-media);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

@media (hover: hover) {
	.is-style-glass .wp-block-button__link:hover {
		background-color: var(--capra-glass-fill-hover);
		box-shadow: inset 0 0 0 1px var(--capra-glass-edge-hover);
	}
}

.is-style-secondary .wp-block-button__link {
	background-color: var(--capra-glass-dark-fill);
	padding-inline-end: var(--capra-btn-pad);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .40);
	color: var(--wp--custom--token--on-media);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

@media (hover: hover) {
	.is-style-secondary .wp-block-button__link:hover {
		background-color: rgba(5, 10, 18, .52);
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
	}
}

.is-style-secondary .wp-block-button__link::after {
	content: none;
}

.is-style-ghost .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--custom--token--text-tonal);
	box-shadow: none;
}

/* Ghost on hover: no fill (Jonas, 20 Oct 2026), only the label darkens (white on
   a dark surface) while the ring runs, as on the other kinds. The background
   is restated because the Primary hover above would otherwise fill it. */
@media (hover: hover) {
	.is-style-ghost .wp-block-button__link:hover {
		background-color: transparent;
		box-shadow: none;
		color: var(--wp--custom--token--text-primary);
	}
}

.is-style-partner .wp-block-button__link {
	background-color: var(--wp--custom--token--bg-partner);
	color: var(--wp--custom--token--on-media);
	box-shadow: var(--wp--custom--button--shadow--partner);
}

@media (hover: hover) {
	.is-style-partner .wp-block-button__link:hover {
		background-color: var(--wp--custom--token--bg-partner-hover);
	}
}

/* Every button answers the pointer, the keyboard and the press. */
.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 3px;
}

/* On photography the focus ring has to survive any frame, so it goes white
   with a dark halo rather than taking the blue token. */
.capra-hero .wp-block-button__link:focus-visible,
.is-style-glass .wp-block-button__link:focus-visible,
.is-style-secondary .wp-block-button__link:focus-visible {
	outline-color: var(--wp--custom--token--on-media);
	box-shadow: var(--wp--custom--button--shadow--halo);
}

.wp-block-button__link:active,
.wp-element-button:active {
	translate: 0 1px;
	box-shadow: var(--wp--custom--button--shadow--active);
}

.is-style-ghost .wp-block-button__link:active,
.is-style-link-ring .wp-block-button__link:active {
	box-shadow: none;
}

/* Link · ring — a ring arrow with no pill behind it. */
.is-style-link-ring .wp-block-button__link {
	background: none;
	box-shadow: none;
	block-size: auto;
	padding: 0;
	gap: var(--wp--preset--spacing--8);
	color: var(--wp--custom--token--text-link);
	font-weight: var(--wp--custom--weight--bold);
}

/* --- Text link ---------------------------------------------------------
   Figma "Text link": the underline draws in on hover and focus; no stub at
   rest (Jonas, 13 Oct 2026). */
.is-style-capra-textlink {
	display: flex;
	margin: 0;
}

/* Figma: 4 above the label (135%), the 2px underline 4 below it, 2 under that. */
.is-style-capra-textlink a {
	position: relative;
	display: inline-block;
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
	--capra-leading: var(--wp--custom--leading--title);
	padding-block: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
}

/* The link lists (footer columns, the Company drawer's columns) are the same
   Text link component: the same underline, drawn 4 under the label, without
   the padding, so the lists keep their rhythm. */
.is-style-capra-links a {
	position: relative;
	display: inline-block;
	--capra-underline-offset: calc(-1 * var(--wp--preset--spacing--6));
}

.is-style-capra-textlink a::after,
.is-style-capra-links a::after {
	content: "";
	position: absolute;
	inset-block-end: var(--capra-underline-offset, var(--wp--preset--spacing--2));
	inset-inline-start: 0;
	block-size: var(--wp--preset--spacing--2);
	/* Figma's rest state has a 16px stub; Jonas dropped it (13 Oct 2026): the
	   underline only appears, drawing to full width, on hover and focus. */
	inline-size: 0;
	background: currentColor;
	opacity: .35;
	transition: inline-size .3s ease, opacity .3s ease;
}

.is-style-capra-textlink a:focus-visible::after,
.is-style-capra-links a:focus-visible::after {
	inline-size: 100%;
	opacity: 1;
}

@media (hover: hover) {
	.is-style-capra-textlink a:hover::after,
	.is-style-capra-links a:hover::after {
		inline-size: 100%;
		opacity: 1;
	}
}

/* --- Header -----------------------------------------------------------
   Two states. Transparent with white content while a hero is under it and
   the page is at the top; solid header surface otherwise — which includes
   every page that has no hero at all. nav.js owns body.capra-scrolled.
   Logged in, the bar sits under WordPress's admin bar instead of behind it;
   core defines the height variable only while the admin bar is showing. */
.capra-nav {
	position: fixed;
	inset-block-start: var(--wp-admin--admin-bar--height, 0px);
	inset-inline: 0;
	z-index: 100;
	background-color: var(--wp--custom--token--bg-header);
	color: var(--wp--custom--token--text-primary);
	box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--wp--custom--token--text-primary) 10%, transparent);
	transition: background-color .28s ease, color .28s ease, box-shadow .28s ease;
}

/* Once content scrolls under it, the bar lifts off the page: the hairline
   plus Figma's Elevation/Low. */
body.capra-scrolled .capra-nav {
	box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--wp--custom--token--text-primary) 10%, transparent), var(--wp--preset--shadow--low);
}

/* Moving between pages (Jonas, 23 Oct 2026: a premium change, not a
   flicker): the browser holds the old page until the new one can show, then
   cross-fades in place (5 Nov 2026: no settling up, it read as a jolt), while
   the header bar stays where it is. The bar is named only during the change: a named
   element keeps its frosted children from blurring what lies behind it.
   Chrome, Edge, Safari 18.2+; other browsers load pages as before. The
   opt-in itself (@view-transition, off with reduced motion) is inline in
   the page's head (capra_assets): Chrome decides before this file loads. */
html:active-view-transition .capra-nav {
	view-transition-name: capra-header;
}

::view-transition-old(root) {
	animation: capra-page-out .35s ease both;
}

::view-transition-new(root) {
	animation: capra-page-in .35s ease both;
}

@keyframes capra-page-out {
	to { opacity: 0; }
}

@keyframes capra-page-in {
	from { opacity: 0; }
}

/* An in-page link (/news/#press-kit) lands below the fixed bar, not under it. */
html {
	scroll-padding-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp-admin--admin-bar--height, 0px));
}

/* On phones core lets the admin bar scroll away, which would leave a gap
   above the fixed header; keep it pinned like on every wider screen. */
@media (max-width: 600px) {
	html #wpadminbar {
		position: fixed;
	}
}

body:has(.capra-hero):not(.capra-scrolled, .editor-styles-wrapper) .capra-nav:not(.is-mega-open) {
	background-color: transparent;
	color: var(--wp--custom--token--on-media);
	box-shadow: none;
}

/* Three columns, the outer two equal: the links sit on the page's centre line,
   as in Figma, whenever there is room, and the grid moves them aside rather
   than letting them run into the lockup or the CTA when there is not. */
.capra-nav__bar {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--wp--preset--spacing--24);
	block-size: var(--wp--custom--layout--header-height);
	padding-inline: var(--wp--custom--layout--margin);
	margin-inline: auto;
	max-inline-size: var(--wp--style--global--wide-size);
}

/* Core gives the block class to the <nav> and to its <ul> alike, so this
   names the <nav> only. */
.capra-nav__bar > .capra-nav__menu {
	display: flex;
	justify-content: center;
}

.capra-nav__bar > .capra-brand {
	justify-self: start;
}

.capra-nav__cta {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
}

.capra-nav__menu .wp-block-navigation__container {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	list-style: none;
	margin: 0;
	padding: 0;
}

.capra-nav__menu .wp-block-navigation-item__content {
	display: block;
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--16);
	color: inherit;
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--semibold);
	--capra-leading: var(--wp--custom--leading--title);
	text-decoration: none;
}

/* Figma "Nav indicator" — one 2px rule that slides between items and rests
   on the current section. nav.js positions it; this only paints it. */
.capra-nav__indicator {
	position: absolute;
	inset-block-end: 4px;
	inset-inline-start: 0;
	inline-size: 0;
	block-size: 2px;
	border-radius: var(--wp--custom--radius--xs);
	background: var(--wp--custom--token--bg-action);
	opacity: 0;
	transition: transform .28s ease, width .28s ease, opacity .2s ease;
	pointer-events: none;
}

body:has(.capra-hero):not(.capra-scrolled, .editor-styles-wrapper) .capra-nav:not(.is-mega-open) .capra-nav__indicator {
	background: currentColor;
}

.capra-nav__indicator.is-visible {
	opacity: 1;
}

/* Appear in place rather than sliding in from the left edge. */
.capra-nav__indicator.is-placing {
	transition: none;
}

/* Over a hero the CTA is glass; once solid it becomes the tonal pill. One
   button in the markup, two appearances — one accent-filled button per view. */
.capra-nav__cta .wp-block-button__link {
	background-color: color-mix(in srgb, var(--wp--custom--token--bg-action) 10%, transparent);
	color: var(--wp--custom--token--text-tonal);
	box-shadow: var(--capra-shadow-tonal);
}

body:has(.capra-hero):not(.capra-scrolled, .editor-styles-wrapper) .capra-nav:not(.is-mega-open) .capra-nav__cta .wp-block-button__link {
	--capra-rim-colour: transparent;
	background-color: var(--capra-glass-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-edge);
	color: var(--wp--custom--token--on-media);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* --- Mega menu ---------------------------------------------------------
   The drawer is a flow child of the fixed header, not an absolutely positioned
   sibling. That is the whole trick: the header simply grows downwards and the
   background is one painted box, so there is no seam between bar and drawer.
   Hover or keyboard focus opens it; it closes on leave or Escape. */
.capra-mega {
	--capra-mega-rail: 212px;
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .42s cubic-bezier(.2, .7, .3, 1);
}

.capra-mega__inner {
	position: relative;
	overflow: hidden;
	min-block-size: 0;
}

/* The drawer being left, fading out on top of the new one (nav.js). */
.capra-mega__panel.is-leaving {
	display: grid;
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	pointer-events: none;
}

.capra-nav.is-mega-open .capra-mega {
	grid-template-rows: 1fr;
}

.capra-mega__panel {
	display: none;
	grid-template-columns: var(--capra-mega-rail) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--48);
	max-inline-size: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--48) var(--wp--custom--layout--margin) var(--wp--preset--spacing--64);
}

.capra-mega__panel--company {
	column-gap: var(--wp--preset--spacing--40);
}

.capra-mega__panel.is-active {
	display: grid;
}

.capra-mega__rail {
	--capra-rail-step: calc(var(--wp--preset--spacing--24) - var(--wp--preset--spacing--6));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--6);
}

.capra-mega__rail > * {
	flex-shrink: 0;
}

/* Figma: the cards set the drawer's height; the rail stretches to them with
   its "All" link at the bottom, and where the rail runs longer the link hangs
   into the bottom padding (26px in Solutions at 1440). It may hang to within
   24px of the drawer's edge; past that the drawer grows, so a longer rail (or
   a narrower screen, where the photos shrink) never cuts it off. Side by side
   only: stacked, the rail sizes itself. */
@media (min-width: 700px) {
	.capra-mega__panel > .capra-mega__rail {
		min-block-size: 0;
		max-block-size: 100%;
		margin-block-end: calc(var(--wp--preset--spacing--24) - var(--wp--preset--spacing--64));
	}
}

.capra-mega__rail h2 {
	margin: 0 0 var(--capra-rail-step);
	font-size: var(--wp--preset--font-size--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	color: var(--wp--custom--token--text-primary);
}

/* Three classes: core's separator style caps it at 100px with (0,3,0). */
.capra-mega__panel .capra-mega__rail hr.wp-block-separator {
	inline-size: 100%;
	block-size: 1px;
	border: 0;
	margin: 0 0 var(--capra-rail-step);
	background: color-mix(in srgb, var(--capra-mega-accent) 30%, transparent);
}

/* Company pairs one wide card with link columns; the others are a card grid.
   Both sit in the same body slot. */
.capra-mega__body {
	display: flex;
	gap: var(--wp--preset--spacing--40);
	align-items: flex-start;
}

.capra-mega__cards {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wp--preset--spacing--24);
	align-items: start;
}

/* Software is the one asymmetric drawer: a large SmartFleet card beside a
   smaller, shorter Open integration card. Figma: 606 / 300 of a 938 row. */
.capra-mega__cards--split {
	grid-template-columns: 606fr 300fr;
	gap: var(--wp--preset--spacing--32);
}

.is-style-capra-menu-item figure,
.is-style-capra-media {
	aspect-ratio: 300 / 196;
}

/* Each drawer's photos have Figma's frame height (Menu item photo), in whole
   pixels, at every width: the photo crops instead of shrinking. So each drawer
   is Figma's height on every screen (Solutions 412, Robots 442, Software 512,
   Partners 412, Company 372 under the bar) and the rail beside the cards keeps
   its room, which is what lets its "All" link meet the cards' bottom. */
.capra-mega__panel .is-style-capra-menu-item figure {
	aspect-ratio: auto;
	block-size: var(--capra-photo-height);
}

.capra-mega__panel--solutions {
	--capra-photo-height: 236px;
	--capra-photo-ratio: 297 / 236;
}

.capra-mega__panel--partners {
	--capra-photo-height: 236px;
	--capra-photo-ratio: 457 / 236;
}

/* 319: the card now ends level with the rail's "All robots" link (Jonas,
   21 Oct 2026), since the name sits on the card instead of under it. */
.capra-mega__panel--robots {
	--capra-photo-height: 319px;
	--capra-photo-ratio: 457 / 319;
}

/* Figma: the robots are cut-out renders, fitted on a soft grey gradient. A robot zooms
   only a little; its card lifts, as the contact pop-up's people do (Jonas, 5 Nov 2026). */
.capra-mega__panel--robots,
.capra-mmenu__row--robots {
	--capra-zoom: 1.02;
}

.capra-mega__panel--robots .is-style-capra-menu-item figure {
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
	box-shadow: var(--wp--preset--shadow--card);
	transition: box-shadow .2s ease;
}

.capra-mega__panel--robots .is-style-capra-menu-item:has(a:focus-visible) figure {
	box-shadow: var(--wp--preset--shadow--raised);
}

@media (hover: hover) {
	.capra-mega__panel--robots .is-style-capra-menu-item:is(:hover, :has(a:focus-visible)) figure {
		box-shadow: var(--wp--preset--shadow--raised);
	}
}

.capra-mega__panel--robots .is-style-capra-menu-item img {
	object-fit: contain;
}

/* The Robots cards (Jonas, 21 Oct 2026): the big name and its mono line sit on
   the grey card, bottom left, on the floor in front of the robot, which moves
   up and right. One grid cell: the photo spans it, name and line stack at its
   foot. The offset is a transform so the card's hover zoom (scale) still adds
   to it; the whole-card link (the name's a::after) stays the click target. */
.capra-mega__panel--robots .is-style-capra-menu-item {
	--capra-card-inset: calc(var(--wp--preset--spacing--24) + var(--wp--preset--spacing--4));
	display: grid;
	grid-template-rows: 1fr auto auto;
	row-gap: 0;
}

.capra-mega__panel--robots .is-style-capra-menu-item > * {
	grid-column: 1;
}

.capra-mega__panel--robots .is-style-capra-menu-item > figure {
	grid-row: 1 / 4;
}

.capra-mega__panel--robots .is-style-capra-menu-item > figure img {
	transform: scale(.88) translate(6%, -5%);
}

.capra-mega__panel--robots .is-style-capra-menu-item > :is(h2, h3, h4) {
	grid-row: 2;
	z-index: 1;
	align-self: end;
	padding: 0 var(--capra-card-inset);
	font-size: var(--wp--preset--font-size--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
	/* Leading 1, for the link inside too: the title row's 44px line was the gap. */
	--capra-leading: 1;
	/* Optical: the round C lines up with the mono G under it. */
	text-indent: -.05em;
}

/* Under the name, on the card; clicks go through to the card's link. */
.capra-mega__panel--robots .is-style-capra-menu-item > p {
	grid-row: 3;
	z-index: 1;
	padding: var(--wp--preset--spacing--4) var(--capra-card-inset) var(--wp--preset--spacing--24);
	pointer-events: none;
}

.capra-mega__panel--software .is-style-capra-menu-item:first-child {
	--capra-photo-height: 336px;
	--capra-photo-ratio: 606 / 336;
}

.capra-mega__panel--software .is-style-capra-menu-item:nth-child(2) {
	--capra-photo-height: 198px;
	--capra-photo-ratio: 300 / 198;
}

/* The SmartFleet screen keeps its top left in view (the logo and the side
   navigation) however the frame crops it, and zooms from there; the
   integration diagram runs to its own edges, so it is shown whole, with a
   little air, on the navy it is drawn on (Jonas, 21 Oct 2026). */
.capra-mega__panel--software .is-style-capra-menu-item:first-child img {
	object-position: left top;
	transform-origin: left top;
}

.capra-mega__panel--software .is-style-capra-menu-item:nth-child(2) figure {
	padding: var(--wp--preset--spacing--12);
	background: var(--wp--custom--token--bg-brand);
}

.capra-mega__panel--software .is-style-capra-menu-item:nth-child(2) img {
	border-radius: 0;
	object-fit: contain;
}

.capra-mega__panel--company {
	--capra-photo-height: 220px;
	--capra-photo-ratio: 506 / 220;
}

.capra-mega__cards--wide {
	flex: 0 1 53.5%;
	grid-template-columns: 1fr;
}

.capra-mega__columns {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
}

/* Figma sets the first column 24 in from the card beside it. */
.capra-mega__column:first-child {
	padding-inline-start: var(--wp--preset--spacing--24);
}

.capra-mega__col-head,
.capra-mega__column h3 {
	margin: 0 0 var(--wp--preset--spacing--12);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-s);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-caps-s);
	--capra-leading: var(--wp--custom--leading--mono);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

.capra-mega__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

.capra-mega__column a {
	display: inline-block;
	padding-block: var(--wp--preset--spacing--4);
	text-wrap: nowrap;
	--capra-underline-offset: calc(-1 * var(--wp--preset--spacing--2));
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

@media (hover: hover) {
	.capra-mega__column a:hover {
		color: var(--wp--custom--token--text-link);
	}
}

/* The arrow-in-ring on a heading (menu and solution cards), on the drawer's
   "All …" link and on a download card, animated exactly as on a button: at rest the ring is
   the 28% groove; on hover the sweep fills it counter-clockwise from the
   bottom and the arrow nudges 2px right. One pseudo-element, three mask
   layers: the arrow, over the ring cut by the conic sweep (the sweep runs
   mirrored, as the button's scaleX(-1) does). core/button builds the same
   thing from its two pseudo-elements. */
.wp-block-button__link::after,
.is-style-capra-ring::after,
.capra-mega__all a::after,
.is-style-capra-download::after,
.capra-intent::after,
.capra-tile::after {
	--capra-ring-arrow: var(--capra-i-arrow-r) center / contain no-repeat;
	/* The sweep starts 1deg past the circle's end, and at rest its colour is the
	   groove's own faint one, so no browser draws a stray dot where the circle
	   starts (Jonas, 21 and 26 Oct 2026: a white dot at the bottom, in Safari
	   too). Filled, the colour is solid at once; it turns faint again only
	   after the sweep has unwound. */
	--capra-ring-sweep: conic-gradient(from 180deg, rgba(0, 0, 0, .28) calc(361deg - var(--capra-sweep)), var(--capra-ring-fill) 0deg);
	/* Each edge fades over .75px, so the circle is drawn smooth: hard stops drew it in steps
	   (Jonas, 11 Nov 2026: "jagged", "pixelated"). The same weight, 1.5px. */
	--capra-ring-groove: radial-gradient(farthest-side, transparent calc(100% - 2.25px), #000 calc(100% - 1.5px), #000 calc(100% - .75px), transparent 100%);
	content: "";
	flex: none;
	inline-size: var(--capra-ring-size, 22px);
	block-size: var(--capra-ring-size, 22px);
	background: currentColor;
	-webkit-mask: var(--capra-ring-arrow), var(--capra-ring-sweep), var(--capra-ring-groove);
	-webkit-mask-composite: source-over, source-in, source-over;
	mask: var(--capra-ring-arrow), var(--capra-ring-sweep), var(--capra-ring-groove);
	mask-composite: add, intersect, add;
	transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s .45s;
}

/* Every ring that fills (here, and on download, solution and robot cards). */
.wp-block-button__link:focus-visible::after,
.capra-mega__all a:focus-visible::after,
.is-style-capra-menu-item:has(a:focus-visible) .is-style-capra-ring::after,
.capra-intent:has(a:focus-visible)::after,
.capra-tile:focus-visible::after,
.is-style-capra-download:has(a:focus-visible)::after,
:is(.is-style-capra-solution-card, .capra-robot-card--wide):has(a:focus-visible) .is-style-link-ring .wp-block-button__link::after {
	--capra-ring-fill: #000;
	transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s;
}

@media (hover: hover) {
	.wp-block-button__link:hover::after,
	.capra-mega__all a:hover::after,
	.is-style-capra-menu-item:hover .is-style-capra-ring::after,
	.capra-intent:is(:hover, :has(a:focus-visible))::after,
	.capra-tile:hover::after,
	.is-style-capra-download:is(:hover, :has(a:focus-visible))::after,
	:is(.is-style-capra-solution-card, .capra-robot-card--wide):is(:hover, :has(a:focus-visible)) .is-style-link-ring .wp-block-button__link::after {
		--capra-ring-fill: #000;
		transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s;
	}
}

.wp-block-button__link:focus-visible::after,
.capra-mega__all a:focus-visible::after,
.is-style-capra-menu-item:has(a:focus-visible) .is-style-capra-ring::after,
.capra-intent:has(a:focus-visible)::after,
.capra-tile:focus-visible::after {
	--capra-sweep: 360deg;
	-webkit-mask-position: calc(50% + 2px) 50%, center, center;
	mask-position: calc(50% + 2px) 50%, center, center;
}

@media (hover: hover) {
	.wp-block-button__link:hover::after,
	.capra-mega__all a:hover::after,
	.is-style-capra-menu-item:hover .is-style-capra-ring::after,
	.capra-intent:is(:hover, :has(a:focus-visible))::after,
	.capra-tile:hover::after {
		--capra-sweep: 360deg;
		-webkit-mask-position: calc(50% + 2px) 50%, center, center;
		mask-position: calc(50% + 2px) 50%, center, center;
	}
}

/* "All …" — the rail's overview link, pinned to the bottom so it lines up
   with the bottom of the cards beside it in every drawer (as Software does in
   Figma), at least 24 below the last link. Two classes:
   `.capra-mega__rail p { margin: 0 }` otherwise unpins it. */
.capra-mega__rail .capra-mega__all {
	display: flex;
	margin: auto 0 0;
	padding-block-start: var(--capra-rail-step);
}

/* Figma "Overview link": a 26px ring, 10 from the label. */
.capra-mega__all a {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	color: var(--wp--custom--token--text-link);
	font-weight: var(--wp--custom--weight--bold);
	text-decoration: none;
}

.capra-mega__all a::after {
	inline-size: 26px;
	block-size: 26px;
}

/* The rail's text links are paragraphs now, so the underline lives on the a. */
.capra-mega__rail p {
	margin: 0;
}

/* Each drawer runs on one accent: blue, or amber in Partners (Figma's
   Accent=Partner). The divider is the accent at 30%, so the blue and the
   amber line read equally light (the two tokens have nearly the same
   luminance); the rings take the accent in full, so the groove is the faint
   tint and the sweep fills it with the accent, arrow included. */
.capra-mega__panel {
	--capra-mega-accent: var(--wp--custom--token--bg-action);
	--capra-mega-ring: var(--wp--custom--token--text-link);
}

.capra-mega__panel--partners {
	--capra-mega-accent: var(--wp--custom--token--bg-partner);
	--capra-mega-ring: var(--wp--custom--token--text-partner);
}

.capra-mega__panel :is(.is-style-capra-ring, .capra-mega__all a)::after {
	background: var(--capra-mega-ring);
}

.capra-mega__panel--partners .capra-mega__all a {
	color: var(--wp--custom--token--text-partner);
}

.capra-mega__panel--partners .is-style-capra-textlink a {
	color: var(--wp--custom--token--text-primary);
}

.capra-mega__panel--partners .is-style-capra-textlink a::after {
	background: var(--wp--custom--token--icon-partner);
	opacity: 1;
}

/* The underline is one sliding element, not a pseudo per item, so the amber
   accent is applied from whichever panel is open. */
.capra-nav:has(.capra-mega__panel--partners.is-active) .capra-nav__indicator {
	background: var(--wp--custom--token--icon-partner);
}

/* Scrim behind the open drawer, so the page reads as pushed back. */
.capra-scrim {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(10, 17, 38, .28);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s;
}

body:has(.capra-nav.is-mega-open) .capra-scrim {
	opacity: 1;
	visibility: visible;
}

/* In the Site Editor (its canvas body is .editor-styles-wrapper; the site's
   never is) marketing edits the header rather than uses it, so everything
   shows, in place: the bar sits in the flow on its solid surface instead of
   floating over the page (or white over a hero, which is white on white
   there). Opened on its own (Patterns → Header, where the header is the
   canvas's first block) the five drawers are laid out one under another, each
   under a hairline, named "Drawer · …" in the List View; inside a template
   they stay shut, so the page is not pushed down. The scrim is not drawn. In
   the flow the header sits inside the page gutter, which it cancels like every
   full-bleed section; fixed on the site, it never meets it. */
.editor-styles-wrapper .capra-nav {
	position: relative;
	inset-block-start: auto;
	margin-inline: calc(-1 * var(--wp--style--root--padding-left)) calc(-1 * var(--wp--style--root--padding-right));
}

.editor-styles-wrapper .is-root-container > .capra-nav .capra-mega {
	grid-template-rows: 1fr;
}

.editor-styles-wrapper .is-root-container > .capra-nav .capra-mega__panel {
	display: grid;
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

.editor-styles-wrapper .capra-scrim {
	display: none;
}

/* --- Closing wrapper ----------------------------------------------------
   Every template ends on a full-bleed group, capra-closing (capra-dark), that
   holds only the footer template part; the closing band is page content, the
   last thing in <main> (the audit, 6 Nov 2026). */
.capra-closing {
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	background: var(--wp--custom--token--bg-surface);
}

/* Sections placed inside the band are transparent by construction. */
.capra-closing > * {
	background: none;
}

/* --- CTA band (Figma Pattern / cta-band) ------------------------------------
   The synced patterns "CTA band" (Plain: text and a photo) and "CTA band ·
   Journey" (Home: the three steps), from synced-patterns/. Padding 80 / 96 /
   64 and the 600 | 536 split are Figma's Desktop, Tablet and Mobile frames.
   The band and the footer under it are one background gradient in two halves
   (Jonas, 27 Oct 2026: one gradient everywhere): the band its top half, the
   footer its bottom half, meeting on its brand-blue middle. */
.capra-cta-band {
	padding: var(--wp--preset--spacing--80) var(--wp--custom--layout--margin);
	background: var(--wp--preset--gradient--bg-gradient);
	background-size: auto, 100% 200%, 100% 200%, 100% 200%;
	background-position: 0 0, center top, center top, center top;
	color: var(--wp--custom--token--text-primary);
}

/* At the end of a page's content it reaches the screen edges like every
   full-bleed section. */
.capra-cta-band.alignfull {
	max-inline-size: none;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
}

.capra-cta-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 600fr) minmax(0, 536fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--64);
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-cta-band__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--16);
}

.capra-cta-band__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-cta-band__lead {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

.capra-cta-band__ctas.wp-block-buttons {
	gap: var(--wp--preset--spacing--12);
	margin: 0;
}

.capra-cta-band .wp-block-button__link {
	--capra-btn-height: var(--wp--custom--button--height-l);
	--capra-btn-pad: var(--wp--custom--button--pad-l);
	--capra-btn-ring: var(--wp--custom--button--ring-l);
	--capra-btn-ring-pad: var(--wp--custom--button--ring-pad-l);
	--capra-btn-gap: var(--wp--custom--button--ring-gap-l);
}

.capra-cta-band__image {
	margin: 0;
}

/* The Partners section's band runs on the partner accent: an amber primary
   button and eyebrow mark (Figma Page · Partners). The section is the page's
   body class (capra_section_body_class, functions.php). */
.capra-section-partners .capra-cta-band .wp-block-button:not(.is-style-ghost) .wp-block-button__link {
	background-color: var(--wp--custom--token--bg-partner);
}

@media (hover: hover) {
	.capra-section-partners .capra-cta-band .wp-block-button:not(.is-style-ghost) .wp-block-button__link:hover {
		background-color: var(--wp--custom--token--bg-partner-hover);
	}
}

.capra-section-partners .capra-cta-band .is-style-capra-eyebrow::before {
	background: var(--wp--custom--token--icon-partner);
}

/* Figma Image module, Edge=Hairline. */
.capra-cta-band__image img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 536 / 332;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
	outline: 1px solid color-mix(in srgb, var(--wp--custom--token--text-primary) 14%, transparent);
	outline-offset: -1px;
}

/* Journey: the head (text, the buttons at its bottom right), then three steps.
   Each step is a timeline marker, its text and an illustrated plate; subgrid
   keeps the plates level whatever the length of the text above them. */
.capra-cta-band--journey .capra-cta-band__inner {
	grid-template-columns: minmax(0, 640px) auto;
	justify-content: space-between;
	align-items: end;
	row-gap: var(--wp--preset--spacing--64);
}

/* The buttons follow the steps in the markup (a phone ends on them); a
   desktop places them beside the heading, as Figma does. */
.capra-cta-band--journey .capra-cta-band__ctas {
	grid-row: 1;
	grid-column: 2;
	justify-self: end;
}

.capra-journey {
	grid-row: 2;
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: auto auto 1fr auto;
	gap: 0 var(--wp--preset--spacing--32);
}

.capra-journey__step {
	position: relative;
	display: grid;
	grid-row: span 4;
	grid-template-rows: subgrid;
}

.capra-journey__num {
	display: grid;
	place-items: center;
	inline-size: 32px;
	block-size: 32px;
	margin: 0 0 var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--full);
	background: color-mix(in srgb, var(--wp--custom--token--text-primary) 10%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--custom--token--text-primary) 35%, transparent);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
	color: var(--wp--custom--token--text-body);
}

/* The connector runs from the marker to the step's edge; the last step ends
   in Figma's "Done" check instead. */
.capra-journey__num::after {
	content: "";
	position: absolute;
	inset-block-start: 16px;
	inset-inline: 44px 0;
	block-size: 1px;
	background: color-mix(in srgb, var(--wp--custom--token--text-primary) 22%, transparent);
}

.capra-journey__step:last-child .capra-journey__num::after {
	inset-inline-end: 44px;
}

.capra-journey__step:last-child::before,
.capra-journey__step:last-child::after {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-end: 0;
	inline-size: 32px;
	block-size: 32px;
}

.capra-journey__step:last-child::before {
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--text-link);
}

.capra-journey__step:last-child::after {
	background: var(--wp--custom--token--bg-surface);
	-webkit-mask: var(--capra-i-check) center / 20px no-repeat;
	mask: var(--capra-i-check) center / 20px no-repeat;
}

.capra-journey__title {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	color: var(--wp--custom--token--text-primary);
}

.capra-journey__text {
	margin: 0 0 var(--wp--preset--spacing--20);
	color: var(--wp--custom--token--text-primary);
}

.capra-journey__plate {
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: color-mix(in srgb, var(--wp--custom--token--text-primary) 5%, transparent);
	outline: 1px solid color-mix(in srgb, var(--wp--custom--token--text-primary) 14%, transparent);
	outline-offset: -1px;
}

.capra-journey__plate img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 379 / 284;
}

/* Figma Tablet: padding 96 / 48; the image beside the text at 464 | 400. The
   Journey stacks, its buttons after the steps (Jonas, 14 Oct 2026: the
   section ends on its call to action once it no longer fits one view). */
@media (max-width: 1024px) {
	.capra-cta-band {
		padding-block: var(--wp--preset--spacing--96);
	}

	.capra-cta-band__inner {
		grid-template-columns: minmax(0, 464fr) minmax(0, 400fr);
	}

	.capra-cta-band--journey .capra-cta-band__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--32);
	}

	.capra-cta-band--journey .capra-cta-band__ctas,
	.capra-cta-band--journey .capra-journey {
		grid-row: auto;
		grid-column: auto;
		justify-self: start;
	}

	.capra-cta-band--journey .capra-journey {
		justify-self: stretch;
		margin-block: var(--wp--preset--spacing--32);
		column-gap: var(--wp--preset--spacing--24);
	}
}

/* Figma Mobile: padding 64 / 20, buttons stacked and hugging their labels.
   Unlike Figma the photo stays, under the text, so every page ends on a
   picture (Jonas, 14 Oct 2026). Journey steps: the plate and the text half
   and half, the frosted number beside the title. */
@media (max-width: 744px) {
	.capra-cta-band {
		padding-block: var(--wp--preset--spacing--64);
	}

	.capra-cta-band__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--24);
	}

	.capra-cta-band__image {
		order: 1;
	}

	.capra-cta-band__lead {
		font-size: var(--wp--preset--font-size--body-m);
	}

	/* The pair stacks full width on every page, whatever the labels: the
	   primary on top, the ghost below with a hairline so it still reads as
	   a button (Jonas, 14 Oct 2026). Label and ring sit centred. */
	/* So do a section's own buttons beside its text (Open integration, the partners pitch)
	   and a care package's, but not text links with a ring (Jonas, 11 Nov 2026). */
	.capra-cta-band__ctas.wp-block-buttons,
	.capra-cta-pair.wp-block-buttons,
	.capra-split__text > .wp-block-buttons:not(:has(.is-style-link-ring)),
	:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		align-self: stretch;
		justify-self: stretch;
		gap: var(--wp--preset--spacing--12);
	}

	:is(.capra-cta-band__ctas, .capra-cta-pair, .capra-split__text > .wp-block-buttons:not(:has(.is-style-link-ring)), :is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) .wp-block-buttons) :is(.wp-block-button, .wp-block-button__link) {
		inline-size: 100%;
	}

	:is(.capra-cta-band__ctas, .capra-cta-pair, .capra-split__text > .wp-block-buttons:not(:has(.is-style-link-ring)), :is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) .wp-block-buttons) .wp-block-button__link {
		justify-content: center;
		padding-inline: var(--capra-btn-pad);
	}

	:is(.capra-cta-band__ctas, .capra-split__text > .wp-block-buttons) .is-style-ghost .wp-block-button__link {
		box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 40%, transparent);
	}

	.capra-cta-band--journey .capra-journey {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		row-gap: var(--wp--preset--spacing--32);
		margin-block: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	}

	.capra-journey__step {
		grid-row: auto;
		grid-template-columns: calc(50% - var(--wp--preset--spacing--8)) 32px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"plate num title"
			"plate . text";
		column-gap: var(--wp--preset--spacing--8);
		row-gap: var(--wp--preset--spacing--10);
		align-items: center;
	}

	.capra-journey__step > * {
		margin: 0;
	}

	.capra-journey__plate {
		grid-area: plate;
		align-self: start;
		margin-inline-end: var(--wp--preset--spacing--8);
		border-radius: var(--wp--custom--radius--md);
	}

	.capra-journey__num {
		grid-area: num;
	}

	.capra-journey__title {
		grid-area: title;
		font-size: var(--wp--preset--font-size--heading-xs);
		--capra-leading: var(--wp--custom--leading--heading-xs);
	}

	.capra-journey__text {
		grid-area: text;
		align-self: start;
	}

	/* Stacked, the connector runs down from each badge to the next, as it runs across
	   when the steps stand side by side; the last step has none (Jonas, 4 Nov 2026). */
	.capra-journey__num::after {
		inset-block: 40px calc(-1 * var(--wp--preset--spacing--32) + 8px);
		inset-inline: calc(50% + 16px) auto;
		inline-size: 1px;
		block-size: auto;
	}

	.capra-journey > .capra-rise .capra-journey__num::after {
		scale: 1 0;
		transform-origin: top;
	}

	.capra-journey__step:last-child .capra-journey__num::after,
	.capra-journey__step:last-child::before,
	.capra-journey__step:last-child::after {
		content: none;
	}
}

/* --- Footer ------------------------------------------------------------
   Composed from core blocks — group, columns, heading, list, social-links — so
   every link and line is editable in the Site Editor. The icons on the action
   cards are pseudo-elements driven by a modifier class, which keeps the markup
   to blocks a colleague can actually work with. */
/* On its own the footer runs the whole background gradient. Under a CTA band
   (which paints the top half itself) it runs the bottom half. */
.capra-footer {
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	background: var(--wp--preset--gradient--bg-gradient);
	padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--32);
	padding-inline: var(--wp--custom--layout--margin);
}

/* One background gradient down the CTA band and the footer, in two halves
   meeting on brand blue (its 50%, bg-brand): so the band can sit at the end of
   a page's own content and still meet the footer seamlessly. */
.capra-closing .capra-footer {
	margin-inline: 0;
}

body:has(.capra-cta-band) .capra-footer {
	background: var(--wp--preset--gradient--bg-gradient);
	background-size: auto, 100% 200%, 100% 200%, 100% 200%;
	background-position: 0 0, center bottom, center bottom, center bottom;
	/* Over the band by 2px, the gradient itself, so no hairline shows at a
	   fractional zoom (a flat colour there showed as a line against the grain). */
	margin-block-start: calc(-1 * var(--wp--preset--spacing--2));
}

.capra-footer__inner {
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-footer__top {
	gap: var(--wp--preset--spacing--48);
	align-items: flex-start;
	padding-block-end: var(--wp--preset--spacing--64);
}

.capra-footer__brand {
	flex: 0 1 380px;
	min-inline-size: 0;
	max-inline-size: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--20);
}

.capra-footer__blurb {
	margin: 0;
	max-inline-size: 42ch;
	color: var(--wp--custom--token--text-body);
}

/* Figma "Card · Footer action". Glass stays raw white 6% per the glass rule. */
.capra-footer__action {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
	inline-size: 100%;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--20);
	padding-inline-end: var(--wp--preset--spacing--64);
	border-radius: var(--wp--custom--radius--md);
	background: var(--capra-glass-card-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-card-edge);
	transition: background-color .2s ease;
}

@media (hover: hover) {
	.capra-footer__action:hover {
		background: rgba(255, 255, 255, .10);
	}
}

/* The icon is a modifier class, so the card stays a plain group of blocks. */
.capra-footer__action::after {
	content: "";
	position: absolute;
	inset-inline-end: var(--wp--preset--spacing--20);
	inset-block-start: 50%;
	translate: 0 -50%;
	inline-size: 22px;
	block-size: 22px;
	background: currentColor;
	-webkit-mask: var(--capra-action-icon) center / contain no-repeat;
	mask: var(--capra-action-icon) center / contain no-repeat;
	opacity: .85;
}

.capra-footer__action--phone { --capra-action-icon: var(--capra-i-phone); }
.capra-footer__action--pin   { --capra-action-icon: var(--capra-i-pin); }

.capra-footer__action-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

.capra-footer__action-title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is the target, not just the title. */
.capra-footer__action-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.capra-footer__action-sub {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.capra-footer__columns {
	flex: 1 1 560px;
	min-inline-size: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-footer__col-head {
	margin: 0 0 var(--wp--preset--spacing--16);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-s);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-caps-s);
	--capra-leading: var(--wp--custom--leading--mono);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

/* The newsletter (inc/newsletter.php; Jonas, 13 Nov 2026: in the left column, a third card under
   the contact cards, so the link columns stay a clean sitemap). Its title opens the form under
   it (newsletter.js); fields as the cards, glass on the dark footer. Shown only while sign-ups
   are on. */
.capra-footer__action--mail { --capra-action-icon: var(--capra-i-mail); }

/* Room for the icon beside the title and line only: the form runs the card's full width. */
.capra-newsletter.capra-footer__action {
	padding-inline-end: var(--wp--preset--spacing--20);
}

.capra-newsletter > .capra-footer__action-title,
.capra-newsletter > .capra-footer__action-sub {
	padding-inline-end: var(--wp--preset--spacing--40);
}

/* The icon stays level with the title and line as the card opens. */
.capra-newsletter.capra-footer__action::after {
	inset-block-start: var(--wp--preset--spacing--40);
}

@media (hover: hover) {
	.capra-newsletter.is-open:hover {
		background: var(--capra-glass-card-fill);
	}
}

.capra-newsletter__toggle {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: start;
	cursor: pointer;
}

/* Closed, the whole card opens it, as the whole card is the other cards' link. */
.capra-newsletter.is-collapsible:not(.is-open) .capra-newsletter__toggle::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* The negative margin takes back the card's gap, so closed it is as tall as the cards above. */
.capra-newsletter__more {
	display: grid;
	grid-template-rows: 1fr;
	margin-block-start: calc(-1 * var(--wp--preset--spacing--4));
	transition: grid-template-rows .4s ease-in-out;
}

.capra-newsletter.is-collapsible:not(.is-open) .capra-newsletter__more {
	grid-template-rows: 0fr;
}

/* The padding is room for the button's focus ring inside the clip; the margin takes it back. */
.capra-newsletter__more-inner {
	min-block-size: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	padding: var(--wp--preset--spacing--4);
	margin: calc(-1 * var(--wp--preset--spacing--4));
}

.capra-newsletter__more-inner > :first-child {
	margin-block-start: var(--wp--preset--spacing--16);
}

@media (prefers-reduced-motion: reduce) {
	.capra-newsletter__more {
		transition: none;
	}
}

.capra-newsletter__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--8);
	align-items: center;
}

.capra-newsletter__field {
	inline-size: 100%;
	block-size: var(--wp--custom--button--height-s);
	padding: 0 var(--wp--preset--spacing--12);
	border: 0;
	border-radius: var(--wp--custom--radius--md);
	background: var(--capra-glass-card-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-card-edge);
	color: var(--wp--custom--token--text-primary);
	font: inherit;
	font-size: var(--wp--preset--font-size--body-m);
	transition: background-color .2s ease, box-shadow .15s ease;
}

.capra-newsletter__field::placeholder {
	color: var(--wp--custom--token--text-muted);
	opacity: 1;
}

.capra-newsletter__field:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--wp--custom--token--border-focus);
}

@media (hover: hover) {
	.capra-newsletter__field:hover {
		background: rgba(255, 255, 255, .10);
	}
}

.capra-newsletter__send {
	grid-column: 1 / -1;
	justify-self: start;
	margin-block-start: var(--wp--preset--spacing--4);
	font: inherit;
	font-weight: var(--wp--custom--weight--bold);
	cursor: pointer;
}

.capra-newsletter__send:disabled {
	opacity: .6;
	cursor: progress;
}

.capra-newsletter__answer {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--wp--custom--token--text-primary);
}

.capra-newsletter__answer:empty {
	display: none;
}

.capra-newsletter__form.is-failed .capra-newsletter__answer {
	color: var(--wp--custom--token--text-danger);
}

/* Sent: the answer in place of the fields, with the flow's check; the small print has said its piece. */
.capra-newsletter__form.is-sent > :not(.capra-newsletter__answer),
.capra-newsletter:has(.is-sent) .capra-newsletter__small {
	display: none;
}

.capra-newsletter__form.is-sent .capra-newsletter__answer {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
}

.capra-newsletter__form.is-sent .capra-newsletter__answer::before {
	content: "";
	flex: none;
	inline-size: 20px;
	block-size: 20px;
	background: var(--wp--custom--token--border-focus);
	-webkit-mask: var(--capra-i-check) center / contain no-repeat;
	mask: var(--capra-i-check) center / contain no-repeat;
}

.capra-newsletter__small {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.capra-newsletter__small a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.capra-newsletter__trap {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}


.capra-footer__bottom {
	gap: var(--wp--preset--spacing--24);
	align-items: center;
	padding-block-start: var(--wp--preset--spacing--24);
	border-block-start: 1px solid rgba(255, 255, 255, .14);
}

.capra-footer__legal {
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.capra-footer__legal p {
	margin: 0 0 var(--wp--preset--spacing--6);
}

/* The legal lines are parts joined by a dot; a part never breaks from its dot. */
.capra-footer__part {
	white-space: nowrap;
}

.capra-footer__part + .capra-footer__part::before {
	content: "·";
	margin-inline: var(--wp--preset--spacing--10);
}

.capra-footer__meta {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
}

.capra-footer__meta a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) {
	.capra-footer__meta a:hover {
		color: var(--wp--custom--token--text-primary);
		text-decoration: underline;
	}
}

/* The renders' note, as Apple's footnotes: once, faint, at the foot of every page (the Robots drawer shows
   renders everywhere; Jonas, 23 Oct). */
.capra-footer__legal .capra-footer__note {
	margin-block: var(--wp--preset--spacing--12) 0;
	font-size: var(--wp--preset--font-size--label-s);
	opacity: .7;
}

/* core/social-links, sized and ringed to match Figma's footer discs. */
.capra-footer__social.wp-block-social-links {
	gap: var(--wp--preset--spacing--10);
	margin: 0;
}

.capra-footer__social .wp-social-link {
	inline-size: 48px;
	block-size: 48px;
	border-radius: var(--wp--custom--radius--full);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
	transition: background-color .2s ease, box-shadow .2s ease;
}

/* The link is a button in the Site Editor. */
.capra-footer__social .wp-social-link :is(a, button) {
	padding: 13px;
	color: rgba(255, 255, 255, .7);
}

@media (hover: hover) {
	.capra-footer__social .wp-social-link:hover {
		background: rgba(255, 255, 255, .08);
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .40);
	}
}

@media (hover: hover) {
	.capra-footer__social .wp-social-link:hover :is(a, button) {
		color: var(--wp--custom--token--on-media);
	}
}

/* --- Responsive --------------------------------------------------------
   Figma draws 1440 / 1024 / 390. The breakpoints in use, and the scripts that
   must change with them: 600/601 the admin bar; 699/700 the phone header;
   744/745 phones (world-map.js); 900/901 narrow tablets (story.js); 979/980
   the logo; 1023/1024 tablets (scroll-story.js 1023, timeline.js 1024);
   1100/1101 the contact pop-up (contact.js); 1280 the widest. The page
   gutter (theme.json custom.layout.margin) is fluid: 48 on tablets, growing
   with the window to 80 at 1440 and staying there, so the nav, the hero copy
   and every section move together with no jump (Jonas, 21 Oct 2026: Figma's
   120 jumped from 48 at 1200 and left the hero copy oddly far in). The
   content is 1280 wide, 1440 less two gutters. Phones are 20. */

/* Tablets keep the drawer's layout (Jonas, 14 Oct 2026): rail and cards side
   by side until the phone menu takes over, the cards scaling with the width.
   The rail narrows to 176 and its title steps down to 20; the photos keep
   Figma's frame proportions (in whole pixels) instead of its fixed heights;
   card titles are 15 (Figma Title/M) so they keep one line beside the ring. */
@media (max-width: 1023px) {
	.capra-mega {
		--capra-mega-rail: 176px;
	}

	.capra-mega__panel,
	.capra-mega__panel--company {
		column-gap: var(--wp--preset--spacing--32);
	}

	.capra-mega__rail h2 {
		font-size: var(--wp--preset--font-size--heading-xs);
		--capra-leading: var(--wp--custom--leading--heading-xs);
	}

	/* All of a drawer's cards stay on one row, each taking an equal share
	   (Software keeps its 606 | 300 split). */
	.capra-mega__cards {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}

	.capra-mega__cards--split {
		grid-template-columns: 606fr 300fr;
		grid-auto-flow: row;
	}

	.capra-mega__panel .is-style-capra-menu-item {
		container-type: inline-size;
	}

	.capra-mega__panel .is-style-capra-menu-item figure {
		aspect-ratio: var(--capra-photo-ratio);
		block-size: auto;
	}

	@supports (block-size: round(down, 10px, 1px)) {
		.capra-mega__panel .is-style-capra-menu-item figure {
			block-size: round(down, calc(100cqi / (var(--capra-photo-ratio))), 1px);
		}
	}

	.capra-mega__panel .is-style-capra-menu-item :is(h2, h3, h4) {
		font-size: var(--wp--preset--font-size--body-m);
	}

	/* Tablets keep the name under the card: on a card this small it would sit
	   on the robot (the new layout was approved at desktop widths). */
	.capra-mega__panel--robots {
		--capra-photo-ratio: 457 / 266;
	}

	.capra-mega__panel--robots .is-style-capra-menu-item {
		grid-template-rows: auto auto auto;
		row-gap: var(--wp--preset--spacing--10);
	}

	.capra-mega__panel--robots .is-style-capra-menu-item > figure {
		grid-row: 1;
	}

	.capra-mega__panel--robots .is-style-capra-menu-item > figure img {
		transform: none;
	}

	.capra-mega__panel--robots .is-style-capra-menu-item > :is(h2, h3, h4) {
		padding: var(--wp--preset--spacing--6) 0 0;
		font-size: var(--wp--preset--font-size--body-m);
		letter-spacing: normal;
		--capra-leading: var(--wp--custom--leading--title);
		text-indent: 0;
	}

	.capra-mega__panel--robots .is-style-capra-menu-item > p {
		padding: 0;
	}

	.capra-mega__body {
		gap: var(--wp--preset--spacing--24);
	}

	.capra-mega__columns {
		gap: var(--wp--preset--spacing--16);
	}

	.capra-mega__column:first-child {
		padding-inline-start: 0;
	}
}

@media (max-width: 1024px) {
	.capra-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--32);
	}
}

/* Tablets keep the full bar (Jonas, 14 Oct 2026): the five links and the
   CTA. The one-line logo would come within 36px of the links, so tablets show
   the official two-line lockup ("Wide"), which keeps the name; on the
   narrowest tablets, where even that crowds the links, the symbol alone.
   Phones keep the one-line logo, as Jonas asked. The two-line lockup is 32
   tall like the others, so the mark is one size at every width (at 40 it
   looked a size too big, Jonas, 21 Oct 2026). */
@media (min-width: 700px) and (max-width: 1099px) {
	.capra-nav .capra-brand__logo {
		inline-size: 114px;
		block-size: 32px;
		-webkit-mask-image: var(--capra-logo-wide);
		mask-image: var(--capra-logo-wide);
	}
}

@media (min-width: 700px) and (max-width: 979px) {
	.capra-nav .capra-brand__logo {
		inline-size: 32px;
		block-size: 32px;
		-webkit-mask-image: var(--capra-logo-mark);
		mask-image: var(--capra-logo-mark);
	}
}

/* Figma Footer, Tablet: the brand and contact cards keep a 294 column with the
   link columns beside them, two by two. */
@media (min-width: 601px) and (max-width: 1024px) {
	.capra-footer__top {
		flex-wrap: nowrap;
	}

	.capra-footer__brand {
		flex: 0 0 294px;
	}

	.capra-footer__columns {
		flex: 1 1 auto;
	}
}

@media (max-width: 900px) {
	.capra-nav__menu .wp-block-navigation-item__content {
		padding-inline: var(--wp--preset--spacing--10);
	}
}

/* Figma "Header M": the Menu button is a 44px circle with a faint fill and a
   hairline, white over the hero, navy on the solid bar, holding the 22px
   menu icon (core's own two-line icon is hidden). */
.capra-nav__menu .wp-block-navigation__responsive-container-open {
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border-radius: var(--wp--custom--radius--full);
	background: color-mix(in srgb, currentColor 6%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
	color: inherit;
}

body:has(.capra-hero):not(.capra-scrolled, .editor-styles-wrapper) .capra-nav__menu .wp-block-navigation__responsive-container-open {
	background: color-mix(in srgb, currentColor 12%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent);
}

.capra-nav__menu .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.capra-nav__menu .wp-block-navigation__responsive-container-open::before {
	content: "";
	inline-size: 22px;
	block-size: 22px;
	background: currentColor;
	-webkit-mask: var(--capra-i-menu) center / contain no-repeat;
	mask: var(--capra-i-menu) center / contain no-repeat;
}

/* Core hides its own burger above 600px. Say it here too, at our breakpoint,
   so the header does not depend on core's navigation stylesheet being loaded. */
@media (min-width: 700px) {
	.capra-nav__menu .wp-block-navigation__responsive-container-open {
		display: none;
	}
}

/* Phones (below 700: every tablet, even a 712px Galaxy Tab, keeps the bar)
   get the phone menu instead of the drawers. Core switches its own burger in
   at 600, so the switch is moved here. The bar CTA goes with it: the phone
   menu carries its own "Get in touch". */
@media (max-width: 699px) {
	.capra-nav__menu .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.capra-nav__menu .wp-block-navigation__responsive-container-open {
		display: grid;
	}

	.capra-nav__bar {
		grid-template-columns: 1fr auto;
	}

	/* Two classes: core's `body .is-layout-flex` outranks one. */
	.capra-nav .capra-nav__cta,
	.capra-mega {
		display: none;
	}
}

@media (max-width: 600px) {
	:root,
	body.editor-styles-wrapper {
		--wp--custom--layout--margin: 20px;
	}

	.capra-footer {
		padding-block-start: var(--wp--preset--spacing--64);
	}

	.capra-footer__brand {
		flex-basis: 100%;
	}

	/* Figma Footer, Mobile: the link columns two by two, 24 apart. */
	.capra-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--24);
	}

	.capra-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Each part of the legal lines on its own line, as Figma breaks them. */
	.capra-footer__part {
		display: block;
		white-space: normal;
	}

	.capra-footer__part + .capra-footer__part::before {
		content: none;
	}
}

/* --- Motion -----------------------------------------------------------
   Nothing here conveys meaning on its own, so all of it can stop. */
@media (prefers-reduced-motion: reduce) {
	.capra-nav,
	.capra-nav__indicator,
	.capra-mega,
	.capra-scrim,
	.is-style-capra-textlink a::after,
	.is-style-capra-links a::after,
	.is-style-capra-ring::after,
	.capra-mega__all a::after,
	.is-style-capra-download::after,
	.is-style-capra-menu-item img,
	.capra-postcard__image img,
	.wp-block-button__link,
	.wp-block-button__link::after,
	.is-style-capra-links a::after {
		transition: none;
	}

	.is-style-capra-menu-item img,
	.capra-postcard__image img,
	.is-style-capra-solution-card > .wp-block-image img,
	.capra-robot-card__render img,
	:is(.capra-lead__image, .capra-mini__image) img {
		scale: none !important;
	}

	:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) {
		translate: none !important;
	}
}

/* --- Utilities --------------------------------------------------------
   Icon-only links still need an accessible name. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --- Hero -------------------------------------------------------------
   A core Cover block with a video background, so the film is swappable from
   the Media Library and the copy inside is ordinary blocks. The theme supplies
   the height, the overlays and the grade.

   Figma stacks three overlays on the stage: a soft directional scrim that
   clears completely between 30% and 45%, a 12% navy colour grade, and a floor.
   The footage is never filtered — a flat darkening reads as a blackout and
   kills the colour in the middle of the frame, which is the point of the shot. */
.capra-hero.wp-block-cover {
	position: relative;
	isolation: isolate;
	display: grid;
	/* The centred copy sits high (Figma: 31% of the hero's height, not dead
	   centre), and a little higher still since 21 Oct 2026, so the buttons
	   keep clear of the robot and its load instead of resting on them. */
	grid-template-rows: 1fr auto 6fr;
	align-items: initial;
	justify-content: initial;
	/* Figma's "Hero height": the hero fills the screen, or, with a strip right
	   under it (Home's logo strip), hero and strip fill it together. Nothing
	   to set per page: it follows from what comes next. */
	--capra-hero-below: 0px;
	min-block-size: max(
		var(--wp--custom--hero--min-mobile),
		calc(100svh - var(--capra-hero-below) - var(--wp-admin--admin-bar--height, 0px))
	);
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	padding: var(--wp--custom--layout--header-height) 0 0;
	overflow: hidden;
	background-color: var(--wp--custom--token--bg-band-bottom);
	background-size: cover;
	background-position: center;
	color: var(--wp--custom--token--on-media);
}

.capra-hero.wp-block-cover:has(+ .capra-logos) {
	--capra-hero-below: var(--wp--custom--hero--strip-height);
}

/* A category hero (Hero · left: Solutions, Robots, Software, Company) does not
   fill the screen either: it leaves the same band at the foot, and the next
   section starts in it (Jonas, 23 Oct 2026). On Solutions that is the anchor
   strip, which is the band's height. */
.capra-hero.wp-block-cover.is-style-capra-hero-left {
	--capra-hero-below: var(--wp--custom--hero--strip-height);
}

@media (max-width: 900px) {
	.capra-hero.wp-block-cover:has(+ .capra-logos),
	.capra-hero.wp-block-cover.is-style-capra-hero-left {
		--capra-hero-below: var(--wp--custom--hero--strip-height-mobile);
	}
}

/* core/cover has no poster attribute, so frame zero of the film sits behind it
   as the section background. The hero paints from the still and the video then
   starts on the very frame the still shows. One modifier per hero. */
.capra-hero--home {
	background-image: url("../img/hero-home-poster.webp");
}

/* Phones play their own cut of the film (hero-home-phone.mp4, cut around the
   robot), so they paint from its first frame. */
@media (max-width: 744px) {
	.capra-hero--home {
		background-image: url("../img/hero-home-poster-phone.webp");
	}
}

.capra-hero .wp-block-cover__video-background {
	z-index: 0;
	object-fit: cover;
	filter: none;
}

/* Core's dim layer becomes Figma's "Capra grade soft": navy at 12% on the
   colour blend mode, so it shifts hue without touching luminance. The class
   chain matches core's dim-0 rule (opacity 0), which loads before this file. */
.capra-hero.wp-block-cover .wp-block-cover__background.has-background-dim {
	z-index: 1;
	background-color: var(--wp--custom--hero--grade);
	mix-blend-mode: color;
	opacity: .06;
}

/* The stack, stated outright: film 0, scrim and grade 1, copy 2. The overlays
   must sit ABOVE the film. (Until 0.13.0 they sat at negative z-indexes and a
   legacy core rule for old Cover markup pinned the film over all of them; the
   hero now uses core's current markup, so that rule no longer applies.) The
   scrim and the floor share one ::before.

   The scrim differs by layout, because the copy lands in a different part of
   the frame. Figma's "Overlay · soft directional" clears completely between
   30% and 45% — which is fine behind left-aligned copy sitting at 51%, and
   exactly wrong behind centred copy sitting at 31%. The last layer of each is
   Figma's "Overlay · navy floor soft". */
.wp-block-cover.capra-hero,
.capra-event-hero {
	/* The wash under the header bar: one for every hero, so the bar looks the
	   same over every page (Jonas, 21 Oct 2026). Deep under the bar, eased out
	   by 40% of the frame. */
	--capra-hero-top: linear-gradient(180deg,
		rgba(5, 10, 18, .70) 0%,
		rgba(5, 10, 18, .46) 10%,
		rgba(5, 10, 18, .20) 22%,
		rgba(5, 10, 18, .05) 32%,
		rgba(5, 10, 18, 0) 40%);
	/* Figma's "Overlay · navy floor soft". */
	--capra-hero-floor: linear-gradient(180deg, rgba(10, 17, 38, 0) 55%, rgba(10, 17, 38, .22) 100%);
}

.wp-block-cover.capra-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* Centred (the default): under the shared top wash, a pool of shade right
	   behind the copy (the copy sits in the upper third, so this is what
	   gives the film its cinematic depth), a CLEAR middle band so the footage
	   keeps its colour, then the floor. Darkening the whole frame flattens it
	   (Jonas, 13 Oct 2026). */
	background:
		var(--capra-hero-top),
		radial-gradient(54% 30% at 50% 30%,
			rgba(5, 10, 18, .42) 0%,
			rgba(5, 10, 18, 0) 100%),
		linear-gradient(180deg,
			rgba(5, 10, 18, 0) 64%,
			rgba(5, 10, 18, .40) 100%),
		var(--capra-hero-floor);
}

/* Left: Figma's soft directional (a wash in from the left, then the foot); an event's photo hero too. */
.wp-block-cover.capra-hero.is-style-capra-hero-left::before,
.capra-event-hero:has(> .capra-event-hero__photo)::after {
	background:
		var(--capra-hero-top),
		linear-gradient(90deg, rgba(5, 10, 18, .45) 0%, rgba(5, 10, 18, 0) 50%),
		linear-gradient(180deg,
			rgba(5, 10, 18, 0) 45%,
			rgba(5, 10, 18, .55) 100%),
		var(--capra-hero-floor);
}

.capra-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	grid-row: 2;
	align-self: center;
	inline-size: 100%;
}

/* The gutter lives on the inner container, so the copy lines up with every
   other section instead of depending on the section's own negative margins.
   It is the header bar's container (wide size, the same gutter), so the copy
   starts under the logo at every width; past 1440 it used to stay 120 from
   the screen edge while the logo moved in (Jonas, 21 Oct 2026). */
.capra-hero__inner {
	inline-size: 100%;
	max-inline-size: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--custom--layout--margin);
}

.capra-hero__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--16);
	max-inline-size: 900px;
	margin-inline: auto;
	text-align: center;
}

/* Figma "Pattern / hero-video-photo" (Solutions, Robots, Software, Company):
   "Hero text" against the gutter, standing on the hero's foot. Refined at
   Jonas' review (21 Oct 2026): Figma's 88px headline over two lines, with the
   lead and buttons, made a 390px block that sat on the photo's subject, so
   the headline is Display/L (72), the copy is at most 760 wide (the lines
   break evenly), it stands 120 above the edge (marketing, 30 Oct 2026: a little
   higher; it was 80), and the eyebrow reads clearly. */
.capra-hero.is-style-capra-hero-left {
	grid-template-rows: 1fr auto;
	padding-block-end: var(--wp--preset--spacing--120);
}

.is-style-capra-hero-left .capra-hero__text {
	align-items: flex-start;
	max-inline-size: 760px;
	margin-inline: 0;
	text-align: start;
	gap: var(--wp--preset--spacing--20);
}

.is-style-capra-hero-left .capra-hero__text h1 {
	font-size: var(--wp--preset--font-size--display-l);
	letter-spacing: var(--wp--custom--tracking--display-l);
	--capra-leading: var(--wp--custom--leading--display);
}

.is-style-capra-hero-left .capra-hero__text .is-style-capra-eyebrow {
	opacity: .9;
}

.is-style-capra-hero-left .capra-hero__lead {
	max-inline-size: 540px;
	font-size: var(--wp--preset--font-size--body-lead);
}

.is-style-capra-hero-left .capra-hero__ctas.wp-block-buttons {
	justify-content: flex-start;
}

.capra-hero__text h1 {
	margin: 0;
	color: inherit;
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	text-wrap: balance;
}

.capra-hero__lead {
	margin: 0;
	max-inline-size: 52ch;
	font-size: var(--wp--preset--font-size--body-l);
	--capra-leading: var(--wp--custom--leading--body);
	color: var(--wp--custom--hero--lead);
	text-wrap: balance;
	/* A soft shadow under the letters only: the middle of the film stays clear
	   (decided 13 Oct 2026) and the line still reads over bright shelving. */
	text-shadow: 0 1px 2px rgba(5, 10, 18, .45), 0 0 20px rgba(5, 10, 18, .5);
}

/* A lead may open with a line in bold (Home: Lars's tagline, "Revolutionizing Mobile Robots"; Jonas, 27 Nov
   2026): in the hero's full white, and the one part of the lead phones keep. */
.capra-hero__lead strong {
	color: var(--wp--custom--token--on-media);
	font-weight: var(--wp--custom--weight--bold);
}

.capra-hero__ctas.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--wp--preset--spacing--12);
	margin-block-start: var(--wp--preset--spacing--8);
}

/* Figma "Eyebrow", Surface=hero: the Wheelbase mark then a mono caps label. */
.is-style-capra-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	--capra-leading: var(--wp--custom--leading--mono);
	text-transform: uppercase;
	color: currentColor;
	opacity: .76;
}

.is-style-capra-eyebrow::before {
	content: "";
	flex: none;
	inline-size: 18px;
	block-size: 14px;
	background: currentColor;
	-webkit-mask: var(--capra-i-wheelbase) center / contain no-repeat;
	mask: var(--capra-i-wheelbase) center / contain no-repeat;
}

@media (max-width: 744px) {
	.capra-hero.wp-block-cover {
		grid-template-rows: 1fr auto 4.6fr;
	}

	/* Figma Mobile: the copy 48 above the foot (20, a 4 spacer, 24); 64 since
	   marketing's notes (30 Oct 2026: a little higher). */
	.capra-hero.is-style-capra-hero-left {
		grid-template-rows: 1fr auto;
		padding-block-end: var(--wp--preset--spacing--64);
	}

	/* Figma Mobile hero: the 40px headline (Display L comes to 38 here), no
	   lead line, and the two buttons side by side, each fitting its label,
	   wrapping only on the narrowest phones. */
	.capra-hero__text h1,
	.is-style-capra-hero-left .capra-hero__text h1 {
		font-size: var(--wp--preset--font-size--display-l);
		--capra-leading: var(--wp--custom--leading--heading-xl);
		letter-spacing: var(--wp--custom--tracking--heading-xl);
	}

	.capra-hero__lead {
		display: none;
	}

	/* A lead that opens in bold shows whole, its sentence the bold line's size, only not bold (Jonas, 1 Dec 2026: the
	   size set in the editor, which WordPress forces, made it larger than the bold line, like another font). */
	.capra-hero__lead:has(> strong:first-child) {
		display: block;
		font-size: var(--wp--preset--font-size--body-m) !important;
	}

	.capra-hero__ctas.wp-block-buttons {
		flex-wrap: wrap;
		justify-content: center;
		gap: var(--wp--preset--spacing--8);
	}

	/* 16 at the sides keeps both on one row down to a 375px phone. */
	.capra-hero__ctas .wp-block-button__link {
		--capra-btn-pad: var(--wp--preset--spacing--16);
	}
}

/* Narrow phones: the pair no longer fits side by side, so it stacks, both as wide
   as the longer one, centred as the hero's copy is (left on Hero · left), not a
   ragged stack (Jonas, 11 Nov 2026). The labels fit side by side from 375. */
@media (max-width: 374px) {
	.capra-hero__ctas.wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		inline-size: fit-content;
		margin-inline: auto;
	}

	.is-style-capra-hero-left .capra-hero__ctas.wp-block-buttons {
		margin-inline: 0 auto;
	}

	.capra-hero__ctas .wp-block-button__link {
		inline-size: 100%;
		justify-content: center;
	}
}

/* --- Customer logo strip ----------------------------------------------
   Figma "Pattern / logo-strip", Variant=Customers: a marquee with an edge fade
   on both sides. The wordmarks are set in Nunito Sans at the weights Figma
   uses; they stand in until real customer logo files are cleared. */
.capra-logos {
	--capra-logos-gap: var(--wp--preset--spacing--80);   /* between the names; the loop moves on by half the track and half of it */
	display: flex;
	align-items: center;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	min-block-size: var(--wp--custom--hero--strip-height);
	padding-block: var(--wp--preset--spacing--24);
	background: var(--wp--custom--token--bg-page);
}

@media (max-width: 900px) {
	.capra-logos {
		min-block-size: var(--wp--custom--hero--strip-height-mobile);
	}
}

/* The names show in full across the content column and fade out over the
   gutter beside it; wider than the wide size, the strip stops there, centred,
   so on a big screen it reads at a glance instead of crossing the whole screen
   (Jonas, 16 Nov 2026). */
.capra-logos__viewport {
	--capra-logos-fade: max(48px, var(--wp--style--root--padding-left, 0px));
	inline-size: 100%;
	max-inline-size: var(--wp--style--global--wide-size);
	margin-inline: auto;
	overflow: hidden;
	-webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--capra-logos-fade), #000 calc(100% - var(--capra-logos-fade)), transparent 100%);
	mask: linear-gradient(90deg, transparent 0, #000 var(--capra-logos-fade), #000 calc(100% - var(--capra-logos-fade)), transparent 100%);
}

.capra-logos__track.wp-block-group,
.capra-logos__track.wp-block-post-template {
	display: flex;
	flex-wrap: nowrap;
	user-select: none;
	-webkit-user-select: none;
	align-items: center;
	gap: var(--capra-logos-gap);
	inline-size: max-content;
}

/* Only animate once the copies exist, so a half-filled track never slides.
   12s per set of names (Jonas, 1 Dec 2026: 46s too slow; picked from 24, 20, 16 and 12), so a wider screen's longer
   half keeps the same pace. */
.capra-logos__track.is-looping {
	animation: capra-marquee calc(12s * var(--capra-marquee-sets, 1)) linear infinite;
}

.capra-logos:focus-within .capra-logos__track {
	animation-play-state: paused;
}

@media (hover: hover) {
	.capra-logos:hover .capra-logos__track {
		animation-play-state: paused;
	}
}

@keyframes capra-marquee {
	to {
		transform: translateX(calc(-50% - (var(--capra-logos-gap) / 2)));
	}
}

/* By place, not by class: a name marketing adds with Enter has no class. The names now come
   from wp-admin → Customers (inc/customers.php), each a post title in the list item that carries
   its own class; the title takes the item's type. */
.capra-logos__track .capra-logos__img {
	margin: 0;
}

.capra-logos__track .capra-logos__img img {
	display: block;
	block-size: var(--wp--preset--spacing--32);
	inline-size: auto;
	object-fit: contain;
}

.capra-logos__track .capra-logos__logo,
.capra-logos__track .wp-block-post-title {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.capra-logos__track > * {
	margin: 0;
	flex: none;
	white-space: nowrap;
	color: var(--wp--custom--token--text-primary);
	opacity: .55;
	font-weight: var(--wp--custom--weight--bold);
	font-size: var(--wp--preset--font-size--heading-xs);   /* every name one size and one weight (Jonas, 1 Dec 2026: VELUX bolder, and 24 too large) */
}

/* On phones smaller and closer, so two names or more are in view (Jonas, 1 Dec 2026: "only one company at a time"). */
@media (max-width: 744px) {
	.capra-logos {
		--capra-logos-gap: var(--wp--preset--spacing--40);
	}

	.capra-logos__track > * {
		font-size: var(--wp--preset--font-size--title-m);
	}
}

@media (prefers-reduced-motion: reduce) {
	.capra-logos__track {
		animation: none;
	}

	.capra-logos__viewport {
		overflow-x: auto;
	}
}

/* --- Phone menu -------------------------------------------------------
   Figma "Header M · Top / Scrolled", State=Open, Solutions and Robots.
   Rendered into core's navigation-overlay template part. The list scrolls
   between the top bar and the CTA, which stays pinned at the bottom. Every
   row folds out to what its desktop drawer offers (Jonas, 14 Oct 2026; Figma
   folds only two): the cards as a swipe row, then the overview link;
   Company shows its one card and its two link columns.

   The fold-out rows are core Details blocks, not navigation submenus: inside
   the overlay core forces every submenu open, so they cannot toggle. They
   share one `name`, so the browser keeps one open at a time. Open, a row
   shows the drawer's cards as a swipeable carousel, then its ring links.
   Logged in, the overlay opens under the admin bar, not behind it. */
.capra-nav .wp-block-navigation__responsive-container.is-menu-open {
	inset-block-start: var(--wp-admin--admin-bar--height, 0px);
}

.capra-mmenu {
	display: flex;
	flex-direction: column;
	block-size: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
	background: var(--wp--custom--token--bg-page);
	color: var(--wp--custom--token--text-primary);
}

.capra-mmenu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: none;
	block-size: var(--wp--custom--layout--header-height);
	padding-inline: var(--wp--custom--layout--margin);
}

/* Figma: a 44px circle, navy 6% with a 12% hairline, the 22px close icon. */
.capra-mmenu .wp-block-navigation-overlay-close,
.capra-mmenu .wp-block-navigation__responsive-container-close {
	display: grid;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--full);
	background: color-mix(in srgb, currentColor 6%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
	color: var(--wp--custom--token--icon-primary);
	cursor: pointer;
	transition: background-color .2s ease;
}

@media (hover: hover) {
	.capra-mmenu .wp-block-navigation-overlay-close:hover,
	.capra-mmenu .wp-block-navigation__responsive-container-close:hover {
		background: color-mix(in srgb, currentColor 10%, transparent);
	}
}

.capra-mmenu__nav {
	flex: 1 1 auto;
	min-block-size: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24) var(--wp--preset--spacing--16);
}

/* One row, whether it folds out or just navigates: 12 above, the 24px title,
   2, the subline, 12 below, a hairline. The accent line draws in on hover
   and stays drawn while the row is open. */
.capra-mmenu__row {
	margin: 0;
	border-block-end: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-mmenu__row[open] {
	border-block-end: 0;
}

.capra-mmenu__row > summary {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2);
	padding-block: var(--wp--preset--spacing--12);
	padding-inline-end: var(--wp--preset--spacing--32);
	font-size: var(--wp--preset--font-size--heading-s);
	font-weight: var(--wp--custom--weight--heavy);
	--capra-leading: var(--wp--custom--leading--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
	list-style: none;
	cursor: pointer;
	background: linear-gradient(var(--wp--custom--token--bg-action), var(--wp--custom--token--bg-action)) no-repeat 0 100% / 0 2px;
	transition: background-size .3s ease;
}

.capra-mmenu__row[open] > summary {
	background-size: 100% 2px;
}

@media (hover: hover) {
	.capra-mmenu__row > summary:hover {
		background-size: 100% 2px;
	}
}

.capra-mmenu__row > summary::-webkit-details-marker {
	display: none;
}

/* The subline is marked up as an <em> so the row stays one editable field. */
.capra-mmenu__row em {
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--regular);
	font-style: normal;
	--capra-leading: var(--wp--custom--leading--body);
	letter-spacing: 0;
	color: var(--wp--custom--token--text-muted);
}

/* Chevron. */
.capra-mmenu__row > summary::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	inset-block-start: calc(var(--wp--preset--spacing--12) + 3px);
	inline-size: 22px;
	block-size: 22px;
	background: var(--wp--custom--token--icon-primary);
	-webkit-mask: var(--capra-i-chev-d) center / contain no-repeat;
	mask: var(--capra-i-chev-d) center / contain no-repeat;
}

/* The open row: Figma 20 above the carousel, 20 between, 24 below. */
.capra-mmenu__fold {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--20);
	padding-block: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
}

/* The drawer's cards as a swipe row: 220 wide, 12 apart, running out to the
   screen edge so the next card shows it is there. */
.capra-mmenu__fold > .capra-mmenu__cards {
	align-self: stretch;
	display: flex;
	gap: var(--wp--preset--spacing--12);
	margin-inline: calc(-1 * var(--wp--preset--spacing--24));
	padding-inline: var(--wp--preset--spacing--24);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--wp--preset--spacing--24);
	scrollbar-width: none;
}

.capra-mmenu__cards::-webkit-scrollbar {
	display: none;
}

.capra-mmenu .is-style-capra-menu-item {
	flex: 0 0 220px;
	gap: var(--wp--preset--spacing--8);
	scroll-snap-align: start;
}

.capra-mmenu .is-style-capra-menu-item figure {
	aspect-ratio: 220 / 140;
	block-size: auto;
	border-radius: var(--wp--custom--radius--md);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--custom--token--text-primary) 7%, transparent);
}

.capra-mmenu .is-style-capra-menu-item :is(h2, h3, h4) {
	font-size: var(--wp--preset--font-size--body-m);
}

/* The robots are cut-out renders on the drawer's soft grey, as on desktop (the
   Capra300 has no photo yet; Jonas, 4 Nov 2026). Top modules keeps its photo. */
.capra-mmenu__row--robots .is-style-capra-menu-item:has(a[href*="/robots/#capra"]) figure {
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
}

.capra-mmenu__row--robots .is-style-capra-menu-item:has(a[href*="/robots/#capra"]) img {
	object-fit: contain;
}

/* A single card (Company) takes the row, at its drawer's proportions. */
.capra-mmenu__cards > :only-child {
	flex-basis: 100%;
}

.capra-mmenu__cards > :only-child figure {
	aspect-ratio: 506 / 220;
}

.capra-mmenu .capra-mega__columns {
	align-self: stretch;
	gap: var(--wp--preset--spacing--16);
}

.capra-mmenu .capra-mega__column:first-child {
	padding-inline-start: 0;
}

/* Partners runs on the amber accent here too: its line, label and rings. */
.capra-mmenu__row--partners > summary {
	background-image: linear-gradient(var(--wp--custom--token--bg-partner), var(--wp--custom--token--bg-partner));
}

.capra-mmenu__row--partners .capra-mega__all a {
	color: var(--wp--custom--token--text-partner);
}

.capra-mmenu__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--24);
}

/* The CTA stays under the list, in thumb reach: Figma's full-width Primary L,
   its label and ring centred together, 16 above and below. */
.capra-mmenu__cta {
	flex: none;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--24)
		calc(var(--wp--preset--spacing--16) + env(safe-area-inset-bottom));
}

.capra-mmenu__cta .wp-block-button,
.capra-mmenu__cta .wp-block-button__link {
	inline-size: 100%;
}

.capra-mmenu__cta .wp-block-button__link {
	--capra-btn-height: var(--wp--custom--button--height-l);
	--capra-btn-pad: var(--wp--custom--button--pad-l);
	--capra-btn-ring: var(--wp--custom--button--ring-l);
	--capra-btn-ring-pad: var(--wp--custom--button--ring-pad-l);
	--capra-btn-gap: var(--wp--custom--button--ring-gap-l);
	justify-content: center;
	padding-inline: var(--capra-btn-pad);
}

/* --- Block styles ------------------------------------------------------
   The editor-facing half of the component layer. Everything above is also
   reachable from the Styles panel, so a colleague composes a section from
   ordinary blocks and picks the Capra look — no HTML, no developer. */

/* Figma Mono/Meta: the subline under a card title, and small caps labels. */
.is-style-capra-mono {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
	--capra-leading: var(--wp--custom--leading--mono);
	color: var(--wp--custom--token--text-muted);
}

/* Figma Body/Lead. */
.is-style-capra-lead {
	font-size: var(--wp--preset--font-size--body-lead);
	--capra-leading: var(--wp--custom--leading--body);
	color: var(--wp--custom--token--text-body);
	text-wrap: balance;
}

/* A plain content card. */
.is-style-capra-card {
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--low);
}

:is(.capra-dark, .is-style-capra-dark, .is-style-capra-section-gradient) .is-style-capra-card {
	background: var(--capra-glass-card-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-card-edge);
}

/* Brand rule: card images are rounded on all four corners and never inset. */
.is-style-capra-media img,
.is-style-capra-menu-item img {
	inline-size: 100%;
	block-size: 100%;
	border-radius: var(--wp--custom--radius--md);
	object-fit: cover;
}

/* The Site Editor writes height: auto on the image itself, which only
   !important outranks; without it a card photo sits short of its frame. */
.editor-styles-wrapper :is(.is-style-capra-media, .is-style-capra-menu-item) img {
	block-size: 100% !important;
}

/* Card photos (menu cards, post cards) zoom in slightly under the pointer,
   inside their rounded frame, while the ring fills. */
.is-style-capra-menu-item figure,
.capra-module-card > .is-style-capra-media,
.capra-postcard__image {
	overflow: hidden;
	border-radius: var(--capra-photo-radius, var(--wp--custom--radius--md));
	isolation: isolate;
}

.capra-postcard__image {
	--capra-photo-radius: var(--wp--custom--radius--lg);
}

.is-style-capra-menu-item img,
.capra-module-card > .is-style-capra-media img,
.capra-postcard__image img {
	transition: scale .6s cubic-bezier(.2, .7, .3, 1);
}

/* The robots' renders zoom half as much (Jonas, 5 Nov 2026): --capra-zoom in their rows. */
.is-style-capra-menu-item:has(a:focus-visible) img,
.capra-module-card:has(a:focus-visible) .is-style-capra-media img,
.is-style-capra-post-card:has(a:focus-visible) .capra-postcard__image img {
	scale: var(--capra-zoom, 1.04);
}

@media (hover: hover) {
	.is-style-capra-menu-item:is(:hover, :has(a:focus-visible)) img,
	.capra-module-card:is(:hover, :has(a:focus-visible)) .is-style-capra-media img,
	.is-style-capra-post-card:is(:hover, :has(a:focus-visible)) .capra-postcard__image img {
		scale: var(--capra-zoom, 1.04);
	}
}

/* A heading that carries the ring arrow, as the menu and solution cards do. */
.is-style-capra-ring {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
}

/* Figma Menu item: photo, 10, a 30px title row (6 above the title), 10, subline. */
.is-style-capra-menu-item .is-style-capra-ring {
	padding-block-start: var(--wp--preset--spacing--6);
}

/* Footer and drawer link columns: a list in the drawers, a menu (Navigation
   block, whose own styles are one class stronger) in the footer. */
.is-style-capra-links,
.wp-block-navigation.is-style-capra-links .wp-block-navigation__container {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--14);
}

.is-style-capra-links a,
.wp-block-navigation.is-style-capra-links .wp-block-navigation-item__content {
	color: var(--wp--custom--token--text-body);
	text-decoration: none;
}

.wp-block-navigation.is-style-capra-links .wp-block-navigation-item__content {
	display: inline-block;
	padding: 0;
}

@media (hover: hover) {
	.is-style-capra-links a:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

/* Figma "Menu item": full-bleed rounded photo, 10, a 30px title row (title +
   ring), 10, mono subline. Brand rule: card images are rounded on all four
   corners, never inset. */
.is-style-capra-menu-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

/* Figma Menu item: the title is Title/L (18, bold) at every card size. Without
   this the card's heading took the page's h3 size (40px). */
.is-style-capra-menu-item :is(h2, h3, h4) {
	font-size: var(--wp--preset--font-size--body-l);
	font-weight: var(--wp--custom--weight--bold);
	--capra-leading: var(--wp--custom--leading--title);
	letter-spacing: normal;
}

.is-style-capra-menu-item h2 a,
.is-style-capra-menu-item h3 a,
.is-style-capra-menu-item h4 a {
	color: inherit;
	text-decoration: none;
}

/* One click target for the whole card, without wrapping it in an anchor. */
.is-style-capra-menu-item :is(h2, h3, h4) a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* An Image block with nothing in it yet reads as a wireframe slot, so an
   unfinished card never looks like finished work. */
.is-style-capra-media:not(:has(img)),
.is-style-capra-menu-item figure:not(:has(img)) {
	--capra-wire: color-mix(in srgb, currentColor 20%, transparent);
	display: block;
	aspect-ratio: 297 / 212;
	border: 1px dashed var(--capra-wire);
	border-radius: var(--wp--custom--radius--md);
	background:
		linear-gradient(to top right, transparent calc(50% - .5px), var(--capra-wire) 50%, transparent calc(50% + .5px)),
		linear-gradient(to bottom right, transparent calc(50% - .5px), var(--capra-wire) 50%, transparent calc(50% + .5px));
}

/* Figma Chip, Surface = On light: a small mono caps tag in a pill. */
.is-style-capra-chip {
	display: inline-flex;
	align-items: center;
	inline-size: fit-content;
	margin: 0;
	padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--10);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-default);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
	--capra-leading: var(--wp--custom--leading--mono);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wp--custom--token--text-primary);
}

/* --- News and events -------------------------------------------------
   Figma "Template · News" and "Template · Event", composed from core blocks in
   templates/single-capra_news.html and single-capra_event.html. The values
   come from the post's form through block bindings (inc/fields.php); a section
   whose fields are empty is not rendered at all, so nothing here has to hide
   anything.

   FIRST DRAFT: section order, copy and type follow Figma; spacing is close but
   not yet diffed section by section, because these patterns have not been
   through the page review yet. */
.capra-story {
	/* Figma: the reading column is 700 wide and starts 280 in from the content
	   edge (a 200 share rail plus an 80 gap). Phones and tablets drop the rail. */
	--capra-rail: var(--wp--custom--layout--rail);
	--capra-measure: var(--wp--custom--layout--measure);
}

.capra-story :where(.wp-block-group, p, h1, h2, h3, figure) {
	margin-block: 0;
}

.capra-story > section {
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-block-end: var(--wp--preset--spacing--64);
}

.capra-story figure img {
	inline-size: 100%;
	border-radius: var(--wp--custom--radius--lg);
	object-fit: cover;
}

.capra-caps {
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--tracking--mono-caps);
}

.capra-narrow,
.capra-caption {
	margin-inline-start: var(--capra-rail);
	max-inline-size: var(--capra-measure);
}

.capra-caption {
	margin-block-start: var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--body-m);
	color: var(--wp--custom--token--text-muted);
}

/* Figma Breadcrumb: a back link to the Newsroom on its filter, then core's
   Breadcrumbs block for the trail (Newsroom / News / the story). One line in
   the body face at 15, slashes between (Jonas, 26 Oct 2026: the mono caps and
   small arrows were hard to read), a hairline between the back link and the
   trail. Links are muted and darken on hover; the story itself is the darkest. */
.capra-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	font-size: var(--wp--preset--font-size--body-m);
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-crumbs > * {
	display: flex;
	align-items: center;
	margin: 0;
}

.capra-crumbs a {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--6);
	/* A taller tap target that moves nothing. */
	padding-block: var(--wp--preset--spacing--6);
	margin-block: calc(-1 * var(--wp--preset--spacing--6));
	color: var(--wp--custom--token--text-muted);
	text-decoration: none;
	transition: color .2s ease;
}

.capra-crumbs a:focus-visible {
	color: var(--wp--custom--token--text-primary);
}

@media (hover: hover) {
	.capra-crumbs a:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

.capra-crumbs__back a {
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-crumbs__back a::before {
	content: "";
	inline-size: 14px;
	block-size: 14px;
	background: currentColor;
	-webkit-mask: var(--capra-i-arrow-l) center / contain no-repeat;
	mask: var(--capra-i-arrow-l) center / contain no-repeat;
	transition: translate .2s ease;
}

@media (hover: hover) {
	.capra-crumbs__back a:hover::before {
		translate: -2px 0;
	}
}

/* The "/" block becomes a hairline: marketing still sees and can delete it. */
.capra-crumbs__sep {
	inline-size: 1px;
	block-size: 16px;
	overflow: hidden;
	background: var(--wp--custom--token--border-default);
	color: transparent;
}

.capra-crumbs__trail ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	margin: 0;
	padding: 0;
	list-style: none;
}

.capra-crumbs__trail li {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
}

/* Core's separator (the block's own setting, "/"), in a quiet line colour. */
.capra-crumbs .capra-crumbs__trail li:not(:last-child)::after {
	margin: 0;
	padding: 0;
	color: var(--wp--custom--token--border-default);
}

/* Under a story's hero, in the reading column above its text (Jonas, 23 and
   26 Oct 2026): the trail ends on the story itself, on one line however long
   its title. */
.capra-story > .capra-story-crumbs {
	inline-size: 100%;
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--32) 0;
}

.capra-story-crumbs .capra-crumbs__trail {
	min-inline-size: 0;
	flex: 1;
}

.capra-story-crumbs .capra-crumbs__trail ol {
	flex-wrap: nowrap;
	min-inline-size: 0;
}

.capra-story-crumbs .capra-crumbs__trail li:last-child {
	min-inline-size: 0;
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-story-crumbs .capra-crumbs__trail li:last-child > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Section header: eyebrow, title, and an optional link on the right. */
.capra-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--24);
	margin-block-end: var(--wp--preset--spacing--40);
}

.capra-section-head__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	max-inline-size: 760px;
}

.capra-section-head__title {
	color: var(--wp--custom--token--text-primary);
}

.capra-section-head__title--small {
	font-size: var(--wp--preset--font-size--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
}

.capra-section-head__lead {
	max-inline-size: 600px;
}

/* A header with a lead: underneath, but wide, so the title runs on one line where
   it fits and the lead on one or two (Jonas, 27 Oct 2026: held to 760 and 600 it
   stacked four short lines and left the right half empty; side by side read text-
   heavy). The map keeps its own two rows (below). */
:not(.capra-map-section) > .capra-section-head > .capra-section-head__text:has(> .capra-section-head__lead) {
	max-inline-size: 1120px;
}

:not(.capra-map-section) > .capra-section-head > .capra-section-head__text:has(> .capra-section-head__lead) > .capra-section-head__lead {
	max-inline-size: 880px;
}

/* "Section header · centred" (a block style): the header over a symmetric stage, a
   row of equal cards on the gradient (service and support). Left-aligned is the
   rule; centre only where what follows is centred too (Jonas, 27 Oct 2026). */
.capra-section-head.is-style-capra-head-centred {
	justify-content: center;
	text-align: center;
}

.capra-section-head.is-style-capra-head-centred > .capra-section-head__text {
	align-items: center;
	margin-inline: auto;
	max-inline-size: 880px;
}

.capra-section-head.is-style-capra-head-centred .capra-section-head__lead {
	max-inline-size: 640px;
}

/* Article hero (Figma Pattern / hero-article). */
.capra-article-hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--20);
	padding-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--80));
}

.capra-article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-self: stretch;
	gap: var(--wp--preset--spacing--12);
}

/* Share, as the best newsrooms place it (Jonas, 27 Oct 2026: the rail looked out of
   place): two round icon buttons at the end of the story's top line, across from its
   kind and date. Their words stay for screen readers. */
.capra-share-icons.wp-block-buttons {
	display: flex;
	gap: var(--wp--preset--spacing--8);
	margin-inline-start: auto;
}

.capra-share-icons .wp-block-button__link {
	position: relative;
	display: block;
	inline-size: 40px;
	block-size: 40px;
	padding: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--full);
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-default);
	color: transparent;
	white-space: nowrap;
	transition: background-color .2s ease, box-shadow .2s ease;
}

.capra-share-icons .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--custom--token--icon-primary);
	-webkit-mask: var(--capra-share-icon) center / 18px no-repeat;
	mask: var(--capra-share-icon) center / 18px no-repeat;
}

.capra-share-icons .wp-block-button__link::after {
	content: none;
}

.capra-share-icons .wp-block-button__link:focus-visible {
	background: var(--wp--custom--token--bg-subtle);
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
}

@media (hover: hover) {
	.capra-share-icons .wp-block-button__link:hover {
		background: var(--wp--custom--token--bg-subtle);
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
	}
}

.capra-share-icons__linkedin {
	--capra-share-icon: var(--capra-i-linkedin);
}

.capra-share-icons__mail {
	--capra-share-icon: var(--capra-i-mail);
}

.capra-article-hero__title {
	max-inline-size: 900px;
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	color: var(--wp--custom--token--text-primary);
	text-wrap: balance;
}

.capra-article-hero__lead {
	max-inline-size: 720px;
}

.capra-article-hero__image {
	inline-size: 100%;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-article-hero__image img {
	aspect-ratio: 15 / 7;
	object-fit: cover;
}

/* At a glance (Figma article-callout, Key facts). */
.capra-glance__card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--14);
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--32);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-glance__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-glance__fact,
.capra-fact {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

/* A fact with its icon (the form's Icon column; Jonas, 27 and 28 Oct 2026): real icons,
   never drawn here. Untitled UI icons (free for commercial use) exported from Jonas's
   Figma "Design Ressources" (files in work/icons/untitled), one family on a 24 grid
   with 2 lines; the robot is Jonas's own "Icon / Robot · Side" from the website Figma,
   its shape untouched, its line matched to theirs. Shown 20 high beside the label and
   the value. */
.capra-glance__fact {
	--capra-gi-robot: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2040%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.8626%2019.8725C20.6768%2016.1117%2022.0799%207.30167%2022.7942%204.64742C23.0555%203.67626%2023.9445%203.00537%2024.9599%203.00537H47.052C48.0957%203.00537%2049.0023%203.71514%2049.2429%204.72026L52.0332%2019.8725M18.7541%2020.9867L21.5514%2020.4296L25.4917%2019.8725M18.7541%2025.9619L25.4685%2027.3968M46.2606%2019.8725L53.0826%2020.9867M46.8825%2027.6728L53.0826%2025.8284M20.3947%2023.2019C20.3947%2027.9563%2016.5008%2031.8104%2011.6973%2031.8104C6.89394%2031.8104%203%2027.9563%203%2023.2019C3%2018.4475%206.89394%2014.5931%2011.6973%2014.5931C16.5008%2014.5931%2020.3947%2018.4475%2020.3947%2023.2019ZM47.2446%2024.8861C47.2446%2031.0271%2042.2151%2036.0053%2036.0108%2036.0053C29.8066%2036.0053%2024.777%2031.0271%2024.777%2024.8861C24.777%2018.7451%2029.8066%2013.7669%2036.0108%2013.7669C42.2151%2013.7669%2047.2446%2018.7451%2047.2446%2024.8861ZM69%2023.2019C69%2027.9563%2065.106%2031.8104%2060.3027%2031.8104C55.4991%2031.8104%2051.6054%2027.9563%2051.6054%2023.2019C51.6054%2018.4475%2055.4991%2014.5931%2060.3027%2014.5931C65.106%2014.5931%2069%2018.4475%2069%2023.2019Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-building: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.5%2011H4.6C4.03995%2011%203.75992%2011%203.54601%2011.109C3.35785%2011.2049%203.20487%2011.3578%203.10899%2011.546C3%2011.7599%203%2012.0399%203%2012.6V21M16.5%2011H19.4C19.9601%2011%2020.2401%2011%2020.454%2011.109C20.6422%2011.2049%2020.7951%2011.3578%2020.891%2011.546C21%2011.7599%2021%2012.0399%2021%2012.6V21M16.5%2021V6.2C16.5%205.0799%2016.5%204.51984%2016.282%204.09202C16.0903%203.71569%2015.7843%203.40973%2015.408%203.21799C14.9802%203%2014.4201%203%2013.3%203H10.7C9.57989%203%209.01984%203%208.59202%203.21799C8.21569%203.40973%207.90973%203.71569%207.71799%204.09202C7.5%204.51984%207.5%205.0799%207.5%206.2V21M22%2021H2M11%207H13M11%2011H13M11%2015H13%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-date: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%2010H3M16%202V6M8%202V6M7.8%2022H16.2C17.8802%2022%2018.7202%2022%2019.362%2021.673C19.9265%2021.3854%2020.3854%2020.9265%2020.673%2020.362C21%2019.7202%2021%2018.8802%2021%2017.2V8.8C21%207.11984%2021%206.27976%2020.673%205.63803C20.3854%205.07354%2019.9265%204.6146%2019.362%204.32698C18.7202%204%2017.8802%204%2016.2%204H7.8C6.11984%204%205.27976%204%204.63803%204.32698C4.07354%204.6146%203.6146%205.07354%203.32698%205.63803C3%206.27976%203%207.11984%203%208.8V17.2C3%2018.8802%203%2019.7202%203.32698%2020.362C3.6146%2020.9265%204.07354%2021.3854%204.63803%2021.673C5.27976%2022%206.11984%2022%207.8%2022Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-place: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2013C13.6569%2013%2015%2011.6569%2015%2010C15%208.34315%2013.6569%207%2012%207C10.3431%207%209%208.34315%209%2010C9%2011.6569%2010.3431%2013%2012%2013Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2022C16%2018%2020%2014.4183%2020%2010C20%205.58172%2016.4183%202%2012%202C7.58172%202%204%205.58172%204%2010C4%2014.4183%208%2018%2012%2022Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-route: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.5%205H11.9344C14.9816%205%2016.5053%205%2017.0836%205.54729C17.5836%206.02037%2017.8051%206.71728%2017.6702%207.39221C17.514%208.17302%2016.2701%209.05285%2013.7823%2010.8125L9.71772%2013.6875C7.2299%2015.4471%205.98599%2016.327%205.82984%2017.1078C5.69486%2017.7827%205.91642%2018.4796%206.41636%2018.9527C6.99474%2019.5%208.51836%2019.5%2011.5656%2019.5H12.5M8%205C8%206.65685%206.65685%208%205%208C3.34315%208%202%206.65685%202%205C2%203.34315%203.34315%202%205%202C6.65685%202%208%203.34315%208%205ZM22%2019C22%2020.6569%2020.6569%2022%2019%2022C17.3431%2022%2016%2020.6569%2016%2019C16%2017.3431%2017.3431%2016%2019%2016C20.6569%2016%2022%2017.3431%2022%2019Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-event: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%208V7M10%2012.5V11.5M10%2017V16M5.2%204H18.8C19.9201%204%2020.4802%204%2020.908%204.21799C21.2843%204.40973%2021.5903%204.71569%2021.782%205.09202C22%205.51984%2022%206.0799%2022%207.2V8.5C20.067%208.5%2018.5%2010.067%2018.5%2012C18.5%2013.933%2020.067%2015.5%2022%2015.5V16.8C22%2017.9201%2022%2018.4802%2021.782%2018.908C21.5903%2019.2843%2021.2843%2019.5903%2020.908%2019.782C20.4802%2020%2019.9201%2020%2018.8%2020H5.2C4.0799%2020%203.51984%2020%203.09202%2019.782C2.71569%2019.5903%202.40973%2019.2843%202.21799%2018.908C2%2018.4802%202%2017.9201%202%2016.8V15.5C3.933%2015.5%205.5%2013.933%205.5%2012C5.5%2010.067%203.933%208.5%202%208.5V7.2C2%206.0799%202%205.51984%202.21799%205.09202C2.40973%204.71569%202.71569%204.40973%203.09202%204.21799C3.51984%204%204.0799%204%205.2%204Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-stand: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3%2012H21M12%203V21M7.8%203H16.2C17.8802%203%2018.7202%203%2019.362%203.32698C19.9265%203.6146%2020.3854%204.07354%2020.673%204.63803C21%205.27976%2021%206.11984%2021%207.8V16.2C21%2017.8802%2021%2018.7202%2020.673%2019.362C20.3854%2019.9265%2019.9265%2020.3854%2019.362%2020.673C18.7202%2021%2017.8802%2021%2016.2%2021H7.8C6.11984%2021%205.27976%2021%204.63803%2020.673C4.07354%2020.3854%203.6146%2019.9265%203.32698%2019.362C3%2018.7202%203%2017.8802%203%2016.2V7.8C3%206.11984%203%205.27976%203.32698%204.63803C3.6146%204.07354%204.07354%203.6146%204.63803%203.32698C5.27976%203%206.11984%203%207.8%203Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-talk: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%2010V12C19%2015.866%2015.866%2019%2012%2019M5%2010V12C5%2015.866%208.13401%2019%2012%2019M12%2019V22M8%2022H16M12%2015C10.3431%2015%209%2013.6569%209%2012V5C9%203.34315%2010.3431%202%2012%202C13.6569%202%2015%203.34315%2015%205V12C15%2013.6569%2013.6569%2015%2012%2015Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-result: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22%207L14.1314%2014.8686C13.7354%2015.2646%2013.5373%2015.4627%2013.309%2015.5368C13.1082%2015.6021%2012.8918%2015.6021%2012.691%2015.5368C12.4627%2015.4627%2012.2646%2015.2646%2011.8686%2014.8686L9.13137%2012.1314C8.73535%2011.7354%208.53735%2011.5373%208.30902%2011.4632C8.10817%2011.3979%207.89183%2011.3979%207.69098%2011.4632C7.46265%2011.5373%207.26465%2011.7354%206.86863%2012.1314L2%2017M22%2014V7H15%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-gi-integration: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.5%204.5C7.5%203.11929%208.61929%202%2010%202C11.3807%202%2012.5%203.11929%2012.5%204.5V6H13.5C14.8978%206%2015.5967%206%2016.1481%206.22836C16.8831%206.53284%2017.4672%207.11687%2017.7716%207.85195C18%208.40326%2018%209.10218%2018%2010.5H19.5C20.8807%2010.5%2022%2011.6193%2022%2013C22%2014.3807%2020.8807%2015.5%2019.5%2015.5H18V17.2C18%2018.8802%2018%2019.7202%2017.673%2020.362C17.3854%2020.9265%2016.9265%2021.3854%2016.362%2021.673C15.7202%2022%2014.8802%2022%2013.2%2022H12.5V20.25C12.5%2019.0074%2011.4926%2018%2010.25%2018C9.00736%2018%208%2019.0074%208%2020.25V22H6.8C5.11984%2022%204.27976%2022%203.63803%2021.673C3.07354%2021.3854%202.6146%2020.9265%202.32698%2020.362C2%2019.7202%202%2018.8802%202%2017.2V15.5H3.5C4.88071%2015.5%206%2014.3807%206%2013C6%2011.6193%204.88071%2010.5%203.5%2010.5H2C2%209.10218%202%208.40326%202.22836%207.85195C2.53284%207.11687%203.11687%206.53284%203.85195%206.22836C4.40326%206%205.10218%206%206.5%206H7.5V4.5Z%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}

.capra-glance__fact[class*="capra-glance__fact--"] {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-content: start;
	column-gap: var(--wp--preset--spacing--12);
	row-gap: var(--wp--preset--spacing--4);
}

.capra-glance__fact[class*="capra-glance__fact--"]::before {
	content: "";
	grid-row: span 2;
	inline-size: 24px;
	block-size: 20px;
	background: var(--wp--custom--token--icon-primary);
	-webkit-mask: var(--capra-fact-icon) center / contain no-repeat;
	mask: var(--capra-fact-icon) center / contain no-repeat;
}

.capra-glance__fact--robot { --capra-fact-icon: var(--capra-gi-robot); }
.capra-glance__fact--building { --capra-fact-icon: var(--capra-gi-building); }
.capra-glance__fact--date { --capra-fact-icon: var(--capra-gi-date); }
.capra-glance__fact--place { --capra-fact-icon: var(--capra-gi-place); }
.capra-glance__fact--route { --capra-fact-icon: var(--capra-gi-route); }
.capra-glance__fact--event { --capra-fact-icon: var(--capra-gi-event); }
.capra-glance__fact--stand { --capra-fact-icon: var(--capra-gi-stand); }
.capra-glance__fact--talk { --capra-fact-icon: var(--capra-gi-talk); }
.capra-glance__fact--result { --capra-fact-icon: var(--capra-gi-result); }
.capra-glance__fact--integration { --capra-fact-icon: var(--capra-gi-integration); }

.capra-glance__value,
.capra-fact__value {
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--bold);
	--capra-leading: var(--wp--custom--leading--title);
	color: var(--wp--custom--token--text-primary);
}

/* The story body (Jonas, 26 Oct 2026): the rail (Share, and on articles "On
   this page") starts beside the callout, right under the hero, and stays in
   view while reading; the reading column holds the callout (At a glance or
   Key takeaways, when filled in), then the text. */
.capra-article-body {
	display: grid;
	grid-template-columns: calc(var(--capra-rail) - var(--wp--preset--spacing--80)) minmax(0, var(--capra-measure));
	column-gap: var(--wp--preset--spacing--80);
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--96);
}

.capra-article-body > * {
	grid-column: 2;
}

/* 48 between the parts that are there, not a row gap: the rail spans three rows, and a story with fewer parts kept
   an empty row's gap each, up to 96 more before "Latest from Capra" (the story audit, 1 Dec 2026). */
.capra-article-body > :not(.capra-article-body__rail, .capra-legal__nav) ~ :not(.capra-article-body__rail, .capra-legal__nav) {
	margin-block-start: var(--wp--preset--spacing--48);
}

.capra-article-body > .capra-article-body__rail {
	grid-column: 1;
	grid-row: 1 / span 3;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	position: sticky;
	inset-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--32));
}

.capra-article-body .capra-narrow {
	margin-inline-start: 0;
}

/* A rail list (the legal pages' menu; once also Share). */
.capra-share {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	align-self: start;
}

/* The rail's labels line up with the callout's own label, inside its padding. */
.capra-article-body__rail > :first-child {
	padding-block-start: var(--wp--preset--spacing--24);
}

.capra-toc__label {
	color: var(--wp--custom--token--text-muted);
}

/* Legal pages (template "Legal page"): the article layout, the rail holding
   the list of legal pages, sticky beside a long text on wide screens. */
.capra-legal__nav [aria-current="page"] {
	color: var(--wp--custom--token--text-primary);
	font-weight: var(--wp--custom--weight--bold);
}

/* The menu in the rail's column, never over the text (the audit, 6 Nov 2026: it sat in
   the reading column and, sticky, covered the text while scrolling). */
.capra-article-body > .capra-legal__nav {
	grid-column: 1;
	grid-row: 1;
}

@media (min-width: 745px) {
	.capra-legal__nav {
		position: sticky;
		inset-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--32));
	}
}

/* Core renders the modified date only once a page has been edited since it
   was published; until then the published date stands in. */
.capra-legal__updated .capra-date-modified ~ .wp-block-post-date {
	display: none;
}

.capra-legal__updated > * {
	margin: 0;
	color: var(--wp--custom--token--text-muted);
}

.capra-prose {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

.capra-prose > * {
	margin-block: 0;
}

/* Lines of about 75 characters (the story audit, 1 Dec 2026: 82 to 94 at 700 wide); headings and pictures keep the
   column's width. */
.capra-prose > :is(p, ul, ol, blockquote) {
	max-inline-size: var(--wp--custom--layout--text-measure);
}

.capra-prose h2 {
	font-size: var(--wp--preset--font-size--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
}

/* Long texts (the legal pages): a heading opens a new part, so it takes more
   room above than below; subheadings, lists and links in the text. */
.capra-prose > :is(h2, h3):not(:first-child) {
	margin-block-start: var(--wp--preset--spacing--24);
}

.capra-prose h3 {
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
}

/* A photo in the text (an article's, placed from the editor with Add Media): the
   column's width, rounded, its caption under it; more room around it than between
   paragraphs, so it reads as a pause. */
.capra-prose > :is(figure, p:has(> img:only-child)) {
	margin-block: var(--wp--preset--spacing--16);
}

.capra-prose figure {
	margin-inline: 0;
	max-inline-size: 100%;
}

.capra-prose img {
	display: block;
	inline-size: 100%;
	block-size: auto;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-prose figcaption {
	margin-block-start: var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--body-m);
	color: var(--wp--custom--token--text-muted);
}

.capra-prose :is(ul, ol) {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding-inline-start: var(--wp--preset--spacing--24);
}

.capra-prose a {
	color: var(--wp--custom--token--text-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* A link inside a sentence is underlined at rest too, so it never relies on colour
   alone (Jonas, 4 Nov 2026). A link standing alone (Text link, cards, menus,
   buttons) keeps the underline that draws in on hover. */
:where(main, dialog) :is(p:not([class*="capra"]), .capra-faq__a, .is-style-capra-lead) a:not([class]) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* An embed before it is asked to load (inc/embeds.php): its title and a button on navy,
   in the player's 16:9; the player takes the box's place on the click. */
.capra-embed {
	position: relative;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: var(--wp--preset--spacing--12);
	aspect-ratio: 16 / 9;
	padding: var(--wp--preset--spacing--24);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-inverse);
	color: var(--wp--custom--token--text-inverse);
	text-align: center;
}

.capra-embed.is-loaded {
	display: block;
	padding: 0;
}

.capra-embed iframe {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
}

.wp-block-embed__wrapper:has(> .capra-embed)::before {
	content: none;
}

.capra-embed__title {
	max-inline-size: 36ch;
	margin: 0;
	font-size: var(--wp--preset--font-size--title-m);
	font-weight: var(--wp--custom--weight--bold);
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-embed__note {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-s);
	opacity: .76;
}

/* A photo that plays a video (inc/media-video.php, media-video.js; Jonas, 27 Nov 2026): the video lies over
   the photo, the script giving it the photo's box and corners, so every kind of photo slot keeps its shape. A
   silent loop fills the box; a film with sound, or YouTube's player, shows whole on navy. */
.capra-has-video {
	position: relative;
}

.capra-video-layer {
	position: absolute;
	z-index: 1;
	overflow: hidden;
}

.capra-video-layer > :is(video, iframe) {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
	object-fit: cover;
}

.capra-video-layer > video[controls],
.capra-video-layer > iframe {
	object-fit: contain;
	background: var(--wp--custom--token--bg-inverse);
}

.capra-video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	inline-size: var(--wp--preset--spacing--64);
	block-size: var(--wp--preset--spacing--64);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--custom--token--on-media);
	box-shadow: var(--wp--preset--shadow--raised);
	cursor: pointer;
	transition: scale .2s ease;
}

/* A triangle, a little right of centre so it looks centred. */
.capra-video-play::before {
	content: "";
	position: absolute;
	inset: 0;
	translate: 8% 0;
	background: var(--wp--custom--token--text-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 50% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 50% no-repeat;
}

@media (hover: hover) {
	.capra-video-play:hover {
		scale: 1.06;
	}
}

.capra-video-play:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 3px;
}

/* A YouTube film looks as YouTube's own player does before it plays (Jonas, 30 Nov 2026, C of three: the click
   loads YouTube, and its red button says so without words): YouTube's button, in its own red (its mark, so no
   token), and the film's title at the top on a soft shade. */
.capra-video-play--youtube {
	inline-size: 68px;
	block-size: 48px;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.capra-video-play--youtube::before {
	translate: none;
	-webkit-mask: none;
	mask: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55C3.97 2.33 2.27 4.81 1.48 7.74.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

.capra-video-title {
	position: absolute;
	inset: 0 0 auto;
	overflow: hidden;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--20) var(--wp--preset--spacing--48);
	background: linear-gradient(color-mix(in srgb, var(--wp--custom--token--bg-inverse) 70%, transparent), transparent);
	color: var(--wp--custom--token--on-media);
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
}

/* In the editor, a photo that plays a video carries a small "Video" label. */
.capra-video-in-editor {
	position: relative;
}

.capra-video-in-editor::after {
	content: "Video";
	position: absolute;
	inset: var(--wp--preset--spacing--8) auto auto var(--wp--preset--spacing--8);   /* all four: a slot's own ::after may fill the photo */
	inline-size: auto;
	block-size: auto;
	z-index: 2;
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--custom--token--bg-inverse);
	color: var(--wp--custom--token--text-inverse);
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--semibold);
	pointer-events: none;
}

/* Pull quote. The body is typed in a plain text editor, so the attribution
   is simply the quote's second line. */
.capra-prose blockquote {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	margin: 0;
	padding-inline-start: var(--wp--preset--spacing--24);
	border-inline-start: 3px solid var(--wp--custom--token--bg-action);
}

.capra-prose blockquote p {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-prose blockquote p + p,
.capra-prose blockquote cite {
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--regular);
	font-style: normal;
	--capra-leading: var(--wp--custom--leading--body);
	color: var(--wp--custom--token--text-muted);
}

/* Wide image, 1200 × 600. */
.capra-media-wide__img img {
	aspect-ratio: 2 / 1;
}

/* Stats: 1–3 numbers between two rules; the row stretches to fit. */
.capra-stats__row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--24);
	border-block: 1px solid var(--wp--custom--token--border-strong);
}

.capra-stat {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--6);
}

.capra-stat__value {
	font-size: var(--wp--preset--font-size--heading-xl);
	font-weight: var(--wp--custom--weight--heavy);
	--capra-leading: var(--wp--custom--leading--heading-xl);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	color: var(--wp--custom--token--text-primary);
}

/* Gallery: three photos are one large plus two stacked (Figma 706 | 470);
   any other count is an even grid. */
.capra-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-gallery__grid img {
	block-size: 100%;
	aspect-ratio: 3 / 2;
}

.capra-gallery__grid:has(> :only-child) {
	grid-template-columns: 1fr;
}

.capra-gallery__grid:has(> :nth-child(2):last-child),
.capra-gallery__grid:has(> :nth-child(4):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Five photos: the first spans two columns, so 2 + 3 fill two rows. */
.capra-gallery__grid:has(> :nth-child(5):last-child) > :first-child {
	grid-column: span 2;
}

.capra-gallery__grid:has(> :nth-child(3):last-child) {
	grid-template-columns: minmax(0, 706fr) minmax(0, 470fr);
}

.capra-gallery__grid:has(> :nth-child(3):last-child) > :first-child {
	grid-row: span 2;
}

.capra-gallery__grid:has(> :nth-child(3):last-child) > :first-child img {
	aspect-ratio: auto;
}

.capra-gallery__grid:has(> :nth-child(3):last-child) > :not(:first-child) img {
	aspect-ratio: 470 / 228;
}

/* An event's own text, under the hero. */
.capra-story > .capra-event-about {
	padding-block: var(--wp--preset--spacing--80) 0;
}

/* Quote (Figma article-callout, Quote): the marks are added here, so nobody
   has to type them. Without a photo the initials stand in. */
.capra-quote__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	padding-inline-start: var(--wp--preset--spacing--24);
	border-inline-start: 3px solid var(--wp--custom--token--bg-action);
}

.capra-quote__text {
	quotes: "“" "”";
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	--capra-leading: var(--wp--custom--leading--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-quote__text::before {
	content: open-quote;
}

.capra-quote__text::after {
	content: close-quote;
}

.capra-quote__who {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
}

.capra-quote__photo img,
.capra-quote__initials {
	inline-size: 40px;
	block-size: 40px;
	border-radius: var(--wp--custom--radius--full);
}

.capra-quote__initials {
	display: grid;
	place-items: center;
	flex: none;
	background: var(--wp--custom--token--bg-action-subtle);
	font-size: var(--wp--preset--font-size--body-s);
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-tonal);
}

.capra-quote__who:has(img) .capra-quote__initials {
	display: none;
}

.capra-quote__name {
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

.capra-quote__role {
	color: var(--wp--custom--token--text-muted);
}

/* An article's image + text, 568 | 568 with a 64 gap (its own class: Home's
   two-column rows are .capra-split). */
.capra-article-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: var(--wp--preset--spacing--64);
	padding-block-start: var(--wp--preset--spacing--24);
}

.capra-article-split__img img {
	aspect-ratio: 568 / 412;
}

.capra-article-split__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--14);
}

.capra-article-split__title {
	font-size: var(--wp--preset--font-size--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
}

.capra-article-split__body {
	font-size: var(--wp--preset--font-size--body-l);
}

/* Video: a still with a play button over it. The film opens on YouTube or
   Vimeo rather than embedding, so the page itself sets no cookies. */
.capra-video__frame {
	position: relative;
}

.capra-video__poster img {
	aspect-ratio: 16 / 9;
}

/* No still (a YouTube film takes YouTube's own picture when the form is saved, so this is rare): a player box on
   Capra's gradient with the button (Jonas, 1 Dec 2026: a slim bar did not look good). */
.capra-video__frame:not(:has(img)) {
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--gradient--bg-gradient);
	box-shadow: var(--wp--preset--shadow--card);
}

.capra-video__play.wp-block-buttons {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

/* Note (Figma article-callout, Note). */
.capra-note__card {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--14);
	row-gap: var(--wp--preset--spacing--6);
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-note__title {
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

/* Figma's Note carries the "live" icon beside its title and text. */
.capra-note__card::before {
	content: "";
	grid-row: span 2;
	inline-size: 20px;
	block-size: 20px;
	background: var(--wp--custom--token--icon-action);
	-webkit-mask: var(--capra-i-live) center / contain no-repeat;
	mask: var(--capra-i-live) center / contain no-repeat;
}

/* --- Article (Figma Template · Article) -----------------------------------
   The same reading grid as News: "On this page" sits in the body's rail under
   Share, beside the Key takeaways box (Jonas, 20 and 26 Oct 2026); on phones
   both come first, full width, then the box. No author anywhere: the site
   names none. */
.capra-takeaways__label {
	color: var(--wp--custom--token--text-muted);
}

/* One quiet line down the list; the section being read is lit on it (assets/js/toc.js;
   Jonas, 27 Oct 2026: a bar per entry looked odd). */
.capra-toc__list {
	display: flex;
	flex-direction: column;
	margin: var(--wp--preset--spacing--12) 0 0;
	padding: 0;
	list-style: none;
	box-shadow: inset 1px 0 0 var(--wp--custom--token--border-default);
}

.capra-toc__list a {
	display: block;
	padding: var(--wp--preset--spacing--6) 0 var(--wp--preset--spacing--6) var(--wp--preset--spacing--16);
	box-shadow: inset 2px 0 0 transparent;
	color: var(--wp--custom--token--text-muted);
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--semibold);
	--capra-leading: var(--wp--custom--leading--title);
	text-decoration: none;
	transition: color .2s ease, box-shadow .2s ease;
}

.capra-toc__list a:focus-visible {
	color: var(--wp--custom--token--text-primary);
}

@media (hover: hover) {
	.capra-toc__list a:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

.capra-toc__list a[aria-current] {
	box-shadow: inset 2px 0 0 var(--wp--custom--token--text-link);
	color: var(--wp--custom--token--text-primary);
}

.capra-takeaways__box {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--14);
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--32);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-action-subtle);
}

/* Each point: Figma's 7px action-blue bullet, on the first line. */
.capra-takeaways__item {
	position: relative;
	padding-inline-start: calc(7px + var(--wp--preset--spacing--12));
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

.capra-takeaways__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: calc(round(var(--capra-leading) * 1em, 2px) / 2 - 3.5px);
	inline-size: 7px;
	block-size: 7px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-action);
}

/* Section anchors land below the fixed header. */
.capra-article :is(h2, h3)[id] {
	scroll-margin-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--24));
}

/* Column image: one photo at the text's width (Figma 700 x 434). */
.capra-media-column__image img {
	aspect-ratio: 700 / 434;
}

/* FAQ (Figma Pattern / faq): the heading and "Ask us something else" on the
   left, the questions on the right; one open at a time. */
.capra-faq {
	display: grid;
	grid-template-columns: minmax(0, 320fr) minmax(0, 820fr);
	column-gap: var(--wp--preset--spacing--64);
	align-items: start;
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--80);
}

.capra-faq__head {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.capra-faq__title {
	font-size: var(--wp--preset--font-size--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
}

/* The questions come from wp-admin → FAQ (inc/faq.php): the Query Loop's wrappers step aside,
   so each question is a row of the list as before. */
.capra-faq__loop,
.capra-faq__loop > .wp-block-post-template,
.capra-faq__loop > .wp-block-post-template > li {
	display: contents;
}

.capra-faq__item {
	padding-block: var(--wp--preset--spacing--24);
	border-block-end: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	cursor: pointer;
	list-style: none;
}

.capra-faq__question::-webkit-details-marker {
	display: none;
}

.capra-faq__q {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
	color: var(--wp--custom--token--text-primary);
}

.capra-faq__toggle {
	position: relative;
	flex: none;
	inline-size: 32px;
	block-size: 32px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--custom--token--text-primary) 18%, transparent);
	color: var(--wp--custom--token--text-primary);
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.capra-faq__toggle::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	inline-size: 16px;
	block-size: 16px;
	background: currentColor;
	-webkit-mask: var(--capra-i-plus) center / contain no-repeat;
	mask: var(--capra-i-plus) center / contain no-repeat;
	transition: rotate .2s ease;
}

/* Open: Figma's filled action-blue disc; the plus turns into a close mark.
   While an answer eases shut (faq.js), the toggle already shows it closed. */
.capra-faq__item[open]:not(.is-closing) .capra-faq__toggle {
	background: var(--wp--custom--token--bg-action);
	box-shadow: none;
	color: var(--wp--custom--token--text-on-action);
}

.capra-faq__item[open]:not(.is-closing) .capra-faq__toggle::before {
	rotate: 45deg;
}

.capra-faq__question:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 4px;
	border-radius: var(--wp--custom--radius--sm);
}

.capra-faq__answer {
	max-inline-size: 760px;
	padding-block-start: var(--wp--preset--spacing--12);
	color: var(--wp--custom--token--text-body);
}

.capra-faq__answer > *,
.capra-faq__question > * {
	margin: 0;
}

/* Sources: numbered links in the reading column. */
.capra-sources__list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.capra-sources__label {
	color: var(--wp--custom--token--text-muted);
}

.capra-sources__item {
	display: grid;
	grid-template-columns: 2ch minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--12);
	align-items: baseline;
}

.capra-sources__number {
	color: var(--wp--custom--token--text-muted);
}

.capra-sources__title a {
	color: var(--wp--custom--token--text-link);
	overflow-wrap: anywhere;
}

/* Figma Card · Post, Type = Article: a light tint, the type line above the
   photo, the photo flush, and the reading time and update at the foot. The
   wide layouts keep the meta line in the text column. */
.type-capra_article > .is-style-capra-post-card {
	background: var(--wp--custom--token--bg-surface-tint);
}

.type-capra_article .capra-postcard__meta {
	color: var(--wp--custom--token--text-primary);
}

.type-capra_article .capra-postcard__meta::before {
	-webkit-mask-image: var(--capra-i-article);
	mask-image: var(--capra-i-article);
}

.capra-postcard__foot {
	margin-block-start: auto;
	padding-block-start: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	color: var(--wp--custom--token--text-muted);
}

.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__body {
	display: contents;
}

.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .is-style-capra-post-card .capra-postcard__meta {
	order: -1;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--24) var(--wp--preset--spacing--14);
}

/* Between its type line and its title the photo runs edge to edge, square (Jonas,
   26 Oct 2026: "just that card"). */
.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) :is(.capra-postcard__image, .capra-postcard__image img, .capra-postcard__media) {
	border-radius: 0;
}

.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) :is(.capra-postcard__title, .capra-postcard__intro, .capra-postcard__foot) {
	padding-inline: var(--wp--preset--spacing--24);
}

.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__title {
	padding-block-start: var(--wp--preset--spacing--20);
}

.type-capra_article:not(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .is-style-capra-post-card {
	padding-block-end: var(--wp--preset--spacing--24);
}

@media (max-width: 1024px) {
	.capra-faq {
		grid-template-columns: minmax(0, 247fr) minmax(0, 634fr);
		padding-block: var(--wp--preset--spacing--96);
	}
}

@media (max-width: 744px) {

	/* Thumb-sized rows (18px was too small to tap, user test 20 Oct 2026). */
	.capra-toc__list {
		gap: var(--wp--preset--spacing--4);
	}

	.capra-toc__list a {
		padding-block: var(--wp--preset--spacing--8);
	}

	.capra-takeaways__box {
		padding: var(--wp--preset--spacing--24);
	}

	.capra-takeaways__item {
		font-size: var(--wp--preset--font-size--body-m);
	}

	.capra-faq {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--24);
		padding-block: var(--wp--preset--spacing--64);
	}

	.capra-faq__title {
		font-size: var(--wp--preset--font-size--heading-l);
		letter-spacing: var(--wp--custom--tracking--heading-l);
		--capra-leading: var(--wp--custom--leading--heading-l);
	}

	.capra-faq__question {
		align-items: flex-start;
	}
}

/* "Keep reading" and "Upcoming events": both disappear when the query has
   nothing to show. */
.capra-story > .capra-more {
	padding-block: var(--wp--preset--spacing--32) var(--wp--preset--spacing--80);
}

/* The page's column, like every section: on a wide screen the Company page's newsroom
   ran out to the gutter, 1675 wide at 1850 (Jonas, 5 Nov 2026). */
.capra-more {
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-more:not(:has(.wp-block-post)) {
	display: none;
}

/* On a page (Company) the newsroom is a section like the rest, the page's rhythm above and
   below it (the audit, 6 Nov 2026: it ran 32px into the leaders on a laptop, 16 on a phone). */
.capra-more:not(.capra-story > .capra-more) {
	padding-block: var(--wp--preset--spacing--80);
}

.capra-more + .capra-people {
	padding-block-start: var(--wp--preset--spacing--80);
}

@media (max-width: 744px) {
	.capra-more:not(.capra-story > .capra-more) {
		padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--64);
	}

	.capra-more + .capra-people {
		padding-block-start: var(--wp--preset--spacing--40);
	}
}

.capra-eventrows__list {
	margin: 0;
	padding: 0;
	list-style: none;
}



.capra-eventrow__title {
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-eventrow__title a {
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

/* The whole row opens the event, as a card does: a bigger target on a phone. */
.capra-eventrow {
	position: relative;
}

.capra-eventrow__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Event hero (Figma Pattern / hero-event): full bleed on the closing
   gradient. It carries .capra-hero so the header goes transparent over it. */
.capra-story > .capra-event-hero {
	max-inline-size: none;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	padding:
		calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--96))
		var(--wp--custom--layout--margin)
		var(--wp--preset--spacing--96);
	background: var(--wp--preset--gradient--bg-gradient);
	color: var(--wp--custom--token--text-primary);
}

/* An event's own picture behind its hero (Jonas, 1 Dec 2026), shaded as the category heroes (above): the
   hero grows so the picture shows, the copy and the card stay at its foot. Without one, the gradient. */
.capra-story > .capra-event-hero:has(> .capra-event-hero__photo) {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-block-size: min(720px, 90svh);
}

.capra-event-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	margin: 0;
}

.capra-story .capra-event-hero__photo img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	border-radius: 0;   /* full bleed: no card's corners */
}

.capra-event-hero:has(> .capra-event-hero__photo) > .capra-event-hero__inner {
	inline-size: 100%;   /* auto margins in the column would shrink it to its content */
}

/* Over a photo the card is frosted and darker, as the Secondary button is: its 6% white was made for navy. */
.capra-event-hero:has(> .capra-event-hero__photo) .capra-event-facts {
	background: var(--capra-glass-dark-fill);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.capra-event-hero:has(> .capra-event-hero__photo)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* A smaller picture under the hero, at its own size: never stretched, at most most of a screen tall. */
.capra-story > .capra-event-photo {
	display: flex;
	justify-content: center;
	max-inline-size: var(--wp--style--global--content-size);
	margin: var(--wp--preset--spacing--32) auto 0;
}

.capra-story .capra-event-photo img {
	inline-size: auto;
	block-size: auto;
	max-inline-size: 100%;
	max-block-size: min(640px, 70vh);
}

.capra-event-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 420px);
	justify-content: space-between;
	align-items: end;
	gap: var(--wp--preset--spacing--64);
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-event-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--20);
}

.capra-event-hero__title {
	font-size: var(--wp--preset--font-size--display-l);
	--capra-leading: var(--wp--custom--leading--display);
	letter-spacing: var(--wp--custom--tracking--display-l);
	color: var(--wp--custom--token--text-primary);
	text-wrap: balance;
}

.capra-event-hero__lead {
	max-inline-size: 520px;
	font-size: var(--wp--preset--font-size--body-l);
}

.capra-event-hero__ctas.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--12);
}

/* The glass event card. */
.capra-event-facts {
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--capra-glass-card-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-card-edge);
}

/* Figma puts an icon on each row of the event card (cal, pin, grid, live)
   and of "Where and when" (pin, cal, grid, route); the row's class names it. */
.capra-fact:is(.capra-fact--date, .capra-fact--place, .capra-fact--stand, .capra-fact--show, .capra-fact--route) {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--14);
	row-gap: var(--wp--preset--spacing--4);
}

.capra-fact:is(.capra-fact--date, .capra-fact--place, .capra-fact--stand, .capra-fact--show, .capra-fact--route)::before {
	content: "";
	grid-row: span 2;
	inline-size: 20px;
	block-size: 20px;
	background: var(--wp--custom--token--icon-primary);
	-webkit-mask: var(--capra-fact-icon) center / contain no-repeat;
	mask: var(--capra-fact-icon) center / contain no-repeat;
}

.capra-fact--date { --capra-fact-icon: var(--capra-i-cal); }
.capra-fact--place { --capra-fact-icon: var(--capra-i-pin); }
.capra-fact--stand { --capra-fact-icon: var(--capra-i-grid); }
.capra-fact--show { --capra-fact-icon: var(--capra-i-robot-side); } /* the Capra robot, Jonas 27 Oct 2026 */
.capra-fact--route { --capra-fact-icon: var(--capra-i-route); }

.capra-event-facts .capra-fact,
.capra-venue__details .capra-fact {
	padding-block: var(--wp--preset--spacing--16);
	border-block-end: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-event-facts .capra-fact:last-child {
	border-block-end: 0;
}

/* Section rhythm for the event's full sections. */
.capra-story > :is(.capra-programme, .capra-hosts, .capra-venue) {
	padding-block: var(--wp--preset--spacing--80);
}

/* What you'll see: 1–3 cards that reflow, then the schedule. */
.capra-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-highlight {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.capra-highlight__img img {
	aspect-ratio: 384 / 240;
}

/* A single highlight sits beside its text instead of stretching its photo
   across the page. */
.capra-highlight:only-child {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr auto auto 1fr;
	column-gap: var(--wp--preset--spacing--32);
	row-gap: var(--wp--preset--spacing--12);
}

.capra-highlight:only-child > figure {
	grid-row: 1 / -1;
}

.capra-highlight:only-child > :not(figure) {
	grid-column: 2;
}

.capra-highlight:only-child > h3 {
	grid-row: 2;
}

.capra-highlight:only-child > p {
	grid-row: 3;
}

/* On a phone the two columns left the text 20 characters a line (the story audit, 1 Dec 2026): photo, then text. */
@media (max-width: 600px) {
	.capra-highlight:only-child {
		display: flex;
	}
}

.capra-highlight__title {
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-host__name {
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: 0;
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-schedule {
	margin-block-start: var(--wp--preset--spacing--40);
}

.capra-schedule__row {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	align-items: baseline;
	gap: var(--wp--preset--spacing--32);
	padding-block: var(--wp--preset--spacing--16);
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-schedule__time {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-number);
	font-weight: var(--wp--custom--weight--mono-semibold);
	color: var(--wp--custom--token--text-link);
}

.capra-schedule__title {
	font-size: var(--wp--preset--font-size--body-l);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

/* Your hosts: the cards size themselves to the number of people. */
.capra-hosts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-host {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-host__photo {
	flex: none;
	inline-size: 160px;
}

.capra-host__photo img {
	aspect-ratio: 160 / 192;
}

.capra-host__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
}

/* Where and when: photo, then the detail rows and the two links. */
.capra-venue__grid {
	display: grid;
	grid-template-columns: minmax(0, 640fr) minmax(0, 496fr);
	align-items: start;
	gap: var(--wp--preset--spacing--64);
}

.capra-venue__grid:not(:has(img)) {
	grid-template-columns: minmax(0, var(--capra-measure));
}

.capra-venue__img img {
	aspect-ratio: 640 / 422;
}

.capra-venue__details .capra-fact {
	border-block-end-color: var(--wp--custom--token--border-strong);
}

.capra-venue__ctas.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--12);
	padding-block-start: var(--wp--preset--spacing--24);
}

/* Upcoming events list. */

.capra-eventrow {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--24);
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-eventrow__day {
	font-size: var(--wp--preset--font-size--heading-l);
	font-weight: var(--wp--custom--weight--heavy);
	line-height: 1;
	color: var(--wp--custom--token--text-primary);
}

.capra-eventrow__main {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--4);
}

.capra-eventrow__more {
	position: relative;
	z-index: 1;
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-link);
	text-decoration: none;
	white-space: nowrap;
}

/* Figma Card · Post: the Newsroom card for news and events. White with a
   shadow; the photo sits flush with all four corners rounded. An event card
   takes the dark token set (see .capra-dark at the top) and gets a date badge.
   The whole card is one link, through the title. */
.is-style-capra-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	block-size: 100%;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--card);
	color: var(--wp--custom--token--text-body);
}

.is-style-capra-post-card :where(p, h3, figure) {
	margin: 0;
}

.capra-postcard__media {
	position: relative;
}

.capra-postcard__image img {
	border-radius: var(--wp--custom--radius--lg);
}

/* A post without a featured image keeps the card's shape: a plain panel where
   the photo goes, so the date badge never lands on the title. In the wide
   layouts the panel takes the card's height instead (see below). */
.capra-postcard__media:not(:has(img)) {
	aspect-ratio: 16 / 10;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-muted);
}

/* A card with no picture at all (Jonas, 1 Dec 2026: posting must stay easy without one). An event's shows Capra's
   LogiMAT stand under a navy veil, quieter than the real photos beside it (Jonas, 1 Dec 2026: white made the empty card
   the brightest in the grid), its white calendar tile larger in the middle; a story's shows the Capra logo, softly (its type is in the line below; the symbol alone read as a
   loading spinner). */
.type-capra_event .capra-postcard__media:not(:has(img)) {
	background:
		linear-gradient(color-mix(in srgb, var(--wp--custom--token--bg-brand) 55%, transparent), color-mix(in srgb, var(--wp--custom--token--bg-brand) 55%, transparent)),
		url("../img/events/event-default.webp") center / cover;
}

.capra-postcard__media:not(:has(img)) > .capra-postcard__date {
	inset: 0;
	margin: auto;
	block-size: fit-content;
	inline-size: fit-content;
	min-inline-size: 88px;
	padding: var(--wp--preset--spacing--14) var(--wp--preset--spacing--16) var(--wp--preset--spacing--16);
	gap: var(--wp--preset--spacing--4);
}

.capra-postcard__media:not(:has(img)) .capra-postcard__day {
	font-size: var(--wp--preset--font-size--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
}

.capra-postcard__media:not(:has(img)) .capra-postcard__month {
	font-size: var(--wp--preset--font-size--mono-caps-m);
}

.capra-postcard__media:not(:has(img), :has(.capra-postcard__date))::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	inline-size: min(60%, 220px);
	aspect-ratio: 693 / 116;
	block-size: auto;
	background: color-mix(in srgb, var(--wp--custom--token--text-primary) 22%, transparent);
	-webkit-mask: var(--capra-logo-lockup) center / contain no-repeat;
	mask: var(--capra-logo-lockup) center / contain no-repeat;
}

/* The date as a calendar tile (Jonas, 27 Oct 2026: refined): the month above the
   day, as calendars write it, the month in the accent, a soft lift off the photo. */
.capra-postcard__date {
	position: absolute;
	inset-block-start: var(--wp--preset--spacing--12);
	inset-inline-start: var(--wp--preset--spacing--12);
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
	min-inline-size: 52px;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--10) var(--wp--preset--spacing--10);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--token--bg-inverse);
	box-shadow: var(--wp--preset--shadow--card);
	color: var(--wp--custom--token--text-inverse);
}

.capra-postcard__day,
.capra-mini__day {
	font-size: var(--wp--preset--font-size--heading-s);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.capra-postcard__month,
.capra-mini__month {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-s);
	font-weight: var(--wp--custom--weight--mono-semibold);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--custom--token--text-accent-inverse);
}

/* The month is small text, so its orange is the shade that reads on its tile
   (4.5:1, the audit of 4 Nov 2026): light on the navy tile, deep on a light one. */
:is(.capra-lead__media, .capra-mini__media) > .capra-postcard__date .capra-postcard__month,
.capra-mini__month {
	color: var(--wp--custom--token--text-accent);
}

.capra-postcard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24) var(--wp--preset--spacing--24);
}

/* The type line: 12 semibold, the size the best newsrooms give a card's label
   and date (12 to 15; 11 read as small print, Jonas 26 Oct 2026). */
.capra-postcard__meta {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	color: var(--wp--custom--token--text-link);
}

.capra-postcard__meta::before {
	content: "";
	flex: none;
	inline-size: 16px;
	block-size: 16px;
	background: currentColor;
	-webkit-mask: var(--capra-i-news) center / contain no-repeat;
	mask: var(--capra-i-news) center / contain no-repeat;
}

.type-capra_event .capra-postcard__meta::before {
	-webkit-mask-image: var(--capra-i-events);
	mask-image: var(--capra-i-events);
}

.capra-postcard__title {
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-postcard__title a {
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

.capra-postcard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

@media (hover: hover) {
	.is-style-capra-post-card:hover .capra-postcard__title a {
		text-decoration: underline;
	}
}

.capra-postcard__intro {
	display: none;
}

/* Card grids. "With fewer, the cards stretch." */
.capra-postcards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Figma Card · Post, Size = Wide: the first card spans two columns, photo
   left, a larger title and the intro line. A card alone in its grid ("Latest
   from Capra" with one other story) takes the same wide layout rather than
   stretching a 16:10 photo across the whole page. */
.is-style-capra-bento {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.is-style-capra-bento > :first-child {
	grid-column: span 2;
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .is-style-capra-post-card {
	flex-direction: row;
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__media {
	flex: 0 0 48%;
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__image {
	block-size: 100%;
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__image img {
	block-size: 100%;
	aspect-ratio: auto;
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child) .capra-postcard__body {
	justify-content: flex-end;
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--32) var(--wp--preset--spacing--32);
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__title {
	font-size: var(--wp--preset--font-size--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__intro {
	display: block;
}

/* Wide layouts: an empty photo panel fills the card's height, not a 16:10 box
   that would push the text out of the card. */
:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child, .capra-postcards--featured > *) .capra-postcard__media:not(:has(img)) {
	aspect-ratio: auto;
}

/* A lone card in a bento group takes the whole row, not two of three columns. */
.is-style-capra-bento > :only-child {
	grid-column: 1 / -1;
}

/* The featured card: Figma 696 | 504, title and intro centred in the body. */
.capra-postcards--featured {
	grid-template-columns: minmax(0, 1fr);
}

.capra-postcards--featured .capra-postcard__media {
	flex-basis: 58%;
}

.capra-postcards--featured .capra-postcard__body {
	justify-content: center;
	gap: var(--wp--preset--spacing--14);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--48);
}

.capra-postcards--featured .capra-postcard__title {
	font-size: var(--wp--preset--font-size--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
}

.capra-postcards--featured .capra-postcard__intro {
	font-size: var(--wp--preset--font-size--body-l);
}

/* Figma: the Newsroom filter. Pills, a kind of button of their own: an outline, a light fill on hover,
   the current view filled navy, the same under the pointer (Jonas, 1 Dec 2026: one look, not Primary's). */
.is-style-capra-filter.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
}

.is-style-capra-filter .wp-block-button__link {
	block-size: auto;
	--capra-leading: var(--wp--custom--leading--title);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--full);
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

.is-style-capra-filter .wp-block-button__link::after {
	content: none;
}

@media (hover: hover) {
	.is-style-capra-filter .wp-block-button__link:hover {
		background: var(--wp--custom--token--bg-subtle);
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
		color: var(--wp--custom--token--text-primary);
	}
}

.is-style-capra-filter .wp-block-button__link.is-current,
.is-style-capra-filter .wp-block-button__link.is-current:hover {
	background: var(--wp--custom--token--bg-brand);
	box-shadow: none;
	color: var(--wp--custom--token--text-on-action);
}

/* Newsroom (Figma Pattern / newsroom-index). Its heading is the
   "Newsroom intro" template part, so marketing can edit it. */
.capra-story > .capra-newsroom-intro {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	padding-block: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--80)) 0;
}

.capra-newsroom-intro > * {
	margin: 0;
	max-inline-size: 760px;
}

.capra-story > .capra-newsroom {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--32);
}

.capra-newsroom__title {
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-newsroom__lead {
	max-inline-size: 600px;
}

.capra-featured:not(:has(.wp-block-post)) {
	display: none;
}

.capra-newsroom__group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--24);
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--32);
}

.capra-newsroom__group > * {
	inline-size: 100%;
}

.capra-newsroom__group > .wp-block-buttons {
	inline-size: auto;
}

/* In the All view (the one with "Load more"), a group with nothing to show
   is left out, and "Load more" only appears when the group is full. */
.capra-newsroom__group:has(> .wp-block-buttons):not(:has(.wp-block-post)) {
	display: none;
}

.capra-newsroom__group:not(:has(.wp-block-post:nth-child(5))) > .wp-block-buttons {
	display: none;
}

.capra-newsroom__group-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--24);
}

.capra-newsroom__group-title {
	font-size: var(--wp--preset--font-size--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
}

.capra-pagination {
	gap: var(--wp--preset--spacing--16);
	margin-block-start: var(--wp--preset--spacing--32);
	font-weight: var(--wp--custom--weight--bold);
}

.capra-pagination a {
	color: var(--wp--custom--token--text-link);
	text-decoration: none;
}

.capra-newsroom__empty {
	color: var(--wp--custom--token--text-muted);
}

/* Press kit: Figma Card · Download. A document mark, the title and its meta,
   and the download ring. */
.capra-story > .capra-presskit {
	padding-block: var(--wp--preset--spacing--80);
}

.capra-downloads {
	display: grid;
	/* 340: a card any narrower wraps its file details mid-line. */
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: var(--wp--preset--spacing--24);
}

.is-style-capra-download {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: var(--wp--preset--spacing--16);
	row-gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--card);
	transition: box-shadow .2s ease;   /* it lifts as its ring fills (Jonas, 26 Oct 2026) */
}

.is-style-capra-download > * {
	grid-column: 2;
	margin: 0;
}

.is-style-capra-download::before,
.is-style-capra-download::after {
	content: "";
	grid-row: 1 / span 2;
	inline-size: 32px;
	block-size: 32px;
	background: var(--wp--custom--token--icon-primary);
}

.is-style-capra-download::before {
	grid-column: 1;
	-webkit-mask: var(--capra-i-document) center / contain no-repeat;
	mask: var(--capra-i-document) center / contain no-repeat;
}

.is-style-capra-download:not(:has(a))::after {
	content: none;
}

/* The shared arrow-in-ring, pointing down; on hover the arrow nudges down. */
.is-style-capra-download::after {
	--capra-ring-arrow: var(--capra-i-arrow-d) center / contain no-repeat;
	grid-column: 3;
}

.is-style-capra-download:has(a:focus-visible)::after {
	--capra-sweep: 360deg;
	-webkit-mask-position: 50% calc(50% + 2px), center, center;
	mask-position: 50% calc(50% + 2px), center, center;
}

@media (hover: hover) {
	.is-style-capra-download:is(:hover, :has(a:focus-visible))::after {
		--capra-sweep: 360deg;
		-webkit-mask-position: 50% calc(50% + 2px), center, center;
		mask-position: 50% calc(50% + 2px), center, center;
	}
}

.capra-download__title {
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

.capra-download__title a {
	color: inherit;
	text-decoration: none;
}

.capra-download__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.is-style-capra-download:has(a:focus-visible) {
	box-shadow: var(--wp--preset--shadow--raised);
}

@media (hover: hover) {
	.is-style-capra-download:is(:hover, :has(a:focus-visible)) {
		box-shadow: var(--wp--preset--shadow--raised);
	}
}

/* Your hosts: one host is a feature card with the bio; three or four are a
   portrait grid. Empty host cards are not rendered, so the count is real. */
.capra-host__bio {
	display: none;
	font-size: var(--wp--preset--font-size--body-l);
}

.capra-hosts__grid:has(> .capra-host:only-child) .capra-host {
	gap: var(--wp--preset--spacing--32);
	padding: var(--wp--preset--spacing--24);
}

.capra-hosts__grid:has(> .capra-host:only-child) .capra-host__photo {
	inline-size: 280px;
}

.capra-hosts__grid:has(> .capra-host:only-child) .capra-host__name {
	font-size: var(--wp--preset--font-size--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

.capra-hosts__grid:has(> .capra-host:only-child) .capra-host__bio {
	display: block;
	max-inline-size: 520px;
}

.capra-hosts__grid:has(> :nth-child(3)) {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.capra-hosts__grid:has(> :nth-child(3)) .capra-host {
	flex-direction: column;
	align-items: flex-start;
}

.capra-hosts__grid:has(> :nth-child(3)) .capra-host__photo {
	inline-size: 100%;
}

/* Figma Template · News, Tablet (1024): the share rail stays, narrower (155,
   then 80), beside a 544 reading column. */
@media (max-width: 1024px) {
	.capra-story {
		--capra-rail: 235px;
		--capra-measure: 544px;
	}

	/* Figma Tablet: host cards turn vertical, the portrait on top (412 x 330). */
	.capra-host {
		flex-direction: column;
		align-items: flex-start;
	}

	.capra-host__photo {
		inline-size: 100%;
	}

	.capra-host__photo img {
		aspect-ratio: 412 / 330;
	}

	/* Figma Template · Event, Tablet: the hero text beside the event card
	   (479 | 325) and the venue photo beside its details (440 | 424). */
	.capra-event-hero__inner {
		grid-template-columns: minmax(0, 479fr) minmax(0, 325fr);
	}

	.capra-venue__grid {
		grid-template-columns: minmax(0, 440fr) minmax(0, 424fr);
	}
}

/* Phones get Figma's Mobile arrangement: no rail, Share above the text, and
   the text the full content width. Tablets keep the rail and a reading
   column of about 70 characters. */
@media (max-width: 744px) {
	.capra-story {
		--capra-rail: 0px;
		--capra-measure: 100%;
	}

	.capra-article-body {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--32);
	}

	.capra-article-body > :not(.capra-article-body__rail, .capra-legal__nav) ~ :not(.capra-article-body__rail, .capra-legal__nav) {
		margin-block-start: 0;
	}

	/* The trail ends on the section, not the page's own title right above it, which only fit cut short ("Smart …";
	   the story audit, 1 Dec 2026). */
	.capra-story-crumbs .capra-crumbs__trail li:last-child {
		display: none;
	}

	.capra-story-crumbs .capra-crumbs__trail li:nth-last-child(2)::after {
		content: none;
	}

	.capra-article-body > *,
	.capra-article-body > :is(.capra-article-body__rail, .capra-legal__nav) {
		grid-column: 1;
		grid-row: auto;
	}

	.capra-article-body > .capra-article-body__rail {
		position: static;
		gap: var(--wp--preset--spacing--32);
	}

	.capra-article-body__rail > :first-child {
		padding-block-start: 0;
	}
}

@media (max-width: 900px) {
	.capra-event-hero__inner,
	.capra-venue__grid {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}
}

/* Narrow tablets: two columns, the wide card across both (Figma's Tablet
   frame, at 1024, keeps three). With an even number of cards that would leave
   a hole beside the last one, so then the first is a card like the rest. */
@media (min-width: 745px) and (max-width: 900px) {
	.is-style-capra-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child {
		grid-column: auto;
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .is-style-capra-post-card {
		flex-direction: column;
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .capra-postcard__media {
		flex: none;
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child :is(.capra-postcard__image, .capra-postcard__image img) {
		block-size: auto;
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .capra-postcard__image img {
		aspect-ratio: 16 / 10;
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .capra-postcard__body {
		justify-content: flex-start;
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24) var(--wp--preset--spacing--24);
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .capra-postcard__title {
		font-size: var(--wp--preset--font-size--heading-xs);
		--capra-leading: var(--wp--custom--leading--heading-xs);
	}

	.is-style-capra-bento:has(> :last-child:nth-child(even)) > :first-child .capra-postcard__intro {
		display: none;
	}
}

@media (max-width: 744px) {
	.capra-article-hero__image img {
		aspect-ratio: 350 / 220;
	}

	/* Figma Template · News, Mobile: At a glance keeps its two columns; the
	   gallery is one large photo, then the others two by two (Figma: 350 x 217,
	   then 169 x 127, 12 apart). */
	/* Figma "Pattern / article-media", Image + text, Mobile: the photo, then
	   the words 20 under it, the title 20 and the text 15. */
	.capra-article-split {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--20);
	}

	.capra-article-split__title {
		font-size: var(--wp--preset--font-size--heading-xs);
		--capra-leading: var(--wp--custom--leading--heading-xs);
	}

	.capra-article-split__body {
		font-size: var(--wp--preset--font-size--body-m);
	}

	.capra-gallery__grid,
	.capra-gallery__grid:is(:has(> :nth-child(2):last-child), :has(> :nth-child(3):last-child), :has(> :nth-child(4):last-child)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--12);
	}

	.capra-gallery__grid > :first-child,
	.capra-gallery__grid:has(> :nth-child(5):last-child) > :first-child {
		grid-row: auto;
		grid-column: auto;
	}

	.capra-gallery__grid:has(> :nth-child(odd):last-child) > :first-child {
		grid-column: 1 / -1;
	}

	.capra-gallery__grid img,
	.capra-gallery__grid:has(> :nth-child(3):last-child) > * img {
		aspect-ratio: 169 / 127;
	}

	.capra-gallery__grid:has(> :nth-child(odd):last-child) > :first-child img {
		aspect-ratio: 350 / 217;
	}

	.capra-stats__row {
		grid-auto-flow: row;
	}

	.capra-host {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Figma Mobile: date, then title and place, then the chip; the whole row
	   is the link, so no separate "Details". */
	.capra-eventrow {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--wp--preset--spacing--10);
	}

	.capra-eventrow__more {
		display: none;
	}

	/* Phones: one column; the wide and featured cards stack like the rest. The
	   doubled classes outrank the desktop bento and featured-card rules (taking
	   them out broke /news/ on phones). */
	.capra-postcards.capra-postcards {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-postcards.capra-postcards > * {
		grid-column: auto;
	}

	.capra-postcards .is-style-capra-post-card.is-style-capra-post-card {
		flex-direction: column;
	}

	.capra-postcards .capra-postcard__media.capra-postcard__media {
		flex-basis: auto;
	}

	.capra-postcards .capra-postcard__image.capra-postcard__image img {
		aspect-ratio: 16 / 10;
	}

	.capra-postcards--featured .capra-postcard__body.capra-postcard__body {
		padding: var(--wp--preset--spacing--24);
	}

	/* The lead card's text lines up with the cards below it. */
	:is(.is-style-capra-bento > :first-child, .capra-postcards > :only-child) .capra-postcard__body.capra-postcard__body {
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--24) var(--wp--preset--spacing--24);
	}

	/* Figma Template · News, Mobile: sections 40 apart, the hero 120 / 32, the
	   body 24 / 64, the closing "Latest" 16 / 64. */
	.capra-story > section {
		padding-block-end: var(--wp--preset--spacing--40);
	}

	.capra-story > .capra-article-hero {
		padding-block: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--48) + var(--wp--preset--spacing--8)) var(--wp--preset--spacing--32);
	}

	.capra-story > .capra-article-body {
		padding-block: var(--wp--preset--spacing--24) var(--wp--preset--spacing--64);
	}

	/* Figma Template · Event, Mobile: the hero 128 / 48, then sections 64. */
	.capra-story > .capra-event-hero {
		padding-block: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--64)) var(--wp--preset--spacing--48);
	}

	.capra-story > .capra-event-about {
		padding-block-start: var(--wp--preset--spacing--64);
	}

	/* Figma Page · Newsroom, Mobile: the intro 120 from the top, then 24 to the
	   filter and 24 to the featured card; each group 24 above its heading and
	   16 below its cards, so groups sit 64 apart and the press kit 144 below
	   the last; the press kit 64 / 64 with 32 above its cards. */
	.capra-story > .capra-newsroom-intro {
		padding-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--48) + var(--wp--preset--spacing--8));
	}

	.capra-story > .capra-newsroom {
		gap: var(--wp--preset--spacing--24);
		padding-block: var(--wp--preset--spacing--24) var(--wp--preset--spacing--64);
	}

	.capra-newsroom__group {
		padding-block: var(--wp--preset--spacing--24) var(--wp--preset--spacing--16);
	}

	.capra-story > .capra-presskit {
		padding-block: var(--wp--preset--spacing--64);
	}

	.capra-presskit .capra-section-head {
		margin-block-end: var(--wp--preset--spacing--32);
	}

	/* In the All view each group is one swipe row of 280 cards, as Figma's
	   phone Newsroom; a filtered view keeps its paged list. */
	.capra-newsroom__group:has(.capra-show-all) .capra-postcards.capra-postcards {
		display: flex;
		gap: var(--wp--preset--spacing--16);
		/* Core caps a post template at 100%, which would stop it short of
		   the right edge. */
		max-inline-size: none;
		margin-inline: calc(-1 * var(--wp--custom--layout--margin));
		padding-inline: var(--wp--custom--layout--margin);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--wp--custom--layout--margin);
		scrollbar-width: none;
		/* Room for the cards' shadow, which the scroller would otherwise clip. */
		padding-block: var(--wp--preset--spacing--16) var(--wp--preset--spacing--32);
		margin-block: calc(-1 * var(--wp--preset--spacing--16)) calc(-1 * var(--wp--preset--spacing--32));
	}

	.capra-newsroom__group:has(.capra-show-all) .capra-postcards > * {
		flex: 0 0 280px;
		scroll-snap-align: start;
	}

	.capra-newsroom__group:has(.capra-show-all) .capra-postcards .capra-postcard__title.capra-postcard__title {
		font-size: var(--wp--preset--font-size--body-l);
		--capra-leading: var(--wp--custom--leading--title);
	}

	.capra-newsroom__group:has(.capra-show-all) .capra-postcards .capra-postcard__intro.capra-postcard__intro {
		display: none;
	}

	.capra-story > .capra-more {
		padding-block: var(--wp--preset--spacing--16) var(--wp--preset--spacing--64);
	}

	/* Figma Template · Event, Mobile: its own sections 64 / 64. */
	.capra-story > :is(.capra-programme, .capra-hosts, .capra-venue) {
		padding-block: var(--wp--preset--spacing--64);
	}

	.capra-hosts__grid:has(> .capra-host:only-child) .capra-host__photo {
		inline-size: 100%;
	}

	.capra-newsroom__group-head {
		flex-wrap: wrap;
	}
}

/* --- Sections and cards (Home, 21 Oct 2026) ---------------------------
   "Section" is Figma's section frame as a Group style: the content width, 80
   above and below and 40 between its parts (tablets 80 / 96, 48; phones
   40 / 64, 24). A Home section is a Section holding a section header and its
   content, so marketing builds a new one from the same pieces. */
.is-style-capra-section {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--80);
}

/* A photo put straight in a column of a page's section (Company's ESG; Jonas, 1 Dec 2026: "a big card") is a card:
   all four corners rounded, 4:3, the text beside it in the middle of its height. */
/* Core sets align-items: normal !important on Columns, so each column centres itself. */
.capra-sections .wp-block-columns:has(> .wp-block-column > .wp-block-image) > .wp-block-column {
	align-self: center;
}

.capra-sections .wp-block-column > .wp-block-image {
	margin: 0;
}

.capra-sections .wp-block-column > .wp-block-image img {
	inline-size: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
}

/* Plug and play (Jonas, 25 Nov 2026: whatever marketing inserts "should by default have the correct spacing
   to the previous and next section … a full width card is basically a section"): anything put straight on a
   page that is not a section itself (a pattern or card built as a Group, Columns) sits like one, at the
   content width with a section's room above and below, outside its own box; in the page editor too, where the
   page's blocks sit in WordPress's own wrapper. The page's own strips keep theirs: the number strip, the
   anchors band, the crossing photo (heroes, synced patterns and sections are not Groups at this level). A new
   kind of strip that sits between sections joins this list. A Group with a Section style is a section whatever its
   tag (Jonas, 1 Dec 2026: Company's ESG, a div, got these margins on top of its own room: 160 more under it). */
:is(.capra-sections, .editor-styles-wrapper.post-type-page .is-root-container.wp-block-post-content) > :is(.wp-block-group, .wp-block-columns):not(section, [class*="is-style-capra-section"], .capra-numbers, .capra-anchors, .capra-crossing) {
	max-inline-size: var(--wp--style--global--content-size);
	margin: var(--wp--preset--spacing--80) auto;
}

@media (max-width: 1024px) {
	:is(.capra-sections, .editor-styles-wrapper.post-type-page .is-root-container.wp-block-post-content) > :is(.wp-block-group, .wp-block-columns):not(section, [class*="is-style-capra-section"], .capra-numbers, .capra-anchors, .capra-crossing) {
		margin-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--96);
	}
}

@media (max-width: 744px) {
	:is(.capra-sections, .editor-styles-wrapper.post-type-page .is-root-container.wp-block-post-content) > :is(.wp-block-group, .wp-block-columns):not(section, [class*="is-style-capra-section"], .capra-numbers, .capra-anchors, .capra-crossing) {
		margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--64);
	}
}

.is-style-capra-section > .capra-section-head {
	margin-block-end: 0;
}

/* Three cards to a row, 24 apart; two on tablets in portrait, one on phones. */
.capra-cards-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

/* Figma "Card · cases" (Card · Solution): the photo across the top (236 of
   384, all four corners rounded), then 24, the mono label, the title, the
   text and the Explore link, 32 in, 10 apart. The whole card is the title's
   link; under the pointer it lifts, the photo zooms 4% and the ring fills. */
.is-style-capra-solution-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: 0 var(--wp--preset--spacing--32) var(--wp--preset--spacing--32);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--card);
	transition: box-shadow .2s ease;
}

.is-style-capra-solution-card:has(a:focus-visible) {
	box-shadow: var(--wp--preset--shadow--raised);
}

@media (hover: hover) {
	.is-style-capra-solution-card:is(:hover, :has(a:focus-visible)) {
		box-shadow: var(--wp--preset--shadow--raised);
	}
}

.is-style-capra-solution-card > .wp-block-image {
	margin: 0 calc(-1 * var(--wp--preset--spacing--32)) var(--wp--preset--spacing--14);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	aspect-ratio: 384 / 236;
}

.is-style-capra-solution-card > .wp-block-image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	transition: scale .6s cubic-bezier(.2, .7, .3, 1);
}

.editor-styles-wrapper .is-style-capra-solution-card > .wp-block-image img {
	block-size: 100% !important;
}

.is-style-capra-solution-card:has(a:focus-visible) > .wp-block-image img {
	scale: 1.04;
}

@media (hover: hover) {
	.is-style-capra-solution-card:is(:hover, :has(a:focus-visible)) > .wp-block-image img {
		scale: 1.04;
	}
}

.is-style-capra-solution-card > h3 {
	font-size: var(--wp--preset--font-size--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
}

.is-style-capra-solution-card > h3 a {
	color: inherit;
	text-decoration: none;
}

/* One click target for the whole card, as the menu cards do. */
.is-style-capra-solution-card > h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.is-style-capra-solution-card > p:not(.is-style-capra-mono) {
	color: var(--wp--custom--token--text-body);
}

.is-style-capra-solution-card > p strong {
	color: var(--wp--custom--token--text-primary);
}

/* The Explore link stands on the card's foot, level across a row. */
.is-style-capra-solution-card > .wp-block-buttons {
	margin-block-start: auto;
	padding-block-start: var(--wp--preset--spacing--6);
}

.is-style-capra-solution-card:has(a:focus-visible) .is-style-link-ring .wp-block-button__link::after {
	--capra-sweep: 360deg;
	-webkit-mask-position: calc(50% + 2px) 50%, center, center;
	mask-position: calc(50% + 2px) 50%, center, center;
}

@media (hover: hover) {
	.is-style-capra-solution-card:is(:hover, :has(a:focus-visible)) .is-style-link-ring .wp-block-button__link::after {
		--capra-sweep: 360deg;
		-webkit-mask-position: calc(50% + 2px) 50%, center, center;
		mask-position: calc(50% + 2px) 50%, center, center;
	}
}

@media (max-width: 1024px) {
	.is-style-capra-section {
		gap: var(--wp--preset--spacing--48);
		padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--96);
	}

	/* Figma Tablet: 190 of 293 for the photo. */
	.is-style-capra-solution-card > .wp-block-image {
		aspect-ratio: 293 / 190;
	}
}

@media (max-width: 900px) {
	.capra-cards-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 744px) {
	.is-style-capra-section {
		gap: var(--wp--preset--spacing--24);
		padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--64);
	}

	.capra-cards-3 {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}

	.is-style-capra-solution-card {
		padding-inline: var(--wp--preset--spacing--24);
		padding-block-end: var(--wp--preset--spacing--24);
	}

	.is-style-capra-solution-card > .wp-block-image {
		margin-inline: calc(-1 * var(--wp--preset--spacing--24));
	}
}

/* "Section · gradient": a Section on Figma's navy gradient, full bleed, its
   content at the page width; the dark token set applies inside. Home
   alternates white and gradient sections and two gradients never touch
   (Figma read-me). */
.is-style-capra-section-gradient {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	/* Percentages here are of the page column, so the content keeps the page
	   width while the gradient reaches the screen edges. */
	padding:
		var(--wp--preset--spacing--80)
		calc(var(--wp--custom--layout--margin) + max(0px, (100% - var(--wp--style--global--content-size)) / 2));
	/* Capra's one background gradient (the SmartFleet shell's; Jonas, 27 Oct 2026). */
	background: var(--wp--preset--gradient--bg-gradient);
	color: var(--wp--custom--token--text-body);
}

.is-style-capra-section-gradient > .capra-section-head {
	margin-block-end: 0;
}

.is-style-capra-section-gradient .capra-section-head__title {
	color: var(--wp--custom--token--text-primary);
}

/* --- World map (Figma "Pattern / world-map", Explorer; inc/world-map.php) ---
   The legend beside the lead; the map under the header, with more room than
   Figma's 32 between them (Jonas, 21 Oct 2026). Dots are Figma's soft white;
   offices blue in a white ring, deployments white with a glow, partners
   amber. The badges are Figma's frosted chips (raw rgba, the glass rule). */
.capra-map-section {
	gap: var(--wp--preset--spacing--64);
}

/* The header in two rows (Jonas, 22 Oct 2026): the title on one line, then
   the lead with the legend at its right, on its baseline, so nothing stands
   empty above the legend. */
.capra-map-section > .capra-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: last baseline;
	column-gap: var(--wp--preset--spacing--40);
	row-gap: var(--wp--preset--spacing--16);
}

.capra-map-section .capra-section-head__text {
	display: contents;
}

.capra-map-section .capra-section-head__text > * {
	grid-column: 1 / -1;
}

.capra-map-section .capra-section-head__lead {
	grid-column: 1;
	max-inline-size: none;
}

.capra-map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	font-size: var(--wp--preset--font-size--label-m);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-map-legend > p {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	margin: 0;
}

.capra-map-legend > p::before {
	content: "";
	flex: none;
	inline-size: 10px;
	block-size: 10px;
	border-radius: var(--wp--custom--radius--full);
}

/* The office: the building in blue, as on each office's label on the map (Jonas, 4 Nov
   2026); the labels are what the visitor matches it to. */
.capra-map-legend__office {
	position: relative;
}

.capra-map-legend > .capra-map-legend__office::before {
	inline-size: 20px;
	block-size: 20px;
	background: var(--wp--custom--token--bg-action);
}

.capra-map-legend > .capra-map-legend__office::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 0;
	inline-size: 20px;
	block-size: 20px;
	translate: 0 -50%;
	background: var(--wp--custom--token--on-media);
	-webkit-mask: var(--capra-i-building) center / 11px no-repeat;
	mask: var(--capra-i-building) center / 11px no-repeat;
}

.capra-map-legend__deployment::before {
	background: var(--wp--custom--token--on-media);
	box-shadow: 0 0 6px rgba(255, 255, 255, .7);
}

.capra-map-legend__partner::before {
	background: var(--wp--custom--token--icon-partner);
}

/* The whole section fits under the header: the map gives way on screens
   not tall enough for it at full width (Jonas, 22 Oct 2026: "just a little
   too big"; 23 Oct: "a tiny bit bigger", 248 to 224, still whole on a
   720px-tall screen). --capra-map-room is the header above it, the gap and
   some air. */
.capra-map {
	--capra-map-room: 224px;
	position: relative;
	inline-size: min(100%, calc((100svh - var(--wp--custom--layout--header-height) - var(--wp-admin--admin-bar--height, 0px) - var(--capra-map-room)) * var(--capra-map-ratio, 2)));
	margin-inline: auto;
}

.capra-map__dots {
	display: block;
	inline-size: 100%;
	block-size: auto;
	opacity: .24;
}

.capra-map__layer {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	overflow: visible;
}

.capra-map__line {
	fill: none;
	stroke: rgba(255, 255, 255, .55);
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.capra-map__line--partner {
	stroke: color-mix(in srgb, var(--wp--custom--token--icon-partner) 75%, transparent);
}

.capra-map__pin--deployment {
	fill: var(--wp--custom--token--on-media);
	filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8));
}

.capra-map__pin--partner {
	fill: var(--wp--custom--token--icon-partner);
}

.capra-map__office {
	fill: var(--wp--custom--token--on-media);
}

.capra-map__office-core {
	fill: var(--wp--custom--token--icon-action);
}

.capra-map :is(.capra-map__pin, .capra-map__office, .capra-map__office-core, .capra-map__leader) {
	transform-box: fill-box;
	transform-origin: center;
}

.capra-map__badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--14) var(--wp--preset--spacing--4) var(--wp--preset--spacing--4);
	border-radius: var(--wp--custom--radius--full);
	background: var(--capra-glass-badge-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-badge-edge);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--wp--custom--token--on-media);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	font-weight: var(--wp--custom--weight--mono-medium);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	white-space: nowrap;
	/* The icon's disc sits on the pin and the chip runs on from it, until
	   world-map.js places the badge beside the pin (--x, --y: its corner
	   from the pin) with a leader. */
	translate: -17px -50%;
	pointer-events: none;
}

.capra-map__badge.is-placed {
	translate: var(--x) var(--y);
}

.capra-map__badge--left {
	flex-direction: row-reverse;
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--4) var(--wp--preset--spacing--14);
}

/* From the pin to its badge's disc, which covers the line's end. */
.capra-map__leader {
	stroke: rgba(255, 255, 255, .7);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.capra-map__badge-icon {
	flex: none;
	inline-size: 26px;
	block-size: 26px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-action);
}

.capra-map__badge-icon::before {
	content: "";
	display: block;
	inline-size: 100%;
	block-size: 100%;
	background: var(--wp--custom--token--on-media);
	-webkit-mask: var(--capra-i-building) center / 14px no-repeat;
	mask: var(--capra-i-building) center / 14px no-repeat;
}

/* The play (world-map.js arms it, then turns it on in view): the offices
   appear one after another, and as soon as the headquarters is there the
   lines draw out from it, nearest first, each end dot
   appearing as its line lands (Jonas, 22 Oct 2026: the lines started too
   late, the offices came too close together; 30 Oct, with marketing: still
   scrolled past unseen, so sooner again, world-map.js starts it earlier too;
   9 Nov: still a gap after the offices, as the nearest lines are short and
   under the offices' dots, so the first line to see came 1.4s in: now every
   line is under way within 0.8s, 30ms apart, and the play is over by 2s). */
.capra-map.is-armed :is(.capra-map__office, .capra-map__office-core, .capra-map__badge, .capra-map__leader, .capra-map__pin) {
	opacity: 0;
	scale: .4;
}

.capra-map.is-armed .capra-map__line {
	stroke-dashoffset: 1;
}

.capra-map.is-on :is(.capra-map__office, .capra-map__office-core, .capra-map__badge, .capra-map__leader) {
	opacity: 1;
	scale: 1;
	transition: opacity .5s ease, scale .6s cubic-bezier(.2, .9, .3, 1.2);
	transition-delay: calc(var(--i) * 300ms);
}

.capra-map.is-on .capra-map__line {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s cubic-bezier(.5, 0, .3, 1);
	transition-delay: calc(100ms + var(--i) * 30ms);
}

.capra-map.is-on .capra-map__pin {
	opacity: 1;
	scale: 1;
	transition: opacity .35s ease, scale .45s cubic-bezier(.2, .9, .3, 1.4);
	transition-delay: calc(950ms + var(--i) * 30ms);   /* as its line lands */
}

@media (max-width: 744px) {
	.is-style-capra-section-gradient {
		gap: var(--wp--preset--spacing--24);
		padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--64);
	}

	.capra-map-section {
		gap: var(--wp--preset--spacing--32);
	}

	.capra-map-section > .capra-section-head {
		grid-template-columns: minmax(0, 1fr);
	}

	/* One row down to a 320 phone (Jonas, 11 Nov 2026: Partner broke to a second). */
	.capra-map-legend {
		grid-column: 1;
		column-gap: var(--wp--preset--spacing--16);
		font-size: var(--wp--preset--font-size--label-s);
	}

	/* The map a fifth larger, its empty ends cut (the pins run from 16 to 93 % of its
	   width), into the gutters and clipped at the screen's edge (Jonas: "very small"). */
	.capra-map-section {
		overflow-x: clip;
	}

	.capra-map {
		inline-size: 118%;
		margin-inline: -14% 0;
	}

	/* On a phone the map is a 350 strip: the badges keep only their disc. */
	.capra-map__badge {
		padding: 0;
		font-size: 0;
		gap: 0;
		translate: -50% -50%;
	}

	.capra-map__badge-icon {
		inline-size: 18px;
		block-size: 18px;
	}

	.capra-map__badge-icon::before {
		-webkit-mask-size: 10px;
		mask-size: 10px;
	}
}

@media (max-width: 1024px) and (min-width: 745px) {
	.is-style-capra-section-gradient {
		gap: var(--wp--preset--spacing--48);
		padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--96);
	}
}

/* --- Platform story (Figma "Pattern / platform-capabilities", C Scrolly-
   telling; assets/js/story.js) -------------------------------------------
   The header and the steps in the right column (464 of 1200), the open
   step's close-up in the left (672), 64 between. Refined at Jonas' review
   (21 Oct 2026): no lead under the title; a step's number and title keep one
   size open or shut (only the colour and the rail change, so nothing jumps);
   the stat cards are taller, their monoline icons 48 (their drawn size)
   instead of 36; below 1100 the two cards stack rather than squeeze. */
.capra-steps {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 672fr) minmax(0, 464fr);
	column-gap: var(--wp--preset--spacing--64);
	align-content: start;
	min-block-size: 600px;
	counter-reset: capra-step;
}

.capra-steps > * {
	grid-column: 2;
}

.capra-steps > .capra-section-head {
	margin-block-end: var(--wp--preset--spacing--32);
}

.is-style-capra-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	box-shadow: inset 3px 0 0 var(--wp--custom--token--border-subtle);
	counter-increment: capra-step;
	transition: grid-template-rows .45s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}

.is-style-capra-step > h3 {
	display: flex;
	align-items: baseline;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: var(--wp--preset--spacing--12) 0 var(--wp--preset--spacing--12) var(--wp--preset--spacing--24);
	font-size: var(--wp--preset--font-size--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
	color: var(--wp--custom--token--text-primary);
}

.is-style-capra-step > h3::before {
	content: counter(capra-step, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-number);
	font-weight: var(--wp--custom--weight--mono-semibold);
	color: var(--wp--custom--token--text-muted);
}

.is-style-capra-step > .capra-step__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	min-block-size: 0;
	overflow: hidden;
	padding-inline-start: var(--wp--preset--spacing--24);
}

.is-style-capra-step > .capra-step__body > :last-child {
	margin-block-end: var(--wp--preset--spacing--16);
}

.capra-step__body > p {
	color: var(--wp--custom--token--text-body);
}

.capra-step__body > p strong {
	color: var(--wp--custom--token--text-primary);
}

/* The open step: its number and its rail in blue (no fill as the page
   scrolls: Jonas, 11 Nov 2026). Each step has its own (Jonas, 22-23 Oct
   2026: not one rail down the whole story). Shut steps keep only their title
   row; the script opens one at a time. */
.capra-steps.is-enhanced .is-style-capra-step {
	grid-template-rows: auto 0fr;
}

.capra-steps.is-enhanced .is-style-capra-step.is-active {
	grid-template-rows: auto 1fr;
	box-shadow: inset 3px 0 0 var(--wp--custom--token--bg-action);
}

/* Held (story.js): the story stays in the middle of the screen while the
   page scrolls on through the track's empty run below it. */
.capra-steps__track::after {
	content: "";
	display: block;
	block-size: var(--capra-steps-run, 0px);
}

.capra-steps.is-held {
	position: sticky;
	inset-block-start: var(--capra-steps-top, 0px);
}

/* Stops (story.js): the page comes to rest at the start of each step and a
   quick flick never passes one (scroll-snap-stop), while the story holds.
   Proximity, so the rest of the page scrolls freely. */
html.capra-snaps {
	scroll-snap-type: y proximity;
}

.capra-steps__track {
	position: relative;
}

.capra-steps__stop {
	display: none;
	position: absolute;
	inset-inline-start: 0;
	inline-size: 1px;
	block-size: 1px;
	pointer-events: none;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

html.capra-snaps .capra-steps__stop {
	display: block;
}

.capra-steps.is-enhanced .is-style-capra-step > h3 {
	position: relative;   /* the button inside it stretches over the whole row (story.js) */
	cursor: pointer;
}

.capra-steps.is-enhanced .is-style-capra-step:not(.is-active) > h3 {
	color: var(--wp--custom--token--text-muted);
	transition: color .2s ease;
}

@media (hover: hover) {
	.capra-steps.is-enhanced .is-style-capra-step:not(.is-active) > h3:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

.capra-steps .is-style-capra-step.is-active > h3::before {
	color: var(--wp--custom--token--text-link);
}

.is-style-capra-step > h3:focus-visible,
.is-style-capra-step > h3:has(> .capra-step__toggle:focus-visible) {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 2px;
	border-radius: var(--wp--custom--radius--sm);
}

/* The button inside a step's title (story.js): the title's own look, its whole row to click. */
.capra-step__toggle {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: start;
	cursor: pointer;
}

.capra-step__toggle::after {
	content: "";
	position: absolute;
	inset: 0;
}

.capra-step__toggle:focus-visible {
	outline: none;   /* the ring is the title row's */
}

/* The close-ups share the left column, one frame; without the script the
   first shows. No tag on the photo (Jonas, 22 Oct 2026). */
.capra-steps .capra-step__media {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	inline-size: calc((100% - var(--wp--preset--spacing--64)) * 672 / 1136);
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	opacity: 0;
	transition: opacity .6s ease;
}

.capra-steps:not(.is-enhanced) .capra-section-head + .is-style-capra-step .capra-step__media,
.capra-steps.is-enhanced .is-style-capra-step.is-active .capra-step__media {
	opacity: 1;
}

.capra-steps .capra-step__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* In the editor every step shows its close-up in place under its title, as on a phone: the
   scrolling story is the website's (the audit, 6 Nov 2026: in the editor three photos were
   hidden and the first lay over the text, on Home and on Software's tour). */
.editor-styles-wrapper .capra-steps {
	grid-template-columns: minmax(0, 1fr);
	min-block-size: 0;
}

.editor-styles-wrapper .capra-steps > * {
	grid-column: 1;
}

.editor-styles-wrapper .is-style-capra-step {
	grid-template-rows: auto auto auto;
}

.editor-styles-wrapper .is-style-capra-step > h3 {
	order: -1;
}

.editor-styles-wrapper .capra-steps .capra-step__media {
	position: relative;
	inset: auto;
	inline-size: auto;
	min-block-size: 0;
	margin-inline-start: var(--wp--preset--spacing--24);
	opacity: 1;
}

.editor-styles-wrapper .capra-steps .capra-step__media img {
	aspect-ratio: 4 / 3;
	block-size: auto !important;   /* core gives the editor's image a height of its own */
}

/* With the script, on a desktop, each close-up is a rounded card of its own,
   seen through a window a little taller than the card (Jonas, 23 Oct 2026):
   at a step change the next card rises from below, a gap above it, and
   pushes the open one up, each sliding continuously out of (or into) the
   window at its edge, in the white above and below. No fade, no zoom; going
   back runs it the other way. The photo moves once the scroll has landed on
   a step (story.js: is-shown, is-passed), and a quick scroll or a jump moves
   only the photo leaving and the one arriving (is-skipped). The window is
   the story's box plus --capra-card-window; the gap between cards is wider
   (Jonas, 23 Oct 2026: a sliver of the next photo showed), so a card
   waiting outside the window never peeks in. Both are generous, so more of
   both photos shows while they switch (Jonas, 23 Oct 2026). The push eases in and out
   (--capra-card-move), and the photo inside each card drifts the other way
   by --capra-card-drift, so the frame slides over it: depth, not zoom (its
   box is that much taller than the card, which crops it a little). */
@media (min-width: 901px) {
	.capra-steps.is-enhanced {
		--capra-card-window: var(--wp--preset--spacing--48);
		--capra-card-gap: var(--wp--preset--spacing--64);
		--capra-card-drift: var(--wp--preset--spacing--40);
		--capra-card-move: .8s cubic-bezier(.5, 0, .25, 1);
		clip-path: inset(calc(-1 * var(--capra-card-window)) calc(-1 * var(--wp--preset--spacing--24)));
	}

	.capra-steps.is-enhanced .capra-step__media {
		opacity: 1;
		translate: 0 calc(100% + var(--capra-card-gap));
		pointer-events: none;
		transition: translate var(--capra-card-move);
	}

	.capra-steps.is-enhanced .capra-step__media img {
		block-size: calc(100% + 2 * var(--capra-card-drift));
		margin-block-start: calc(-1 * var(--capra-card-drift));
		translate: 0 calc(-1 * var(--capra-card-drift));
		transition: translate var(--capra-card-move);
	}

	.capra-steps.is-enhanced .is-shown .capra-step__media,
	.capra-steps.is-enhanced .is-shown .capra-step__media img {
		translate: none;
	}

	.capra-steps.is-enhanced .is-passed .capra-step__media {
		translate: 0 calc(-100% - var(--capra-card-gap));
	}

	.capra-steps.is-enhanced .is-passed .capra-step__media img {
		translate: 0 var(--capra-card-drift);
	}

	/* App screenshots (the Software tour) keep still in their cards, so the frame starts at
	   the app's top-left corner, its logo whole (Jonas, 17 Nov 2026); photos and illustrations
	   keep the drift. */
	.capra-steps.is-enhanced .is-style-capra-step .capra-step__media--screen img {
		block-size: 100%;
		margin-block-start: 0;
		translate: none;
	}

	.capra-steps.is-enhanced .is-skipped .capra-step__media,
	.capra-steps.is-enhanced .is-skipped .capra-step__media img {
		transition: none;
	}
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
	.capra-steps.is-enhanced .capra-step__media,
	.capra-steps.is-enhanced .capra-step__media img {
		transition: none;
	}
}

/* Figma "Stat · Icon box": a tinted card, the icon, then the value over its
   mono label. Two to a row. */
.capra-stat-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--12);
}

/* The icon has a column of its own, the same in every box, and the value
   wraps rather than being cut (Jonas, 22 Oct 2026: "GNSS + RTK"). */
.is-style-capra-stat-box {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-content: center;
	column-gap: var(--wp--preset--spacing--12);
	row-gap: var(--wp--preset--spacing--2);
	min-block-size: 84px;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--12);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--token--bg-subtle);
}

.is-style-capra-stat-box > .wp-block-image {
	grid-row: 1 / 3;
	align-self: center;
	margin: 0;
}

.is-style-capra-stat-box > .wp-block-image img {
	inline-size: 48px;
	block-size: 48px;
}

/* Without an icon the value and label take the whole box. */
.is-style-capra-stat-box:not(:has(> .wp-block-image)) {
	grid-template-columns: minmax(0, 1fr);
}

/* One step below the step's title (Jonas, 22 Oct 2026: a clear hierarchy,
   title 24, value 20, text 15, label 11). */
.is-style-capra-stat-box > p:nth-of-type(1) {
	align-self: end;
	font-size: var(--wp--preset--font-size--heading-xs);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: 1.1;
	color: var(--wp--custom--token--text-primary);
}

.is-style-capra-stat-box > p:nth-of-type(2) {
	align-self: start;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

@media (max-width: 1100px) {
	.capra-stat-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.capra-steps {
		min-block-size: 520px;
		column-gap: var(--wp--preset--spacing--40);
	}

	.capra-steps .capra-step__media {
		inline-size: calc((100% - var(--wp--preset--spacing--40)) * 672 / 1136);
	}
}

/* Tablets in portrait and phones: one column; the open step shows its
   close-up under its title. */
@media (max-width: 900px) {
	.capra-steps {
		grid-template-columns: minmax(0, 1fr);
		min-block-size: 0;
	}

	.capra-steps > * {
		grid-column: 1;
	}

	/* Each part takes its own height (equal shares left a gap under the
	   photo); a step opens without the height easing here. */
	.is-style-capra-step,
	.capra-steps.is-enhanced .is-style-capra-step.is-active {
		grid-template-rows: auto auto auto;
	}

	.capra-steps.is-enhanced .is-style-capra-step {
		grid-template-rows: auto 0fr 0fr;
	}

	.is-style-capra-step > h3 {
		order: -1;
	}

	.capra-steps .capra-step__media {
		position: relative;
		inset: auto;
		inline-size: auto;
		min-block-size: 0;
		margin-inline-start: var(--wp--preset--spacing--24);
		opacity: 1;
	}

	.capra-steps .capra-step__media img {
		aspect-ratio: 4 / 3;
		block-size: auto;
	}

	.capra-steps.is-enhanced .is-style-capra-step.is-active .capra-step__media {
		margin-block-end: var(--wp--preset--spacing--16);
	}

	.capra-stat-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --- Robot cards (Figma "Pattern / robot-cards", "Card · Robot") --------
   Two robot cards, 48 apart, then a wide card of the top modules. A card is
   the studio grey (light top, deeper foot), 40 in, the render standing on
   the card's upper part, a mono line, the name, then a foot: the Stats in a
   frosted strip and the Explore link. A robot's card is not a link itself, its buttons are (Jonas, 1 Dec
   2026: only "Explore Capra500" and "Book a demo"), yet under the pointer it lifts and its robot zooms a
   little, as the solution cards do (Jonas, 1 Dec 2026); the top modules' wide card, with one link, is that
   link as a whole. */
.capra-cards-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--48);
}

.is-style-capra-robot-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--lg);
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
	box-shadow: var(--wp--preset--shadow--card), inset 0 0 0 1px rgba(255, 255, 255, .6);
	transition: box-shadow .2s ease;
}

.is-style-capra-robot-card:has(a:focus-visible) {
	box-shadow: var(--wp--preset--shadow--raised), inset 0 0 0 1px rgba(255, 255, 255, .6);
}

@media (hover: hover) {
	.is-style-capra-robot-card:is(:hover, :has(a:focus-visible)) {
		box-shadow: var(--wp--preset--shadow--raised), inset 0 0 0 1px rgba(255, 255, 255, .6);
	}
}

/* The robot stands at the foot of its frame, with air above it: it is low
   to the floor (Jonas, 22 Oct 2026). */
.capra-robot-card__render {
	margin: 0 0 var(--wp--preset--spacing--10);
	aspect-ratio: 494 / 350;
}

.capra-robot-card__render img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	object-position: 50% 100%;
	transform-origin: 50% 100%;
	transition: scale .6s cubic-bezier(.2, .7, .3, 1);
}

.editor-styles-wrapper .capra-robot-card__render img {
	block-size: 100% !important;
}

/* A robot zooms only a little (Jonas, 5 Nov 2026); the card lifts, as above. */
.is-style-capra-robot-card:has(a:focus-visible) .capra-robot-card__render img {
	scale: 1.02;
}

@media (hover: hover) {
	.is-style-capra-robot-card:is(:hover, :has(a:focus-visible)) .capra-robot-card__render img {
		scale: 1.02;
	}
}

.is-style-capra-robot-card h3 {
	font-size: var(--wp--preset--font-size--heading-xl);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
}

.capra-robot-card--wide h3 {
	font-size: var(--wp--preset--font-size--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

.is-style-capra-robot-card h3 a {
	color: inherit;
	text-decoration: none;
}

/* The wide card's name's link covers the whole card, above everything in it, so the
   card is one link with no gaps (the pointer flickered over the modules). */
.capra-robot-card--wide h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.capra-robot-card--wide:has(a:focus-visible) .is-style-link-ring .wp-block-button__link::after {
	--capra-sweep: 360deg;
	-webkit-mask-position: calc(50% + 2px) 50%, center, center;
	mask-position: calc(50% + 2px) 50%, center, center;
}

@media (hover: hover) {
	.capra-robot-card--wide:is(:hover, :has(a:focus-visible)) .is-style-link-ring .wp-block-button__link::after {
		--capra-sweep: 360deg;
		-webkit-mask-position: calc(50% + 2px) 50%, center, center;
		mask-position: calc(50% + 2px) 50%, center, center;
	}
}

.capra-robot-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--16);
	margin-block-start: var(--wp--preset--spacing--6);
}

/* The buttons sit above the card's link, so the mega card's Book a demo goes where it says. */
.capra-robot-card__foot > .wp-block-buttons {
	position: relative;
	z-index: 2;
}

/* Figma: the Stats in a white 55% strip, a hairline between them. */
.capra-stat-strip {
	display: flex;
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--6);
	border-radius: var(--wp--custom--radius--md);
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.capra-stat-strip > .is-style-capra-stat {
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--14);
}

.capra-stat-strip > .is-style-capra-stat + .is-style-capra-stat {
	box-shadow: inset 1px 0 0 var(--wp--custom--token--border-default);
}

.capra-stat-strip .is-style-capra-stat > :first-child {
	font-weight: var(--wp--custom--weight--heavy);
}

/* "Card · Robot · Mega" (Jonas, 3 Nov 2026: for when only the Capra500 is shown): the same
   card, alone in its row, takes the whole row as a spec sheet: the render on the left; beside
   it the line, the name, a sentence, the Stats as large figures in their strip (the figures
   are what a buyer compares, so they come right after the name), then the actions. Delete the
   other robot's card and the one left becomes the mega card; the pattern "Robot card · mega"
   inserts one with its sentence and both actions. The Robots drawer's card does the same
   (section 7). */
.capra-cards-2 > .is-style-capra-robot-card:only-child {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-rows: 1fr repeat(4, auto) 1fr;
	column-gap: var(--wp--preset--spacing--64);
	row-gap: 0;
	padding: var(--wp--preset--spacing--64) var(--wp--preset--spacing--64) var(--wp--preset--spacing--64) var(--wp--preset--spacing--40);   /* more air, a little taller (Jonas, 1 Dec 2026: "a bit tight") */
}

.capra-cards-2 > .is-style-capra-robot-card:only-child > * {
	grid-column: 2;
}

/* The words set the card's height and the render fills its column (spanning them, it would
   push the words apart). */
.capra-cards-2 > .is-style-capra-robot-card:only-child > .capra-robot-card__render {
	grid-column: 1;
	grid-row: 1 / -1;
	margin: 0;
	aspect-ratio: auto;
	contain: size;
}

.capra-cards-2 > .is-style-capra-robot-card:only-child > .is-style-capra-mono {
	grid-row: 2;
}

.capra-cards-2 > .is-style-capra-robot-card:only-child > h3 {
	grid-row: 3;
	margin-block-start: var(--wp--preset--spacing--12);
	font-size: var(--wp--preset--font-size--display-l);
	letter-spacing: var(--wp--custom--tracking--display-l);
	--capra-leading: var(--wp--custom--leading--display);
}

.capra-cards-2 > .is-style-capra-robot-card:only-child > .capra-robot-card__lead {
	grid-row: 4;
	margin-block-start: var(--wp--preset--spacing--24);
	max-inline-size: 40ch;
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

.capra-cards-2 > .is-style-capra-robot-card:only-child > .capra-robot-card__foot {
	grid-row: 5;
	flex-direction: column;
	align-items: stretch;
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--40);
}

.capra-cards-2 > .is-style-capra-robot-card:only-child .capra-stat-strip {
	justify-content: space-between;
	gap: var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--24) 0 0;
	border-radius: 0;
	background: none;
	box-shadow: inset 0 1px 0 var(--wp--custom--token--border-default);
}

/* The figures spread across the column, never closer than 24, a size under the name, not
   competing with it (Jonas, 18-19 Nov 2026: too close, and a bit too big). */
.capra-cards-2 > .is-style-capra-robot-card:only-child .capra-stat-strip > .is-style-capra-stat {
	padding: 0;
	box-shadow: none;
}

.capra-cards-2 > .is-style-capra-robot-card:only-child .capra-stat-strip .is-style-capra-stat > :first-child {
	white-space: nowrap;
	font-size: var(--wp--preset--font-size--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

.capra-cards-2 > .is-style-capra-robot-card:only-child .capra-stat-strip .is-style-capra-stat > :nth-child(2) {
	font-size: var(--wp--preset--font-size--mono-caps-l);
}

@media (max-width: 1100px) {
	.capra-cards-2 > .is-style-capra-robot-card:only-child > h3 {
		font-size: var(--wp--preset--font-size--display-m);
		letter-spacing: var(--wp--custom--tracking--display-m);
		--capra-leading: var(--wp--custom--leading--display-m);
	}
}

@media (max-width: 900px) {
	.capra-cards-2 > .is-style-capra-robot-card:only-child {
		display: flex;
		padding: var(--wp--preset--spacing--32);
	}

	.capra-cards-2 > .is-style-capra-robot-card:only-child > .capra-robot-card__render {
		aspect-ratio: 494 / 350;
		contain: none;
	}
}

/* The top modules: their words on the left, the three modules beside them. */
.capra-robot-card--wide {
	flex-direction: row;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--40);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-subtle);
}

.capra-robot-card--wide:has(a:focus-visible) {
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-subtle), var(--wp--preset--shadow--card);
}

@media (hover: hover) {
	.capra-robot-card--wide:is(:hover, :has(a:focus-visible)) {
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-subtle), var(--wp--preset--shadow--card);
	}
}

.capra-robot-card__text {
	display: flex;
	flex: 0 0 280px;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--8);
}

.capra-modules {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.capra-module {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--6);
	text-align: center;
}

/* The modules stand on one floor line: each picture at the foot of the
   same frame. */
.capra-module > .wp-block-image {
	margin: 0;
	inline-size: 100%;
	block-size: 140px;
}

.capra-module > .wp-block-image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	object-position: 50% 100%;
}

.editor-styles-wrapper .capra-module > .wp-block-image img {
	block-size: 100% !important;
}

.capra-module__name {
	font-size: var(--wp--preset--font-size--title-m);
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

@media (max-width: 1024px) {
	.capra-cards-2 {
		gap: var(--wp--preset--spacing--24);
	}

	.is-style-capra-robot-card {
		padding: var(--wp--preset--spacing--32);
	}
}

@media (max-width: 900px) {
	.capra-robot-card--wide {
		flex-direction: column;
		align-items: stretch;
		padding: var(--wp--preset--spacing--32);
	}

	.capra-robot-card__text {
		flex-basis: auto;
	}
}

@media (max-width: 744px) {
	.capra-cards-2 {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}

	.is-style-capra-robot-card {
		padding: var(--wp--preset--spacing--24);
	}

	.is-style-capra-robot-card h3 {
		font-size: var(--wp--preset--font-size--heading-l);
	}

	.capra-stat-strip > .is-style-capra-stat {
		padding-inline: var(--wp--preset--spacing--10);
	}

	.capra-modules {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-module {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: var(--wp--preset--spacing--16);
		row-gap: 0;
		text-align: start;
	}

	.capra-module > .wp-block-image {
		grid-row: 1 / 3;
		block-size: 72px;
	}

	.capra-module > :not(.wp-block-image):first-of-type {
		align-self: end;
	}
}

/* --- SmartFleet, open integration, start here (Figma "Pattern /
   smartfleet-teaser", With open integration) ------------------------------
   Three rows on one navy gradient, 96 apart: SmartFleet (the words 460 wide,
   the app window 668), open integration (the diagram 668, the words), and
   the synced "CTA band · Journey", which here drops its own band (the
   section is the band) and keeps its steps. A "capra-split" row is two
   columns, 80 apart; the media takes the wider share. */
.capra-smartfleet {
	gap: var(--wp--preset--spacing--96);
}

.capra-split {
	display: grid;
	grid-template-columns: minmax(0, 460fr) minmax(0, 668fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--80);
	row-gap: var(--wp--preset--spacing--40);
}

.capra-split--media-first {
	grid-template-columns: minmax(0, 668fr) minmax(0, 460fr);
}

.capra-split__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--24);
}

.capra-split__title {
	font-size: var(--wp--preset--font-size--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
	color: var(--wp--custom--token--text-primary);
}

.capra-split__media {
	margin: 0;
}

.capra-split__media img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

/* The app window: rounded 14, lifted off the gradient. */
.capra-app-window img {
	border-radius: var(--wp--custom--radius--md);
	box-shadow: 0 24px 60px -20px rgba(3, 10, 30, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* Figma's diagram, Format = Card: framed as a card on the gradient. */
.capra-diagram img {
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px -24px rgba(3, 10, 30, .55);
}

/* Figma's points: an icon and a semibold line, 12 apart. */
.capra-points {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--label-m);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

/* The icon is placed beside the words, not a flex item, so a point's words flow as one text: a point
   marketing gave a title ("<strong>Title:</strong> sentence", 25 Nov 2026) shows the title on its own
   line and the sentence under it in the body's weight, the icon beside the title. */
.capra-points:has(img + strong) {
	gap: var(--wp--preset--spacing--24);
}

.capra-points > li {
	position: relative;
	padding-inline-start: calc(18px + var(--wp--preset--spacing--12));
}

.capra-points img {
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: calc((1lh - 18px) / 2);
	inline-size: 18px;
	block-size: 18px;
}

.capra-points > li:has(img + strong) {
	font-weight: var(--wp--custom--weight--regular);
	--capra-leading: var(--wp--custom--leading--body);
	color: var(--wp--custom--token--text-body);
}

.capra-points img + strong {   /* the editor wraps the words in one more element */
	display: block;
	margin-block-end: var(--wp--preset--spacing--4);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

/* The SmartFleet row with marketing's words (Jonas, 25 Nov 2026: "the layout needs to host the text
   nicely"): the heading, lead, points and buttons down the text column, the app window beside them, its
   top level with the heading's (Jonas, 1 Dec 2026), under the eyebrow's line. The words stay one group
   (it rises in as one), laid on the row's columns as a subgrid. */
@media (min-width: 901px) {
	.capra-smartfleet .capra-split:has(> .capra-split__text > .capra-points) {
		grid-template-rows: auto auto 1fr;
		align-items: start;
		row-gap: var(--wp--preset--spacing--48);
	}

	.capra-smartfleet .capra-split:has(> .capra-split__text > .capra-points) > .capra-split__text {
		display: grid;
		grid-column: 1 / -1;
		grid-row: 1 / -1;
		grid-template-columns: subgrid;
		grid-template-rows: subgrid;
		align-items: start;
	}

	.capra-smartfleet .capra-split:has(> .capra-split__text > .capra-points) > .capra-split__text > * {
		grid-column: 1;
	}

	.capra-smartfleet .capra-split:has(> .capra-split__text > .capra-points) > .capra-split__media {
		grid-column: 2;
		grid-row: 1 / -1;
	}

	/* Level with the heading's capitals: past the eyebrow's line and the gap under it, then the heading's own
	   line top to its cap line, 0.15 of its size (Nunito Sans 800 at the display leading). */
	.capra-smartfleet .capra-split:has(> .capra-split__text > .capra-section-head__text > .is-style-capra-eyebrow:first-child) > .capra-split__media {
		margin-block-start: calc(round(var(--wp--custom--leading--mono) * var(--wp--preset--font-size--mono-caps-l), 2px) + var(--wp--preset--spacing--16) + .15 * var(--wp--preset--font-size--display-m));
	}
}

/* The Journey inside the section: no band of its own, a hairline above. */
.is-style-capra-section-gradient .capra-cta-band {
	margin: 0;
	padding: var(--wp--preset--spacing--96) 0 0;
	background: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.capra-smartfleet > .wp-block-block {
	margin: 0;
}

@media (max-width: 1024px) {
	.capra-smartfleet {
		gap: var(--wp--preset--spacing--80);
	}

	.capra-split,
	.capra-split--media-first {
		column-gap: var(--wp--preset--spacing--48);
	}

	.is-style-capra-section-gradient .capra-cta-band {
		padding-block-start: var(--wp--preset--spacing--80);
	}
}

@media (max-width: 900px) {
	/* Stacked, the picture is a new idea after the words and their buttons: more room before
	   it than between the words (Jonas, 11 Nov 2026: buttons and pictures sat too close). */
	.capra-split,
	.capra-split--media-first {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--64);
	}

	.capra-split__text > .wp-block-buttons {
		margin-block-start: var(--wp--preset--spacing--8);   /* 32 from the words, not 24 */
	}

	/* The words first, then their picture. */
	.capra-split--media-first > .capra-split__media {
		order: 1;
	}
}

@media (max-width: 744px) {
	.capra-smartfleet {
		gap: var(--wp--preset--spacing--64);
	}

	.is-style-capra-section-gradient .capra-cta-band {
		padding-block-start: var(--wp--preset--spacing--64);
	}
}

/* --- Events and news (Figma "Pattern / events-and-news") ----------------
   The lead story as a big card, and beside it, each under its own label (Jonas,
   22 Oct 2026): the next events, the two latest news and the latest article,
   all one small card (26 Oct: taller, bigger photos, one kind of card). The
   type line sits above every title, as on the Newsroom's cards; an event's
   date is the Newsroom event card's square badge, top left on its photo (26
   Oct). All query loops. */
.capra-latest-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--wp--preset--spacing--24);
}

.capra-lead__list,
.capra-minis__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.capra-lead__card, .capra-mini) {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--card);
	transition: box-shadow .2s ease;
}

:is(.capra-lead__card, .capra-mini):has(a:focus-visible) {
	box-shadow: var(--wp--preset--shadow--raised);
	outline: 2px solid var(--wp--custom--token--border-focus);   /* the card's link covers it */
	outline-offset: 2px;
}

@media (hover: hover) {
	:is(.capra-lead__card, .capra-mini):is(:hover, :has(a:focus-visible)) {
		box-shadow: var(--wp--preset--shadow--raised);
	}
}

/* The two columns end level (Jonas, 27 Oct 2026), both keeping their proportions: the
   big card's photo is 16:9 and grows only when the column beside it is taller; the
   small cards keep their shape, and spare height goes between their groups, never into
   the cards, so one to four cards all look right. Heading and both columns fit one
   laptop screen (about 820 at 1440). */
.capra-lead,
.capra-lead__list,
.capra-lead__list > li {
	block-size: 100%;
}

.capra-lead__card {
	display: flex;
	flex-direction: column;
	block-size: 100%;
}

/* Photos keep all four corners rounded, to the card's edges (Jonas, 23 Oct
   2026): the big card's on top, the small cards' at their start. */
.capra-lead__media {
	position: relative;
	flex: 1 0 auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-lead__image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.capra-lead__image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	transition: scale .6s cubic-bezier(.2, .7, .3, 1);
}

:is(.capra-lead__card, .capra-mini):has(a:focus-visible) :is(.capra-lead__image, .capra-mini__image) img {
	scale: 1.04;
}

@media (hover: hover) {
	:is(.capra-lead__card, .capra-mini):is(:hover, :has(a:focus-visible)) :is(.capra-lead__image, .capra-mini__image) img {
		scale: 1.04;
	}
}

/* An event's date: the Newsroom event card's badge, white, top left. */
:is(.capra-lead__media, .capra-mini__media) > .capra-postcard__date {
	inset-block-start: var(--wp--preset--spacing--16);
	inset-inline-start: var(--wp--preset--spacing--16);
	background: var(--wp--custom--token--bg-surface);
	color: var(--wp--custom--token--text-primary);
}

.capra-mini__media > .capra-postcard__date {
	inset-block-start: var(--wp--preset--spacing--8);
	inset-inline-start: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
	border-radius: var(--wp--custom--radius--sm);
}

.capra-mini__media .capra-postcard__day {
	font-size: var(--wp--preset--font-size--title-l);
}

/* An event's card without its photo (the form's switch, off by default): the date
   alone in the photo's place, as a calendar page, so the news beside it stands out. */
.capra-mini__date {
	aspect-ratio: 3 / 2;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--6);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
	color: var(--wp--custom--token--text-primary);
}

.capra-mini__date .capra-mini__day {
	font-size: var(--wp--preset--font-size--heading-l);
	letter-spacing: var(--wp--custom--tracking--heading-l);
}

.capra-lead__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--32) var(--wp--preset--spacing--32);
}

.capra-lead__title {
	font-size: var(--wp--preset--font-size--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

:is(.capra-lead__title, .capra-mini__title) a {
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

/* The whole card is its title's link. */
:is(.capra-lead__title, .capra-mini__title) a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Under the title, two columns over a hairline (Jonas, 26 Oct 2026): an event's
   when and where, then what it is about; a story without them, its intro alone. */
.capra-lead__details {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--wp--preset--spacing--32);
	margin-block-start: var(--wp--preset--spacing--10);
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-lead__details:not(:has(.capra-lead__facts)) {
	grid-template-columns: minmax(0, 1fr);
}

.capra-lead__facts {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
}

.capra-lead__when,
.capra-lead__where {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--body-m);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-lead__when::before,
.capra-lead__where::before {
	content: "";
	block-size: 1lh;
	background: var(--wp--custom--token--icon-primary);
	-webkit-mask: var(--capra-i-cal) center / 18px no-repeat;
	mask: var(--capra-i-cal) center / 18px no-repeat;
}

.capra-lead__where::before {
	-webkit-mask-image: var(--capra-i-pin);
	mask-image: var(--capra-i-pin);
}

.capra-lead__intro {
	color: var(--wp--custom--token--text-body);
}

.capra-latest-news__side,
.capra-latest-news__events,
.capra-latest-news__news,
.capra-latest-news__articles {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

.capra-latest-news__side {
	justify-content: space-between;
	gap: var(--wp--preset--spacing--24);
}

.capra-latest-news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--12);
}

.capra-latest-news__label {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
}

.capra-latest-news__label::before {
	content: "";
	inline-size: 14px;
	block-size: 14px;
	background: currentColor;
	-webkit-mask: var(--capra-latest-icon) center / contain no-repeat;
	mask: var(--capra-latest-icon) center / contain no-repeat;
}

.capra-latest-news__label--news {
	--capra-latest-icon: var(--capra-i-news);
}

.capra-latest-news__label--events {
	--capra-latest-icon: var(--capra-i-cal);
}

.capra-latest-news__label--articles {
	--capra-latest-icon: var(--capra-i-article);
}

.capra-minis__list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
}

/* The small card: its photo 3:2 at the start, to the card's edges (or an event's
   date there), the type line, the title (two lines at most) and, for an event,
   its place. */
.capra-mini {
	display: grid;
	grid-template-columns: 192px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--24);
	padding-inline-end: var(--wp--preset--spacing--24);
}

.capra-mini__media {
	position: relative;
	display: flex;
}

.capra-mini__image {
	flex: 1;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-mini__image img {
	block-size: 100%;
	object-fit: cover;
	transition: scale .6s cubic-bezier(.2, .7, .3, 1);
}

.capra-mini__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--wp--preset--spacing--6);
	padding-block: var(--wp--preset--spacing--16);
}

.capra-mini__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: 0;
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-mini__place {
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

/* With no upcoming event, a quiet line says more are coming in the cards' place
   (Jonas, 22 Oct 2026; 27 Oct: not under a lone card). The editor always shows it,
   to edit. */
.capra-latest-news__soon {
	display: none;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.capra-latest-news__events:not(:has(.capra-minis__list > li)) .capra-latest-news__soon,
.editor-styles-wrapper .capra-latest-news__soon {
	display: block;
}

@media (max-width: 900px) {
	.capra-latest-news__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-lead__media {
		flex: none;
	}

	.capra-latest-news__side {
		justify-content: flex-start;
	}
}

@media (max-width: 744px) {
	.capra-lead__body {
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
	}

	.capra-lead__details {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}

	.capra-mini {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
		padding-inline-end: var(--wp--preset--spacing--16);
	}

	.capra-mini__title {
		font-size: var(--wp--preset--font-size--title-m);
	}
}

/* Units: a pair in a recessed track, the chosen one raised in it (as the SmartFleet app's toggles; Jonas,
   28 Oct 2026): kg / lb in the selector, Metric / Imperial at the end of the header of a section that
   shows the robot or its specifications. One pick for the whole site (assets/js/units.js; Jonas, 1 Dec 2026). */
.capra-units-toggle {
	display: inline-grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	isolation: isolate;
	padding: 2px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-muted);
	box-shadow: var(--wp--preset--shadow--recessed);
}

/* The raised half slides under the chosen one. */
.capra-units-toggle::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block: 2px;
	inset-inline-start: 2px;
	inline-size: calc(50% - 2px);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--thumb);
	transition: translate .28s cubic-bezier(.32, .72, 0, 1);
}

.capra-units-toggle:has(> button:last-child[aria-pressed="true"])::before {
	translate: 100% 0;
}

.capra-units-toggle button {
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--12);
	border: 0;
	border-radius: var(--wp--custom--radius--full);
	background: none;
	color: var(--wp--custom--token--text-muted);
	font: inherit;
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--bold);
	cursor: pointer;
	transition: color .2s ease-out;
}

@media (hover: hover) {
	.capra-units-toggle button:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

.capra-units-toggle button[aria-pressed="true"] {
	color: var(--wp--custom--token--text-link);
}

.capra-units-toggle button:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 1px;
}

.capra-units-toggle[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.capra-units-toggle::before {
		transition: none;
	}
}

/* --- Use cases (inc/use-cases.php; marketing with Jonas, 30 Oct 2026) -------
   A solution's own page, filled from its form. The job: the goal as the section's
   headline, what it is worth beside the challenge (two columns, each under a hairline),
   then the visitor's problems as a grid of cards, in their words. */
/* The goal is a sentence, not a slogan: a size down from the section titles, at reading width. */
.capra-job .capra-section-head__title {
	max-inline-size: 28ch;
	font-size: var(--wp--preset--font-size--heading-xl);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
}

.capra-job__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--48);
	margin-block-start: var(--wp--preset--spacing--40);
}

.capra-job__part,
.capra-values__part {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid var(--wp--custom--token--border-default);
}

.capra-job__part > p:last-child {
	max-inline-size: 52ch;
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

/* What drives Capra (Jonas, 5 Nov 2026, three rounds): the eyebrow "Our purpose", then the
   vision and the mission as two labelled cards right under it ("Vision" over a line read
   stale; unlabelled cards left him asking why they were there), then the values. The vision
   over a photo of a robot leaving a warehouse (everywhere they go); the mission (one
   powerful platform helping people in many parts of life) under one platform in three jobs.
   The section's own 40 gap would stack on these margins, so here the margins alone space it. */
.is-style-capra-section.capra-values {
	row-gap: 0;
}

.capra-statements {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--16);
}

.capra-statement {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--wp--preset--spacing--24);
	min-block-size: 340px;
	padding: var(--wp--preset--spacing--40);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-statement__photo {
	position: absolute;
	inset: 0;
	margin: 0;
}

.capra-statement__photo img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* A gentle floor under the words, not a wash over the picture. */
.capra-statement--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--wp--custom--token--bg-brand) 82%, transparent) 0%, color-mix(in srgb, var(--wp--custom--token--bg-brand) 0%, transparent) 62%);
	pointer-events: none;
}

.capra-statement__text {
	position: relative;
	z-index: 1;
	max-inline-size: 24ch;
	font-size: var(--wp--preset--font-size--heading-l);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
	color: var(--wp--custom--token--text-primary);
	text-wrap: balance;
}

.capra-statement--modules {
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
}

.capra-statement__modules {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--8);
	margin-block-end: auto;
}

.capra-statement__module {
	flex: 1 1 0;
	margin: 0;
}

/* The renders sit on an off-white plate: multiplied, the plate takes the card's grey. */
.capra-statement__module img {
	display: block;
	inline-size: 100%;
	block-size: 136px;
	object-fit: contain;
	object-position: bottom;
	mix-blend-mode: multiply;
}

/* "Our vision", "Our mission": the mono label "Our values" uses, over the words. */
.capra-statement > .is-style-capra-mono {
	position: relative;
	z-index: 1;
}

.capra-statement > .is-style-capra-mono + .capra-statement__text {
	margin-block-start: calc(-1 * var(--wp--preset--spacing--12));
}

/* The vision as one big card over the mission and the values side by side (Jonas, 6 Nov
   2026: marketing's one values statement as a card of its own). */
.capra-statement--wide {
	grid-column: 1 / -1;
	min-block-size: 440px;
}

/* A photo of people: their faces, past the sign above them, and a deeper floor under the
   words, which sit on their suits rather than an even backdrop. */
.capra-statement__photo--people img {
	object-position: 50% 58%;
}

.capra-statement--photo:has(.capra-statement__photo--people)::after {
	background: linear-gradient(to top, color-mix(in srgb, var(--wp--custom--token--bg-brand) 90%, transparent) 0%, color-mix(in srgb, var(--wp--custom--token--bg-brand) 70%, transparent) 45%, color-mix(in srgb, var(--wp--custom--token--bg-brand) 0%, transparent) 80%);
}

/* Marketing's line under each headline (6 Nov 2026), close to it. */
.capra-statement__line {
	position: relative;
	z-index: 1;
	max-inline-size: 40ch;
	margin-block-start: calc(-1 * var(--wp--preset--spacing--12));
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

/* On a photo a label reads at a glance: 12px and semibold. */
.capra-statement--photo > .is-style-capra-mono {
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-pains {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
	margin-block-start: var(--wp--preset--spacing--64);
}

.capra-pain {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-pain > h3 {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-pain > p {
	color: var(--wp--custom--token--text-body);
}

/* The solution at work: the film across the column, all corners rounded, a silent
   loop (hero.js starts it near the screen); the text under it, at reading width. */
.capra-film {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
}

.capra-film__video {
	margin: 0;
}

.capra-film__video video,
.capra-film__video img {   /* img: the still of a YouTube film, its play button laid over by media-video.js */
	display: block;
	inline-size: 100%;
	block-size: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--custom--token--bg-muted);
}

.capra-film__text {
	max-inline-size: 640px;
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

/* --- Company page (patterns/company-*.php; marketing with Jonas, 30 Oct 2026) ---
   The promise as the headline, the vision beside the mission (the job's pair), then
   the values in a row, each a title and a line under a hairline. */
.capra-values__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--32);
	margin-block-start: var(--wp--preset--spacing--48);
}

.capra-values__list > :is(.is-style-capra-mono, .capra-values__title, .capra-values__line) {
	grid-column: 1 / -1;
}

/* Marketing's values statement over the four (6 Nov 2026): a headline and its line. */
.capra-values__title {
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-values__line {
	max-inline-size: 60ch;
	margin-block: calc(-1 * var(--wp--preset--spacing--8)) var(--wp--preset--spacing--16);
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

/* Each value's illustration over its title: Figma's monoline duotone, navy line and
   baby-blue fill, no tile (Jonas, 5 Nov 2026). */
.capra-values__icon {
	margin-block-end: var(--wp--preset--spacing--4);
}

.capra-values__icon img {
	display: block;
	inline-size: 48px;
	block-size: 48px;
}

.capra-values__list > .capra-values__part > h3 {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-values__list > .capra-values__part > p {
	color: var(--wp--custom--token--text-body);
}

/* Our story's timeline. As blocks, on phones and with reduced motion: a list down the
   page, a line on the left and a dot at each year. On a desktop timeline.js makes it a
   stage that stays while the milestones move past three at a time, the eras beside them
   with a marker on the one in view (marketing, 30 Oct 2026; one at a time, Jonas 5 Nov). */
.capra-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--32);
	margin-block-start: var(--wp--preset--spacing--48);
	padding-inline-start: var(--wp--preset--spacing--32);
}

.capra-timeline::before {
	content: "";
	position: absolute;
	inset-block: var(--wp--preset--spacing--8);
	inset-inline-start: 7px;
	inline-size: 2px;
	background: var(--wp--custom--token--border-default);
}

.capra-timeline .capra-milestone {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	max-inline-size: 640px;
}

.capra-timeline .capra-milestone::before {
	content: "";
	position: absolute;
	inset-block-start: 6px;
	inset-inline-start: calc(-1 * var(--wp--preset--spacing--32) + 2px);
	inline-size: 12px;
	block-size: 12px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-page);
	box-shadow: inset 0 0 0 2px var(--wp--custom--token--bg-action);
}

.capra-milestone__year {
	font-size: var(--wp--preset--font-size--heading-l);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-l);
	--capra-leading: var(--wp--custom--leading--heading-l);
	color: var(--wp--custom--token--text-primary);
}

.capra-timeline .capra-milestone > h3 {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-timeline .capra-milestone > p:last-child {
	color: var(--wp--custom--token--text-body);
}

/* An era's years and line head its first milestone in the list; on a desktop they stand
   beside the track instead (timeline.js). Any Image block in a milestone is its picture, over
   its year: marketing adds or removes one with no class to set (Jonas, 5 Nov 2026). A month,
   where one is given, follows the year on its line, in the era's type (Jonas, 19 Nov 2026). */
.capra-milestone__era,
.capra-milestone__month {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

/* Beside the year it keeps the label's own weight, a little way off. */
.capra-milestone__month {
	margin-inline-start: var(--wp--preset--spacing--8);
	font-weight: var(--wp--custom--weight--regular);
}

.capra-milestone__era-line {
	margin-block-end: var(--wp--preset--spacing--8);
	color: var(--wp--custom--token--text-body);
}

.capra-milestone > .wp-block-image {
	max-inline-size: 400px;
	margin: var(--wp--preset--spacing--4) 0;
}

/* A hairline edge, so a drawing on white still reads as a picture in a frame. */
.capra-milestone > .wp-block-image img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--md);
	outline: 1px solid var(--wp--custom--token--border-subtle);
	outline-offset: -1px;
}

/* Phones, timeline.js: an era a row that swipes sideways under its years and line (Jonas,
   11 Nov 2026). The row runs to the screen's edges, starts on the gutter and shows a slice
   of the next milestone, so it reads as one to swipe; no line or dots down the side. */
@media (max-width: 744px) {
	.capra-timeline.is-rows {
		gap: var(--wp--preset--spacing--48);
		padding-inline-start: 0;
	}

	.capra-timeline.is-rows::before,
	.capra-timeline.is-rows .capra-milestone::before {
		display: none;
	}

	.capra-timeline__group {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--16);
	}

	.capra-timeline__group-head > * {
		margin: 0;
	}

	.capra-timeline__group-head > .capra-milestone__era-line {   /* the era's title, over its row */
		font-weight: var(--wp--custom--weight--semibold);
		color: var(--wp--custom--token--text-primary);
	}

	.capra-timeline__row {
		display: flex;
		gap: var(--wp--preset--spacing--16);
		margin-inline: calc(-1 * var(--wp--style--root--padding-left)) calc(-1 * var(--wp--style--root--padding-right));
		padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--wp--style--root--padding-left);
		scrollbar-width: none;
	}

	.capra-timeline__row::-webkit-scrollbar {
		display: none;
	}

	.capra-timeline.is-rows .capra-milestone {
		display: flex;
		flex: 0 0 min(80%, 300px);
		flex-direction: column;
		gap: var(--wp--preset--spacing--8);
		scroll-snap-align: start;
	}

	.capra-timeline.is-rows .capra-milestone > .wp-block-image {
		max-inline-size: none;
		margin: 0 0 var(--wp--preset--spacing--8);
	}

	.capra-timeline.is-rows .capra-milestone__year {
		font-size: var(--wp--preset--font-size--heading-m);
		letter-spacing: var(--wp--custom--tracking--heading-m);
		--capra-leading: var(--wp--custom--leading--heading-m);
	}
}

.capra-timeline__stage {
	display: contents;
}

.capra-timeline__track {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--32);
}

.capra-timeline__nav,
.capra-timeline__arrows {
	display: none;
}

@media (min-width: 1024px) {
	.capra-timeline.is-playing {
		display: block;
		block-size: var(--capra-timeline-length);
		padding: 0;
	}

	.capra-timeline.is-playing::before {
		display: none;
	}

	.is-playing > .capra-timeline__stage {
		position: sticky;
		inset-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp-admin--admin-bar--height, 0px));
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-content: start;
		column-gap: var(--wp--preset--spacing--48);
		block-size: calc(100svh - var(--wp--custom--layout--header-height) - var(--wp-admin--admin-bar--height, 0px));
		padding-block-start: var(--wp--preset--spacing--48);
	}

	/* The story starts at the stage's top, 48 under the bar while it holds (Jonas, 1 Dec 2026: centred in a screen-tall
	   stage it left a tall screen's worth of white above History); the section's own top room makes up the rest of
	   a section's 80. */
	.capra-our-story:has(> .capra-timeline.is-playing) {
		padding-block-start: var(--wp--preset--spacing--32);
	}

	.is-playing > .capra-timeline__stage > .capra-section-head {
		grid-row: 1;
		grid-column: 1 / -1;
		margin-block-end: var(--wp--preset--spacing--64);
	}

	.is-playing .capra-timeline__nav {
		position: relative;
		grid-row: 2;
		display: block;
		align-self: start;
	}

	.capra-timeline__nav ol {
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.capra-timeline__nav button {
		padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--16);
		border: 0;
		background: none;
		color: var(--wp--custom--token--text-muted);
		font-family: var(--wp--preset--font-family--mono);
		font-size: var(--wp--preset--font-size--mono-number);
		cursor: pointer;
		transition: color .3s ease;
	}

	.capra-timeline__nav button.is-on {
		color: var(--wp--custom--token--text-primary);
		font-weight: var(--wp--custom--weight--bold);
	}

	@media (hover: hover) {
		.capra-timeline__arrow:not(:disabled):hover {
			background: var(--wp--custom--token--bg-action-subtle);
			box-shadow: inset 0 0 0 1px var(--wp--custom--token--bg-action);
		}
	}

	.capra-timeline__nav button:focus-visible {
		border-radius: var(--wp--custom--radius--sm);
		outline: 2px solid var(--wp--custom--token--border-focus);
		outline-offset: 2px;
	}

	/* The marker on the era in view (the middle milestone's): it moves with them; 4 wide, its ends
	   rounded (Jonas, 1 Dec 2026: 2 looked thin). */
	.capra-timeline__marker {
		position: absolute;
		inset-block-start: 0;
		inset-inline-start: 0;
		inline-size: 4px;
		border-radius: var(--wp--custom--radius--full);
		background: var(--wp--custom--token--bg-action);
	}

	.capra-timeline__viewport {
		grid-row: 2;
		overflow: hidden;
	}

	/* Back and on (timeline.js), at the right over the milestones, on the heading's row so the stage
	   keeps its height. */
	.is-playing .capra-timeline__arrows {
		grid-row: 1;
		grid-column: 2;
		justify-self: end;
		align-self: end;
		display: flex;
		gap: var(--wp--preset--spacing--12);
		margin-block-end: var(--wp--preset--spacing--16);
	}

	.capra-timeline__arrow {
		inline-size: 48px;
		block-size: 48px;
		padding: 0;
		border: 0;
		border-radius: var(--wp--custom--radius--full);
		background: var(--wp--custom--token--bg-surface);
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-default);
		color: var(--wp--custom--token--text-primary);
		cursor: pointer;
		transition: box-shadow .2s ease, background-color .2s ease, opacity .2s ease;
	}

	.capra-timeline__arrow::before {
		content: "";
		display: block;
		inline-size: 20px;
		block-size: 20px;
		margin: auto;
		background: currentColor;
		-webkit-mask: var(--capra-i-arrow-l) center / contain no-repeat;
		mask: var(--capra-i-arrow-l) center / contain no-repeat;
	}

	/* One arrow, mirrored: the site's right arrow is drawn for the ring and reads smaller. */
	.capra-timeline__arrow--on::before {
		scale: -1 1;
	}

	.capra-timeline__arrow:disabled {
		opacity: .35;
		cursor: default;
	}

	.capra-timeline__arrow:focus-visible {
		outline: 2px solid var(--wp--custom--token--border-focus);
		outline-offset: 2px;
	}

	/* One line through the years, a dot on it at each; the cards hang under it. */
	.capra-timeline__track {
		position: relative;
		flex-direction: row;
		inline-size: max-content;
		gap: var(--wp--preset--spacing--32);
		padding-block-start: var(--wp--preset--spacing--48);
		will-change: transform;
	}

	.capra-timeline__track::before {
		content: "";
		position: absolute;
		inset-block-start: 11px;
		inset-inline: 0;
		block-size: 2px;
		background: var(--wp--custom--token--border-default);
	}

	.capra-timeline__track > .capra-milestone {
		flex: 0 0 calc((var(--capra-timeline-w) - 2 * var(--wp--preset--spacing--32)) / 3);
		max-inline-size: none;
	}

	.capra-timeline__track > .capra-milestone::before {
		inset-block-start: calc(-1 * var(--wp--preset--spacing--48) + 6px);
		inset-inline-start: 0;
	}

	.capra-timeline__track .capra-milestone__year {
		font-size: var(--wp--preset--font-size--display-m);
		letter-spacing: var(--wp--custom--tracking--display-m);
		--capra-leading: var(--wp--custom--leading--display-m);
	}

	/* The eras beside the track: the years, then the line, so the story reads down the side. */
	.is-playing > .capra-timeline__stage:has(.capra-timeline__nav.has-eras) {
		grid-template-columns: 248px minmax(0, 1fr);
	}

	.capra-timeline__nav.has-eras ol {
		gap: var(--wp--preset--spacing--4);
	}

	.capra-timeline__nav.has-eras button {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--wp--preset--spacing--2);
		padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
		text-align: start;
	}

	.capra-timeline__era-line {
		font-family: var(--wp--preset--font-family--sans);
		font-size: var(--wp--preset--font-size--body-s);
		font-weight: var(--wp--custom--weight--regular);
		color: var(--wp--custom--token--text-muted);
	}

	.capra-timeline__nav button.is-on .capra-timeline__era-line {
		color: var(--wp--custom--token--text-body);
	}

	.capra-timeline__track .capra-milestone__era,
	.capra-timeline__track .capra-milestone__era-line {
		display: none;
	}

	/* The photos hang above the line, each over its year; milestones without one leave the
	   row empty, so the line runs straight. */
	.capra-timeline__track {
		--capra-photo-h: 160px;
	}

	.capra-timeline__track:has(.capra-milestone > .wp-block-image) {
		padding-block-start: calc(var(--capra-photo-h) + var(--wp--preset--spacing--16) + var(--wp--preset--spacing--48));
	}

	.capra-timeline__track:has(.capra-milestone > .wp-block-image)::before {
		inset-block-start: calc(var(--capra-photo-h) + var(--wp--preset--spacing--16) + 11px);
	}

	/* Short of room (timeline.js), the pictures get smaller so every line stays in view. */
	.capra-timeline.is-tight .capra-timeline__track {
		--capra-photo-h: 112px;
	}

	.capra-timeline__track .capra-milestone > .wp-block-image {
		position: absolute;
		inset-block-start: calc(-1 * (var(--capra-photo-h) + var(--wp--preset--spacing--16) + var(--wp--preset--spacing--48)));
		inset-inline-start: 0;
		inline-size: calc(var(--capra-photo-h) * 1.5);
		max-inline-size: none;
		margin: 0;
	}
}

@media (max-width: 1024px) {
	.capra-pains {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.capra-values__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 744px) {
	.capra-statements {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-statement {
		min-block-size: 360px;
		padding: var(--wp--preset--spacing--24);
	}

	/* The headline and its line fill more of a phone's card: more photo above them, and the
	   floor reaching up to the label. */
	.capra-statement--photo {
		min-block-size: 440px;
	}

	.capra-statement--photo::after {
		background: linear-gradient(to top, color-mix(in srgb, var(--wp--custom--token--bg-brand) 86%, transparent) 0%, color-mix(in srgb, var(--wp--custom--token--bg-brand) 60%, transparent) 48%, color-mix(in srgb, var(--wp--custom--token--bg-brand) 0%, transparent) 82%);
	}

	.capra-statement__text {
		font-size: var(--wp--preset--font-size--heading-m);
		letter-spacing: var(--wp--custom--tracking--heading-m);
		--capra-leading: var(--wp--custom--leading--heading-m);
	}

	.capra-statement__module img {
		block-size: 96px;
	}

	.capra-values__list,
	.capra-job__split,
	.capra-pains {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}

	.capra-pains {
		margin-block-start: var(--wp--preset--spacing--40);
	}
}

/* --- Solutions page (Figma 05 Pages, Page · Solutions) --------------------
   The anchor strip, a row per solution, the photo crossing into service and
   support, the service packages, the customer case. Other applications are
   "Card · Solution"s and resources "Card · Download"s, as elsewhere. */

/* The band a category hero leaves under it (its height), the start of the page:
   what follows, each a link down to its section (Jonas, 26 Oct 2026: the pills and
   the line "not professional"): three equal columns between hairlines, each the
   solution's own robot (the selector's render on the studio grey of Home's robot
   cards; Jonas, 27 Oct 2026: icons read amateurish) beside its name and job; the
   whole column is the link. */
/* The band itself, shared with the Robots page's number strip: a column per item, three
   solutions today, four verticals later (Jonas, 16 Nov 2026). */
.capra-anchors,
.capra-numbers {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	align-items: center;
	min-block-size: var(--wp--custom--hero--strip-height);
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	padding:
		var(--wp--preset--spacing--16)
		calc(var(--wp--custom--layout--margin) + max(0px, (100% - var(--wp--style--global--content-size)) / 2));
	background: var(--wp--custom--token--bg-page);
}

/* Solutions' band holds the solutions' robots, so it is taller than the logo band, with
   the same air over and under them as Home's logos (marketing, 30 Oct 2026); its hero
   leaves room for it. Phones show the names only, in the usual band. */
@media (min-width: 901px) {
	.capra-hero.wp-block-cover.is-style-capra-hero-left:has(+ .capra-anchors) {
		--capra-hero-below: var(--wp--custom--hero--anchors-height);
	}

	.capra-anchors {
		min-block-size: var(--wp--custom--hero--anchors-height);
	}
}

.capra-anchor {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	/* The name and job are one block centred on the robot, the job always two lines
	   high, so the names line up and three rows keep air under them (Jonas, 4 Nov 2026). */
	grid-template-rows: 1fr auto auto 1fr;
	column-gap: var(--wp--preset--spacing--16);
	padding-inline: var(--wp--preset--spacing--24);
	border-inline-start: 1px solid var(--wp--custom--token--border-default);
}

.capra-anchor:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

/* The robot with its whole soft shadow (work/solutions-band/crop.py; Jonas, 19 Nov 2026: the
   tight crops cut it), standing on the tile's foot; the shadow's fade is the air at the sides. */
.capra-anchor__art {
	grid-row: 1 / -1;
	align-self: center;
	inline-size: 112px;
	block-size: 72px;
	margin: 0;
	padding: var(--wp--preset--spacing--6) 0 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-anchor__art img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	object-position: center bottom;
	transition: translate .4s cubic-bezier(.2, .7, .3, 1);
}

.capra-anchor__name {
	grid-row: 2;
	font-size: var(--wp--preset--font-size--title-m);
	font-weight: var(--wp--custom--weight--bold);
	--capra-leading: var(--wp--custom--leading--title);
	color: var(--wp--custom--token--text-primary);
}

.capra-anchor__name a {
	color: inherit;
	text-decoration: none;
}

.capra-anchor__name a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.capra-anchor__job {
	grid-row: 3;
	min-block-size: 2lh;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.capra-anchor:has(a:focus-visible) .capra-anchor__art img {
	translate: 0 -3px;
}

@media (hover: hover) {
	.capra-anchor:is(:hover, :has(a:focus-visible)) .capra-anchor__art img {
		translate: 0 -3px;
	}
}

.capra-anchor:has(a:focus-visible) .capra-anchor__name {
	color: var(--wp--custom--token--text-link);
}

@media (hover: hover) {
	.capra-anchor:is(:hover, :has(a:focus-visible)) .capra-anchor__name {
		color: var(--wp--custom--token--text-link);
	}
}

/* Larger robots (Jonas, 4 Nov 2026): the band's full height inside its padding, once
   the columns are wide enough that the job still fits in two rows. */
@media (min-width: 1280px) {
	.capra-anchor {
		grid-template-columns: 148px minmax(0, 1fr);
	}

	.capra-anchor__art {
		inline-size: 148px;
		block-size: 96px;
	}
}

/* A row per solution (Figma alternating-rows): photo 640 x 460, rounded and
   raised; the headline Heading/XL; three figures over a hairline. */
.capra-solution-rows {
	gap: var(--wp--preset--spacing--64);
}

.capra-solution-rows__list,
.capra-chapters {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--120);
}

.capra-solution-row .capra-split__media img,
.capra-chapters .capra-split__media img {
	aspect-ratio: 640 / 460;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--raised);
}

.capra-solution-row .capra-split__title {
	font-size: var(--wp--preset--font-size--heading-xl);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
}

/* The figures in the robot cards' strip (Jonas, 5 Nov 2026), on the cards' own grey: the
   row sits on white, where the strip's white would not show. It runs the width of the
   text, three equal cells, so it ends on the lines' edge and reads as a datasheet. */
.capra-solution-row .capra-stat-strip {
	container-type: inline-size;
	align-self: stretch;
	background: var(--wp--custom--token--bg-subtle);
}

.capra-solution-row .capra-stat-strip > .is-style-capra-stat {
	flex: 1 1 0;
	min-inline-size: max-content;
}

.capra-solution-row .capra-stat-strip .is-style-capra-stat > :first-child {
	font-size: var(--wp--preset--font-size--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

/* A figure never breaks ("All-weather"): in a narrow box (on phones, and beside the photo
   on tablets) the figures go a step smaller and the cells tighten. */
@container (max-width: 410px) {
	.capra-solution-row .capra-stat-strip > .is-style-capra-stat {
		padding-inline: var(--wp--preset--spacing--8);
	}

	.capra-solution-row .capra-stat-strip .is-style-capra-stat > :first-child {
		font-size: var(--wp--preset--font-size--heading-xs);
	}
}

@container (max-width: 280px) {
	.capra-solution-row .capra-stat-strip > .is-style-capra-stat {
		padding-inline: var(--wp--preset--spacing--4);
	}

	.capra-solution-row .capra-stat-strip .is-style-capra-stat > :first-child {
		font-size: var(--wp--preset--font-size--title-l);
	}
}

/* The photo crossing into the next section (Jonas, 23 and 28 Oct 2026): half on the
   white above, half over the gradient section itself, which starts at the photo's
   middle and runs on behind it, one gradient with no band of its own. The photo's
   half height is a share of its width (its 1200 x 440 shape), so the overlap and the
   room the gradient section makes for it need no measuring: margins and paddings in
   % are of the width. */
.capra-crossing {
	--capra-crossing-half: calc(440 / 2400 * 100%);
	position: relative;
	z-index: 1;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	padding-inline: calc(var(--wp--custom--layout--margin) + max(0px, (100% - var(--wp--style--global--content-size)) / 2));
}

/* Into a gradient section: the photo's lower half over it. */
.capra-crossing:has(+ .is-style-capra-section-gradient) .capra-crossing__photo {
	margin-block-end: calc(-1 * var(--capra-crossing-half));
}

/* Out of one, the other way round: its upper half over the section above. */
.is-style-capra-section-gradient + .capra-crossing .capra-crossing__photo {
	margin-block-start: calc(-1 * var(--capra-crossing-half));
}

.capra-crossing__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--raised);
}

.capra-crossing__photo img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 1200 / 440;
	object-fit: cover;
}

.capra-crossing__photo figcaption {
	position: absolute;
	inset: auto 0 0;
	margin: 0;
	padding: var(--wp--preset--spacing--64) var(--wp--preset--spacing--32) var(--wp--preset--spacing--24);
	background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--wp--custom--token--bg-band-bottom) 70%, transparent));
	font-size: var(--wp--preset--font-size--heading-xs);
	font-weight: var(--wp--custom--weight--bold);
	--capra-leading: var(--wp--custom--leading--title);
	text-align: start;
	color: var(--wp--custom--token--on-media);
}

/* Room on both sides, 200 (Jonas, 27 and 28 Oct 2026: more than a section's usual 80).
   A gradient section beside the photo also makes room for the half of it that lies on
   it: the photo's width is min(page column, content) and the % below are of the page
   column, so the two meet exactly. */
.capra-crossing + .is-style-capra-section {
	padding-block-start: calc(var(--wp--preset--spacing--120) + var(--wp--preset--spacing--80));
}

.capra-crossing + .is-style-capra-section-gradient {
	padding-block-start: calc(min(100%, var(--wp--style--global--content-size)) * 440 / 2400 + var(--wp--preset--spacing--120) + var(--wp--preset--spacing--80));
}

.is-style-capra-section:has(+ .capra-crossing) {
	padding-block-end: calc(var(--wp--preset--spacing--120) + var(--wp--preset--spacing--80));
}

.is-style-capra-section-gradient:has(+ .capra-crossing) {
	padding-block-end: calc(min(100%, var(--wp--style--global--content-size)) * 440 / 2400 + var(--wp--preset--spacing--120) + var(--wp--preset--spacing--80));
}

@media (max-width: 744px) {
	/* The photo is 4:3 on phones. */
	.capra-crossing {
		--capra-crossing-half: calc(3 / 8 * 100%);
	}

	.capra-crossing + .is-style-capra-section {
		padding-block-start: var(--wp--preset--spacing--96);
	}

	.capra-crossing + .is-style-capra-section-gradient {
		padding-block-start: calc(min(100%, var(--wp--style--global--content-size)) * 3 / 8 + var(--wp--preset--spacing--96));
	}

	.is-style-capra-section:has(+ .capra-crossing) {
		padding-block-end: var(--wp--preset--spacing--96);
	}

	.is-style-capra-section-gradient:has(+ .capra-crossing) {
		padding-block-end: calc(min(100%, var(--wp--style--global--content-size)) * 3 / 8 + var(--wp--preset--spacing--96));
	}
}

/* Service packages (Figma service-tiers; Jonas, 27 Oct 2026): three cards on the
   gradient that read as three levels. Essential is bare (a hairline), Standard,
   recommended, is wider, taller and raised, Premium is the richest (a deeper fill, an
   accent edge and Capra's ring arc in its corner). Each: its mark, name, line, the
   button, then what it includes under a hairline. Styles: "Card · Service package",
   "· Featured", "· Top tier". The section gets more air than a usual one. */
.capra-service {
	gap: var(--wp--preset--spacing--64);
	padding-block-end: var(--wp--preset--spacing--120);
}

.capra-packages {
	--capra-package-accent: var(--wp--custom--token--icon-accent);
	display: grid;
	grid-template-columns: minmax(0, 360fr) minmax(0, 432fr) minmax(0, 360fr);
	align-items: center;
	gap: var(--wp--preset--spacing--24);
}

:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) {
	--capra-package-pad: var(--wp--preset--spacing--40);
	--capra-package-line: color-mix(in srgb, var(--wp--custom--token--text-primary) 16%, transparent);
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--8);
	overflow: hidden;
	padding: var(--capra-package-pad);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: inset 0 0 0 1px var(--capra-package-line);
	transition: box-shadow .25s ease, translate .25s cubic-bezier(.2, .7, .3, 1), background-color .25s ease;
}

/* Essential: bare, the gradient through it. */
.is-style-capra-package {
	background: transparent;
}

/* Standard: recommended, wider and taller than the two beside it (Jonas, 1 Dec 2026: a bit taller still). */
.is-style-capra-package-featured {
	--capra-package-line: color-mix(in srgb, var(--wp--custom--token--text-primary) 30%, transparent);
	--capra-package-pad-block: calc(var(--capra-package-pad) + var(--wp--preset--spacing--48));
	padding-block: var(--capra-package-pad-block);
	background: color-mix(in srgb, var(--wp--custom--token--text-primary) 9%, transparent);
	box-shadow: inset 0 0 0 1px var(--capra-package-line), var(--wp--preset--shadow--raised);
}

/* Premium: the richest; its accent along the top edge, Capra's ring arc in the corner. */
.is-style-capra-package-premium {
	--capra-package-line: color-mix(in srgb, var(--capra-package-accent) 34%, transparent);
	background:
		radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--capra-package-accent) 16%, transparent), transparent 70%),
		color-mix(in srgb, var(--wp--custom--token--text-primary) 6%, transparent);
}

.is-style-capra-package-premium::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset-block-start: -60px;
	inset-inline-end: -90px;
	inline-size: 260px;
	aspect-ratio: 1;
	background: url("../img/ring-arc.svg") center / contain no-repeat;
	opacity: .5;
	pointer-events: none;
}

/* Hovered, a card lifts and its button's ring fills, as a solution card's. */
:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium):has(a:focus-visible) {
	translate: 0 calc(-1 * var(--wp--preset--spacing--4));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--custom--token--text-primary) 36%, transparent), var(--wp--preset--shadow--raised);
}

@media (hover: hover) {
	:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium):is(:hover, :has(a:focus-visible)) {
		translate: 0 calc(-1 * var(--wp--preset--spacing--4));
		box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--custom--token--text-primary) 36%, transparent), var(--wp--preset--shadow--raised);
	}
}

:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium):has(a:focus-visible) .wp-block-button__link::after {
	--capra-sweep: 360deg;
	--capra-ring-fill: #000;
	transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s;
	-webkit-mask-position: calc(50% + 2px) 50%, center, center;
	mask-position: calc(50% + 2px) 50%, center, center;
}

@media (hover: hover) {
	:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium):is(:hover, :has(a:focus-visible)) .wp-block-button__link::after {
		--capra-sweep: 360deg;
		--capra-ring-fill: #000;
		transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s;
		-webkit-mask-position: calc(50% + 2px) 50%, center, center;
		mask-position: calc(50% + 2px) 50%, center, center;
	}
}

/* The mark: the tool in the site's ring, its arc filled to the level and glowing
   softly; the ring is about 73 (the file carries room for the glow, hence the negative
   margins, which keep the ring itself on the text's edge). */
:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) > .capra-package__art {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.capra-package__art img {
	display: block;
	inline-size: auto;
	block-size: 104px;
	margin: -10px 0 -10px -10px;
}

:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) > h3 {
	font-size: var(--wp--preset--font-size--heading-m);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
}

/* "Recommended" in the card's top right corner (Jonas, 1 Dec 2026: it pushed the name down, then sat too small and
   too far in; then rounded all round): a pill tucked into the corner, in the action blue of the card's button, the
   largest mono caps. */
.is-style-capra-package-featured > .is-style-capra-chip {
	position: absolute;
	inset-block-start: var(--wp--preset--spacing--16);
	inset-inline-end: var(--wp--preset--spacing--16);
	margin: 0;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--14);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-action);
	box-shadow: none;
	color: var(--wp--custom--token--text-on-action);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	letter-spacing: var(--wp--custom--tracking--mono-caps-s);
}

:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) > .wp-block-buttons {
	margin-block: var(--wp--preset--spacing--16);
}

.capra-package__label {
	align-self: stretch;
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid var(--capra-package-line);
	font-size: var(--wp--preset--font-size--title-m);
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

/* Figma "List item · Check": a check in the link colour before each line. */
.wp-block-list.is-style-capra-checks {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-style-capra-checks > li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--10);
	margin: 0;
	color: var(--wp--custom--token--text-body);
}

.is-style-capra-checks > li::before {
	content: "";
	inline-size: 16px;
	block-size: 1lh;
	background: var(--wp--custom--token--text-link);
	-webkit-mask: var(--capra-i-check) center / 16px no-repeat;
	mask: var(--capra-i-check) center / 16px no-repeat;
}

/* The customer case (Figma case-feature): the photo 640 x 400, the words, who
   said it, one result over a hairline. It is a Query Loop of one testimonial
   (patterns/case-feature.php): its list wrappers step aside. */
.capra-case-section > .wp-block-post-template,
.capra-case-section > .wp-block-post-template > li {
	display: contents;
}

.capra-case .capra-split__media img {
	aspect-ratio: 640 / 400;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--raised);
}

.capra-case__quote {
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
	text-wrap: balance;
}

.capra-case__who {
	color: var(--wp--custom--token--text-body);
}

.capra-case__result {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--wp--preset--spacing--12);
	align-self: stretch;
	padding-block-start: var(--wp--preset--spacing--16);
	border-block-start: 1px solid var(--wp--custom--token--border-default);
}

.capra-case__result > :first-child {
	font-size: var(--wp--preset--font-size--heading-xl);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
	color: var(--wp--custom--token--text-primary);
}

.capra-case__result > :last-child {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

@media (max-width: 1024px) {
	.capra-solution-rows__list,
	.capra-chapters {
		gap: var(--wp--preset--spacing--96);
	}

	.capra-anchor {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-anchor__art {
		display: none;
	}

	.capra-packages {
		grid-template-columns: minmax(0, 1fr);
		max-inline-size: 560px;
		margin-inline: auto;
	}
}

@media (max-width: 900px) {
	.capra-anchors,
	.capra-numbers {
		min-block-size: var(--wp--custom--hero--strip-height-mobile);
	}

	.capra-solution-rows__list,
	.capra-chapters {
		gap: var(--wp--preset--spacing--64);
	}

	.capra-solution-row .capra-split__title {
		font-size: var(--wp--preset--font-size--heading-l);
		letter-spacing: var(--wp--custom--tracking--heading-l);
		--capra-leading: var(--wp--custom--leading--heading-l);
	}
}

/* Phones: each robot above its name, centred, the job left off; four items (the verticals,
   later) two by two, pictures and all (Jonas, 16 Nov 2026). The hero leaves the band its height. */
@media (max-width: 744px) {
	.capra-hero.wp-block-cover.is-style-capra-hero-left:has(+ .capra-anchors) {
		--capra-hero-below: var(--wp--custom--hero--anchors-height-mobile);
	}

	.capra-anchors {
		align-items: stretch;      /* the robots on one line, the hairlines full height */
		min-block-size: var(--wp--custom--hero--anchors-height-mobile);
	}

	.capra-hero.wp-block-cover.is-style-capra-hero-left:has(+ .capra-anchors > :nth-child(4)) {
		--capra-hero-below: var(--wp--custom--hero--anchors-height-mobile-two-rows);
	}

	.capra-anchors:has(> :nth-child(4)) {
		min-block-size: var(--wp--custom--hero--anchors-height-mobile-two-rows);
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--16);
	}

	.capra-anchors:has(> :nth-child(4)) > :nth-child(2n + 1) {
		border-inline-start: 0;
	}

	.capra-anchor,
	.capra-anchor:first-child {
		grid-template-rows: auto auto;
		align-content: start;
		justify-items: center;
		row-gap: var(--wp--preset--spacing--8);
		padding-inline: var(--wp--preset--spacing--8);
		text-align: center;
	}

	.capra-anchor__art {
		display: block;
		grid-row: 1;
		inline-size: 100%;
		max-inline-size: 112px;
		block-size: auto;
		aspect-ratio: 112 / 72;
	}

	.capra-anchor__name {
		grid-row: 2;
		font-size: var(--wp--preset--font-size--title-s);
	}

	.capra-anchor__job {
		display: none;
	}

	.capra-crossing__photo img {
		aspect-ratio: 4 / 3;
	}

	.capra-crossing__photo figcaption {
		padding: var(--wp--preset--spacing--48) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20);
		font-size: var(--wp--preset--font-size--title-l);
	}

	:is(.is-style-capra-package, .is-style-capra-package-featured, .is-style-capra-package-premium) {
		--capra-package-pad: var(--wp--preset--spacing--24);
	}

	.is-style-capra-package-featured {
		--capra-package-pad-block: var(--capra-package-pad);
	}
}

/* --- Testimonial (Figma "Pattern / testimonial") -----------------------
   "Card · Testimonial": the quote on the navy gradient (672 of 1200, 64 in)
   beside the site's photo (528), one rounded card; no chip on the photo
   (Jonas, 23 Oct 2026). The photo runs to the card's edges with all four corners
   rounded, the navy showing in its two inner corners: a photo is never cut
   square (Jonas, 23 Oct 2026). Then the results: four "Stat · Card"s, 20
   apart. */
.capra-testimonial {
	gap: var(--wp--preset--spacing--24);
}

/* The section is a Query Loop of one testimonial (inc/testimonials.php): its list wrappers stay
   out of the layout, so the card and the results are the section's own rows. */
.capra-testimonial > .wp-block-post-template,
.capra-testimonial > .wp-block-post-template > li {
	display: contents;
}

.is-style-capra-quote-card {
	display: grid;
	grid-template-columns: minmax(0, 672fr) minmax(0, 528fr);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--gradient--bg-gradient);
	box-shadow: var(--wp--preset--shadow--card);
}

.capra-quote-card__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--64);
}

/* The customer's logo heads the card, white, where a quote icon was: the
   words keep their own quote marks, the opening one hung outside the line
   (Jonas, 26 Oct 2026: not both; the company should be recognisable). */
.capra-quote-card__logo {
	margin: 0 0 var(--wp--preset--spacing--8);
}

.capra-quote-card__logo img {
	display: block;
	inline-size: auto;
	block-size: 32px;
}

.capra-quote-card__quote {
	text-indent: -.42em;
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
	text-wrap: balance;
}

.capra-quote-card__who {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2);
}

/* The person's photo, when the testimonial has one (Jonas, 19 Nov 2026): small and round beside
   their name and role, as tall as the two lines; without one the name stands alone. */
.capra-quote-card__who:has(> .capra-quote-card__avatar) {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--16);
	align-items: center;
}

.capra-quote-card__avatar {
	grid-row: span 2;
	margin: 0;
}

.capra-quote-card__avatar img {
	display: block;
	inline-size: var(--wp--preset--spacing--48);
	block-size: var(--wp--preset--spacing--48);
	border-radius: var(--wp--custom--radius--full);
	object-fit: cover;
}

.capra-quote-card__name {
	font-weight: var(--wp--custom--weight--bold);
	color: var(--wp--custom--token--text-primary);
}

.capra-quote-card__photo {
	position: relative;
	margin: 0;
	min-block-size: 100%;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-quote-card__photo img {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.capra-stat-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--20);
}

/* Figma "Stat", Kind = Card, Size = L: the value at 40, its label under it. */
.is-style-capra-stat-card {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-subtle);
}

.is-style-capra-stat-card > p:first-child {
	font-size: var(--wp--preset--font-size--heading-xl);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
	color: var(--wp--custom--token--text-primary);
}

.is-style-capra-stat-card > p:nth-child(2) {
	color: var(--wp--custom--token--text-body);
}

@media (max-width: 1024px) {
	.capra-quote-card__text {
		padding: var(--wp--preset--spacing--40);
	}

	.capra-stat-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--16);
	}
}

@media (max-width: 744px) {
	.is-style-capra-quote-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-quote-card__photo {
		order: -1;
		aspect-ratio: 4 / 3;
	}

	.capra-quote-card__text {
		padding: var(--wp--preset--spacing--24);
	}

	.capra-quote-card__quote {
		font-size: var(--wp--preset--font-size--heading-s);
	}

	.is-style-capra-stat-card {
		padding: var(--wp--preset--spacing--16);
	}

	.is-style-capra-stat-card > p:first-child {
		font-size: var(--wp--preset--font-size--heading-m);
	}
}

/* --- Partners pitch (Figma "Pattern / partners-pitch", On white · photo) -
   The partner accent: an amber eyebrow mark, burnt orange reason icons;
   the button is the Partner kind. The photo (rounded, raised) with "Working
   with" and the partners' names under it. */
.capra-split--even {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.capra-split--even {
		grid-template-columns: minmax(0, 1fr);
	}
}

.capra-partners-pitch .is-style-capra-eyebrow::before {
	background: var(--wp--custom--token--icon-partner);
}

.capra-reasons {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
}

/* A reason: its icon (24, the platform's monoline family) beside the title
   and text. The icon carries the partner colour, the burnt orange of the
   Become a partner button, drawn into the files; no rail beside it (Jonas,
   23 Oct 2026: icon B, colour 3). */
.capra-reason {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	column-gap: var(--wp--preset--spacing--12);
	row-gap: var(--wp--preset--spacing--2);
}

.capra-reason > .capra-reason__icon {
	grid-row: 1 / 3;
	margin: 0;
	padding-block-start: var(--wp--preset--spacing--2);
}

.capra-reason > :not(.capra-reason__icon) {
	grid-column: 2;
}

.capra-reason h3 {
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: 0;
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-reason p {
	font-size: var(--wp--preset--font-size--body-m);
	color: var(--wp--custom--token--text-body);
}

.capra-partners-pitch__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	text-align: center;
}

.capra-partners-pitch__photo img {
	aspect-ratio: 600 / 460;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--card);
}

.capra-partners-pitch__photo {
	align-self: stretch;
	margin-block-end: var(--wp--preset--spacing--10);
}

/* The partners' official logos, all in Capra navy, at one height. */
.capra-partners-pitch__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--32);
}

.capra-partners-pitch__logos > .wp-block-image {
	margin: 0;
}

.capra-partners-pitch__logos img {
	inline-size: auto;
	block-size: 24px;
	max-inline-size: 150px;
	object-fit: contain;
}

/* --- Exploded view (Figma "Pattern / exploded-view") -----------------------------
   A dark section: eyebrow, title and lead, then the robot's scroll story
   on a gradient that stays put while the robot turns (only the robot moves). The story is a core Group with the
   "Scroll story" style: a poster image, callouts (a title and a mono line
   each) in story order, and a scroll cue. Without JavaScript it stays that,
   the poster with the callouts listed under it; assets/js/scroll-story.js
   turns it into a sticky stage that scrubs the frames and shows at most two
   callouts at a time beside the robot, each with a leader line to its part.
   All words are ordinary blocks: editing them needs no new render. */
.capra-exploded {
	overflow-x: clip;            /* the stage reaches the screen edges */
	padding: var(--wp--preset--spacing--96) var(--wp--custom--layout--margin);
	background: linear-gradient(180deg, var(--wp--custom--token--bg-band-top) 0%, var(--wp--custom--token--bg-brand) 50%, var(--wp--custom--token--bg-band-bottom) 100%);
	color: var(--wp--custom--token--text-primary);
}

.capra-exploded.alignfull {
	max-inline-size: none;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
}

.capra-exploded__head {
	max-inline-size: var(--wp--style--global--content-size);
	margin: 0 auto var(--wp--preset--spacing--32);
	display: grid;
	gap: var(--wp--preset--spacing--16);
}

.capra-exploded__head > * {
	margin: 0;                   /* title and lead run on one line where the column allows (Jonas, 21 Oct) */
}

.capra-exploded__title {
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	color: var(--wp--custom--token--text-primary);
}

/* As it is without JavaScript: the poster, then the callouts under it. */
.is-style-capra-scroll-story {
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.is-style-capra-scroll-story > figure {
	grid-column: 1 / -1;
	margin: 0;
}

.is-style-capra-scroll-story > figure img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

.capra-callout {
	display: grid;
	gap: var(--wp--preset--spacing--6);
}

.capra-callout > * {
	margin: 0;
}

.capra-callout__title {
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--title);
	font-weight: 700;
	color: var(--wp--custom--token--text-primary);
}

.capra-callout .is-style-capra-mono {
	font-size: var(--wp--preset--font-size--mono-caps-l);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
}

.capra-exploded__hint {
	grid-column: 1 / -1;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

/* Playing: the group becomes the scroll track, in the page's column (the
   callouts stay inside it); the stage stays on screen below the header while
   the track scrolls past, as wide as the screen. */
.is-style-capra-scroll-story.is-playing {
	display: block;
	block-size: var(--capra-scroll-length, 500vh);
}

/* The stage paints the gradient that stays put. Around it the section takes
   the stage's own end colours (band-top above, by the title; band-bottom
   below), so title and robot share one background with no seam. The switch
   at 50% is always behind the stage. */
.capra-exploded:has(> .is-playing) {
	background: linear-gradient(180deg, var(--wp--custom--token--bg-band-top) 50%, var(--wp--custom--token--bg-band-bottom) 50%);
}

.capra-scroll__stage {
	position: sticky;
	inline-size: 100vw;          /* full width: what leaves the render leaves the screen */
	margin-inline: calc(50% - 50vw);
	--capra-stage-top: calc(var(--wp--custom--layout--header-height) + var(--wp-admin--admin-bar--height, 0px));
	inset-block-start: var(--capra-stage-top);
	block-size: calc(100svh - var(--capra-stage-top));
	overflow: hidden;
	background: linear-gradient(180deg, var(--wp--custom--token--bg-band-top) 0%, var(--wp--custom--token--bg-brand) 50%, var(--wp--custom--token--bg-band-bottom) 100%);
}

.capra-scroll__stage > figure,
.capra-scroll__stage > canvas,
.capra-scroll__lines {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	margin: 0;
}

.capra-scroll__stage > figure img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
}

.is-ready .capra-scroll__stage > figure {
	visibility: hidden;          /* the canvas has taken over */
}

.capra-scroll__lines {
	pointer-events: none;
	overflow: visible;
}

.capra-scroll__lines path {
	fill: none;
	stroke: var(--wp--custom--token--text-primary);
	stroke-opacity: .6;
	stroke-width: 1.25;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset .7s cubic-bezier(.2, .7, .2, 1);
}

.capra-scroll__lines circle {
	fill: var(--wp--custom--token--text-primary);
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(.4);
	transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.capra-scroll__lines .is-on path {
	stroke-dashoffset: 0;
}

.capra-scroll__lines .is-on circle {
	opacity: 1;
	transform: none;
}

/* Callouts sit just beside the robot; the script places them from the
   frame's own layout. Title first, its mono line a beat later. */
.capra-scroll__stage > .capra-callout {
	position: absolute;
	inline-size: max-content;
	max-inline-size: 280px;
	transform: translateY(-50%);
	pointer-events: none;
}

.capra-callout[data-side="left"] {
	text-align: end;
}

.capra-scroll__stage > .capra-callout > * {
	opacity: 0;
	transform: translateY(10px);
	filter: blur(6px);
	transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .55s ease;
}

.capra-scroll__stage > .capra-callout > :nth-child(2) {
	transition-delay: .1s;
}

.capra-scroll__stage > .capra-callout.is-on > * {
	opacity: 1;
	transform: none;
	filter: none;
}

/* At the right edge: a glass rail that fills as the story plays, and the
   Play button under it (plays the rest at an even pace; pause while it runs).
   Raw rgba, the glass rule, as the Glass button. */
.capra-scroll__controls {
	position: absolute;
	inset-inline-end: var(--wp--preset--spacing--24);
	inset-block-start: 50%;
	translate: 0 -50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
}

.capra-scroll__rail {
	inline-size: 6px;
	block-size: clamp(120px, 28vh, 240px);
	border-radius: 3px;
	overflow: hidden;
	background-color: var(--capra-glass-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-edge);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.capra-scroll__rail > span {
	display: block;
	block-size: 100%;
	background-color: rgba(255, 255, 255, .85);
	transform: scaleY(0);
	transform-origin: top;
}

.capra-scroll__play {
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: var(--wp--custom--token--on-media);
	background-color: var(--capra-glass-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-edge);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: background-color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
	.capra-scroll__play:hover {
		background-color: var(--capra-glass-fill-hover);
		box-shadow: inset 0 0 0 1px var(--capra-glass-edge-hover);
	}
}

.capra-scroll__play:focus-visible {
	outline: 2px solid var(--wp--custom--token--on-media);
	outline-offset: 3px;
}

.capra-scroll__play::before {               /* a play triangle, a pause sign while it plays */
	content: "";
	display: block;
	margin: auto;
	inline-size: 14px;
	block-size: 14px;
	background: currentColor;
	clip-path: polygon(22% 8%, 92% 50%, 22% 92%);
}

.capra-scroll__play.is-on::before {
	clip-path: none;
	-webkit-mask: var(--capra-i-pause) center / contain no-repeat;
	mask: var(--capra-i-pause) center / contain no-repeat;
}

/* "See top modules" at the story's foot, centred: the way past it. Without
   JavaScript it follows the callouts. */
.capra-exploded__skip {
	grid-column: 1 / -1;
	justify-content: center;
	margin: 0;
}

.capra-scroll__stage > .capra-exploded__skip {
	position: absolute;
	inset-inline: 0;
	inset-block-end: var(--wp--preset--spacing--20);
	z-index: 1;
}

/* Its arrow points down, the way it takes you (Jonas, 23 Oct 2026), and nudges
   down on hover, as on a download card; so does "Show all top modules", the way the
   cards fold out, turning up to fold them back (module-cards.js). */
.capra-exploded__skip .wp-block-button__link::after,
.capra-module-cards__all .wp-block-button__link::after {
	--capra-ring-arrow: var(--capra-i-arrow-d) center / contain no-repeat;
}

.capra-module-cards__all .wp-block-button__link::after {
	transition: --capra-sweep .45s ease, -webkit-mask-position .25s ease, mask-position .25s ease, --capra-ring-fill 0s .45s, rotate .56s cubic-bezier(.65, 0, .35, 1);
}

.capra-module-cards__all [aria-expanded="true"]::after {
	rotate: 180deg;
}

.capra-exploded__skip .wp-block-button__link:focus-visible::after,
.capra-module-cards__all .wp-block-button__link:focus-visible::after {
	-webkit-mask-position: 50% calc(50% + 2px), center, center;
	mask-position: 50% calc(50% + 2px), center, center;
}

@media (hover: hover) {
	.capra-exploded__skip .wp-block-button__link:hover::after,
	.capra-module-cards__all .wp-block-button__link:hover::after {
		-webkit-mask-position: 50% calc(50% + 2px), center, center;
		mask-position: 50% calc(50% + 2px), center, center;
	}
}

/* The scroll cue: only at the start, gone once the story moves. */
.capra-scroll__stage > .capra-exploded__hint {
	position: absolute;
	inset-inline: 0;
	inset-block-end: var(--wp--preset--spacing--80);   /* above "See top modules" */
	transition: opacity .5s ease, transform .5s ease;
}

.capra-scroll__stage > .capra-exploded__hint.is-gone {
	opacity: 0;
	transform: translateY(8px);
}

@media (min-width: 1280px) {
	.capra-callout__title {
		font-size: var(--wp--preset--font-size--heading-s);
	}
}

/* Phones and narrow tablets: no room beside the render, so one callout at a
   time under it (in the scroll cue's place), and the dot alone marks the part. */
@media (max-width: 1023px) {
	.capra-exploded {
		padding-block: var(--wp--preset--spacing--64);
	}

	.capra-scroll__stage > .capra-callout,
	.capra-scroll__stage > .capra-exploded__hint {
		inset-inline: var(--wp--preset--spacing--16);
		inset-block-end: auto;       /* scroll-story.js puts them under the robot */
	}

	.capra-scroll__stage > .capra-callout {
		inline-size: auto;
		max-inline-size: none;
		text-align: center;
		transform: none;
	}

	.capra-scroll__lines path {
		display: none;
	}

	.capra-scroll__controls {
		inset-inline-end: var(--wp--preset--spacing--12);
	}

	.capra-scroll__rail {
		block-size: clamp(96px, 20vh, 160px);
	}

	.capra-scroll__play {
		inline-size: 40px;
		block-size: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.capra-scroll__stage > .capra-callout > *,
	.capra-scroll__lines path,
	.capra-scroll__lines circle {
		transition: none;
	}
}

/* --- Stat (Figma "Stat", Kind Plain) ---------------------------------------------
   A value and its mono caption: a Group styled "Stat" holding two paragraphs.
   The solution selector's numbers; the number strips can use it too. */
.is-style-capra-stat {
	display: grid;
	align-content: start;
	gap: var(--wp--preset--spacing--4);
}

.is-style-capra-stat > * {
	margin: 0;
}

.is-style-capra-stat > :first-child {
	font-size: var(--wp--preset--font-size--heading-s);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: -0.01em;
	--capra-leading: var(--wp--custom--leading--title);
	color: var(--wp--custom--token--text-primary);
}

.is-style-capra-stat > :nth-child(2) {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-s);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

/* --- Hero · intro (Figma "Pattern / hero-intro", Compact) ------------------------
   A page top with no photo, on the page's column below the header: the
   eyebrow, then the title on one line (Jonas, 29 Oct 2026: no lead beside it,
   the selector under it explains itself). */
/* No side padding: the page has its gutter already (a second one put the title 160 in
   at 1440, off every other section's edge; 4 Nov 2026). */
.capra-hero-intro {
	padding:
		calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--48))
		0
		var(--wp--preset--spacing--32);
}

.capra-hero-intro__row {
	display: grid;
	gap: var(--wp--preset--spacing--16);
	max-inline-size: var(--wp--style--global--content-size);
	margin: 0 auto;
}

.capra-hero-intro__title {
	font-size: var(--wp--preset--font-size--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
}

/* --- Robots page (Figma 05 Pages, Page · Robots) ----------------------------
   The key numbers in the band under the hero, proof from customer sites (rows
   of capra-split), the top modules, the specification tabs. The two robots
   are Home's "Card · Robot"s; SmartFleet, the case and the FAQ are shared. */

/* Figma "Pattern / number-strip", Hero strip: in the band a category hero leaves (the
   anchor strip's, above), a column per "Stat · Icon box", between hairlines, without the
   box's tint. The Monoline icons are cropped to their drawings and shown in one 60 x 40
   frame, so the wide robots and the square snowflake and cloud look the same size
   (Jonas, 3 Nov 2026); their lines stay 2px. Two by two on phones. */
.capra-numbers {
	align-items: start;          /* the figures on one line, whether a label takes one line or two */
	align-content: center;
}

.capra-numbers > .is-style-capra-stat-box {
	align-content: start;
	column-gap: var(--wp--preset--spacing--12);
	min-block-size: 0;
	padding: 0 var(--wp--preset--spacing--24);
	border-radius: 0;
	border-inline-start: 1px solid var(--wp--custom--token--border-subtle);
	background: none;
}

.capra-numbers > .is-style-capra-stat-box:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

/* The icon's column only where there is an icon: the Company page's numbers have none,
   and their figures ran over their labels in a 60px column (5 Nov 2026). */
.capra-numbers > .is-style-capra-stat-box:has(> .wp-block-image) {
	grid-template-columns: 60px minmax(0, 1fr);
}

.capra-numbers > .is-style-capra-stat-box > .wp-block-image img {
	inline-size: 60px;
	block-size: 40px;
	object-fit: contain;
}

.capra-numbers > .is-style-capra-stat-box > p:nth-of-type(1) {
	font-size: var(--wp--preset--font-size--heading-xl);
	letter-spacing: var(--wp--custom--tracking--heading-xl);
	--capra-leading: var(--wp--custom--leading--heading-xl);
	white-space: nowrap;
}

@media (max-width: 900px) {
	.capra-numbers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-flow: row;
		gap: var(--wp--preset--spacing--24) var(--wp--preset--spacing--16);   /* a label never touches the next icon */
		padding-block: var(--wp--preset--spacing--24);
	}

	.capra-numbers > .is-style-capra-stat-box,
	.capra-numbers > .is-style-capra-stat-box:first-child {
		column-gap: var(--wp--preset--spacing--12);
		padding: 0;
		border: 0;
	}

	.capra-numbers > .is-style-capra-stat-box:has(> .wp-block-image) {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.capra-numbers > .is-style-capra-stat-box > .wp-block-image img {
		inline-size: 48px;
		block-size: 32px;
	}

	.capra-numbers > .is-style-capra-stat-box > p:nth-of-type(1) {
		font-size: var(--wp--preset--font-size--heading-m);
	}
}

/* "Images are renderings …" under a product's renders or specs (Jonas, 22 and
   26 Oct 2026: the site must not promise a product that may change). */
.capra-render-note {
	inline-size: 100%;           /* in a flex section auto margins would centre it (Jonas, 3 Nov 2026: left) */
	max-inline-size: var(--wp--style--global--content-size);
	margin: var(--wp--preset--spacing--16) auto 0;
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

.is-style-capra-section > .capra-render-note {
	margin-block-start: calc(var(--wp--preset--spacing--16) - var(--wp--preset--spacing--40));
}

/* Figma "Pattern / proof-chapters": rows of capra-split as the Solutions page's rows (their
   list and photos, below); two icon-less "Stat · Box"es across the words. */
.capra-chapters .capra-stat-row {
	align-self: stretch;
}

.capra-chapters .capra-split__media img {
	aspect-ratio: 5 / 3;
}

/* Figma "Pattern / module-cards", A Image-led: the module at work, the solution
   it serves, its name; the whole card links. Three to a row, one on phones. */
.capra-module-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

/* Past three, the top modules wait behind "Show all top modules", opened in place
   (module-cards.js; Jonas, 16 Nov 2026). Without the script every card shows. */
.capra-module-cards.is-folded > :nth-child(n+4),
.capra-module-cards__all:not(.is-needed) {
	display: none;
}

.capra-module-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
}

.capra-module-card > .is-style-capra-media {
	margin: 0 0 var(--wp--preset--spacing--8);
	box-shadow: var(--wp--preset--shadow--card);   /* Figma Image module, Edge = Raised */
}

.capra-module-card h3 {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-module-card h3 a {
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

/* The module's Card text (its form; only here): a line or two in the body's voice under the name. */
.capra-module-card__text {
	font-size: var(--wp--preset--font-size--body-m);
	--capra-leading: var(--wp--custom--leading--body);
	color: var(--wp--custom--token--text-body);
}

.capra-module-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.capra-module-card:has(a:focus-visible) h3 a {
	color: var(--wp--custom--token--text-link);
}

@media (hover: hover) {
	.capra-module-card:is(:hover, :has(a:focus-visible)) h3 a {
		color: var(--wp--custom--token--text-link);
	}
}

@media (max-width: 744px) {
	.capra-module-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--32);
	}
}

/* Figma "Pattern / spec-tabs": Metric / Imperial at the header's end, a tab per
   robot or module, four columns of specs beside the picture card. Each tab is a
   Group with its name as a heading; spec-tabs.js turns the names into the tab
   row and hides them in the panels. Without the script every tab shows, one
   under another. A spec is a bold name, a break, the value. */
.capra-spec-section > .capra-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: var(--wp--preset--spacing--24);
}

.capra-section-head > .capra-units-toggle {
	position: relative;          /* the raised half's frame; the selector's own toggle is placed absolutely */
}

.capra-spec-tabs {
	display: grid;
	gap: var(--wp--preset--spacing--48);
}

/* The robots' and the top modules' tabs come from Query Loops (patterns/spec-tabs.php): their
   wrappers step aside, so each is a tab of the one row. */
.capra-spec-tabs__loop,
.capra-spec-tabs__loop > .wp-block-post-template,
.capra-spec-tabs__loop > .wp-block-post-template > li {
	display: contents;
}

.capra-spec-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--40);
}

.capra-spec-tabs__list button {
	padding: 0 0 var(--wp--preset--spacing--6);
	border: 0;
	background: none;
	box-shadow: inset 0 -2px 0 transparent;
	color: var(--wp--custom--token--text-muted);
	font: inherit;
	font-size: var(--wp--preset--font-size--title-l);
	cursor: pointer;
	transition: color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
	.capra-spec-tabs__list button:hover {
		color: var(--wp--custom--token--text-primary);
	}
}

.capra-spec-tabs__list button[aria-selected="true"] {
	box-shadow: inset 0 -2px 0 var(--wp--custom--token--text-primary);
	color: var(--wp--custom--token--text-primary);
}

.capra-spec-tabs__list button:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 4px;
}

.capra-spec-tab {
	--capra-spec-card: 300px;   /* the picture card's width beside four columns; 7/5 of it its height */
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, var(--capra-spec-card));
	align-items: start;
	gap: var(--wp--preset--spacing--48);
}

.capra-spec-tab[hidden] {
	display: none;
}

.capra-spec-tab__name {
	grid-column: 1 / -1;
	font-size: var(--wp--preset--font-size--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
}

.capra-spec-tabs.is-tabbed .capra-spec-tab__name {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.capra-spec-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--32);
}

.capra-spec-col {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
}

.capra-spec-col__title {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	padding-block-end: var(--wp--preset--spacing--16);
	border-block-end: 1px solid var(--wp--custom--token--border-default);
	font-weight: var(--wp--custom--weight--mono-semibold);
	color: var(--wp--custom--token--text-primary);
}

.capra-spec-col__title img {
	flex: none;
	inline-size: 20px;
	block-size: 20px;
}

.capra-spec-col > p:not(.capra-spec-col__title) {
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

.capra-spec-col > p strong {
	display: inline-block;
	margin-block-end: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
}

/* The picture card: the render on Capra's gradient, the name in a glass chip. */
.capra-spec-render {
	position: relative;
	display: grid;
	align-content: center;
	aspect-ratio: 5 / 7;
	padding: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--gradient--bg-gradient);
	box-shadow: var(--wp--preset--shadow--card);
	overflow: hidden;
}

/* Its "Chip", on the dark card: glass (raw rgba, the glass rule), the name as written. */
.capra-spec-render > .is-style-capra-chip {
	position: absolute;
	inset: var(--wp--preset--spacing--20) auto auto var(--wp--preset--spacing--20);
	background: var(--capra-glass-fill);
	box-shadow: inset 0 0 0 1px var(--capra-glass-edge);
	text-transform: none;
	color: var(--wp--custom--token--on-media);
}

.capra-spec-render > .wp-block-image {
	margin: 0;
}

/* The renders carry the selector's studio margin; here the robot fills the card. */
.capra-spec-render img {
	display: block;
	inline-size: 150%;
	max-inline-size: none;
	block-size: auto;
	margin-inline: -25%;
}

/* The picture takes the room of the spec columns a tab leaves out (Jonas, 1 Dec 2026: a top module shows two of the
   four): the columns keep their width, the picture card takes one column more, at the height it has beside four
   columns (Jonas: only wider), the robot as big as that height lets it be, in the middle. With all four, as above. */
@media (min-width: 1101px) {
	.capra-spec-tab:has(.capra-spec-cols > :nth-child(3):last-child) {
		--capra-spec-shown: 3;
	}

	.capra-spec-tab:has(.capra-spec-cols > :nth-child(2):last-child) {
		--capra-spec-shown: 2;
	}

	.capra-spec-tab:has(.capra-spec-cols > :only-child) {
		--capra-spec-shown: 1;
	}

	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) {
		grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(240px, var(--capra-spec-card));
		column-gap: var(--wp--preset--spacing--32);
	}

	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) > .capra-spec-cols {
		grid-column: 1 / span var(--capra-spec-shown);
		grid-template-columns: subgrid;
	}

	/* At most one column wider than beside four (Jonas, 1 Dec 2026: the top modules' card was too far from
	   Capra500's): it starts at the fourth column whatever the tab leaves out. */
	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) > .capra-spec-render {
		grid-column: 4 / -1;
		margin-inline-start: var(--wp--preset--spacing--16);
		aspect-ratio: auto;
		block-size: calc(var(--capra-spec-card) * 7 / 5);
	}

	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) .capra-spec-render > .wp-block-image {
		position: absolute;
		inset: 0;
	}

	/* The whole render fits the card both ways, in the middle (a wide setup, Food with its trailer, was cut at the
	   side); its studio margin is the room round the robot. */
	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) .capra-spec-render img {
		position: absolute;
		inset-block-start: 50%;
		inset-inline-start: 50%;
		inline-size: 106%;
		block-size: 106%;
		max-inline-size: none;
		margin: 0;
		object-fit: contain;
		translate: -50% -50%;
	}

	.capra-spec-tab:has(.capra-spec-cols > :nth-child(-n+3):last-child) .capra-spec-render > .is-style-capra-chip {
		z-index: 1;
	}
}

@media (max-width: 1100px) {
	.capra-spec-tab {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-spec-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.capra-spec-render {
		aspect-ratio: 16 / 10;
		max-inline-size: 560px;
	}
}

/* The tabs as a dropdown, phones only (spec-tabs.js). */
.capra-spec-tabs__picker {
	display: none;
}

/* Phones: the tabs a dropdown, Metric / Imperial at the end of its row (Jonas,
   11 Nov 2026; Figma Mobile drew pills, which ran to three rows). */
@media (max-width: 744px) {
	.capra-spec-tabs.is-tabbed > .capra-spec-tabs__list {
		display: none;
	}

	.capra-spec-tabs__picker {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--12);
	}

	.capra-spec-tabs__picker > .capra-units-toggle {
		position: relative;
		flex: none;
	}

	.capra-spec-tabs__choose {
		position: relative;
		flex: 0 1 220px;
		min-inline-size: 0;
	}

	.capra-spec-tabs__choose::after {
		content: "";
		position: absolute;
		inset-block: 0;
		inset-inline-end: var(--wp--preset--spacing--16);
		inline-size: 20px;
		background: var(--wp--custom--token--icon-primary);
		-webkit-mask: var(--capra-i-chev-d) center / contain no-repeat;
		mask: var(--capra-i-chev-d) center / contain no-repeat;
		pointer-events: none;
	}

	.capra-spec-tabs__choose > select {
		inline-size: 100%;
		padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--48) var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
		border: 0;
		border-radius: var(--wp--custom--radius--full);
		background: var(--wp--custom--token--bg-surface);
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
		color: var(--wp--custom--token--text-primary);
		font: inherit;
		font-size: var(--wp--preset--font-size--body-m);
		font-weight: var(--wp--custom--weight--bold);
		appearance: none;
		cursor: pointer;
	}

	.capra-spec-tabs__choose > select:focus-visible {
		outline: 2px solid var(--wp--custom--token--border-focus);
		outline-offset: 2px;
	}
}

/* Phones (Figma Mobile): Metric / Imperial under the lead, the tabs as pills. */
@media (max-width: 744px) {
	.capra-spec-section > .capra-section-head {
		grid-template-columns: minmax(0, 1fr);
		justify-items: start;
	}

	.capra-spec-tabs__list {
		gap: var(--wp--preset--spacing--8);
	}

	/* As the Newsroom's "Filter tabs" (Figma Mobile draws the same pills). */
	.capra-spec-tabs__list button {
		padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
		border-radius: var(--wp--custom--radius--full);
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
		font-size: var(--wp--preset--font-size--body-m);
		font-weight: var(--wp--custom--weight--bold);
		color: var(--wp--custom--token--text-primary);
	}

	.capra-spec-tabs__list button[aria-selected="true"] {
		background: var(--wp--custom--token--bg-brand);
		box-shadow: none;
		color: var(--wp--custom--token--text-on-action);
	}

	.capra-spec-cols {
		gap: var(--wp--preset--spacing--32) var(--wp--preset--spacing--16);
	}

	.capra-spec-col > p:not(.capra-spec-col__title) {
		font-size: var(--wp--preset--font-size--body-m);
	}
}

/* --- Software page (Figma 05 Pages, Page · Software; built 4 Nov 2026) ------
   Outcome cards (Figma Pattern / outcome-cards, Bento): the lead card beside two,
   a wide one under them. A card's screen runs off its right and bottom edges; the
   team photo fills the wide card's right half, all four corners rounded. */
.capra-bento {
	display: grid;
	grid-template-columns: minmax(0, 776fr) minmax(0, 400fr);
	gap: var(--wp--preset--spacing--20);
}

.capra-bento__card {
	--capra-bento-pad: var(--wp--preset--spacing--32);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
	overflow: hidden;
	padding: var(--capra-bento-pad) var(--capra-bento-pad) 0;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--token--bg-subtle);
}

.capra-bento__card--lead {
	--capra-bento-pad: var(--wp--preset--spacing--40);
	grid-row: span 2;
}

.capra-bento__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
}

.capra-bento__num {
	margin: 0 0 var(--wp--preset--spacing--8);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-meta);
	letter-spacing: var(--wp--custom--tracking--mono-meta);
	color: var(--wp--custom--token--text-muted);
}

.capra-bento__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
	color: var(--wp--custom--token--text-primary);
}

.capra-bento__card--lead .capra-bento__title {
	font-size: var(--wp--preset--font-size--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
}

.capra-bento__body {
	max-inline-size: 36ch;
	margin: 0;
	font-size: var(--wp--preset--font-size--body-m);
	color: var(--wp--custom--token--text-body);
}

.capra-bento__card--lead .capra-bento__body {
	font-size: var(--wp--preset--font-size--body-l);
}

.capra-bento__visual {
	margin: auto calc(-1 * var(--capra-bento-pad)) 0 24%;
}

.capra-bento__card--lead .capra-bento__visual {
	margin-inline-start: 10%;
}

.capra-bento__visual img {
	display: block;
	inline-size: 100%;
	block-size: 116px;
	object-fit: cover;
	object-position: left top;
	border-start-start-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--card);
}

.capra-bento__card--lead .capra-bento__visual img {
	block-size: 344px;
}

.capra-bento__card--wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding: 0 0 0 var(--wp--preset--spacing--40);
}

.capra-bento__card--wide .capra-bento__title {
	font-size: var(--wp--preset--font-size--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
}

.capra-bento__card--wide .capra-bento__text {
	padding-block: var(--wp--preset--spacing--40);
}

/* The photo fills its half of the card; the words set the card's height. */
.capra-bento__card--wide .capra-bento__visual {
	position: relative;
	align-self: stretch;
	min-block-size: 220px;
	margin: 0;
}

.capra-bento__card--wide .capra-bento__visual img {
	position: absolute;
	inset: 0;
	block-size: 100%;
	object-position: center;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: none;
}

/* Open by design (Figma Pattern / integration-badges): what SmartFleet connects to in
   two groups, your systems and the open standards, set as datasheet rows: the group's
   name in the first column, its four names large in the next four, what each carries
   under it (Jonas, 4 Nov 2026: eight equal cards were hard to read). */
.capra-interfaces {
	border-block-end: 1px solid rgba(255, 255, 255, .12);   /* the glass rule */
}

.capra-interfaces__group {
	display: grid;
	grid-template-columns: minmax(0, 224fr) repeat(4, minmax(0, 264fr));
	column-gap: var(--wp--preset--spacing--32);
	padding: var(--wp--preset--spacing--24) 0;
	border-block-start: 1px solid rgba(255, 255, 255, .12);
}

/* The group's icon above its name (Figma's monoline Site and Partner icons, drawn
   white with an action-blue fill for the navy; Jonas, 4 Nov 2026). */
.capra-interfaces__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--16);
}

.capra-interfaces__icon img {
	display: block;
	inline-size: 48px;
	block-size: 48px;
}

.capra-interfaces__title {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

.capra-interface {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--6);
}

.capra-interface__name {
	font-size: var(--wp--preset--font-size--heading-m);
	font-weight: var(--wp--custom--weight--heavy);
	letter-spacing: var(--wp--custom--tracking--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-interface__what {
	color: var(--wp--custom--token--text-body);
}

/* Open by design · on the site (capra/integration-site, the Software page's): the night render
   of the manufacturing site, your systems pinned where they are, as the world map's
   offices are: a frosted label beside its pin with a leader line, never over what it
   names. --x and --y are the pin's place in the render, in percent of its width and
   height (the render project's own focus points, manufacturing_night_labels.json).
   The frame shows a window of the render, --cx0/--cy0 its top left corner and --cw/--ch
   its size, in percent of the render, and the pins follow it: the whole render by
   default; on a desktop the site's middle, zoomed 12%, so the title, the site and the
   standards fit one screen (Jonas, 5 Nov 2026). */
.capra-site-map {
	position: relative;
	container-type: inline-size;
	--capra-leader: 40px;
	--cx0: 0;
	--cy0: 0;
	--cw: 100;
	--ch: 100;
	--k: calc(100 / var(--cw));
}

@media (min-width: 1025px) {
	.capra-site-map {
		--capra-leader: 28px;
		--cx0: 5.4;
		--cy0: 19;
		--cw: 89.3;
		--ch: 58;
	}
}

.capra-site-map__image {
	position: relative;
	overflow: hidden;
	block-size: calc(var(--ch) * var(--k) * .5625cqw);
	border-radius: var(--wp--custom--radius--lg);
}

.capra-site-map__image::after {   /* the frame's ring, over the picture */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
	pointer-events: none;
}

.capra-site-map__image img {
	display: block;
	inline-size: calc(var(--k) * 100cqw);
	max-inline-size: none;
	block-size: auto;
	aspect-ratio: 16 / 9;
	translate: calc(var(--cx0) * var(--k) * -1cqw) calc(var(--cy0) * var(--k) * -.5625cqw);
}

.capra-site-map__pin {
	position: absolute;
	inset-inline-start: calc((var(--x) - var(--cx0)) * var(--k) * 1cqw);
	inset-block-start: calc((var(--y) - var(--cy0)) * var(--k) * .5625cqw);
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--14);
	border-radius: var(--wp--custom--radius--md);
	background: var(--capra-glass-badge-fill);   /* the map badges' frosted glass */
	box-shadow: inset 0 0 0 1px var(--capra-glass-badge-edge);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	white-space: nowrap;
	translate: -50% calc(-100% - var(--capra-leader));   /* above its pin */
}

/* Below their pins: above, they would cover the hall or run out of the frame. */
.capra-site-map__pin:is(.capra-site-map__pin--plc, .capra-site-map__pin--doors, .capra-site-map__pin--wms) {
	translate: -50% var(--capra-leader);
}

/* The leader, then the pin: blue in a white ring, like an office on the world map. */
.capra-site-map__pin::after,
.capra-site-map__pin::before {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
}

.capra-site-map__pin::after {
	inset-block-start: 100%;
	inline-size: 1px;
	block-size: var(--capra-leader);
	background: rgba(255, 255, 255, .7);
}

.capra-site-map__pin::before {
	inset-block-start: calc(100% + var(--capra-leader));
	inline-size: 12px;
	block-size: 12px;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-action);
	box-shadow: 0 0 0 2px var(--wp--custom--token--on-media);
	translate: -50% -50%;
	z-index: 1;   /* over the leader's end */
}

.capra-site-map__pin:is(.capra-site-map__pin--plc, .capra-site-map__pin--doors, .capra-site-map__pin--wms)::after {
	inset-block: auto 100%;
}

.capra-site-map__pin:is(.capra-site-map__pin--plc, .capra-site-map__pin--doors, .capra-site-map__pin--wms)::before {
	inset-block-start: calc(-1 * var(--capra-leader));
}

.capra-site-map__pin .capra-interface__name {
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: normal;
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-site-map__pin .capra-interface__what {
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--on-media);
}

.capra-site-map__pin--wms   { --x: 45.7; --y: 22; }
.capra-site-map__pin--erp   { --x: 18.2; --y: 45.7; }
.capra-site-map__pin--doors { --x: 33.2; --y: 54.7; }   /* the hall's side fast door */
.capra-site-map__pin--plc   { --x: 57.1; --y: 59.9; }

.capra-integrations__notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--16);
}

.capra-integrations__note {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--8);
}

.capra-integrations__note > * {
	margin: 0;
}

.capra-integrations__note .is-style-capra-mono {
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

.capra-integrations__note h3 {
	font-size: var(--wp--preset--font-size--heading-m);
	--capra-leading: var(--wp--custom--leading--heading-m);
	color: var(--wp--custom--token--text-primary);
}

.capra-integrations__note p {
	max-inline-size: 48ch;
	color: var(--wp--custom--token--text-body);
}

.capra-integrations__note .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--8);
}

/* The tour's screens show their top left, where the work is; its illustration stays centred. */
.capra-step__media--screen img {
	object-position: left top;
}

@media (max-width: 1024px) {
	.capra-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.capra-bento__card--lead {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.capra-bento__card--lead .capra-bento__visual img {
		block-size: 284px;
	}

	.capra-bento__visual img {
		block-size: 150px;
	}

	.capra-interfaces__group {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--16);
	}

	.capra-interfaces__head {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: var(--wp--preset--spacing--12);
	}

	.capra-interfaces__icon img {
		inline-size: 40px;
		block-size: 40px;
	}
}

@media (max-width: 744px) {
	.capra-bento {
		grid-template-columns: minmax(0, 1fr);
	}

	.capra-bento__card {
		--capra-bento-pad: var(--wp--preset--spacing--24);
	}

	.capra-bento__visual,
	.capra-bento__card--lead .capra-bento__visual {
		margin-inline-start: var(--wp--preset--spacing--24);
	}

	.capra-bento__card--lead .capra-bento__visual img {
		block-size: 194px;
	}

	.capra-bento__visual img {
		block-size: 140px;
	}

	.capra-bento__card--wide {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--24);
		padding: var(--wp--preset--spacing--24) 0 0;
	}

	.capra-bento__card--wide .capra-bento__text {
		padding: 0 var(--wp--preset--spacing--24);
	}

	.capra-bento__card--wide .capra-bento__visual {
		min-block-size: 185px;
	}

	.capra-integrations__notes {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--32);
	}

	.capra-interfaces__group {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--24);
		padding: var(--wp--preset--spacing--24) 0;
	}

	/* On a phone the render is 350 wide: the pins carry their names only. */
	.capra-site-map {
		--capra-leader: 16px;
	}

	.capra-site-map__pin {
		padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--8);
		border-radius: var(--wp--custom--radius--sm);
	}

	.capra-site-map__pin .capra-interface__name {
		font-size: var(--wp--preset--font-size--label-s);
	}

	.capra-site-map__pin .capra-interface__what {
		display: none;
	}

	.capra-site-map__pin::before {
		inline-size: 8px;
		block-size: 8px;
		box-shadow: 0 0 0 1.5px var(--wp--custom--token--on-media);
	}
}

/* Windows contrast themes (forced colours) drop backgrounds and shadows (the audit, 6 Nov
   2026): the logo is drawn in the theme's text colour, and a chosen answer keeps an outline
   of its own. A focused field's is in contact.css. */
@media (forced-colors: active) {
	.capra-brand__logo {
		forced-color-adjust: none;
		background: CanvasText;
	}

	:is(.capra-chip, .capra-selector__option):has(input:checked),
	.capra-units-toggle button[aria-pressed="true"] {
		outline: 2px solid Highlight;
		outline-offset: 2px;
	}
}

/* --- Search and page not found (templates/search.html, 404.html; the audit, 6 Nov 2026:
   both were WordPress's defaults) --------------------------------------------------------
   The legal pages' heading, the search box, then the results, or a few places to start. */
.capra-find {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--32);
}

.capra-find > * {
	inline-size: 100%;
	max-inline-size: var(--capra-measure);
}

.capra-find__search .wp-block-search__inside-wrapper {
	align-items: center;   /* the button in the middle of the box, not at its top */
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--wp--custom--token--border-default);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-surface);
}

.capra-find__search .wp-block-search__inside-wrapper:focus-within {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 2px;
}

.capra-find__search .wp-block-search__input {
	min-block-size: var(--wp--preset--spacing--48);
	padding: 0 var(--wp--preset--spacing--16);
	border: 0;
	background: none;
	font-size: var(--wp--preset--font-size--body-l);   /* at least 16 on phones: iOS zooms otherwise */
	color: var(--wp--custom--token--text-primary);
	outline: none;
}

.capra-find__search .wp-block-search__button {
	align-self: center;
	margin: 0;
	border-radius: var(--wp--custom--radius--full);
}

/* The page not found: centred, one short message over the search box and the places to start
   (Jonas, 9 Nov 2026). */
.capra-notfound :is(.capra-article-hero, .capra-find) {
	align-items: center;
	text-align: center;
}

.capra-notfound .capra-article-hero__lead {
	margin-inline: auto;
}

.capra-notfound .capra-find__links.is-style-capra-links {
	justify-content: center;
}

.capra-find__links.is-style-capra-links {
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
}

.capra-results__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.capra-results__list > li {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: var(--wp--preset--spacing--20);
	padding-block: var(--wp--preset--spacing--24);
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

/* A result with a picture: the picture small beside its words. */
.capra-results__list > li:has(> .capra-results__image) {
	grid-template-columns: 160px minmax(0, 1fr);
}

.capra-results__image {
	margin: 0;
}

.capra-results__image img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--md);
}

.capra-results__text {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
}

/* The overview: each kind with its count, as chips that jump to the kind's group (Jonas, 9 Nov
   2026: picked over tabs filtering one list). */
.capra-search__kinds {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--8);
}

.capra-search__kind {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--bg-subtle);
	color: var(--wp--custom--token--text-primary);
	font-weight: var(--wp--custom--weight--bold);
	text-decoration: none;
}

.capra-search__count {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	color: var(--wp--custom--token--text-muted);
}

.capra-search__kind:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 2px;
}

@media (hover: hover) {
	.capra-search__kind:hover {
		background: var(--wp--custom--token--bg-muted);
	}
}

/* A group per kind, gone when it has nothing. */
.capra-results__group {
	scroll-margin-block-start: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--24));
}

.capra-results__group:not(:has(.wp-block-post)) {
	display: none;
}

.capra-results__heading {
	padding-block-end: var(--wp--preset--spacing--8);
	font-size: var(--wp--preset--font-size--heading-s);
	letter-spacing: var(--wp--custom--tracking--heading-s);
	--capra-leading: var(--wp--custom--leading--heading-s);
}

@media (max-width: 744px) {
	.capra-results__list > li:has(> .capra-results__image) {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: var(--wp--preset--spacing--16);
	}
}

.capra-results__title {
	font-size: var(--wp--preset--font-size--heading-xs);
	letter-spacing: var(--wp--custom--tracking--heading-xs);
	--capra-leading: var(--wp--custom--leading--heading-xs);
}

.capra-results__title a {
	color: var(--wp--custom--token--text-primary);
	text-decoration: none;
}

.capra-results__title a:focus-visible {
	text-decoration: underline;
}

@media (hover: hover) {
	.capra-results__title a:hover {
		text-decoration: underline;
	}
}

.capra-results__excerpt,
.capra-results__none {
	color: var(--wp--custom--token--text-body);
}

.capra-results__excerpt p {
	margin: 0;
}

.capra-results__excerpt:not(:has(p:not(:empty))) {   /* a page without a summary: its title alone */
	display: none;
}

/* --- Page frame ------------------------------------------------------------
   Last in this file, as it was its own file loaded after it (app.css, folded in
   by the cleanup of 9 Nov 2026). Header, main and footer butt together; each
   section owns its padding (without this the root block gap opens a strip
   above the hero). Main grows, so a short page still puts the footer at the
   bottom.

   The root gutter: theme.json sets it (styles.spacing.padding), but with
   useRootPaddingAwareAlignments WordPress only applies it to blocks with a
   constrained layout, and these templates have none: the gutter was declared
   but never applied, so phones got flush-left text while every full-bleed
   section (hero, logo strip, closing band) pulled out by a gutter that wasn't
   there and overflowed the page. It is applied once, here; full-bleed sections
   cancel it with the same variables. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

/* The same in the Site Editor, whose canvas has no .wp-site-blocks: only a
   template's own pieces, so a page's paragraphs keep their spacing there. */
.editor-styles-wrapper .is-root-container > :is(.wp-block-template-part, main, .capra-closing) {
	margin-block-start: 0;
}

/* A constrained block (a page's content, its title row) also gets the gutter
   from core as .has-global-padding, which put page text a second gutter in:
   240px from the edge at 1440 (found 14 Oct 2026). The gutter is applied once,
   above; core's own rule still pulls full-width blocks out to the edges. */
.wp-site-blocks .has-global-padding {
	padding-inline: 0;
}


/* --- People and the gradient hero -----------------------------------------
   From contact.css (the cleanup, 9 Nov 2026), which now loads only with the
   contact flow: the people grid is on the Company and Contact pages, the
   gradient hero on Contact, and the robot icon on an event's "show" fact.
   Last in this file, so they still come after everything above. */
/* Figma "Icon / Robot · Side" (754:152983), stroke thickened for its small size
   here; fully percent-encoded, a mask like every icon in components.css. */
:root {
	--capra-i-robot-side: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2040%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.8626%2019.8725C20.6768%2016.1117%2022.0799%207.30167%2022.7942%204.64742C23.0555%203.67626%2023.9445%203.00537%2024.9599%203.00537H47.052C48.0957%203.00537%2049.0023%203.71514%2049.2429%204.72026L52.0332%2019.8725M18.7541%2020.9867L21.5514%2020.4296L25.4917%2019.8725M18.7541%2025.9619L25.4685%2027.3968M46.2606%2019.8725L53.0826%2020.9867M46.8825%2027.6728L53.0826%2025.8284M20.3947%2023.2019C20.3947%2027.9563%2016.5008%2031.8104%2011.6973%2031.8104C6.89394%2031.8104%203%2027.9563%203%2023.2019C3%2018.4475%206.89394%2014.5931%2011.6973%2014.5931C16.5008%2014.5931%2020.3947%2018.4475%2020.3947%2023.2019ZM47.2446%2024.8861C47.2446%2031.0271%2042.2151%2036.0053%2036.0108%2036.0053C29.8066%2036.0053%2024.777%2031.0271%2024.777%2024.8861C24.777%2018.7451%2029.8066%2013.7669%2036.0108%2013.7669C42.2151%2013.7669%2047.2446%2018.7451%2047.2446%2024.8861ZM69%2023.2019C69%2027.9563%2065.106%2031.8104%2060.3027%2031.8104C55.4991%2031.8104%2051.6054%2027.9563%2051.6054%2023.2019C51.6054%2018.4475%2055.4991%2014.5931%2060.3027%2014.5931C65.106%2014.5931%2069%2018.4475%2069%2023.2019Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%223.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
	--capra-i-robot-side-s: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2040%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.8626%2019.8725C20.6768%2016.1117%2022.0799%207.30167%2022.7942%204.64742C23.0555%203.67626%2023.9445%203.00537%2024.9599%203.00537H47.052C48.0957%203.00537%2049.0023%203.71514%2049.2429%204.72026L52.0332%2019.8725M20.3947%2023.2019C20.3947%2027.9563%2016.5008%2031.8104%2011.6973%2031.8104C6.89394%2031.8104%203%2027.9563%203%2023.2019C3%2018.4475%206.89394%2014.5931%2011.6973%2014.5931C16.5008%2014.5931%2020.3947%2018.4475%2020.3947%2023.2019ZM47.2446%2024.8861C47.2446%2031.0271%2042.2151%2036.0053%2036.0108%2036.0053C29.8066%2036.0053%2024.777%2031.0271%2024.777%2024.8861C24.777%2018.7451%2029.8066%2013.7669%2036.0108%2013.7669C42.2151%2013.7669%2047.2446%2018.7451%2047.2446%2024.8861ZM69%2023.2019C69%2027.9563%2065.106%2031.8104%2060.3027%2031.8104C55.4991%2031.8104%2051.6054%2027.9563%2051.6054%2023.2019C51.6054%2018.4475%2055.4991%2014.5931%2060.3027%2014.5931C65.106%2014.5931%2069%2018.4475%2069%2023.2019Z%22%20stroke%3D%22%23000%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");   /* the same robot for small sizes (the contact flow's step track): thicker lines, no wheel ties */
}

/* Hero (Figma Pattern / hero-gradient): the closing gradient, the eyebrow,
   the title, the line. Full bleed, under the transparent header (.capra-hero),
   as the event hero. */
.capra-hero-gradient {
	max-inline-size: none;
	margin-inline:
		calc(-1 * var(--wp--style--root--padding-left, 0px))
		calc(-1 * var(--wp--style--root--padding-right, 0px));
	padding:
		calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--120))
		var(--wp--custom--layout--margin)
		var(--wp--preset--spacing--80);
	background: var(--wp--preset--gradient--bg-gradient);
}

.capra-hero-gradient__inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-hero-gradient__title {
	max-inline-size: 820px;
	color: var(--wp--custom--token--text-primary);
	font-size: var(--wp--preset--font-size--display-m);
	letter-spacing: var(--wp--custom--tracking--display-m);
	--capra-leading: var(--wp--custom--leading--display-m);
}

.capra-hero-gradient__lead {
	max-inline-size: 600px;
	font-size: var(--wp--preset--font-size--body-l);
}

/* People (Figma Pattern / people-grid, With team): the leaders, then the
   people you will talk to. Every card is a few rows of its list's grid
   (subgrid), so photos, names, titles and emails line up across a row however
   many lines a name or title takes (Jonas, 21 Oct 2026). */
.capra-people > .capra-section-head {
	margin-block-end: 0;
}

.capra-people {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--32) var(--wp--preset--spacing--80);
}

/* Leadership as cards sharing the row, however many there are (Jonas, 27 Nov 2026, B of two: three in a
   four-column grid left a quarter empty): the portrait runs to the card's left, top and bottom edges, its four
   corners rounded, the name, role and email beside it; one card a row on phones. */
.capra-leaders__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
}

.capra-talk__list > li {
	display: grid;
	grid-template-rows: subgrid;
}


/* A leader's email, as the people below show theirs (Jonas, 21 Oct 2026). */
.capra-leader > .capra-leader__email {
	margin-block-start: var(--wp--preset--spacing--4);
	font-size: var(--wp--preset--font-size--body-s);
	font-weight: var(--wp--custom--weight--semibold);
}

.capra-leader__email a,
.capra-talk__line a {
	color: var(--wp--custom--token--text-link);
	text-decoration: none;
}

@media (hover: hover) {
	.capra-leader__email a:hover,
	.capra-talk__line a:hover {
		text-decoration: underline;
	}
}

.capra-leader {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	grid-template-rows: 1fr auto auto auto 1fr;
	grid-template-areas: "photo ." "photo name" "photo role" "photo email" "photo .";
	column-gap: var(--wp--preset--spacing--24);
	row-gap: var(--wp--preset--spacing--8);
	block-size: 100%;
	padding-inline-end: var(--wp--preset--spacing--24);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
	box-shadow: var(--wp--preset--shadow--card), inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.capra-leader > .capra-leader__photo {
	grid-area: photo;
	margin: 0;
}

.capra-leader > .capra-leader__name { grid-area: name; }
.capra-leader > .capra-leader__role { grid-area: role; }
.capra-leader > .capra-leader__email { grid-area: email; }

.capra-leader__photo img {
	block-size: 100%;
	inline-size: 100%;
	aspect-ratio: 282 / 338;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--lg);
}

.capra-leader__name,
.capra-talk__name {
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--bold);
	letter-spacing: 0;
	--capra-leading: var(--wp--custom--leading--title);
}

.capra-leader__role {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

.capra-people > .capra-people__talk-label {
	margin-block-start: var(--wp--preset--spacing--24);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-l);
	font-weight: var(--wp--custom--weight--mono-semibold);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-primary);
}

.capra-talk__list {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
	grid-auto-columns: 196px;
	gap: 0 var(--wp--preset--spacing--24);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.capra-talk__list > * {
	scroll-snap-align: start;
}

.capra-talk__list > li {
	grid-row: span 5;
}

/* Photo, region, name, title, email: one row each, shared across the list. */
.capra-talk {
	display: grid;
	grid-row: 1 / -1;
	grid-template-rows: subgrid;
	row-gap: var(--wp--preset--spacing--4);
	align-content: start;
}

.capra-talk > .capra-talk__photo {
	margin-block-end: var(--wp--preset--spacing--16);
}

.capra-talk > .capra-talk__region {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-s);
	letter-spacing: var(--wp--custom--tracking--mono-caps);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.capra-talk__photo img {
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--full);
}

.capra-talk__name {
	font-size: var(--wp--preset--font-size--title-m);
}

.capra-talk__role {
	font-size: var(--wp--preset--font-size--body-s);
	color: var(--wp--custom--token--text-muted);
}

/* The email, on the last row of every card: one line, so the rows hold. */
.capra-talk > .capra-talk__line {
	margin-block-start: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--body-s);
	font-weight: var(--wp--custom--weight--semibold);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 744px) {
	.capra-hero-gradient {
		padding-block: calc(var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--64)) var(--wp--preset--spacing--48);
	}

	.capra-hero-gradient__title {
		font-size: var(--wp--preset--font-size--heading-xl);
		letter-spacing: var(--wp--custom--tracking--heading-xl);
		--capra-leading: var(--wp--custom--leading--heading-xl);
	}

	.capra-hero-gradient__lead {
		font-size: var(--wp--preset--font-size--body-m);
	}

	.capra-people {
		gap: var(--wp--preset--spacing--24);
		padding-block: var(--wp--preset--spacing--16) var(--wp--preset--spacing--64);
	}

	.capra-leaders__list {
		gap: var(--wp--preset--spacing--16);
	}

	/* The people you will talk to: a swipe row, the next one peeking in. */
	.capra-talk__list {
		max-inline-size: none;
		grid-auto-columns: 220px;
		gap: var(--wp--preset--spacing--16);
		margin-inline: calc(-1 * var(--wp--custom--layout--margin));
		padding-inline: var(--wp--custom--layout--margin);
		scroll-padding-inline: var(--wp--custom--layout--margin);
	}
}
