/*
Theme Name: Insideout Events
Theme URI: https://insideout.events
Author: Insideout Events
Description: Editorial block theme for Insideout Events: exhibition stand design, build and installation. Includes a Projects post type for case studies and a one-click starter content importer (Appearance > Insideout setup).
Version: 1.29.2
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: insideout
*/

/* ---------------------------------------------------------------
   Base
--------------------------------------------------------------- */

:root {
	--io-brand: var(--wp--preset--color--brand);
	--io-accent: var(--wp--preset--color--accent);
	--io-heading: var(--wp--preset--color--heading);
	--io-ink: var(--wp--preset--color--ink);
	--io-paper: var(--wp--preset--color--paper);
	--io-rule: color-mix(in srgb, var(--io-ink) 15%, transparent);
	--io-soft: color-mix(in srgb, var(--io-ink) 70%, transparent);
	--io-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--io-accent); outline-offset: 4px; }
::selection { background: var(--io-accent); color: var(--io-ink); }

.skip-link.screen-reader-text:focus { background: var(--io-ink); color: #fff; padding: .75rem 1rem; }

/* Highlighted words: use the editor's Highlight > Text colour > Brand blue.
   A solid brand colour, no effects. */
mark.has-brand-color { background: none !important; color: var(--io-brand) !important; padding: 0; }
mark.has-accent-color { background: none !important; color: var(--io-accent) !important; padding: 0; }

/* ---------------------------------------------------------------
   Type helpers (block styles)
--------------------------------------------------------------- */

/* Eyebrows / subheadings: Figtree, the tagline's font, in brand blue */
.is-style-kicker {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
	font-style: normal;
	font-weight: 500;
	letter-spacing: -.005em;
	line-height: 1.35;
	text-transform: none;
	color: var(--io-brand);
}

.is-style-lede {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
	font-weight: 400;
	line-height: 1.38;
	letter-spacing: -.025em;
	color: var(--io-heading);
}

.is-style-meta {
	font-size: .8125rem !important;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.5;
	color: color-mix(in srgb, var(--io-ink) 60%, transparent);
}

.io-index-num {
	font-family: var(--wp--preset--font-family--body);
	font-size: .875rem !important;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--io-ink) 45%, transparent);
}

.io-soft { color: var(--io-soft); }

/* Drop cap on the first paragraph of a case study */
.io-case-body > p:first-child {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	font-weight: 400;
	line-height: 1.4;
	color: var(--io-heading);
}
.io-case-body > p { font-size: 1.125rem; line-height: 1.8; }

/* ---------------------------------------------------------------
   Editorial plates (images with ruled captions)
--------------------------------------------------------------- */

.is-style-plate,
.io-plate { position: relative; }
.is-style-plate img,
.io-plate img,
.wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
	background: color-mix(in srgb, var(--io-brand) 6%, var(--io-paper));
	transition: transform 900ms var(--io-ease);
}
.is-style-plate,
.wp-block-post-featured-image { overflow: hidden; }
.is-style-plate:hover img,
.io-card:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.is-style-plate { overflow: visible; }
.is-style-plate > a, .is-style-plate > img { display: block; overflow: hidden; }
.is-style-plate figcaption,
.wp-block-image.is-style-plate .wp-element-caption {
	margin: .85rem 0 0;
	font-size: .8125rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	color: color-mix(in srgb, var(--io-ink) 55%, transparent);
}

/* Aspect helpers for image blocks */
.io-r-wide img { aspect-ratio: 21 / 9; }
.io-r-land img { aspect-ratio: 4 / 3; }
.io-r-port img { aspect-ratio: 4 / 5; }
.io-r-16x9 img { aspect-ratio: 16 / 9; }
@media (max-width: 781px) { .io-r-wide img { aspect-ratio: 16 / 10; } }

/* Gallery inside case studies: editorial rhythm */
.io-case-gallery.wp-block-gallery { gap: 2rem !important; }
.io-case-gallery.wp-block-gallery figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.io-case-gallery figcaption.wp-element-caption {
	position: static !important;
	background: none !important;
	color: color-mix(in srgb, var(--io-ink) 68%, transparent) !important;
	padding: 0 !important;
	margin-top: .85rem;
	font-size: .8125rem !important;
	text-align: left !important;
	max-height: none !important;
}

/* ---------------------------------------------------------------
   Layout pieces
--------------------------------------------------------------- */

/* No divider lines anywhere: separation comes from space and background. */
.io-rule-top { padding-top: 0; }
.io-rule-y > * { padding-block: 1.25rem; margin-block: 0 !important; }

@media (min-width: 782px) {
	.io-sticky { position: sticky; top: 7rem; }
	.io-offset { padding-top: 6rem; }
	.io-offset-sm { padding-top: 3rem; }
}


/* Ruled list block style */
.wp-block-list.is-style-ruled { list-style: none; padding: 0; }
.wp-block-list.is-style-ruled li { padding: .45rem 0; }

/* Ticked list for service bullets */
.io-ticks { list-style: none; padding: 0; }
.io-ticks li { position: relative; padding-left: 1.75rem; margin-top: .6rem; }
.io-ticks li::before {
	content: "";
	position: absolute;
	left: 0; top: .45em;
	width: .85rem; height: .45rem;
	border-left: 2px solid var(--io-brand);
	border-bottom: 2px solid var(--io-brand);
	transform: rotate(-45deg);
}

/* Link rows (related services, service guides) */
.io-link-rows a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3rem;
	padding: .6rem 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--io-heading);
	text-decoration: none !important;
}
.io-link-rows a::after { content: "→"; color: var(--io-brand); transition: transform 300ms var(--io-ease); }
.io-link-rows a:hover { color: var(--io-brand); }
.io-link-rows a:hover::after { transform: translateX(.25rem); }

/* Text-style call to action */
.io-more a, a.io-more {
	font-weight: 600;
	color: var(--io-heading);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--io-brand) 45%, transparent);
	text-decoration-thickness: 1px;
	text-underline-offset: .35em;
	transition: color 200ms ease, text-decoration-color 200ms ease;
}
.io-more a:hover, a.io-more:hover { color: var(--io-brand); text-decoration-color: var(--io-brand); }

/* Buttons: a colour wipe, an arrow chip that loops on hover, a gentle lean towards the
   cursor (motion.js sets --io-mx / --io-my) and a press when clicked. */
.wp-block-button__link {
	--io-fill: var(--io-heading);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	letter-spacing: .01em;
	background-image: linear-gradient(var(--io-fill), var(--io-fill));
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	transition: color 250ms ease, box-shadow 300ms ease, transform 300ms var(--io-ease), background-size 450ms var(--io-ease);
}
.wp-block-button:not(.is-style-line) .wp-block-button__link {
	box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--io-brand) 85%, transparent);
}
/* Outline button style */
.wp-block-button.is-style-line .wp-block-button__link {
	background-color: transparent;
	color: var(--io-heading);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--io-heading) 40%, transparent);
}
/* The arrow, in a small round chip */
.wp-block-button .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 1.6em;
	height: 1.6em;
	margin: -.2em -.45em -.2em .75em;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, rgba(255, 255, 255, .18);
	transition: background-color 250ms ease, transform 300ms var(--io-ease);
}
.wp-block-button.is-style-line .wp-block-button__link::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3a44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, color-mix(in srgb, var(--io-heading) 9%, transparent); }
.wp-block-button__link:hover, .wp-block-button__link:focus-visible { background-size: 100% 100%; color: #fff; }
.wp-block-button.is-style-line .wp-block-button__link:hover::after,
.wp-block-button.is-style-line .wp-block-button__link:focus-visible::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, rgba(255, 255, 255, .18); }
.wp-block-button__link:active { transform: translate(var(--io-mx, 0), var(--io-my, 0)) scale(.97) !important; transition-duration: 100ms; }
@media (hover: hover) {
	.wp-block-button:not(.is-style-line) .wp-block-button__link:hover {
		transform: translate(var(--io-mx, 0), calc(var(--io-my, 0) - 2px));
		box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--io-heading) 80%, transparent);
	}
	.wp-block-button.is-style-line .wp-block-button__link:hover { transform: translate(var(--io-mx, 0), var(--io-my, 0)); }
	.wp-block-button .wp-block-button__link:hover::after { animation: io-arrow-loop .55s var(--io-ease); }
}
@keyframes io-arrow-loop {
	0% { background-position: 50% 50%, 0 0; }
	45% { background-position: 180% 50%, 0 0; }
	46% { background-position: -80% 50%, 0 0; }
	100% { background-position: 50% 50%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link, .wp-block-button__link:hover { transform: none !important; transition: none; }
	.wp-block-button .wp-block-button__link:hover::after { animation: none; }
}

/* Phones: a compact main button with the secondary action as a text link beside it */
@media (max-width: 600px) {
	main .wp-block-buttons { gap: .5rem 1.25rem !important; align-items: center; }
	main .wp-block-button:not(.is-style-line) .wp-block-button__link { padding: .85rem 1.15rem !important; font-size: .9rem; }
	main .wp-block-button.is-style-line .wp-block-button__link {
		padding: .5rem 0 !important;
		background: none !important;
		box-shadow: none !important;
		font-size: .9rem;
		color: var(--io-heading) !important;
		text-decoration: underline;
		text-decoration-color: color-mix(in srgb, var(--io-brand) 50%, transparent);
		text-underline-offset: .35em;
	}
	.io-mobile-cta .wp-block-button__link { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--io-ink) 55%, transparent); }
}

/* ---------------------------------------------------------------
   Header & footer
--------------------------------------------------------------- */

/* Sticky goes on the template-part wrapper; the blur stays on the inner
   group so the fixed mobile button isn't trapped inside it. */
.io-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .io-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .io-header-wrap { top: 46px; } }
@media (max-width: 600px) { .admin-bar .io-header-wrap { top: 0; } }
/* The frosted blur lives on a pseudo-element: a backdrop-filter on the
   header itself would trap the full-screen mobile menu inside the header. */
.io-header { position: relative; isolation: isolate; z-index: 41; }
/* While the mobile menu is open, the floating enquiry button steps aside */
html.has-modal-open .io-mobile-cta,
body:has(.io-header .is-menu-open) .io-mobile-cta { display: none !important; }
.io-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--io-paper) 92%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	pointer-events: none;
}
.io-rule-bottom { padding-bottom: 0; margin-bottom: 2rem !important; }

.io-header .wp-block-site-logo img { max-height: 48px; width: auto; }
.io-header .wp-block-site-logo:not(:empty) + .wp-block-site-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.io-header .wp-block-site-title a { color: var(--io-heading); text-decoration: none; font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: -.015em; }

.io-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: .45rem .9rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--io-ink) 80%, transparent);
	transition: color 200ms ease;
}
.io-header .wp-block-navigation-item__content:hover,
.io-header .current-menu-item > .wp-block-navigation-item__content,
.io-header .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--io-brand); text-decoration: none; }
.io-header .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: 4px;
	padding: .6rem !important;
	box-shadow: 0 1.25rem 3rem -1rem color-mix(in srgb, var(--io-ink) 28%, transparent);
	min-width: 16rem !important;
}
.io-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem .8rem; }

/* Mobile menu: a calm full-screen panel */
.io-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--io-paper) !important;
	color: var(--io-heading) !important;
	padding: 1.25rem clamp(1.25rem, 6vw, 2rem) 2.5rem !important;
}
.io-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; gap: 0 !important; }
.io-header .is-menu-open .wp-block-navigation__container { gap: .25rem !important; }
.io-header .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
.io-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: .45rem 0 !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: -.015em;
	color: var(--io-heading);
}
.io-header .is-menu-open .wp-block-navigation__submenu-container {
	box-shadow: none !important;
	padding: .25rem 0 .75rem 1rem !important;
	min-width: 0 !important;
	background: transparent !important;
}
.io-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .35rem 0 !important; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--io-soft); }
.io-header .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.io-header .wp-block-navigation__responsive-container-open,
.io-header .wp-block-navigation__responsive-container-close { color: var(--io-heading); padding: .5rem; }
.io-header .wp-block-navigation__responsive-container-close { top: 1.25rem !important; right: clamp(1.25rem, 6vw, 2rem) !important; }
.io-header .wp-block-navigation__responsive-container-open svg,
.io-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* Floating enquiry button on phones */
.wp-block-buttons.io-mobile-cta { display: none; }
@media (max-width: 600px) {
	.io-header .wp-block-buttons.io-header-cta { display: none; }
	.wp-block-buttons.io-mobile-cta {
		display: block;
		position: fixed;
		left: 1rem; right: 1rem; bottom: 1rem;
		z-index: 40;
		margin: 0 !important;
	}
	.io-mobile-cta .wp-block-button, .io-mobile-cta .wp-block-button__link { width: 100%; }
	.io-footer { padding-bottom: 6.5rem !important; }
}

.io-footer a { color: inherit; text-decoration: none; }
.io-footer a:hover { color: var(--io-brand); }

/* ---------------------------------------------------------------
   Homepage hero (Cover block with video or image)
--------------------------------------------------------------- */

.io-hero.wp-block-cover {
	min-height: min(82svh, 46rem) !important;
	align-items: stretch;
	padding-left: var(--wp--style--root--padding-left, 1.25rem) !important;
	padding-right: var(--wp--style--root--padding-right, 1.25rem) !important;
}
.io-hero .wp-block-cover__inner-container { display: flex; flex-direction: column; justify-content: space-between; }
/* Flex children would shrink to fit; keep the constrained/wide widths. */
.io-hero .wp-block-cover__inner-container > * { width: 100%; box-sizing: border-box; }
.io-hero .wp-block-cover__background { opacity: 1 !important; background:
	linear-gradient(to top, var(--io-paper) 0%, transparent 14%),
	linear-gradient(100deg, color-mix(in srgb, var(--io-paper) 97%, transparent) 0%, color-mix(in srgb, var(--io-paper) 90%, transparent) 42%, color-mix(in srgb, var(--io-paper) 40%, transparent) 62%, transparent 80%) !important; }
.io-hero .is-style-lede { max-width: 34rem; }
@media (max-width: 781px) {
	.io-hero .wp-block-cover__background { background: color-mix(in srgb, var(--io-paper) 86%, transparent) !important; }
}
/* Tagline under the company name */
.io-tagline {
	margin-top: 1.25rem !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -.015em;
	color: var(--io-heading);
}

/* Second hero: brand line over a full-width photo */
.io-statement.wp-block-cover {
	min-height: min(85svh, 48rem) !important;
	align-items: flex-end;
	overflow: hidden;
	padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right, 1.25rem) var(--wp--preset--spacing--60) var(--wp--style--root--padding-left, 1.25rem) !important;
}
.io-statement .wp-block-cover__background {
	opacity: 1 !important;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--io-heading) 82%, transparent) 0%, color-mix(in srgb, var(--io-heading) 55%, transparent) 45%, color-mix(in srgb, var(--io-heading) 15%, transparent) 75%),
		linear-gradient(0deg, color-mix(in srgb, var(--io-heading) 70%, transparent) 0%, transparent 60%) !important;
}
.io-statement h2 { text-shadow: 0 2px 24px color-mix(in srgb, var(--io-ink) 35%, transparent); }
.io-statement .wp-block-cover__inner-container > * { width: 100%; box-sizing: border-box; }
.io-statement :is(h2, p) { color: #fff !important; }
.io-statement h2 { max-width: 13ch; font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }
.io-statement-copy { max-width: 32rem; margin-top: 1.5rem !important; font-size: 1.125rem; line-height: 1.7; opacity: .88; }

/* Global reach: dark band, globe, count-up figures */
.io-reach { position: relative; isolation: isolate; overflow: hidden; }
.io-reach::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 78% 50%, color-mix(in srgb, var(--io-accent) 22%, transparent) 0, transparent 38%),
		radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 22px 22px;
	-webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 35%, #000 100%);
	mask-image: linear-gradient(100deg, transparent 0%, #000 35%, #000 100%);
}
.io-reach .is-style-lede { font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important; line-height: 1.35; color: #fff; }
.io-reach .io-facts { row-gap: 2rem; }
.io-reach .io-fact {
	margin-bottom: .35rem !important;
	font-size: clamp(2.1rem, 3.6vw, 3.1rem);
	font-weight: 500;
	white-space: nowrap;
	letter-spacing: -.025em;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
	color: #fff;
}
.io-reach .io-fact-label { margin-top: 0 !important; max-width: 13rem; font-size: .9375rem; line-height: 1.55; opacity: .72; }
.io-globe { margin: 0 auto; max-width: 34rem; }
.io-globe img { width: 100%; height: auto; filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, .25)); }
@media (prefers-reduced-motion: no-preference) {
	.io-globe img { animation: io-globe-float 9s ease-in-out infinite; }
}
@keyframes io-globe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 781px) { .io-globe { max-width: 22rem; } }

/* Four stages: icons on a dashed build track */
.io-stages { background: #fff; }
.io-stage-track {
	--io-stage-gap: clamp(1.5rem, 3vw, 3rem);
	--io-icon: 4rem;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem var(--io-stage-gap);
}
.io-stage { position: relative; padding-top: calc(var(--io-icon) + 1.75rem); margin-block-start: 0 !important; }
.io-stage > * { margin-block: 0 !important; }
/* Icon badge */
.io-stage::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	z-index: 1;
	width: var(--io-icon);
	height: var(--io-icon);
	border-radius: 50%;
	background: var(--io-paper) center / 1.75rem no-repeat;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--io-brand) 18%, transparent), 0 .75rem 2rem -1rem color-mix(in srgb, var(--io-brand) 55%, transparent);
	transition: transform 600ms var(--io-ease), opacity 600ms var(--io-ease), background-color 300ms ease;
}
.io-stage:hover::before { background-color: color-mix(in srgb, var(--io-brand) 10%, var(--io-paper)); }
.io-stage-design::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
.io-stage-build::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 12-8.4 8.4a2.1 2.1 0 0 1-3-3L12 9'/%3E%3Cpath d='M17.6 15 22 10.6'/%3E%3Cpath d='m20.9 11.9-1.3-1.3a2 2 0 0 1-.6-1.4V8l-2.3-2.3A6 6 0 0 0 12.5 4L9 3.9l.9.8A6.2 6.2 0 0 1 12 9.4V10l2 2h1.2a2 2 0 0 1 1.4.6l1.3 1.3'/%3E%3C/svg%3E"); }
.io-stage-install::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h14v12H1z'/%3E%3Cpath d='M15 8h4l3 3.5V16h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2'/%3E%3Ccircle cx='18.5' cy='18.5' r='2'/%3E%3C/svg%3E"); }
.io-stage-store::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4a2 2 0 0 0 1-1.7z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m7.5 4.3 9 5.2'/%3E%3C/svg%3E"); }
/* Dashed track joining each icon to the next, like a build schedule */
.io-stage:not(:last-child)::after {
	content: "";
	position: absolute;
	top: calc(var(--io-icon) / 2 - 1px);
	left: calc(var(--io-icon) + .75rem);
	right: calc(var(--io-stage-gap) * -1 + .75rem);
	height: 2px;
	background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--io-brand) 55%, transparent) 0 8px, transparent 8px 14px);
	transform-origin: left;
	transition: transform 900ms var(--io-ease);
}
.io-stage-num { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--io-brand); }
.io-stage-title { margin-top: .5rem !important; font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important; font-weight: 600; }
.io-stage-copy { margin-top: .75rem !important; max-width: 19rem; font-size: .9875rem; line-height: 1.7; color: var(--io-soft); }

/* The track draws in stage by stage when it scrolls into view */
.io-js .io-stage-track:not(.is-visible) .io-stage::before { transform: scale(.6); opacity: 0; }
.io-js .io-stage-track:not(.is-visible) .io-stage::after { transform: scaleX(0); }
.io-stage:nth-child(2)::before { transition-delay: 250ms; }
.io-stage:nth-child(3)::before { transition-delay: 500ms; }
.io-stage:nth-child(4)::before { transition-delay: 750ms; }
.io-stage:nth-child(1)::after { transition-delay: 150ms; }
.io-stage:nth-child(2)::after { transition-delay: 400ms; }
.io-stage:nth-child(3)::after { transition-delay: 650ms; }

/* Two by two on tablets; a vertical track on phones */
@media (max-width: 1000px) {
	.io-stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.io-stage:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
	.io-stage-track { grid-template-columns: 1fr; gap: 2.25rem; }
	.io-stage { padding-top: 0; padding-left: calc(var(--io-icon) + 1.25rem); min-height: var(--io-icon); }
	.io-stage:not(:last-child)::after,
	.io-stage:nth-child(2)::after {
		display: block;
		top: calc(var(--io-icon) + .5rem);
		bottom: -1.75rem;
		left: calc(var(--io-icon) / 2 - 1px);
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--io-brand) 55%, transparent) 0 8px, transparent 8px 14px);
		transform-origin: top;
	}
	.io-js .io-stage-track:not(.is-visible) .io-stage::after { transform: scaleY(0); }
}

.io-hero-strip { padding-top: 1rem; }
.io-hero-strip p { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--io-heading) 75%, transparent); margin: 0; }
@media (max-width: 781px) { .io-hero-strip { display: none !important; } }

/* ---------------------------------------------------------------
   Project loops
--------------------------------------------------------------- */

/* Numbering for any project card */
.io-numbered { counter-reset: io-card; }
.io-numbered > li { counter-increment: io-card; }
.io-numbered .io-card-num::before { content: counter(io-card, decimal-leading-zero); }

.io-card .wp-block-post-title a { color: var(--io-heading); text-decoration: none; transition: color 200ms ease; }
.io-card:hover .wp-block-post-title a { color: var(--io-brand); }
.io-card .wp-block-post-featured-image { margin-bottom: 0; }
/* Keeps the grid's rhythm for projects that don't have a photo yet */
.io-card:not(:has(.wp-block-post-featured-image))::before {
	content: "";
	display: block;
	aspect-ratio: 4 / 3;
	background: color-mix(in srgb, var(--io-heading) 8%, var(--io-paper));
}
.io-work-grid > li:nth-child(5n+4) .io-card:not(:has(.wp-block-post-featured-image))::before { aspect-ratio: 4 / 5; }

/* Homepage projects: an even grid, every photo the same shape */
.io-work-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
	gap: 3rem 2rem !important;
}
.io-work-grid > li { margin: 0 !important; padding: 0 !important; grid-column: auto !important; grid-row: auto !important; }
.io-work-grid .wp-block-post-featured-image img { aspect-ratio: 4 / 3 !important; }
.io-work-grid .io-card::before { aspect-ratio: 4 / 3 !important; }

/* Portfolio archive: two staggered columns */
@media (min-width: 782px) {
	.io-portfolio-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem 2.5rem !important; }
	.io-portfolio-grid > li:nth-child(even) { padding-top: 6rem; }
}
.io-portfolio-grid .wp-block-post-featured-image img { aspect-ratio: 4 / 3; }
.io-portfolio-grid > li:nth-child(4n+2) .wp-block-post-featured-image img,
.io-portfolio-grid > li:nth-child(4n+3) .wp-block-post-featured-image img { aspect-ratio: 4 / 5; }

/* Project index table */
.io-project-index { list-style: none; padding: 0; }
.io-project-index .io-index-row { padding-block: .9rem; }
.io-project-index .wp-block-post-title a { text-decoration: none; color: var(--io-heading); }
.io-project-index > li:hover .wp-block-post-title a { color: var(--io-brand); }
@media (min-width: 782px) {
	.io-project-index .io-index-row { display: grid !important; grid-template-columns: 3rem 1.2fr 1.4fr 1fr; align-items: center; gap: 1.5rem; }
	.io-project-index .io-index-row > * { margin: 0 !important; }
}

/* ---- Brief / delivered / outcome notes (portfolio cards and case studies) ---- */
.io-note { position: relative; padding-left: 2.25rem; margin-block-start: 1.25rem !important; }
.io-note > * { margin-block: 0 !important; }
.io-note::before {
	content: "";
	position: absolute;
	left: 0; top: .1rem;
	width: 1.5rem; height: 1.5rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--io-brand) 10%, var(--io-paper)) center / .9rem no-repeat;
}
.io-note-brief::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.io-note-delivered::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.io-note-outcome::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E"); }
.io-note-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--io-brand); line-height: 1.6; }
.io-note-text { margin-top: .3rem !important; font-size: .9375rem; line-height: 1.65; color: color-mix(in srgb, var(--io-ink) 78%, transparent); }
/* A note with nothing filled in disappears, so there is never a placeholder in public */
.io-note:has(.io-note-text:empty) { display: none; }

/* ---- At a glance: intro + project cards ---- */
.io-glance-intro { margin-bottom: var(--wp--preset--spacing--50) !important; }
.io-glance-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	gap: 2rem !important;
	list-style: none;
	padding: 0 !important;
}
.io-glance-grid > li { margin: 0 !important; display: flex; }
.io-glance-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--io-ink) 6%, transparent), 0 18px 40px -28px color-mix(in srgb, var(--io-heading) 55%, transparent);
	transition: transform 400ms var(--io-ease), box-shadow 400ms var(--io-ease);
}
.io-glance-card > * { margin-block: 0 !important; }
@media (hover: hover) {
	.io-glance-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px color-mix(in srgb, var(--io-ink) 6%, transparent), 0 28px 50px -26px color-mix(in srgb, var(--io-heading) 65%, transparent); }
	.io-glance-card:hover .io-glance-photo img { transform: scale(1.04); }
}
.io-glance-photo { overflow: hidden; }
.io-glance-photo img { transition: transform 1.2s var(--io-ease); }
/* Photo placeholder for projects still waiting for pictures */
.io-glance-card:not(:has(.io-glance-photo))::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 10;
	background: color-mix(in srgb, var(--io-heading) 8%, var(--io-paper));
}
.io-glance-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 2.25rem 1.75rem 1.75rem; }
.io-glance-body > * { margin-block: 0; }
/* Number badge sitting on the edge of the photo */
.io-glance-num {
	position: absolute;
	top: -1.35rem; left: 1.75rem;
	display: grid; place-items: center;
	width: 2.7rem; height: 2.7rem;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--io-brand);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: .875rem;
	font-weight: 600;
	box-shadow: 0 0 0 4px #fff;
}
.io-glance-title { font-size: 1.5rem !important; font-weight: 600; letter-spacing: -.015em; }
.io-glance-title a { color: var(--io-heading); text-decoration: none; }
.io-glance-title a:hover { color: var(--io-brand); }
.io-glance-show { margin-top: .35rem !important; font-size: .875rem; color: var(--io-soft); }
.io-glance-more { margin-top: auto !important; padding-top: 1.5rem; align-self: flex-start; font-size: .9375rem; }
/* The whole card is clickable via its title link */
.io-glance-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.io-glance-more { position: relative; z-index: 2; }

/* Phones: a swipeable row, with the next card peeking in */
@media (max-width: 781px) {
	.io-glance-grid {
		grid-template-columns: none !important;
		grid-auto-flow: column;
		grid-auto-columns: 84%;
		gap: 1rem !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: var(--wp--style--root--padding-left, 1.25rem);
		margin-inline: calc(var(--wp--style--root--padding-left, 1.25rem) * -1) !important;
		padding: .5rem var(--wp--style--root--padding-left, 1.25rem) 1.5rem !important;
		scrollbar-width: none;
	}
	.io-glance-grid::-webkit-scrollbar { display: none; }
	.io-glance-grid > li { scroll-snap-align: start; }
	.io-glance-body { padding: 2rem 1.35rem 1.4rem; }
	.io-glance-num { left: 1.35rem; }
	.io-glance-intro .wp-block-column:last-child { margin-top: -1rem; }
}

.io-glance-grid > li[hidden] { display: none !important; }

/* Year tags on each card (links to that year's page) */
.io-year-tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .65rem !important; }
.io-year-tags a {
	display: inline-block;
	padding: .2rem .6rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--io-brand) 9%, #fff);
	color: var(--io-brand);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease;
}
.io-year-tags a:hover { background: var(--io-brand); color: #fff; }
.io-year-tags .wp-block-post-terms__separator { display: none; }

/* Year filter bar */
.io-filter-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.io-filter { display: flex; gap: .5rem; flex-wrap: wrap; }
.io-filter button {
	min-height: 2.75rem;
	padding: .55rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--io-heading);
	font: 500 .9375rem var(--wp--preset--font-family--body);
	cursor: pointer;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--io-ink) 8%, transparent);
	transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.io-filter button:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--io-brand) 40%, transparent); }
.io-filter button[aria-pressed="true"] { background: var(--io-heading); color: #fff; box-shadow: none; }
.io-filter-status { margin: 0 !important; font-size: .875rem; color: var(--io-soft); }
@media (max-width: 781px) {
	/* One swipeable row of year chips */
	.io-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--wp--style--root--padding-left, 1.25rem) * -1); padding: .25rem var(--wp--style--root--padding-left, 1.25rem); }
	.io-filter::-webkit-scrollbar { display: none; }
	.io-filter button { flex: 0 0 auto; }
	.io-filter-wrap { margin-bottom: 1.25rem; }
}

/* Even photo layouts everywhere: paired photos get equal widths and the same shape */
.io-offset, .io-offset-sm { padding-top: 0 !important; }
.wp-block-columns:has(> .wp-block-column > .is-style-plate):not(:has(> .wp-block-column > :not(.is-style-plate))) > .wp-block-column {
	flex-basis: 0 !important;
	flex-grow: 1 !important;
}
.wp-block-columns:has(> .wp-block-column > .is-style-plate):not(:has(> .wp-block-column > :not(.is-style-plate))) .is-style-plate img { aspect-ratio: 4 / 3 !important; }
.io-section-grid { align-items: start; }

/* Case study page: the three notes in a row under the main photo */
.io-case-notes { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2.5rem; }
.io-case-notes > .io-note { margin: 0 !important; padding: 1.5rem 1.5rem 1.5rem 3.9rem; border-radius: 6px; background: #fff; }
.io-case-notes > .io-note::before { left: 1.5rem; top: 1.5rem; width: 1.75rem; height: 1.75rem; background-size: 1rem; }
.io-case-notes .io-note-text { font-size: 1rem; }

/* Next project link */
.io-next-project a { font-family: var(--wp--preset--font-family--display); font-weight: 600; letter-spacing: -.015em; font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1; color: var(--io-heading); text-decoration: none; }
.io-next-project a:hover { color: var(--io-brand); }

/* ---------------------------------------------------------------
   Reviews carousel (scroll-snap; JS adds buttons)
--------------------------------------------------------------- */

.io-reviews { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 2rem !important; flex-wrap: nowrap !important; }
.io-reviews::-webkit-scrollbar { display: none; }
.io-reviews > * { flex: 0 0 100%; scroll-snap-align: start; margin: 0 !important; }
.io-reviews blockquote, .io-reviews .wp-block-quote { margin: 0; padding: 0; border: 0; }
.io-reviews .wp-block-quote p { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: var(--io-heading); }
.io-reviews cite { display: block; margin-top: 1.25rem; font-style: normal; font-weight: 600; font-size: 1rem; color: var(--io-soft); }
.io-reviews-controls { display: flex; gap: .5rem; align-items: center; margin-top: 1.75rem; }
.io-reviews-controls button {
	display: grid; place-items: center;
	width: 2.75rem; height: 2.75rem;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--io-heading) 8%, transparent);
	color: var(--io-heading);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background 200ms ease, color 200ms ease;
}
.io-reviews-controls button:hover { background: var(--io-heading); color: #fff; }
.io-reviews-controls span { margin-left: .75rem; font-weight: 600; color: var(--io-soft); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------
   Map, contact form, enquiry band
--------------------------------------------------------------- */

.io-map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; filter: grayscale(60%) contrast(1.02); }
@media (max-width: 781px) { .io-map iframe { aspect-ratio: 4 / 3; } }

.io-form {
	display: grid;
	gap: 1.25rem;
	border-radius: 4px;
	background: #fff;
	padding: clamp(1.75rem, 4vw, 3.5rem);
}
.io-form label { display: grid; gap: .5rem; font-weight: 600; }
.io-form input:not([type="checkbox"]):not([type="radio"]), .io-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 3rem;
	padding: .75rem 1rem;
	border: 0;
	border-radius: 3px;
	background: color-mix(in srgb, var(--io-heading) 6%, var(--io-paper));
	font: inherit;
	transition: background 200ms ease;
}
.io-form input:hover, .io-form textarea:hover { background: color-mix(in srgb, var(--io-heading) 9%, var(--io-paper)); }
/* Hold the form's look against plugins that restyle every input on the site
   (e.g. GoDaddy Site Designer's "contrast fallback"). */
body .wp-site-blocks .io-form :is(input:not([type="checkbox"]):not([type="radio"]), textarea) {
	background: color-mix(in srgb, var(--io-heading) 6%, var(--io-paper)) !important;
	color: var(--io-ink) !important;
	border: 0 !important;
}
body .wp-site-blocks .io-form button[type="submit"] {
	background: var(--io-brand) !important;
	color: #fff !important;
	padding: .85rem 2rem !important;
}
body .wp-site-blocks .io-form button[type="submit"]:hover { background: var(--io-heading) !important; }
.io-form textarea { min-height: 10rem; resize: vertical; }
.io-form input:focus, .io-form textarea:focus { outline: 3px solid var(--io-accent); outline-offset: 1px; }
.io-form button {
	justify-self: start;
	min-height: 3.5rem;
	padding: .85rem 2rem;
	border: 0;
	border-radius: 3px;
	background: var(--io-brand);
	color: #fff;
	font: 600 1rem var(--wp--preset--font-family--body);
	letter-spacing: .01em;
	cursor: pointer;
	transition: background 250ms ease;
}
.io-form button:hover { background: var(--io-heading); }
.io-form [role="status"] { color: var(--io-brand); font-weight: 600; margin: 0; }

.io-contact-band { position: relative; overflow: hidden; }
.io-contact-band h2 { color: #fff; }
.io-contact-band .wp-block-button:not(.is-style-line) .wp-block-button__link { background-color: #fff; color: var(--io-heading); }
.io-contact-band .wp-block-button:not(.is-style-line) .wp-block-button__link::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3a44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, color-mix(in srgb, var(--io-heading) 9%, transparent); }
.io-contact-band .wp-block-button:not(.is-style-line) .wp-block-button__link:hover::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, rgba(255, 255, 255, .18); }
.io-contact-band .wp-block-button:not(.is-style-line) .wp-block-button__link:hover { color: #fff; }

/* ---------------------------------------------------------------
   Page pieces
--------------------------------------------------------------- */

/* Templates stack header / main / footer with no gaps between them */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group > .alignfull:first-child { margin-block-start: 0; }
main.wp-block-group > .alignfull + .alignfull { margin-block-start: 0; }
main .wp-block-post-content.alignfull { margin-block: 0; }
.wp-block-post-content > .alignfull { margin-block: 0 !important; }

.io-measure { max-width: 40rem; }
.io-fact { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; color: var(--io-heading); margin-bottom: .25rem !important; }
.io-row-num { min-width: 3rem; padding-top: .35rem; margin: 0 !important; }
@media (max-width: 781px) { .io-hide-mobile { display: none !important; } }

.io-back { font-weight: 500; }
.is-layout-constrained > .io-wide { max-width: var(--wp--style--global--wide-size) !important; }
.io-back a { color: color-mix(in srgb, var(--io-ink) 72%, transparent); text-decoration: none; }
.io-back a:hover { color: var(--io-brand); }

.io-show-line { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.35; color: var(--io-heading); }
@media (min-width: 782px) { .io-show-line { text-align: right; } }
.io-case-meta > .is-style-meta { margin-top: 1.5rem; margin-bottom: 0; }
.io-case-meta > .is-style-meta:first-child { margin-top: 0; }
.io-case-meta > .io-meta-value { margin-top: .35rem; font-weight: 600; color: var(--io-heading); }
/* Hide a label whose field is still blank. */
.io-case-meta > .is-style-meta:has(+ .io-meta-value:empty),
.io-case-meta > .io-meta-value:empty { display: none; }

.io-case-body .wp-block-quote.io-pull,
.io-pull {
	margin-block: 4rem;
	padding: 0 !important;
	border: 0 !important;
}
.io-pull p { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: var(--io-heading); }
.io-pull cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 400; font-size: .9375rem; color: var(--io-soft); }

.io-service-rows > * { padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.io-service-rows > *:last-child { margin-bottom: 0; }
.io-service-rows h3 a { color: var(--io-heading); text-decoration: none; }
.io-service-rows h3 a:hover { color: var(--io-brand); }
.io-phase { padding-block: 3.5rem 2rem; margin-block: 0 !important; }

.io-link-rows { list-style: none; padding-left: 0; }
.io-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); column-gap: 2.5rem; }

.io-article-grid .wp-block-post-title { margin-top: .4rem; }
.io-article-grid .wp-block-post-terms { margin-top: 1.1rem; }
.io-article-grid .wp-block-post-terms a { color: inherit; text-decoration: none; }
.io-article-body > p { font-size: 1.125rem; line-height: 1.8; }

/* ---------------------------------------------------------------
   Motion (progressive enhancement from site.js)
--------------------------------------------------------------- */

.io-js .io-reveal { opacity: 0; transform: translateY(3rem); transition: opacity 800ms var(--io-ease), transform 900ms var(--io-ease); }
.io-js .io-reveal.is-visible { opacity: 1; transform: none; }

.io-cursor {
	position: fixed; top: 0; left: 0; z-index: 9999;
	width: 1.15rem; height: 1.15rem;
	border: 2px solid var(--io-brand);
	border-radius: 50%;
	background: color-mix(in srgb, var(--io-accent) 18%, transparent);
	pointer-events: none;
	transform: translate3d(-50px, -50px, 0);
	transition: width 180ms ease, height 180ms ease, background 180ms ease, opacity 200ms ease;
}
.io-cursor.is-active { width: 1.5rem; height: 1.5rem; background: color-mix(in srgb, var(--io-accent) 24%, transparent); }
html.io-has-cursor :is(body, a, button, input, textarea, select, [role="button"]) { cursor: none; }

@media (prefers-reduced-motion: reduce) {
	.io-cursor { display: none; }
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.io-js .io-reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   Meet the team
--------------------------------------------------------------- */

.io-team-photo img { aspect-ratio: 4 / 5; object-position: 50% 20%; filter: saturate(.92); }
.io-team-member .io-team-name { margin-top: 1.5rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; }
.io-team-role { margin-top: .25rem !important; font-size: .875rem; font-weight: 500; letter-spacing: .02em; color: var(--io-brand); }
.io-team-bio { margin-top: 1rem !important; font-size: .9875rem; line-height: 1.75; color: var(--io-soft); }
.io-team-bio-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: color-mix(in srgb, var(--io-ink) 78%, transparent); }
.io-team-lead .io-team-role { font-size: 1rem; }
.io-team-lead .io-more, .io-team-member .io-more { margin-top: 1.25rem !important; font-size: .9375rem; }
.io-accreditations h3 { font-weight: 600; }

/* Accreditations: white cards with an icon each (works on existing pages too) */
.io-accreditations.wp-block-columns { gap: 1.5rem !important; }
.io-accreditations > .wp-block-column {
	position: relative;
	padding: 1.75rem 1.75rem 1.75rem 5.5rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 18px 40px -30px color-mix(in srgb, var(--io-heading) 60%, transparent);
	transition: transform 400ms var(--io-ease), box-shadow 400ms var(--io-ease);
}
.io-accreditations > .wp-block-column > * { margin-block: 0 !important; }
.io-accreditations > .wp-block-column > * + * { margin-top: .5rem !important; }
.io-accreditations > .wp-block-column::before {
	content: "";
	position: absolute;
	left: 1.5rem; top: 1.6rem;
	width: 2.75rem; height: 2.75rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--io-brand) 10%, #fff) center / 1.35rem no-repeat;
}
.io-accreditations > .wp-block-column:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h4a1 1 0 0 1 1 1v4a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-4a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4a1 1 0 0 1-1-1V4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4a1 1 0 0 1-1 1z'/%3E%3C/svg%3E"); }
.io-accreditations > .wp-block-column:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E"); }
.io-accreditations > .wp-block-column:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12H5a2 2 0 0 0-2 2v5'/%3E%3Ccircle cx='13' cy='19' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Cpath d='M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5'/%3E%3C/svg%3E"); }
@media (hover: hover) {
	.io-accreditations > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -28px color-mix(in srgb, var(--io-heading) 70%, transparent); }
}

/* Our story: milestones timeline */
.io-milestones { position: relative; margin-top: 2.5rem !important; padding-left: 1.75rem; }
.io-milestones::before {
	content: "";
	position: absolute;
	left: .4rem; top: .5rem; bottom: .5rem;
	width: 2px;
	background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--io-brand) 45%, transparent) 0 6px, transparent 6px 11px);
}
.io-milestone { position: relative; margin-block: 0 !important; padding-bottom: 1.4rem; }
.io-milestone:last-child { padding-bottom: 0; }
.io-milestone > * { margin-block: 0 !important; }
.io-milestone::before {
	content: "";
	position: absolute;
	left: -1.75rem; top: .4rem;
	width: .85rem; height: .85rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 3px var(--io-brand);
}
.io-milestone:last-child::before { background: var(--io-brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--io-brand) 18%, transparent); }
.io-milestone-year { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; font-weight: 600; color: var(--io-brand); font-variant-numeric: lining-nums; }
.io-milestone-text { margin-top: .15rem !important; max-width: 24rem; font-size: .9375rem; line-height: 1.6; color: color-mix(in srgb, var(--io-ink) 75%, transparent); }
body .wp-site-blocks [data-dsgo-inline-bg] .io-milestone-year { color: var(--io-brand) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-milestone-text { color: color-mix(in srgb, var(--io-ink) 75%, transparent) !important; }

/* Editor: never hide content behind reveal animations */
.editor-styles-wrapper .io-reveal { opacity: 1 !important; transform: none !important; }

/* Keep figures level with capitals */
.io-fact, .io-stage-num, .io-glance-num, .io-index-num, .io-next-project a { font-variant-numeric: lining-nums; }

/* Safety net: if a site-builder plugin still tags a section with
   data-dsgo-inline-bg, keep the design's colours inside it. */
body .wp-site-blocks [data-dsgo-inline-bg] :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) { color: var(--io-heading) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-glance-num.io-glance-num { color: #fff !important; }
body .wp-site-blocks [data-dsgo-inline-bg] :is(.is-style-kicker, .io-note-label, .io-index-num, .io-stage-num, .io-team-role) { color: var(--io-brand) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-year-tags a { color: var(--io-brand) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-year-tags a:hover { color: #fff !important; }
body .wp-site-blocks [data-dsgo-inline-bg] :is(.io-glance-title, .wp-block-post-title, .io-more, .io-service-rows h3, .io-next-project) a { color: var(--io-heading) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] :is(.io-soft, .io-note-text, .io-glance-show, .io-team-bio, .io-fact-label) { color: var(--io-soft) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-reviews cite { color: var(--io-soft) !important; }
body .wp-site-blocks [data-dsgo-inline-bg] .io-footer a, body .wp-site-blocks .io-footer[data-dsgo-inline-bg] a { color: inherit !important; }
/* ---------------------------------------------------------------
   Icons (definitions in assets/css/icons.css)
--------------------------------------------------------------- */

.io-i { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em; background: var(--io-ico) center / contain no-repeat; }

/* Badge above a heading or block: add io-ih and io-ico-{name} */
.io-ih::before,
.io-svc-sec::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--io-ico) center / 1.4rem no-repeat, color-mix(in srgb, var(--io-brand) 8%, #fff);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--io-brand) 16%, transparent), 0 .75rem 1.75rem -1rem color-mix(in srgb, var(--io-brand) 55%, transparent);
	transition: transform 500ms var(--io-ease), background-color 300ms;
}
.io-ih:hover::before, .io-svc-sec:hover::before { transform: rotate(-8deg) scale(1.05); }
h2.io-ih::before { width: 3.5rem; height: 3.5rem; background-size: 1.6rem, auto; }

/* Homepage "What we do" rows: icon tile instead of a number */
.io-svc::before {
	content: "";
	flex: none;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 14px;
	background: var(--io-ico) center / 1.5rem no-repeat, color-mix(in srgb, var(--io-brand) 8%, #fff);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--io-brand) 14%, transparent);
	transition: background-color 300ms, transform 500ms var(--io-ease);
}
.io-svc:hover::before { background-color: color-mix(in srgb, var(--io-brand) 16%, #fff); transform: translateY(-2px); }

/* Services page rows: a small icon to the left of each service */
.io-svc-item { position: relative; padding-left: 3.75rem; }
.io-svc-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--io-ico) center / 1.2rem no-repeat, color-mix(in srgb, var(--io-brand) 8%, #fff);
}

/* Lists with an icon per item: add io-ilist to the list, io-ico-{name} to each item */
.wp-block-list.io-ilist, ol.io-ilist, ul.io-ilist { list-style: none; padding-left: 0; }
.io-ilist > li, .wp-block-list.io-ilist > li { position: relative; padding-left: 2.05rem; }
.io-ilist > li + li { margin-top: .65rem; }
.io-ilist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--io-ico, none) center / contain no-repeat;
}
.is-style-ruled.io-ilist > li::before { top: calc(.45rem + .2em); }
.io-ilist > li:not([class*="io-ico-"])::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.is-style-ruled.io-ilist > li + li { margin-top: 0; }
.io-perks > li strong { display: block; color: var(--io-heading); }

/* Case study details: icon beside each label */
.io-meta-ico { display: flex; align-items: center; gap: .45rem; }
.io-meta-ico::before { content: ""; width: 1rem; height: 1rem; background: var(--io-ico) center / contain no-repeat; }

/* A soft promo card (contact page) */
.io-promo { margin-top: 2rem; padding: 1.5rem 1.5rem 1.25rem; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--io-brand) 7%, #fff), color-mix(in srgb, var(--io-accent) 10%, #fff)); }
.io-promo > * { margin-block: .5rem 0; }
.io-promo.io-ih::before { margin-bottom: .75rem; background-color: #fff; }

/* Footer contact row */
.io-foot-contact { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.75rem !important; padding-top: 1.25rem; border-top: 1px solid var(--io-rule); font-size: .875rem; }
.io-foot-contact > li + li { margin-top: 0; }
.wp-block-list.io-foot-contact > li { padding-left: 1.6rem; }
.io-foot-contact > li::before { width: 1.05rem; height: 1.05rem; }
.io-foot-contact a { color: inherit; text-decoration: none; }
.io-foot-contact a:hover { color: var(--io-brand); }

/* Enquiry band: two buttons */
.io-band-ctas { gap: .75rem; }
.io-contact-band .is-style-line .wp-block-button__link { --io-fill: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7) !important; background-color: transparent !important; }
.io-contact-band .is-style-line .wp-block-button__link::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / .85em no-repeat, rgba(255, 255, 255, .18) !important; }


/* Four stages: a photo under each icon */
.io-stage-photo { margin: 0 0 1.35rem !important; overflow: hidden; border-radius: 4px; background: var(--io-paper); }
.io-stage-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1100ms var(--io-ease), filter 600ms; filter: saturate(.92); }
.io-stage:hover .io-stage-photo img { transform: scale(1.04); filter: saturate(1.05); }
.io-js .io-stage-track:not(.is-visible) .io-stage-photo { clip-path: inset(100% 0 0 0); }
.io-stage-photo { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--io-ease); }
.io-stage:nth-child(2) .io-stage-photo { transition-delay: 150ms; }
.io-stage:nth-child(3) .io-stage-photo { transition-delay: 300ms; }
.io-stage:nth-child(4) .io-stage-photo { transition-delay: 450ms; }
@media (max-width: 600px) {
	.io-stage-photo img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
	.io-js .io-stage-track:not(.is-visible) .io-stage-photo { clip-path: none; }
}

/* Homepage planner section */
.io-home-planner .io-ilist { margin-top: 1.25rem; }
.io-home-planner .wp-block-buttons { margin-top: 1.75rem; }

/* Blog: one consistent look for every article image */
.io-article-grid .wp-block-post-featured-image,
.io-article-single-image {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	background: color-mix(in srgb, var(--io-brand) 8%, var(--io-paper));
}
.io-article-grid .wp-block-post-featured-image img { aspect-ratio: 3 / 2 !important; filter: saturate(.9) contrast(1.03); }
.io-article-grid .wp-block-post-featured-image::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--io-brand) 28%, transparent));
	mix-blend-mode: multiply;
	transition: opacity 500ms;
}
.io-card:hover .wp-block-post-featured-image::after { opacity: .4; }
.io-article-grid .wp-block-post-terms.io-ico-book { display: flex; align-items: center; gap: .4rem; margin-top: 1rem; }
.io-article-grid .wp-block-post-terms.io-ico-book::before { content: ""; width: .95rem; height: .95rem; background: var(--io-ico) center / contain no-repeat; }
/* ---------------------------------------------------------------
   Free tools: hub cards and tool page intros
--------------------------------------------------------------- */


.io-tool-intro .io-ih::before { display: none; }
.io-tool-intro .is-style-kicker.io-ih { display: flex; align-items: center; gap: .5rem; }
.io-tool-intro .is-style-kicker.io-ih::after { content: ""; order: -1; width: 1.35rem; height: 1.35rem; background: var(--io-ico) center / contain no-repeat; }
.io-tool-cards { gap: 1rem !important; }
.io-tool-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--io-ink) 10%, transparent); transition: transform 400ms var(--io-ease), box-shadow 400ms var(--io-ease); }
.io-tool-card:hover { transform: translateY(-4px); box-shadow: 0 1.5rem 3rem -2rem color-mix(in srgb, var(--io-brand) 60%, transparent); }
.io-tool-card > * { margin-block: 0; }
.io-tool-card h3 { margin-top: .4rem !important; }
.io-tool-card h3 a { color: var(--io-heading); text-decoration: none; }
.io-tool-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.io-tool-card .io-soft { margin-top: .6rem; }
.io-tool-card .io-more { margin-top: auto; padding-top: 1.25rem; }
.io-tool-time { font-size: .8125rem; color: var(--io-brand); font-weight: 600; }
.io-tool-cards.is-compact .io-tool-card { padding: 1.25rem; flex-direction: row; align-items: center; gap: .9rem; flex-wrap: wrap; }
.io-tool-cards.is-compact .io-tool-card::before { margin: 0; width: 2.5rem; height: 2.5rem; background-size: 1.15rem, auto; }
.io-tool-cards.is-compact .io-tool-time { display: none; }
.io-tool-cards.is-compact h3 { margin: 0 !important; font-size: 1.05rem !important; flex: 1; }


/* Hub cards: a solid icon tile and a large faint icon behind */
.io-tool-card { overflow: hidden; isolation: isolate; }
.io-tool-card.io-ih::before { width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--io-ico-w) center / 1.6rem no-repeat, linear-gradient(135deg, var(--io-brand), var(--io-accent)); box-shadow: 0 1rem 2rem -1rem color-mix(in srgb, var(--io-brand) 70%, transparent); }
.io-tool-card::after { content: ""; position: absolute; right: -1.5rem; bottom: -1.5rem; z-index: -1; width: 9rem; height: 9rem; background: var(--io-ico) center / contain no-repeat; opacity: .06; transition: transform 700ms var(--io-ease), opacity 400ms; }
.io-tool-card:hover::after { transform: rotate(-10deg) scale(1.08); opacity: .1; }
.io-tool-cards.is-compact .io-tool-card.io-ih::before { width: 2.5rem; height: 2.5rem; border-radius: 10px; background-size: 1.15rem, auto; }
.io-tool-cards.is-compact .io-tool-card::after { width: 5rem; height: 5rem; right: -.75rem; bottom: -1rem; }
/* Contact form: consent tick box and thank-you message */
.io-form .io-form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; line-height: 1.5; font-weight: 400; }
.io-form .io-form-check input { width: 1.1rem; height: 1.1rem; min-height: 0; padding: 0; margin: .2rem 0 0; flex: none; accent-color: var(--io-brand); cursor: pointer; }
.io-form .io-form-check { cursor: pointer; }
.io-form .io-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.io-form button[disabled] { opacity: .6; cursor: progress; }
.io-form > [role="status"]:not(.io-form-done):not(:empty) { color: #b42318; font-weight: 600; }
.io-form-done { padding: 1rem 0; }
.io-form-done [role="status"], .io-form-done p { color: inherit; font-weight: 400; }
/* Trust points (homepage Who we are) */
.io-trust { margin: 1.5rem 0 1.75rem !important; font-size: .9375rem; }
.io-trust strong { color: var(--io-heading); }

/* Homepage: Write me a brief teaser */
.io-brief-teaser { background: #fff; border-radius: 8px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 1px 0 color-mix(in srgb, var(--io-ink) 10%, transparent), 0 2rem 3.5rem -2.5rem color-mix(in srgb, var(--io-brand) 55%, transparent); }
.io-brief-teaser-kicker { color: var(--io-brand); font-weight: 600; font-size: .9375rem; margin: 0 !important; }
.io-brief-teaser h3 { margin-top: .35rem !important; }
.io-brief-teaser-pair { gap: .75rem !important; margin-top: 1rem !important; }
.io-brief-teaser-pair figure { margin: 0; border-radius: 6px; overflow: hidden; position: relative; transition: transform 300ms var(--io-ease); }
.io-brief-teaser-pair figure:hover { transform: translateY(-3px); }
.io-brief-teaser-pair img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.io-brief-teaser-pair figcaption { position: absolute; inset: auto 0 0 0; margin: 0 !important; padding: 1.25rem .6rem .5rem; color: #fff; font-size: .8125rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }

/* Shows & venues */
.io-shows { margin-inline: auto; }
.io-shows-h { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: clamp(2.5rem, 5vw, 4rem) 0 1.25rem !important; }
.io-shows-h:first-child { margin-top: 0 !important; }
.io-venue-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.io-venue-card { display: block; padding: 1.2rem; border-radius: 8px; background: #fff; border: 1px solid color-mix(in srgb, var(--io-ink) 10%, transparent); text-decoration: none; color: inherit; position: relative; transition: transform 250ms var(--io-ease), border-color 200ms, box-shadow 250ms; }
.io-venue-card::before { width: 2.5rem !important; height: 2.5rem !important; margin-bottom: .8rem !important; background-size: 1.2rem, auto !important; }
.io-venue-card:hover { transform: translateY(-3px); border-color: var(--io-brand); box-shadow: 0 1.25rem 2rem -1.5rem color-mix(in srgb, var(--io-brand) 60%, transparent); }
.io-venue-card strong { display: block; color: var(--io-heading); font-size: 1.1rem; }
.io-venue-card span { display: block; margin-top: .2rem; color: var(--io-soft); font-size: .875rem; }
.io-shows-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .75rem; }
.io-show { padding: 1.1rem 1.2rem; border-radius: 8px; background: #fff; border: 1px solid color-mix(in srgb, var(--io-ink) 10%, transparent); }
.io-show-when { margin: 0 !important; font-size: .8125rem; font-weight: 600; color: var(--io-soft); text-transform: uppercase; letter-spacing: .04em; }
.io-show-when.is-dated { color: var(--io-brand); }
.io-show-name { font-size: 1.2rem !important; margin: .35rem 0 0 !important; }
.io-show-name a { color: var(--io-heading); text-decoration: none; }
.io-show-name a:hover { color: var(--io-brand); }
.io-show-meta { margin: .3rem 0 0 !important; font-size: .875rem; color: var(--io-soft); }
.io-show-ours { margin: .75rem 0 0 !important; padding-top: .7rem; border-top: 1px solid color-mix(in srgb, var(--io-ink) 8%, transparent); font-size: .875rem; }
.io-show-ours span { display: block; color: var(--io-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.io-shows-note, .io-shows-more, .io-shows-other { font-size: .875rem; color: var(--io-soft); margin-top: 1rem !important; }
.io-venue-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.io-venue-project { display: block; text-decoration: none; color: inherit; }
.io-venue-project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; transition: transform 400ms var(--io-ease); }
.io-venue-project:hover img { transform: scale(1.02); }
.io-venue-project strong { display: block; margin-top: .6rem; color: var(--io-heading); }
.io-venue-project span { display: block; font-size: .875rem; color: var(--io-soft); }

/* Outline buttons: the text turns white once the fill has reached it */
.wp-block-button.is-style-line .wp-block-button__link { transition: color 180ms ease, box-shadow 300ms ease, transform 300ms var(--io-ease), background-size 380ms var(--io-ease); }
.wp-block-button.is-style-line .wp-block-button__link:hover, .wp-block-button.is-style-line .wp-block-button__link:focus-visible { color: #fff; transition: color 200ms ease 140ms, box-shadow 300ms ease, transform 300ms var(--io-ease), background-size 380ms var(--io-ease); }

/* Instagram */
.io-insta-head { gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important; }
.io-insta-head h2 { margin-top: .35rem !important; }
.io-insta-feed:not(.is-live) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: var(--wp--style--global--wide-size, 1280px); margin-inline: auto; }
.io-insta-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--io-paper); }
.io-insta-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--io-ease), filter 300ms; }
.io-insta-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 114, 163, .55)); opacity: 0; transition: opacity 300ms; }
.io-insta-tile:hover img { transform: scale(1.05); }
.io-insta-tile:hover::after { opacity: 1; }
.io-insta-feed.is-live { max-width: var(--wp--style--global--wide-size, 1280px); margin-inline: auto; }
.io-insta-feed.is-live #sb_instagram .sbi_photo { border-radius: 6px; overflow: hidden; }
.io-insta-admin { max-width: var(--wp--style--global--wide-size, 1280px); margin: 1rem auto 0 !important; padding: .75rem 1rem; border-radius: 6px; background: color-mix(in srgb, var(--io-brand) 8%, #fff); font-size: .875rem; color: var(--io-heading); }
@media (max-width: 700px) { .io-insta-feed:not(.is-live) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Why Insideout audit (1.17) */
/* Accreditation icons follow the new cards: training, forklift, ESSA shield */
.io-accreditations > .wp-block-column:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12H5a2 2 0 0 0-2 2v5'/%3E%3Ccircle cx='13' cy='19' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Cpath d='M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5'/%3E%3C/svg%3E"); }
.io-accreditations > .wp-block-column:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230072a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
/* Cards stack below tablet width so the text isn't squeezed */
@media (max-width: 900px) {
	.io-accreditations.wp-block-columns { flex-direction: column !important; }
	.io-accreditations > .wp-block-column { flex-basis: auto !important; width: 100% !important; }
}

/* Social proof: quotes, clients, stands and the ESSA badge */
.io-why-proof-head { gap: 1rem 2rem; }
.io-why-quotes { gap: 1rem !important; }
.io-why-quote { margin: 0 !important; height: 100%; padding: 1.5rem !important; border: 0 !important; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--io-ink) 8%, transparent), 0 1.5rem 2.5rem -2rem color-mix(in srgb, var(--io-brand) 50%, transparent); }
.io-why-quote p { font-size: 1rem !important; line-height: 1.65; color: var(--io-heading); }
.io-why-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .875rem; font-weight: 600; color: var(--io-brand); }
.io-why-clients { margin-top: 2rem !important; font-size: .9375rem; line-height: 1.9; color: var(--io-heading); }
.io-why-clients span { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--io-soft); }
.io-why-stands { gap: .75rem !important; margin-top: 1.5rem !important; }
.io-why-stand { margin: 0 !important; border-radius: 6px; overflow: hidden; }
.io-why-stand img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 500ms var(--io-ease); }
.io-why-stand:hover img { transform: scale(1.04); }

/* Footer legal line */
.io-legal { margin: .4rem 0 0 !important; font-size: .8125rem; color: var(--io-soft); display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.io-legal a { color: inherit; }
.io-legal-admin { color: #8a5a00; }

/* Phones and tablets: the floating "Plan your stand" button keeps clear of the WhatsApp chat button */
@media (max-width: 600px) {
	body:has([class*="elfsight-app"]) .wp-block-buttons.io-mobile-cta { right: 5.25rem; }
}
@media (min-width: 600px) and (max-width: 900px) {
	body:has([class*="elfsight-app"]) .wp-block-buttons.io-mobile-cta { right: auto; left: 1.25rem; }
}

/* Shows & venues: the shows we've built stands for */
.io-shows-intro { color: var(--io-soft); max-width: 46rem; margin: -.5rem 0 1.5rem !important; }
.io-dir { columns: 3 18rem; column-gap: 1rem; }
.io-dir-group { break-inside: avoid; margin: 0 0 1rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: 8px; background: #fff; border: 1px solid color-mix(in srgb, var(--io-ink) 10%, transparent); }
.io-dir-title { font-size: 1.05rem !important; margin: 0 0 .7rem !important; }
.io-dir-title a { color: var(--io-heading); text-decoration: none; }
.io-dir-title a:hover { color: var(--io-brand); }
.io-dir-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.io-dir-list li { padding: .3rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--io-brand) 7%, #fff); color: var(--io-heading); font-size: .8125rem; line-height: 1.35; }
.io-dir.is-single { columns: auto; }
.io-dir.is-single .io-dir-group { padding: 0; border: 0; background: none; }
.io-dir.is-single .io-dir-list li { font-size: .875rem; padding: .4rem .85rem; }

/* ------------------------------------------------------------------
 * 1.19: sector pages, cost guide, trade partners, proof bar, sector filter
 * ------------------------------------------------------------------ */
.io-filter-wrap .io-filter-sector { flex: 1 1 100%; }
.io-sector-proof { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.io-sector-proof li { padding: 1.1rem 1.25rem; border-radius: 8px; background: var(--wp--preset--color--muted, #f3f5f8); color: var(--io-heading); font-weight: 600; line-height: 1.35; border-left: 3px solid var(--io-brand); }
.io-sector-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.io-sector-story h2 { font-size: clamp(1.25rem, 2vw, 1.5rem) !important; margin: 0 0 .75rem !important; }
.io-sector-story p, .io-sector-story li { color: var(--io-soft); line-height: 1.6; }
.io-sector-story ul { padding-left: 1.1rem; margin: 0; }
.io-sector-story li + li { margin-top: .5rem; }
.io-sector-story strong { color: var(--io-heading); }
.io-sector-quote { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 10px; background: var(--io-heading); color: #fff; }
.io-sector-quote blockquote { margin: 0; }
.io-sector-quote blockquote p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; margin: 0; color: #fff; }
.io-sector-quote figcaption { margin-top: 1rem; font-size: .9rem; opacity: .75; }
.io-sector-quote + .io-sector-quote { margin-top: 1rem; }
.io-proof-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem clamp(1.5rem, 4vw, 3rem); margin: 0; padding: 0; list-style: none; }
.io-proof-bar li { display: flex; align-items: baseline; gap: .5rem; color: var(--io-soft); font-size: .95rem; }
.io-proof-bar strong { color: var(--io-heading); font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

/* ESSA logos: Why Insideout badge and card, homepage, footer, sector and agency pages */
.io-essa-badge.wp-block-image, .io-essa-logo.wp-block-image, .io-essa-foot.wp-block-image { margin: 0 !important; }
.io-essa-badge img, .io-essa-foot img { display: block; height: auto; max-width: 100%; border-radius: 4px; }
.io-essa-logo img { display: block; height: auto; max-width: 100%; }
.io-trust + .io-essa-logo { margin-top: 1.5rem !important; }
.io-accreditations .io-essa-logo { margin-top: 1rem !important; }
.io-essa-foot { margin-top: 1rem !important; }
.io-essa-strip { display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; margin: 1.5rem 0 0 !important; color: var(--io-soft); font-size: .9375rem; line-height: 1.5; }
.io-essa-strip img { display: block; width: 180px; height: auto; border-radius: 4px; flex: 0 0 auto; }
.io-essa-strip span { flex: 1 1 16rem; }

/* 1.22.0: sector, shows and agency pages: intro, content and button share one left edge */
.io-wide-intro .wp-block-post-content > .wp-block-group.alignfull > :not(.alignwide):not(.alignfull) { max-width: var(--wp--style--global--wide-size); }
.io-wide-intro .wp-block-post-content > .io-band > .is-style-lede { box-sizing: border-box; padding-right: max(0px, calc(min(var(--wp--style--global--wide-size), 100%) - 46rem)); }

/* 1.22: homepage hero, two columns with a looping stand video (no overlapping badges) */
.io-hero-cols:has(.io-hero-reel)::before, .io-hero-cols:has(.io-hero-reel)::after { display: none !important; }
.io-hero-reel-frame { position: relative; margin: 0 !important; }
.io-hero-reel-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #0b2a40; box-shadow: 0 2.5rem 5rem -2.5rem color-mix(in srgb, var(--io-brand) 60%, transparent); }
/* The team's show clips are filmed upright: a 4:5 panel shows the whole stand, capped so it fits the screen. */
.io-hero-reel-frame.has-video { max-width: calc(min(78vh, 46rem) * .8); margin-inline: auto !important; }
.io-hero-reel-frame.has-video .io-hero-reel-video { aspect-ratio: 4 / 5; }
.io-hero-reel-caption { display: flex; align-items: center; gap: .55rem; margin-top: .9rem; font-size: .8125rem; line-height: 1.4; color: var(--io-soft); }
.io-hero-reel-caption::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--io-brand); }
.io-hero-reel-frame.has-video .io-hero-reel-caption::before { background: #e5484d; box-shadow: 0 0 0 4px color-mix(in srgb, #e5484d 22%, transparent); }
.io-hero-reel-toggle { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(11, 42, 64, .6); backdrop-filter: blur(6px); transition: background 200ms ease; }
.io-hero-reel-toggle:hover { background: rgba(11, 42, 64, .85); }
.io-hero-reel-toggle:focus-visible { outline: 3px solid var(--io-accent); outline-offset: 2px; }
.io-hero-reel-toggle::before { content: ""; position: absolute; inset: 0; margin: auto; width: .8rem; height: .9rem; border-left: .25rem solid #fff; border-right: .25rem solid #fff; box-sizing: border-box; }
.io-hero-reel-toggle[data-state="paused"]::before { width: 0; height: 0; border: 0; border-left: .75rem solid #fff; border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; margin-left: calc(50% - .3rem); }
.io-hero-split .io-hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
@media (max-width: 781px) { .io-hero-reel { margin-top: 1.5rem; } .io-hero-split .io-hero-proof { grid-template-columns: 1fr; } }

/* Agency page */
.io-partner-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 1rem; }
.io-partner-card { padding: 1.5rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--io-rule), 0 18px 40px -30px color-mix(in srgb, var(--io-heading) 55%, transparent); }
.io-partner-card h3 { font-size: 1.125rem !important; margin: 0 0 .4rem !important; color: var(--io-heading); }
.io-partner-card p { margin: 0; color: var(--io-soft); font-size: .9375rem; line-height: 1.55; }
.io-partner-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: 14px; overflow: hidden; background: var(--io-heading); }
.io-partner-panel { padding: clamp(1.75rem, 4vw, 3.25rem); color: #fff; align-self: center; }
.io-partner-panel h2 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.25rem) !important; margin: 0 0 1rem !important; }
.io-partner-panel p { color: rgba(255, 255, 255, .82); line-height: 1.65; margin: 0; }
.io-partner-panel .io-partner-kicker { color: var(--io-accent); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.io-partner-photo { margin: 0; min-height: 18rem; }
.io-partner-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.io-partner-steps { list-style: none; counter-reset: io-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.5rem; padding: 0; margin: 0; }
.io-partner-steps li { counter-increment: io-step; padding-top: 1rem; border-top: 2px solid var(--io-brand); }
.io-partner-steps li::before { content: "0" counter(io-step); display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--io-brand); margin-bottom: .5rem; }
.io-partner-steps strong { display: block; color: var(--io-heading); font-size: 1.0625rem; margin-bottom: .3rem; }
.io-partner-steps span { color: var(--io-soft); font-size: .9375rem; line-height: 1.55; }
.io-partners .io-essa-strip { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-top: 1.5rem; border-top: 1px solid var(--io-rule); }
@media (max-width: 781px) { .io-partner-split { grid-template-columns: 1fr; } .io-partner-photo { min-height: 14rem; } }
/* ------------------------------------------------------------------
 * 1.20: homepage project showcase (dark, full width)
 * ------------------------------------------------------------------ */
.io-showcase { background: radial-gradient(120% 80% at 85% 0%, color-mix(in srgb, var(--io-brand) 35%, var(--io-heading)) 0%, var(--io-heading) 55%, color-mix(in srgb, var(--io-heading) 80%, #000) 100%); color: #fff; position: relative; overflow: hidden; }
.io-showcase .is-style-kicker { color: #7fd3f7 !important; }
.io-showcase h2 { color: #fff !important; max-width: 18ch; line-height: 1.05; margin: .5rem 0 0 !important; }
.io-showcase-head > .wp-block-group { flex: 1 1 34rem; }
.io-showcase-head > .io-showcase-lede { flex: 0 1 24rem; }
.io-sc-wrap { width: 100%; }
.io-showcase h2 mark { color: #7fd3f7 !important; }
.io-showcase-head { gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.io-showcase-lede { max-width: 26rem; margin: 0 !important; color: rgba(255,255,255,.75); font-size: 1.0625rem; line-height: 1.6; }

.io-sc { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.io-sc-feature { grid-row: span 2; min-height: clamp(26rem, 48vw, 40rem); }
.io-sc-side { min-height: 14rem; }
.io-sc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.io-sc-small { aspect-ratio: 4 / 3.4; }

.io-sc-tile { position: relative; display: block; overflow: hidden; border-radius: 10px; color: #fff !important; text-decoration: none !important; isolation: isolate; background: color-mix(in srgb, var(--io-heading) 70%, #000); }
.io-sc-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 900ms var(--io-ease), filter 600ms; }
.io-sc-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,16,28,0) 35%, rgba(4,16,28,.55) 65%, rgba(4,16,28,.92) 100%); transition: opacity 400ms; }
.io-sc-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: .35rem; padding: clamp(1rem, 2vw, 1.75rem); }
.io-sc-tag { justify-self: start; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.io-sc-title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; line-height: 1.2; }
.io-sc-feature .io-sc-title { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.io-sc-show { font-size: .875rem; color: rgba(255,255,255,.75); }
.io-sc-brief { max-width: 34rem; margin-top: .35rem; color: rgba(255,255,255,.88); line-height: 1.5; }
.io-sc-go { justify-self: start; margin-top: .5rem; font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 300ms var(--io-ease); }
.io-sc-go::after { content: "→"; transition: transform 300ms var(--io-ease); }
.io-sc-feature .io-sc-go { opacity: 1; transform: none; }
.io-sc-small .io-sc-show, .io-sc-side .io-sc-show { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) {
	.io-sc-tile:hover .io-sc-img, .io-sc-tile:focus-visible .io-sc-img { transform: scale(1.06); }
	.io-sc-tile:hover .io-sc-go, .io-sc-tile:focus-visible .io-sc-go { opacity: 1; transform: none; }
	.io-sc-tile:hover .io-sc-go::after { transform: translateX(4px); }
}
.io-sc-tile:focus-visible { outline: 3px solid #7fd3f7; outline-offset: 3px; }

.io-sc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.io-sc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.io-sc-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff !important; text-decoration: none !important; font-size: .9375rem; transition: background 250ms, box-shadow 250ms; }
.io-sc-chip span { font-size: .75rem; padding: .1rem .45rem; border-radius: 999px; background: rgba(255,255,255,.15); }
.io-sc-chip:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.io-sc-all { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-radius: 999px; background: #fff; color: var(--io-heading) !important; font-weight: 600; text-decoration: none !important; transition: transform 250ms var(--io-ease), box-shadow 250ms; }
.io-sc-all::after { content: "→"; }
.io-sc-all:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }

@media (max-width: 900px) {
	.io-sc { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.io-sc-feature { grid-column: 1 / -1; grid-row: auto; min-height: 24rem; }
	.io-sc-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.io-sc, .io-sc-row { grid-template-columns: 1fr; }
	.io-sc-feature { min-height: 22rem; }
	.io-sc-side { min-height: 16rem; }
	.io-sc-brief { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.io-sc-img, .io-sc-go { transition: none; }
}
/* ---------------------------------------------------------------
   1.23: homepage review fixes
--------------------------------------------------------------- */

:root { --io-violet: #6a4fc1; --io-grad: linear-gradient(100deg, var(--io-brand) 0%, #4a5fc4 55%, var(--io-violet) 100%); }

/* Highlighted words: a blue-to-violet gradient (the logo's colours), no underline, so they don't read as links.
   :is(.io-hl.io-hl.io-hl, *) lifts these above the marker-sweep rules in motion.css. */
mark.has-brand-color:is(.io-hl.io-hl.io-hl, *) {
	background: var(--io-grad) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent;
	color: var(--io-brand) !important;
	padding: 0 !important;
}
/* Headlines that animate word by word: each word carries the gradient. */
mark.has-brand-color:has(.io-w):is(.io-hl.io-hl.io-hl, *) { background: none !important; -webkit-text-fill-color: currentColor; }
mark.has-brand-color .io-w:is(.io-hl.io-hl.io-hl, *) {
	background-image: var(--io-grad) !important;
	background-repeat: no-repeat !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent;
	/* Each word is an inline-block only as tall as the line, which clipped the tails of g, y and p: extend the painted area below the baseline. */
	padding-bottom: .2em;
	margin-bottom: -.2em;
}
/* Same for any highlighted phrase in a tight-leading headline. */
mark.has-brand-color:is(.io-hl.io-hl.io-hl, *) { padding-bottom: .12em !important; }
.io-showcase h2 mark:is(.io-hl.io-hl.io-hl.io-hl, *), .io-reach mark:is(.io-hl.io-hl.io-hl.io-hl, *) { -webkit-text-fill-color: currentColor; background: none !important; }
/* Hero: one headline, one line of text */
.io-hero-copy h1.io-hero-title { font-size: clamp(2.5rem, 4.3vw, 4.1rem) !important; line-height: 1.04 !important; letter-spacing: -.035em; font-weight: 600; margin-top: .75rem !important; }
.io-hero-split .io-hero-lede { max-width: 34rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--io-soft); margin-top: 1.5rem !important; }
.io-hero-split .io-hero-ctas { margin-top: 2.25rem !important; }

/* Stats band */
.io-stats { position: relative; isolation: isolate; overflow: hidden; }
.io-stats::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--io-violet) 40%, transparent), transparent 60%), radial-gradient(50% 120% at 0% 100%, color-mix(in srgb, var(--io-accent) 28%, transparent), transparent 60%);
}
.io-stats-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.io-stats-grid > * { margin: 0 !important; }
.io-stat { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.io-stat > * { margin: 0 !important; }
.io-stat-num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.75rem, 5vw, 4.25rem); font-weight: 600; line-height: 1; letter-spacing: -.04em;
	font-variant-numeric: lining-nums tabular-nums;
	background: linear-gradient(100deg, #fff 30%, #c9bdf5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.io-stat-label { margin-top: .75rem !important; max-width: 15rem; font-size: .975rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .io-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .io-stat-num { font-size: 2.5rem; } }

/* Client ticker straight under the stats */
.io-stats + .io-marquee { border-bottom: 1px solid var(--io-rule); }
.io-marquee-track.is-looping li::after { color: var(--io-violet); }

/* One process section: photos and numbers, no icon track */
.io-stages-head { margin-bottom: clamp(2rem, 4vw, 3.25rem) !important; gap: 1rem 3rem; }
.io-stages-head .io-stages-lede { max-width: 24rem; margin: 0 !important; }
.io-stage { padding-top: 0 !important; padding-left: 0 !important; }
.io-stage::before, .io-stage::after, .io-stage:not(:last-child)::after { content: none !important; display: none !important; }
.io-stage-num { color: var(--io-violet); }

/* Services: numbers instead of icons */
.io-svc-numbered { counter-reset: io-svc; }
.io-svc-numbered .io-svc { counter-increment: io-svc; }
.io-svc-numbered .io-svc::before {
	content: counter(io-svc, decimal-leading-zero);
	width: auto; height: auto; border-radius: 0; box-shadow: none; background: none !important;
	min-width: 2.25rem; padding-top: .3rem;
	font-size: .875rem; font-weight: 600; letter-spacing: .12em; color: var(--io-violet);
}
.io-svc-numbered .io-svc:hover::before { transform: none; }

/* Showcase: every card gets a line of description */
.io-sc-side .io-sc-brief, .io-sc-small .io-sc-brief { display: block; font-size: .875rem; line-height: 1.45; opacity: .85; }

/* Reviews with Gemma */
.io-reviews-cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.io-gemma-photo { margin: 0 !important; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; max-width: 22rem; box-shadow: 0 2rem 3.5rem -2rem rgba(11, 42, 64, .45); }
.io-gemma-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.io-gemma-name { margin-top: 1.25rem !important; font-size: 1rem; color: var(--io-soft); }
.io-gemma-name strong { display: block; font-size: 1.35rem; color: var(--io-heading); }
.io-gemma .io-soft { max-width: 22rem; }
.io-reviews-score strong { color: #f5b301; letter-spacing: .1em; }
.io-review-stand { margin-top: 1.25rem !important; }
.io-review-stand a { display: inline-flex; align-items: center; gap: .85rem; font-weight: 600; color: var(--io-brand); text-decoration: none; }
.io-review-stand img { width: 6rem; height: 4.5rem; object-fit: cover; border-radius: 8px; }
.io-review-stand a:hover span { text-decoration: underline; }
@media (max-width: 781px) { .io-gemma { display: grid; grid-template-columns: 7rem 1fr; gap: 0 1.25rem; align-items: center; } .io-gemma-photo { grid-row: span 2; } .io-gemma-name { margin-top: 0 !important; } }

/* Meet the crew */
.io-crew-head { gap: 1rem 3rem; }
.io-crew-lede { max-width: 30rem; margin: 0 !important; }
.io-crew-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.io-crew-row > * { margin: 0 !important; }
.io-crew-photo { margin: 0 !important; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: var(--io-paper); }
.io-crew-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); transition: transform 900ms var(--io-ease), filter 400ms; }
.io-crew-member:hover .io-crew-photo img { transform: scale(1.04); filter: saturate(1.05); }
.io-crew-name { margin-top: .85rem !important; font-size: .875rem; line-height: 1.4; color: var(--io-soft); }
.io-crew-name strong { display: block; font-size: 1.05rem; color: var(--io-heading); }
.io-crew-foot { margin-top: clamp(2rem, 4vw, 3rem) !important; padding-top: 1.75rem; border-top: 1px solid var(--io-rule); gap: 1.25rem 2rem; }
.io-crew-essa { gap: 1rem !important; }
.io-crew-essa .io-essa-logo { margin: 0 !important; }
.io-crew-essa p { margin: 0 !important; max-width: 18rem; font-size: .9rem; }

/* Where we're building next */
.io-reach h2 { margin-top: .5rem !important; }
.io-reach .io-reach-copy { max-width: 32rem; opacity: .8; }
.io-next-shows { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.io-next-show { display: grid; grid-template-columns: 11rem 1fr; gap: .15rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.io-next-when { grid-row: span 2; padding-top: .2rem; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9bdf5; word-spacing: .12em; }
.io-next-name { font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; font-weight: 600; color: #fff !important; text-decoration: none; }
.io-next-name:hover { text-decoration: underline; }
.io-next-meta { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.io-reach .io-reach-more a { color: #fff; }
@media (max-width: 600px) { .io-next-show { grid-template-columns: 1fr; } .io-next-when { grid-row: auto; } }

/* Plan your stand + playable this or that */
.io-steps-list { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: io-step; }
.io-steps-list li { counter-increment: io-step; position: relative; padding: .7rem 0 .7rem 2.75rem; border-bottom: 1px solid var(--io-rule); color: var(--io-heading); }
.io-steps-list li::before { content: counter(io-step); position: absolute; left: 0; top: .6rem; width: 1.85rem; height: 1.85rem; display: grid; place-items: center; border-radius: 50%; background: var(--io-grad); color: #fff; font-size: .8rem; font-weight: 700; }
.io-brief-teaser-kicker { font-weight: 600; color: var(--io-violet); margin-bottom: 1rem !important; }
.io-tot-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.io-tot-q { display: block; width: 100%; padding: 0; margin: 0 0 1rem; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; color: var(--io-heading); }
.io-tot-q span { display: block; margin-bottom: .3rem; font-family: var(--wp--preset--font-family--body, inherit); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--io-soft); }
.io-tot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.io-tot-card { position: relative; display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px var(--io-rule), 0 1.25rem 2rem -1.5rem rgba(11, 42, 64, .5); transition: transform 300ms var(--io-ease), box-shadow 300ms; }
.io-tot-card img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform 800ms var(--io-ease); }
.io-tot-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--io-brand), 0 1.5rem 2.5rem -1.5rem rgba(11, 42, 64, .6); }
.io-tot-card:hover img { transform: scale(1.04); }
.io-tot-card.is-picked { box-shadow: 0 0 0 3px var(--io-violet); }
.io-tot-label { display: block; padding: .85rem 1rem 1rem; font-weight: 600; color: var(--io-heading); }
.io-tot-label small { display: block; margin-bottom: .15rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--io-violet); }
.io-tot-done { padding: 2rem; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--io-rule); }
.io-tot-done > * { margin: 0 0 .75rem !important; }
.io-tot-sum { font-weight: 600; color: var(--io-violet); }
.io-tot-go { display: inline-flex; margin-top: .5rem; padding: .85rem 1.4rem; border-radius: 6px; background: var(--io-heading); color: #fff !important; font-weight: 600; text-decoration: none; }
.io-tot-go:hover { background: var(--io-violet); }
@media (max-width: 480px) { .io-tot-pair { gap: .6rem; } .io-tot-label { padding: .65rem .7rem .75rem; font-size: .9rem; } }

/* Service pages: opening paragraphs on their own, no "Overview" label */
.io-svc-lead { max-width: 54rem; }
.io-svc-lead .is-style-lede { font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important; line-height: 1.45; color: var(--io-heading); }
.io-svc-lead .io-soft { margin-top: 1.25rem !important; font-size: 1.075rem; line-height: 1.75; max-width: 46rem; }

/* Page intros: the line under the heading reads as an intro, not body text */
.io-band .is-style-lede.io-measure { font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important; line-height: 1.55; max-width: 44rem; }

/* Why Insideout: the crew photo keeps their faces in frame */
.io-why-crew img { object-position: 50% 30%; }

/* Portfolio: hide a brief or delivered box that hasn't been written yet */
.io-glance-card .io-note:has(.io-note-text:empty) { display: none; }

/* The neon lightbulb (page intros, tools, tagline) is retired: the review found it distracting. */
main .wp-block-post-content > .io-band:first-child::after,
.io-tool-intro::after,
.io-planner-intro::after,
.io-tagline::before { content: none !important; display: none !important; }

/* Numbered labels: the number reads as a feature, not small print */
.io-story-kicker { display: flex; align-items: baseline; gap: .75rem; font-size: .95rem !important; }
.io-story-n {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.25rem, 3.6vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -.03em;
	font-variant-numeric: lining-nums tabular-nums;
	background: var(--io-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	padding-bottom: .08em;
}
.io-stage-num, .io-index-num { font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important; font-weight: 600; letter-spacing: -.02em !important; line-height: 1; }
.io-svc-numbered .io-svc::before { font-size: 1.35rem; letter-spacing: -.01em; padding-top: 0; }

/* Why Insideout: brand names and stand photos link to their projects */
.io-why-clients a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--io-brand) 35%, transparent); text-underline-offset: .2em; }
.io-why-clients a:hover { color: var(--io-brand); text-decoration-color: currentColor; }
.io-why-stands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.io-why-stand a { display: block; }
.io-why-stand figcaption { margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--io-heading); }

/* Client strip: names link to their projects, plus a link to the portfolio */
.io-marquee-track a { color: inherit; text-decoration: none; }
.io-marquee-track a:hover, .io-marquee-track a:focus-visible { color: var(--io-brand); text-decoration: underline; text-underline-offset: .2em; }
.io-marquee-more { margin: 1.1rem 0 0 !important; text-align: center; font-size: .9rem; font-weight: 600; }
.io-marquee-more a { color: var(--io-brand); text-decoration: none; }
.io-marquee-more a::after { content: " →"; }
.io-marquee-more a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Services page phases: the number sits beside the heading on one line, no icon badge in between */
.io-phase > .wp-block-column:first-child { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: baseline; align-content: start; }
.io-phase > .wp-block-column:first-child > * { grid-column: 1 / -1; }
.io-phase > .wp-block-column:first-child > .io-index-num { grid-column: 1; grid-row: 1; margin: 0 !important; }
.io-phase > .wp-block-column:first-child > h2 { grid-column: 2; grid-row: 1; margin: 0 !important; }
.io-phase h2.io-ih::before { content: none !important; display: none !important; }
.io-phase .io-index-num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 3.4vw, 2.75rem) !important; font-weight: 600; line-height: 1; letter-spacing: -.03em !important;
	background: var(--io-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	padding-bottom: .08em;
}
.io-phase > .wp-block-column:first-child > .io-soft { margin-top: 1rem !important; }

/* Mobile: the accreditation cards were 100% wide plus their padding, pushing the Why Insideout page wider than the screen */
.io-accreditations > .wp-block-column { box-sizing: border-box; min-width: 0; }
@media (max-width: 480px) { .io-accreditations > .wp-block-column { padding: 1.5rem 1.25rem 1.5rem 4.75rem; } .io-accreditations > .wp-block-column::before { left: 1.1rem; } }

/* Mobile: the sticky "Plan your stand" bar and the WhatsApp "Chat to us" button share one row at the bottom instead of stacking over the page */
@media (max-width: 781px) {
	body:has(.es-floating-button-container) .io-mobile-cta { right: auto !important; width: calc(100% - 32px - 9.75rem) !important; }
	body .es-floating-button-container { bottom: 23px !important; top: auto !important; margin: 0 !important; transform: none !important; }
}

/* Phones: the four stages and the smaller project tiles swipe sideways instead of stacking into very long columns */
@media (max-width: 600px) {
	.io-stage-track { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem !important; margin-inline: calc(var(--wp--style--root--padding-left, 1rem) * -1); padding: 0 var(--wp--style--root--padding-left, 1rem) .5rem; scrollbar-width: none; }
	.io-stage-track::-webkit-scrollbar { display: none; }
	.io-stage-track > .io-stage { flex: 0 0 78%; scroll-snap-align: start; margin: 0 !important; }
	.io-stage-photo img { aspect-ratio: 4 / 3 !important; }
	.io-js .io-stage-track:not(.is-visible) .io-stage-photo { clip-path: none; }
	.io-sc-row { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem !important; margin-inline: calc(var(--wp--style--root--padding-left, 1rem) * -1); padding: 0 var(--wp--style--root--padding-left, 1rem) .5rem; scrollbar-width: none; }
	.io-sc-row::-webkit-scrollbar { display: none; }
	.io-sc-row > .io-sc-small { flex: 0 0 72%; scroll-snap-align: start; }
	.io-stages-head .io-stages-lede::after, .io-sc-row::before { content: none; }
	.io-stages-head .io-stages-lede::after { content: " Swipe to see each stage."; }
}
@media (max-width: 600px) {
	.io-crew-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .85rem .6rem !important; }
	.io-crew-name { font-size: .75rem; }
	.io-crew-name strong { font-size: .9rem; }
}

/* Workshop step labels: number and label balanced, with a short rule between them */
.io-story-kicker { align-items: center !important; gap: 0 !important; font-size: 1rem !important; letter-spacing: .01em; color: var(--io-brand); }
.io-story-n { font-size: clamp(1.75rem, 2.6vw, 2.25rem) !important; padding-bottom: .04em; }
.io-story-n::after { content: ""; display: inline-block; width: 1px; height: .8em; margin: 0 .8rem; vertical-align: middle; background: var(--io-rule); -webkit-text-fill-color: initial; }
@media (max-width: 600px) {
	.io-story-kicker { font-size: .95rem !important; }
	.io-story-n { font-size: 1.6rem !important; }
}

/* For agencies "How it works": larger, clearer steps */
.io-partner-steps { gap: 2rem 1.75rem; }
.io-partner-steps li { padding-top: 1.25rem; }
.io-partner-steps li::before {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -.02em; line-height: 1; margin-bottom: .75rem;
	background: var(--io-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .05em;
}
.io-partner-steps strong { font-size: clamp(1.2rem, 1.6vw, 1.4rem); margin-bottom: .5rem; letter-spacing: -.01em; }
.io-partner-steps span { font-size: 1.0625rem; line-height: 1.65; }
.io-essa-strip span { font-size: 1.0625rem; line-height: 1.6; max-width: 46rem; }
.io-essa-strip strong { color: var(--io-heading); }

/* Tagline: under the homepage headline and above the enquiry band */
.io-hero-copy .io-hero-tagline { margin-top: 1.1rem !important; font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important; font-weight: 500; letter-spacing: -.015em; color: var(--io-violet) !important; }
.io-hero-copy .io-hero-tagline + .io-hero-lede { margin-top: 1rem !important; }
.io-band-tagline { margin: 0 0 .5rem !important; font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.io-crew-essa p { max-width: 36rem !important; font-size: 1rem; }
.io-crew-essa p strong { display: block; color: var(--io-heading); }

/* ---------------------------------------------------------------
   1.24: one brand. The social board's cyan-to-violet gradient replaces
   the dark slate panels, and carries through buttons, rules and accents.
--------------------------------------------------------------- */
:root {
	--io-cyan: #02a6de;
	--io-violet: #5a53a4;
	--io-deep: #00597f;
	--io-grad: linear-gradient(100deg, #0076a8 0%, #02a6de 40%, #5a53a4 100%);
	--io-grad-down: linear-gradient(180deg, #02a6de 0%, #5a53a4 100%);
	--io-grad-deep: linear-gradient(155deg, #00597f 0%, #0a4f8a 45%, #5a53a4 100%);
	--io-grad-soft: linear-gradient(180deg, color-mix(in srgb, #02a6de 10%, #fff) 0%, color-mix(in srgb, #5a53a4 9%, #fff) 100%);
}

/* Former slate panels: stats, upcoming shows, selected work, agency panel, sector quote */
.io-stats.has-background, .io-reach.has-background { background: var(--io-grad-deep) !important; }
.io-stats { background: linear-gradient(110deg, #0076a8 0%, #0890c6 38%, #5a53a4 100%) !important; }
.io-stats::before { background: radial-gradient(55% 120% at 100% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(2,166,222,.35), transparent 60%) !important; }
.io-stat { border-left-color: rgba(255, 255, 255, .28); }
.io-stat-num { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff; }
.io-stat-label { color: rgba(255, 255, 255, .88); }
.io-reach::before { background: radial-gradient(circle at 80% 45%, rgba(2,166,222,.35) 0, transparent 40%), radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1.4px) 0 0 / 22px 22px !important; }
.io-next-when { color: #b3eaf9; }
.io-showcase { background: var(--io-grad-deep) !important; }
.io-showcase h2 mark:is(.io-hl.io-hl.io-hl.io-hl, *), .io-reach mark:is(.io-hl.io-hl.io-hl.io-hl, *) { color: #b3eaf9 !important; }
.io-sc-tile { background: var(--io-deep); }
.io-sc-tile::after { background: linear-gradient(180deg, rgba(0,89,127,0) 35%, rgba(0,89,127,.55) 65%, rgba(36,52,120,.92) 100%) !important; }
.io-partner-split { background: var(--io-grad-down) !important; }
.io-sector-quote { background: var(--io-grad-deep) !important; }

/* Enquiry band on every page */
.io-contact-band.has-background { background: linear-gradient(110deg, #0076a8 0%, #02a6de 45%, #5a53a4 100%) !important; }
.io-band-tagline { color: #e4f7fd; }

/* Solid buttons take the gradient; outline buttons keep the line */
.wp-block-button:not(.is-style-line):not(.is-style-outline) > .wp-block-button__link,
.io-tot-go, .io-form button[type="submit"] {
	background: linear-gradient(100deg, #0076a8 0%, #2f86c8 45%, #5a53a4 100%) !important;
	background-size: 140% 100% !important; background-position: 0 0 !important;
	transition: background-position 500ms var(--io-ease), box-shadow 300ms, transform 300ms;
	box-shadow: 0 .9rem 1.8rem -1.1rem rgba(90, 83, 164, .75);
	border: 0;
}
.wp-block-button:not(.is-style-line):not(.is-style-outline) > .wp-block-button__link:hover,
.io-tot-go:hover, .io-form button[type="submit"]:hover { background-position: 100% 0 !important; transform: translateY(-1px); }
.io-contact-band .wp-block-button:not(.is-style-line) > .wp-block-button__link { background: #fff !important; color: var(--io-deep) !important; box-shadow: none; }
.io-filter button[aria-pressed="true"], .io-reviews-controls button:hover { background: var(--io-grad) !important; color: #fff; }

/* Light sections pick up a faint cyan-to-violet wash instead of flat grey */
.io-band.has-muted-background-color, .io-home-planner.has-muted-background-color, .io-reviews-band.has-muted-background-color, .io-footer.has-muted-background-color { background: var(--io-grad-soft) !important; }

/* Rules, kickers and small accents in the same two colours */
.io-rule-top { border-image: var(--io-grad) 1 !important; }
.io-partner-steps li { border-top: 0; position: relative; }
.io-partner-steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--io-grad); }
.io-crew-foot, .io-next-shows { border-image: none; }
.io-crew-foot { border-top: 0; position: relative; }
.io-crew-foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--io-grad); opacity: .45; }
.is-style-kicker { color: var(--io-brand); }
.io-steps-list li::before { background: var(--io-grad-down); }
.io-tot-card.is-picked { box-shadow: 0 0 0 3px var(--io-violet); }

/* Hero: a violet circle behind the video, as on the social posts */
.io-hero-reel { position: relative; }
.io-hero-reel::before {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	width: min(34rem, 80%); aspect-ratio: 1; right: -6%; top: -8%; border-radius: 50%;
	background: var(--io-grad-down); opacity: .9;
}
.io-hero-reel::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	width: min(12rem, 30%); aspect-ratio: 1; left: -4%; bottom: 6%; border-radius: 50%;
	background: var(--io-violet); opacity: .85;
}
.io-hero-reel > * { position: relative; z-index: 1; }
@media (max-width: 781px) { .io-hero-reel::before { right: -18%; top: -6%; width: 75%; } .io-hero-reel::after { display: none; } }

/* Hero circles stay behind the photo, clear of the caption underneath */
.io-hero-reel::after { bottom: auto !important; top: 52%; left: -5%; }
.io-hero-reel-caption { position: relative; z-index: 2; }

/* Portfolio cards: a slim cyan-to-violet frame, a gradient seam under the photo and a gradient number */
.io-glance-card::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
	padding: 1.5px; background: linear-gradient(160deg, #02a6de 0%, #2f86c8 45%, #5a53a4 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: .6; transition: opacity 400ms var(--io-ease);
}
.io-glance-card { border-radius: 10px; }
.io-glance-card:hover::after, .io-glance-card:focus-within::after { opacity: 1; }
.io-glance-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--io-grad); }
.io-glance-num { background: linear-gradient(160deg, #02a6de, #5a53a4) !important; }
.io-glance-title a:hover { color: var(--io-violet); }
.io-year-tags a:hover { background: var(--io-grad) !important; }
.io-note-label { color: var(--io-violet); }

/* Venue and sector project tiles: the same slim frame on the photo */
.io-venue-project img { border-radius: 10px; box-shadow: 0 0 0 1.5px color-mix(in srgb, #5a53a4 55%, transparent), 0 0 0 1.5px #02a6de inset; }
.io-venue-project:hover img { box-shadow: 0 0 0 2px #5a53a4; }

/* Shows & venues: venue cards, show cards and directory groups get the same slim cyan-to-violet frame as the project cards */
.io-venue-card, .io-show, .io-dir-group {
	border: 1.5px solid transparent !important;
	border-radius: 10px !important;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(160deg, color-mix(in srgb, #02a6de 60%, #fff) 0%, color-mix(in srgb, #2f86c8 60%, #fff) 45%, color-mix(in srgb, #5a53a4 60%, #fff) 100%) border-box !important;
	transition: background 400ms var(--io-ease), transform 400ms var(--io-ease), box-shadow 400ms var(--io-ease);
}
.io-venue-card:hover, .io-show:hover, .io-dir-group:hover {
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(160deg, #02a6de 0%, #2f86c8 45%, #5a53a4 100%) border-box !important;
	box-shadow: 0 18px 36px -26px rgba(90, 83, 164, .6);
}
.io-venue-card:hover { transform: translateY(-3px); }
.io-show-when.is-dated { background: var(--io-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.io-show-ours span { color: var(--io-violet); }
.io-dir-title { position: relative; padding-bottom: .6rem; }
.io-dir-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.5rem; height: 2px; border-radius: 2px; background: var(--io-grad); }
.io-dir-list li { transition: background 300ms, color 300ms; }
.io-dir-list li:hover { background: color-mix(in srgb, #5a53a4 12%, #fff); }
.io-shows-h { position: relative; padding-bottom: .75rem; }
.io-shows-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--io-grad); }

/* Site-wide: every white card wears the same slim cyan-to-violet frame (soft at rest, full on hover) */
:root {
	--io-frame-soft: linear-gradient(160deg, color-mix(in srgb, #02a6de 60%, #fff) 0%, color-mix(in srgb, #2f86c8 60%, #fff) 45%, color-mix(in srgb, #5a53a4 60%, #fff) 100%);
	--io-frame: linear-gradient(160deg, #02a6de 0%, #2f86c8 45%, #5a53a4 100%);
}
:is(.io-tool-card, .io-partner-card, .io-why-quote, .io-accreditations > .wp-block-column, .io-tot-card, .io-tot-done, .io-brief-teaser, .io-br-card, .io-ck, .io-pk, .io-sz, .io-ld, .io-article-grid .wp-block-post, .io-sector-quote-card, .io-svc-sec.io-card) {
	border: 1.5px solid transparent !important;
	background: linear-gradient(#fff, #fff) padding-box, var(--io-frame-soft) border-box !important;
	box-shadow: 0 18px 40px -32px rgba(90, 83, 164, .55) !important;
	transition: background 400ms var(--io-ease), transform 400ms var(--io-ease), box-shadow 400ms var(--io-ease);
}
@media (hover: hover) {
	:is(.io-tool-card, .io-partner-card, .io-why-quote, .io-accreditations > .wp-block-column, .io-tot-card, .io-br-card, .io-article-grid .wp-block-post):hover {
		background: linear-gradient(#fff, #fff) padding-box, var(--io-frame) border-box !important;
		box-shadow: 0 22px 44px -28px rgba(90, 83, 164, .7) !important;
	}
}
.io-tot-card.is-picked, .io-br-card.is-picked, .io-br-card[aria-pressed="true"] {
	background: linear-gradient(#fff, #fff) padding-box, var(--io-frame) border-box !important;
	box-shadow: 0 0 0 2px #5a53a4, 0 22px 44px -28px rgba(90, 83, 164, .7) !important;
}
.io-brief-teaser { border-radius: 14px; }
/* Accreditation icon badges and partner card icons pick up the gradient tint */
.io-accreditations > .wp-block-column::before, .io-partner-card.io-ih::before { background-color: color-mix(in srgb, #5a53a4 10%, #fff) !important; }

/* Tools: the planner, Write me a brief, checklist, packing list, leads and size tools wear the same frame and gradient */
:is(.io-pl-main, .io-pl-preview, .io-k-welcome, .io-k-counter, .io-result, .io-fd, .io-br, .io-ld-cards > div, .io-extra) {
	border: 1.5px solid transparent !important;
	background: linear-gradient(#fff, #fff) padding-box, var(--io-frame-soft) border-box !important;
	box-shadow: 0 18px 40px -32px rgba(90, 83, 164, .55) !important;
}
:is(.io-pl-progress, .io-pk-progress, .io-br-bar) span { background: var(--io-grad) !important; }
:is(.io-pl-progress, .io-pk-progress, .io-br-bar) { background: color-mix(in srgb, #5a53a4 12%, #fff) !important; }
.io-chip.is-on { background: var(--io-grad) !important; border-color: transparent !important; }
.io-opt { transition: background 300ms, box-shadow 300ms; }
.io-opt.is-on {
	border-color: transparent !important;
	background: linear-gradient(color-mix(in srgb, #02a6de 6%, #fff), color-mix(in srgb, #5a53a4 6%, #fff)) padding-box, var(--io-frame) border-box !important;
	box-shadow: 0 14px 30px -24px rgba(90, 83, 164, .7) !important;
}
.io-opt.is-on .io-opt-ico, .io-opt.is-on .io-opt-tick { background-color: #5a53a4 !important; border-color: #5a53a4 !important; }
.io-opt.is-on .io-opt-ico { background-image: none; background: var(--io-grad-down) !important; }
.io-ck-box input:checked + span { background-color: #5a53a4 !important; border-color: #5a53a4 !important; }
.io-br-or { background: linear-gradient(#fff, #fff) padding-box, var(--io-frame) border-box !important; border: 1.5px solid transparent !important; color: #5a53a4; }
.io-tool-card .io-ih::before, .io-tool-card.io-ih::before { background-color: color-mix(in srgb, #5a53a4 10%, #fff) !important; }

/* Footer: logo + menu on one row, then tagline, copyright and ESSA badge aligned on the next, legal line below */
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem 2.5rem; }
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > * { margin: 0 !important; }
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > :nth-child(1) { grid-column: 1; grid-row: 1; }
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > .wp-block-navigation { grid-column: 2 / 4; grid-row: 1; justify-self: end; }
.io-footer .wp-block-navigation .wp-block-navigation__container { justify-content: flex-end; row-gap: .6rem; }
.io-footer .io-tagline-sm { grid-column: 1; grid-row: 2; font-size: 1.05rem !important; line-height: 1.3; }
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > .io-soft { grid-column: 2; grid-row: 2; font-size: .9rem; line-height: 1.4; }
.io-footer .io-essa-foot { grid-column: 3; grid-row: 2; justify-self: end; }
.io-footer .io-legal { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 781px) {
	.io-footer .alignwide > .wp-block-group.is-content-justification-space-between { grid-template-columns: 1fr; }
	.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > * { grid-column: 1 !important; grid-row: auto !important; justify-self: start !important; }
	.io-footer .wp-block-navigation .wp-block-navigation__container { justify-content: flex-start; }
}

/* Tool and planner intros: line up with the wide tool panel below (left edges match), text kept to a readable measure */
:is(.io-tool-intro, .io-planner-intro).is-layout-constrained > :not(.alignfull) {
	max-width: min(var(--wp--style--global--wide-size, 1280px), 100%) !important;
	margin-left: auto !important; margin-right: auto !important;
	padding-right: max(0px, calc(min(var(--wp--style--global--wide-size, 1280px), 100%) - 48rem));
	box-sizing: border-box;
}
:is(.io-tool-intro, .io-planner-intro) > h1 { padding-right: max(0px, calc(min(var(--wp--style--global--wide-size, 1280px), 100%) - 54rem)) !important; }

/* Body copy in Manrope Light; small and supporting text one step heavier so it stays crisp on pale backgrounds */
body { font-weight: 300; }
:is(.io-soft, .io-note-text, .io-glance-show, .io-show-meta, .io-next-meta, .io-crew-name, .io-team-role, .io-stat-label, .io-sc-brief, .io-sc-show, .io-legal, .io-footer p, .io-footer li, .io-marquee-label, .io-tot-label small, .io-review-stand, cite, figcaption, small, label, .io-dir-list li, .io-steps-list li) { font-weight: 400; }
strong, b, .io-more a, .io-back a, .io-io-back { font-weight: 600; }
:is(.is-style-kicker, .io-tagline, .wp-block-button__link, .wp-block-navigation, .io-stat-num, .io-story-n, .io-index-num, .io-stage-num, .io-glance-num, .io-tot-q, .io-next-name, .io-next-when, .io-sc-title, .io-sc-tag, .io-crew-name strong, .io-gemma-name strong, .io-band-tagline, button) { font-family: var(--wp--preset--font-family--display); }

/* Write me a brief (1.25): text options, tick as many as you like, live summary beside */
.io-bq-wrap { padding: clamp(1.25rem, 3vw, 2.5rem) !important; }
.io-bq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.io-bq-how { display: flex; gap: .6rem; align-items: center; margin: 0 0 1.5rem; padding: .85rem 1rem; border-radius: 10px; background: color-mix(in srgb, #02a6de 8%, #fff); color: var(--io-heading); font-weight: 400; }
.io-bq { border: 0; margin: 0; padding: 1.4rem 0; border-top: 1px solid var(--io-rule); min-width: 0; }
.io-bq:first-of-type { border-top: 0; padding-top: 0; }
.io-bq-q { display: flex; align-items: baseline; gap: .75rem; padding: 0; margin: 0 0 .9rem; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; color: var(--io-heading); }
.io-bq-n { font-size: .9rem; font-weight: 700; letter-spacing: .04em; background: var(--io-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.io-bq-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.io-bq-opt {
	display: flex; gap: .85rem; align-items: flex-start; width: 100%; padding: 1rem 1.1rem; text-align: left; cursor: pointer;
	font: inherit; color: inherit; border-radius: 12px;
	border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(160deg, color-mix(in srgb, #02a6de 35%, #fff), color-mix(in srgb, #5a53a4 35%, #fff)) border-box;
	transition: background 250ms, box-shadow 250ms, transform 250ms var(--io-ease);
}
.io-bq-opt:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -20px rgba(90, 83, 164, .7); }
.io-bq-opt:focus-visible { outline: 3px solid var(--io-accent); outline-offset: 2px; }
.io-bq-tick { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--io-ink) 28%, transparent); background: #fff; transition: background 200ms, border-color 200ms; }
.io-bq-text strong { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 600; color: var(--io-heading); }
.io-bq-text small { display: block; margin-top: .2rem; font-size: .9rem; line-height: 1.5; font-weight: 400; color: var(--io-soft); }
.io-bq-opt.is-on { background: linear-gradient(color-mix(in srgb, #02a6de 7%, #fff), color-mix(in srgb, #5a53a4 7%, #fff)) padding-box, var(--io-frame) border-box; box-shadow: 0 14px 30px -22px rgba(90, 83, 164, .8); }
.io-bq-details .io-field { margin-top: .75rem; }
.io-bq-side { position: sticky; top: 7rem; padding: 1.5rem; border-radius: 14px; background: var(--io-grad-deep); color: #fff; box-shadow: 0 24px 48px -30px rgba(90, 83, 164, .8); }
.io-bq-side > * { margin: 0; }
.io-bq-side-k { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #b3eaf9; }
.io-bq-head { margin-top: .6rem !important; font-family: var(--wp--preset--font-family--display); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.io-bq-count { margin-top: 1rem !important; font-size: .9rem; font-weight: 400; color: rgba(255, 255, 255, .8); }
.io-bq-side .io-br-bar { margin-top: .5rem; height: 4px; background: rgba(255, 255, 255, .2) !important; }
.io-bq-side .io-br-bar span { background: #fff !important; }
.io-bq-side .io-bq-go { width: 100%; justify-content: center; margin-top: 1.25rem !important; background: #fff !important; color: var(--io-deep) !important; box-shadow: none !important; }
.io-bq-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .75rem; margin: 1.5rem 0 2rem; }
.io-bq-tile { position: relative; margin: 0; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--io-deep); }
.io-bq-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.io-bq-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 89, 127, .9)); }
.io-bq-lines { list-style: none; margin: 0; padding: 0; }
.io-bq-lines li { padding: .9rem 0; border-bottom: 1px solid var(--io-rule); line-height: 1.6; }
.io-bq-line-q { display: block; margin-bottom: .2rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--io-violet); }
@media (max-width: 900px) {
	.io-bq-layout { grid-template-columns: 1fr; }
	.io-bq-side { position: sticky; bottom: .75rem; top: auto; order: 2; }
}
@media (max-width: 560px) { .io-bq-opts { grid-template-columns: 1fr; } }

.io-bq-opt.is-on .io-bq-tick { border-color: transparent !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 72% no-repeat, linear-gradient(180deg, #02a6de, #5a53a4) !important; }
.io-bq-side .io-bq-go { display: inline-flex !important; align-items: center; gap: .5rem; padding: .95rem 1.25rem !important; border-radius: 8px !important; font-family: var(--wp--preset--font-family--display); font-size: 1rem !important; font-weight: 600 !important; line-height: 1.2; cursor: pointer; border: 0 !important; }
.io-bq-side .io-bq-go:hover { background: #e4f7fd !important; }
@media (max-width: 900px) {
	.io-bq-side { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .8rem .7rem 1.1rem; border-radius: 12px; }
	.io-bq-side .io-bq-side-k, .io-bq-side .io-bq-head, .io-bq-side .io-br-bar { display: none; }
	.io-bq-side .io-bq-count { margin: 0 !important; font-size: .875rem; color: #fff; }
	.io-bq-side .io-bq-go { width: auto; margin: 0 !important; padding: .7rem 1rem !important; font-size: .9rem !important; white-space: nowrap; }
}

@media (max-width: 900px) { .io-bq-side { bottom: 5.25rem; z-index: 30; } }

/* Social icons: round buttons that fill with the brand gradient on hover */
.io-social { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.io-social-label { font-family: var(--wp--preset--font-family--display); font-size: .875rem; font-weight: 600; color: var(--io-heading); }
.io-social ul { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.io-social li { margin: 0; }
.io-social a {
	display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
	color: var(--io-brand); text-decoration: none;
	border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--io-frame) border-box;
	transition: color 250ms, background 250ms, transform 250ms var(--io-ease), box-shadow 250ms;
}
.io-social a:hover, .io-social a:focus-visible { color: #fff; background: var(--io-grad-down) padding-box, var(--io-grad-down) border-box; transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(90, 83, 164, .8); }
.io-social svg { width: 1.15rem; height: 1.15rem; display: block; }
/* On colour (enquiry band) */
.io-social.is-light .io-social-label { color: rgba(255, 255, 255, .9); }
.io-social.is-light a { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.io-social.is-light a:hover, .io-social.is-light a:focus-visible { color: var(--io-deep); background: #fff; border-color: #fff; }
.io-contact-band .io-social { justify-content: flex-end; margin-top: 1.25rem; }
@media (max-width: 781px) { .io-contact-band .io-social { justify-content: flex-start; } }
/* Footer: contact details and the icons share the bottom row */
.io-footer .alignwide:has(> .io-foot-contact) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; }
.io-footer .alignwide:has(> .io-foot-contact) > * { flex: 1 1 100%; }
.io-footer .alignwide > .io-foot-contact { flex: 1 1 auto; }
.io-footer .alignwide > .io-social { flex: 0 0 auto; margin-top: var(--wp--style--block-gap, 1.5rem); }
/* Contact page */
.wp-block-column > .io-social { margin-top: 1.5rem; }

/* Room under the footer so the WhatsApp button never covers the social icons */
body:has(.es-floating-button-container) .io-footer { padding-bottom: 6rem !important; }

/* Follow the build band: projects, project pages and Contact */
.io-follow {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
	margin: clamp(2.5rem, 5vw, 4rem) auto; padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 16px; background: linear-gradient(110deg, #0076a8 0%, #02a6de 45%, #5a53a4 100%); color: #fff;
}
.io-follow::before { content: ""; position: absolute; z-index: -1; right: -6rem; top: -8rem; width: 22rem; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.io-follow-copy { flex: 1 1 26rem; max-width: 40rem; }
.io-follow-copy > * { margin: 0; }
.io-follow-kicker { font-family: var(--wp--preset--font-family--display); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #e4f7fd; }
.io-follow-h { margin-top: .5rem !important; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.15; color: #fff; }
.io-follow-text { margin-top: .75rem !important; font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.io-social.is-large a { width: 3.25rem; height: 3.25rem; }
.io-social.is-large svg { width: 1.4rem; height: 1.4rem; }
.io-social.is-large ul { gap: .7rem; }

/* Sector pages: project tiles read as links; stories link to their project */
.io-venue-project strong { transition: color 250ms; }
.io-venue-project:hover strong, .io-venue-project:focus-visible strong { color: var(--io-violet); text-decoration: underline; text-underline-offset: .2em; }
.io-sector-story h2 a { color: inherit; text-decoration: none; }
.io-sector-story h2 a:hover { color: var(--io-violet); }
.io-sector-story-more { margin-top: .9rem !important; }

/* Follow band as a light card (it usually sits just above the blue enquiry band) */
.io-follow {
	color: var(--io-heading) !important;
	border: 1.5px solid transparent;
	background: linear-gradient(120deg, #fff 0%, color-mix(in srgb, #02a6de 7%, #fff) 55%, color-mix(in srgb, #5a53a4 10%, #fff) 100%) padding-box, var(--io-frame) border-box !important;
	box-shadow: 0 24px 48px -36px rgba(90, 83, 164, .6);
}
.io-follow::before { background: var(--io-grad-down) !important; opacity: .12; }
.io-follow-kicker { color: var(--io-violet) !important; }
.io-follow-h { color: var(--io-heading) !important; }
.io-follow-text { color: var(--io-soft) !important; font-weight: 400; }

/* For agencies: proof row (figure + agency review) */
.io-partner-proof { display: grid; grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); align-items: stretch; }
.io-partner-stat { padding: 1.75rem; border-radius: 14px; background: var(--io-grad-deep); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.io-partner-stat > * { margin: 0; }
.io-partner-stat-num { font-family: var(--wp--preset--font-family--display); font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.io-partner-stat-label { margin-top: .6rem !important; font-size: 1rem; line-height: 1.45; font-weight: 400; color: rgba(255, 255, 255, .88); }
.io-partner-quote { margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 14px; border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--io-frame-soft) border-box; }
.io-partner-quote blockquote { margin: 0; padding: 0; border: 0; }
.io-partner-quote blockquote p { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--io-heading); }
.io-partner-quote figcaption { margin-top: 1rem; font-size: .95rem; font-weight: 600; color: var(--io-soft); }
.io-partner-stars { color: #f5b301; letter-spacing: .1em; margin-right: .4rem; }
@media (max-width: 781px) { .io-partner-proof { grid-template-columns: 1fr; } }

/* Legal pages: comfortable reading width */
.io-legal-page > * { max-width: 46rem; margin-left: auto !important; margin-right: auto !important; }
.io-legal-page h2 { margin-top: 2.25rem !important; font-size: clamp(1.35rem, 2vw, 1.6rem); }
.io-legal-page h3 { margin-top: 1.5rem !important; font-size: 1.15rem; }
.io-legal-page li { margin-bottom: .5rem; }

/* Footer: the legal line and the admin-only reminder each get their own row */
.io-footer .alignwide > .wp-block-group.is-content-justification-space-between > .io-legal { grid-row: auto !important; }
.io-footer .io-legal-admin { font-size: .85rem; }

/* Plan your stand: the intro lines up with the form (both 56rem, centred) */
.io-planner-intro.is-layout-constrained > .wp-block-columns { max-width: 56rem !important; padding-right: 0 !important; margin-left: auto !important; margin-right: auto !important; }

/* 1.29.1 Resources cards: inner padding, rounded frame, Read article pinned to the bottom */
.io-article-grid > .wp-block-post { border-radius: 12px !important; overflow: hidden; display: flex; }
.io-article-grid > .wp-block-post > .io-card { display: flex; flex-direction: column; width: 100%; padding: 0 0 1.4rem; }
.io-article-grid .io-card > .wp-block-post-featured-image { border-radius: 0; margin: 0 !important; }
.io-article-grid .io-card > :not(.wp-block-post-featured-image) { padding-inline: 1.4rem; margin-left: 0; margin-right: 0; }
.io-article-grid .io-card > .wp-block-post-terms { margin-top: 1.15rem !important; font-size: .82rem; letter-spacing: .02em; }
.io-article-grid .io-card > .wp-block-post-title { margin-top: .5rem !important; margin-bottom: 1.1rem; line-height: 1.25; }
.io-article-grid .io-card > .io-more { margin-top: auto !important; align-self: flex-start; margin-left: 1.4rem !important; padding-inline: 0 !important; }
@media (max-width: 600px) {
	.io-article-grid .io-card > :not(.wp-block-post-featured-image) { padding-inline: 1.1rem; }
	.io-article-grid .io-card > .io-more { margin-left: 1.1rem !important; }
}
