/* ==========================================================================
   gl00be theme styles. Design reference: Figma gl00be_redesign_web (1920 px).
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Urbanist (SIL OFL 1.1), latin subset: form fields and chips only. */
@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/urbanist-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg: #010103;
	--panel: #0a0a12;
	--panel-2: #1a1c28;
	--line: #2b2e3b;
	--glass: rgba(39, 41, 53, 0.43);
	--accent: #51dba0;
	--accent-bright: #00ff92;
	--accent-link: #00db91;
	--mint: #51feb2;
	--lavender: #babcff;
	--input-border: #00ffa9;
	--box-border: #afffdd;
	--box-glow: rgba(195, 255, 253, 0.24);
	--text: #fff;
	--text-soft: #d9d9d9;
	--text-meta: #6b7280;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-alt: "Urbanist", var(--font);
	/* Figma "Line 1": full-width #51dba0 stroke, 2 px in the middle tapering to 0 at both ends. */
	--divider-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1919 2' preserveAspectRatio='none'%3E%3Cpath d='M0 1C32 1.07 64 1.13 96 1.19 384 1.73 672 2 959.5 2S1535 1.73 1823 1.19C1855 1.13 1887 1.07 1919 1 1887 .93 1855 .87 1823 .81 1535 .27 1247 0 959.5 0S384 .27 96 .81C64 .87 32 .93 0 1Z' fill='%2351dba0'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	/* Figma: 1437 px content on a 1920 px canvas; keep that proportion on every desktop width. */
	--wrap: min(75vw, 90rem);
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius-box: 2.3rem;
	--radius-card: 1.9rem;
	--radius-image: 3.4rem;
	--section-gap: clamp(4rem, 8vw, 9rem);
	--fs-display: clamp(2.6rem, 4.7vw, 5.635rem);
	--fs-h1: clamp(2.4rem, 3.75vw, 4.5rem);
	--fs-h2: clamp(2rem, 3.05vw, 3.65rem);
	--fs-h3: clamp(1.5rem, 2.5vw, 3rem);
	--fs-lead: clamp(1.1rem, 1.39vw, 1.667rem);
	--fs-body: clamp(1.05rem, 1.32vw, 1.5875rem);
	--fs-closing: clamp(1.25rem, 1.67vw, 2rem);
	--fs-chip: clamp(1.1rem, 1.67vw, 2rem);
}

html {
	background: var(--bg);
	scroll-behavior: smooth;
	/* Keeps anchor targets clear of the sticky header. */
	scroll-padding-top: clamp(5rem, 9vw, 11rem);
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font);
	font-weight: 200;
	color: var(--text);
	background: var(--bg);
	/* clip, not hidden: hidden would make body a scroll container and break the sticky header. */
	overflow-x: clip;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 200;
	line-height: 1.1;
}

strong,
b {
	font-weight: 700;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
	cursor: pointer;
}

.skip-link:focus {
	background: var(--accent);
	color: var(--bg);
}

:focus-visible {
	outline: 2px solid var(--accent-bright);
	outline-offset: 3px;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.site-main {
	position: relative;
	/* Page tops were tuned to Figma under a 166 px header; the header lost 2 x (2.6vw - 2.24vw) when it moved to Figma's 152 px, so content keeps its Figma y. */
	padding-top: calc(2 * (clamp(1rem, 2.6vw, 3.1rem) - clamp(1rem, 2.24vw, 2.69rem)));
}

/* Buttons --------------------------------------------------------------- */
.btn,
.wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.197em 1.417em;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--bg);
	font-family: var(--font);
	font-weight: 200;
	font-size: clamp(1.05rem, 1.323vw, 1.5875rem);
	line-height: 2;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible {
	background: var(--mint);
	transform: translateY(-1px);
}

.btn--small {
	padding: 0.25em 1.8em;
	font-size: clamp(1rem, 1.04vw, 1.246rem);
	line-height: 2;
}

/* Header ---------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--bg);
}

/* Figma: the header spans 1820 px at 1920 (50 px margins), wider than the content. */
.site-header .wrap {
	width: min(100% - 2 * var(--gutter), 113.75rem);
}

.site-header {
	--logo-width: clamp(7rem, 8.4vw, 10rem);
	--header-gap: clamp(1rem, 3vw, 3.5rem);
	--nav-gap: clamp(1rem, 2.4vw, 2.9rem);
	/* Figma header: 152 px at 1920 (43 px above and below the 66 px logo box). */
	--header-pad: clamp(1rem, 2.24vw, 2.69rem);
	/* Gap between the menu labels and the first mega panel link. */
	--mega-offset: clamp(0.6rem, 1.875vw, 2.25rem);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--header-gap);
	/* Figma centres the header row 1 px above the middle. */
	padding-block: calc(var(--header-pad) - 1px) calc(var(--header-pad) + 1px);
}

.site-brand {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	line-height: 0;
}

.site-brand img,
.custom-logo {
	width: var(--logo-width);
	height: auto;
}

.site-nav {
	display: flex;
	flex: 1;
	align-items: center;
	margin-inline-start: var(--nav-gap);
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1rem, 1.95vw, 2.35rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__item > a {
	display: inline-flex;
	align-items: center;
	padding: 0.4em 0;
	color: var(--text);
	font-family: var(--font);
	font-weight: 200;
	font-size: clamp(1rem, 1.19vw, 1.43rem);
	line-height: 1;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-nav__item > a:hover,
.site-nav__item.is-open > a,
.site-nav__item.current-menu-item > a,
.site-nav__item.current-menu-ancestor > a,
.site-nav__item.current_page_parent > a {
	color: var(--accent-bright);
}

/* Chevron that opens the panel on touch screens and in the mobile menu; Figma shows none on desktop. */
.site-nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--text);
}

.site-nav__toggle::after {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	margin-top: -0.3rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.site-nav__item.is-open > .site-nav__toggle {
	color: var(--accent-bright);
}

.site-nav__item.is-open > .site-nav__toggle::after {
	margin-top: 0.3rem;
	transform: rotate(225deg);
}

@media (hover: none) {
	.site-nav__item--has-mega {
		display: flex;
		align-items: center;
	}

	.site-nav__toggle {
		display: inline-flex;
	}
}

.site-header__cta {
	margin-inline-start: auto;
	/* Figma: the button ends 55 px from the edge, 5 px inside the 50 px header margin. */
	margin-inline-end: clamp(0px, 0.26vw, 0.31rem);
}

.site-nav__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: none;
	margin-inline-start: 0.5rem;
}

.site-nav__burger span {
	display: block;
	height: 2px;
	background: var(--text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Dropdown panels: one vertical column under their own menu label. */
.site-nav__item--has-mega {
	position: relative;
}

.mega {
	position: absolute;
	left: calc(-1 * var(--mega-pad-x));
	/* Starts right under the menu labels, not under the header padding. */
	top: calc(100% + var(--mega-offset) - 0.4em);
	z-index: 40;
	display: none;
	width: max-content;
	max-width: min(26rem, 90vw);
	background: var(--bg);
	border: 1px solid var(--panel-2);
	border-radius: 0.75rem;
	--mega-pad-x: clamp(1rem, 1.25vw, 1.5rem);
}

.site-nav__item.is-open > .mega {
	display: block;
}

/* Invisible hover bridge so the panel stays open while the pointer travels down to it. */
@media (min-width: 1101px) and (hover: hover) {
	.site-nav__item--has-mega::after {
		content: "";
		position: absolute;
		inset-inline: 0;
		top: 100%;
		height: calc(var(--mega-offset) + 0.5rem);
	}
}

.mega__inner {
	padding: 0.5rem var(--mega-pad-x);
}

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

.mega__list a {
	display: block;
	padding-block: 0.6em;
	font-size: clamp(0.95rem, 0.94vw, 1.125rem);
	font-weight: 200;
	line-height: 1.3;
	color: var(--text);
	transition: color 0.2s ease;
}

.mega__list a:hover,
.mega__list .current-menu-item > a {
	color: var(--accent-bright);
}

@media (max-width: 1100px) {
	.site-nav__burger {
		display: flex;
		margin-inline-start: auto;
	}

	.site-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		margin: 0;
		padding: 1rem var(--gutter) 2rem;
		background: var(--bg);
		border-bottom: 1px solid var(--panel-2);
	}

	/* The header is sticky, so a long open menu scrolls inside itself. */
	.site-nav.is-open {
		display: block;
		max-height: calc(100dvh - 100% - var(--wp-admin--admin-bar--height, 0px));
		overflow-y: auto;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__item--has-mega {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.site-nav__item > a {
		flex: 1;
		width: 100%;
		padding: 0.8em 0;
		font-size: 1.15rem;
	}

	.site-nav__toggle {
		display: inline-flex;
	}

	.site-nav__item > .mega {
		flex-basis: 100%;
	}

	.mega {
		position: static;
		width: auto;
		max-width: none;
		border: 0;
		border-radius: 0;
	}

	.mega__inner {
		padding: 0 0 1rem 1rem;
	}

	.site-header__cta {
		display: none;
	}

	.site-nav.is-open .site-header__cta {
		display: inline-flex;
		margin-top: 1rem;
	}

	.site-nav__burger.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-nav__burger.is-open span:nth-child(2) {
		opacity: 0;
	}

	.site-nav__burger.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* Sections and decorative backgrounds ----------------------------------- */
.section {
	position: relative;
	padding-block: var(--section-gap);
}

.section--line {
	position: relative;
}

/* Figma divider: 2 px mint line, brightest in the centre. */
.section--line::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--divider-line);
	pointer-events: none;
}

/* Figma "Rectangle 282": radial from the top centre, flat #262835 plateau, black at the bottom. */
.section--radial {
	background: radial-gradient(70% 100% at 50% 0%, #262835 0%, #262835 30%, #212330 40%, #191b23 55%, #111218 70%, #08080c 85%, var(--bg) 100%);
}

.section--radial-bottom {
	background: radial-gradient(70% 100% at 50% 100%, #262835 0%, #262835 30%, #212330 40%, #191b23 55%, #111218 70%, #08080c 85%, var(--bg) 100%);
}

.glow {
	position: absolute;
	z-index: 0;
	width: clamp(24rem, 60vw, 72rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(81, 219, 160, 0.42) 0%, rgba(81, 219, 160, 0.14) 40%, transparent 68%);
	pointer-events: none;
	filter: blur(24px);
}

.glow--right {
	top: 8%;
	right: -30%;
}

.hero .glow--right {
	top: -18%;
	background: radial-gradient(circle, rgba(95, 185, 180, 0.5) 0%, rgba(95, 185, 180, 0.16) 40%, transparent 68%);
}

/* Figma: a faint blue-grey glow behind the left part of the world panel. */
.hero .glow--bottom-left {
	top: 45%;
	bottom: auto;
	background: radial-gradient(circle, rgba(120, 150, 170, 0.32) 0%, rgba(120, 150, 170, 0.1) 40%, transparent 68%);
	opacity: 1;
}

.glow--left {
	top: 5%;
	left: -32%;
	opacity: 0.7;
}

/* Figma: the glow is centred on the screen edge just above the section's end and spills into the next section. */
.glow--section-end {
	top: auto;
	bottom: calc(clamp(24rem, 60vw, 72rem) / -2 + 6.25vw);
	opacity: 0.75;
}

.section:has(> .glow--section-end) {
	overflow: clip visible;
}

.glow--bottom-left {
	top: auto;
	bottom: -30%;
	left: -30%;
	opacity: 0.55;
}

/* Cropped photos keep their top (faces, headings) in view. */
.post-card__image img {
	object-position: center top;
}

.single__image img,
.related__image img {
	object-position: 50% 22%;
}

/* Exported artwork sits on black; screen blending hides the box on gradients. */
.feature__image img,
.usecase__image img,
.about__image img,
.guides__image img,
.world__map img {
	mix-blend-mode: screen;
}

.section > .wrap,
.hero > .wrap,
.intro > .wrap,
.about > .wrap {
	position: relative;
}

/* Typography helpers */
.display {
	font-size: var(--fs-display);
	font-weight: 200;
	line-height: 1.11;
	letter-spacing: -0.06em;
	text-align: center;
}

.title--center {
	text-align: center;
}

.title {
	font-size: var(--fs-h1);
	font-weight: 200;
	line-height: 1.11;
	letter-spacing: -0.06em;
}

.lead {
	font-size: var(--fs-lead);
	font-weight: 300;
	line-height: 1.36;
	color: var(--accent);
}

.lead p:last-child {
	margin-bottom: 0;
}

.rich {
	font-size: var(--fs-body);
	font-weight: 200;
	line-height: 1.65;
}

.rich p:last-child {
	margin-bottom: 0;
}

.rich ul,
.rich ol {
	padding-inline-start: 1.5em;
}

.rich a {
	color: var(--accent-bright);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Hero (home) ----------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(2rem, 6vw, 7.2rem) clamp(0.5rem, 0.42vw, 0.5rem);
	overflow: clip;
}

.hero__title {
	max-width: 74rem;
	margin-inline: auto;
}

.hero__subtitle {
	max-width: 74rem;
	margin: clamp(1.5rem, 3.6vw, 4.4rem) auto 0;
	font-size: clamp(1rem, 1.67vw, 2rem);
	font-weight: 200;
	line-height: 1.36;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	color: var(--accent);
}

/* World panel */
/* Figma: the panel is 1520 px on a 1440 px grid, cards nearly flush with its top/right edge. */
.world {
	position: relative;
	margin: clamp(2.5rem, 9.8vw, 11.75rem) -2.78% 0;
	padding: 0.7rem 1rem 0.72rem clamp(1.5rem, 4.8vw, 5.75rem);
	border-radius: clamp(1.5rem, 2.1vw, 2.6rem);
	background: var(--panel);
	overflow: hidden;
}

.world__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 664fr) minmax(0, 720fr);
	gap: clamp(1rem, 1.3vw, 1.6rem);
	align-items: stretch;
}

.world__grid > div:first-child {
	display: flex;
	flex-direction: column;
}

.world__title {
	max-width: 10em;
	margin: 0 0 clamp(4rem, 12vw, 14rem);
	font-size: clamp(2rem, 2.854vw, 3.425rem);
	font-weight: 200;
	line-height: 1.11;
	color: var(--mint);
}

.world__countries {
	max-width: 19rem;
	margin-top: auto;
	font-size: clamp(1rem, 0.95vw, 1.14rem);
	font-weight: 400;
	line-height: 1.23;
}

.world__countries p {
	margin: 0;
}

.world__countries strong {
	font-weight: 800;
}

.world__cta {
	margin-top: clamp(1rem, 0.9vw, 1.1rem);
	margin-bottom: clamp(0.75rem, 2vw, 2.4rem);
}

/* Figma places the map artwork larger than the panel (1374 px on a 1525 px panel); it runs under the glass cards and the panel crops its bottom. */
.world__map {
	position: absolute;
	top: 0.99vw;
	left: 0;
	width: 90.1%;
	pointer-events: none;
}

.world__map img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.95;
}

.stats {
	display: grid;
	grid-template-columns: minmax(0, 300fr) minmax(0, 395fr);
	gap: clamp(0.75rem, 0.89vw, 1.07rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.stat {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: clamp(1rem, 1.64vw, 1.96rem);
	min-height: clamp(12rem, 17.22vw, 20.67rem);
	padding: clamp(1.25rem, 3.36vw, 4.04rem) clamp(1rem, 1.5vw, 1.8rem) clamp(1.25rem, 1.6vw, 2rem);
	border-radius: clamp(1.25rem, 1.6vw, 1.93rem);
	background: var(--glass);
	backdrop-filter: blur(17px);
	text-align: center;
}

.stat:nth-child(n + 3) {
	gap: 0.32vw;
	min-height: clamp(10rem, 14.39vw, 17.27rem);
	padding-top: clamp(1.25rem, 2.26vw, 2.71rem);
}

.stat__value {
	white-space: nowrap;
	font-size: clamp(2.6rem, 4.8vw, 5.75rem);
	font-weight: 200;
	line-height: 1.112;
	color: var(--mint);
}

.stat__label {
	max-width: 17rem;
	margin: 0 auto;
	font-size: clamp(0.95rem, 0.95vw, 1.14rem);
	font-weight: 400;
	line-height: 1.2;
}

.stat__label p {
	margin: 0;
}

/* Figma text box widths per card; they set the line breaks. */
.stat:nth-child(1) .stat__label {
	max-width: max(9.95vw, 11rem);
}

.stat:nth-child(2) .stat__label {
	max-width: max(13.7vw, 13rem);
}

.stat:nth-child(3) .stat__label {
	max-width: max(12.97vw, 13rem);
}

.stat:nth-child(4) .stat__label {
	max-width: max(10.83vw, 11rem);
}

/* Use cases */
.usecases {
	padding-top: clamp(3rem, 6.9vw, 8.3rem);
	padding-bottom: clamp(2.5rem, 3.75vw, 4.5rem);
}

/* Figma: the four use cases span 90 % of the viewport, wider than the grid. */
.usecases__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 2.1vw, 2.5rem);
	margin: clamp(2rem, 4.2vw, 5rem) calc((100% - min(90vw, 108rem)) / 2) 0;
	padding: 0;
	list-style: none;
}

.usecase {
	text-align: center;
}

.usecase__image {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: clamp(12rem, 19.3vw, 23.1rem);
	margin-bottom: clamp(0.5rem, 0.5vw, 0.6rem);
}

.usecase__image img {
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

.usecase__label {
	max-width: 18rem;
	margin: 0 auto;
	font-size: clamp(1.25rem, 1.49vw, 1.79rem);
	font-weight: 200;
	line-height: 1.31;
	letter-spacing: -0.06em;
}

/* Glass box (capabilities, contact) ------------------------------------- */
/* Figma glass box: 8% white fill, gradient stroke (mint top-left, grey, lavender bottom-right) drawn by ::before. */
.box {
	position: relative;
	padding: clamp(1.5rem, 2.6vw, 3.2rem) 1.25rem;
	border: 3.8px solid transparent;
	border-radius: var(--radius-box);
	background: rgba(255, 255, 255, 0.08);
	background-clip: padding-box;
	box-shadow: -8px -8px 63px 0 rgba(169, 247, 212, 0.22), 8px 8px 63px 0 rgba(186, 188, 255, 0.18);
}

.box::before {
	content: "";
	position: absolute;
	inset: -3.8px;
	padding: 3.8px;
	border-radius: inherit;
	background: linear-gradient(135deg, #a9f7d4 0%, rgba(169, 247, 212, 0.55) 6%, rgba(169, 247, 212, 0.12) 16%, rgba(90, 92, 100, 0.18) 35%, rgba(70, 72, 80, 0.2) 65%, rgba(186, 188, 255, 0.35) 86%, #babcff 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.box__title {
	max-width: 92%;
	margin: 0 auto clamp(1.5rem, 2.9vw, 3.5rem);
	font-size: var(--fs-h2);
	font-weight: 200;
	line-height: 1.65;
	color: var(--mint);
}

.box--lavender .box__title,
.box--lavender .box__closing {
	color: var(--lavender);
}

.box__list {
	max-width: 87%;
	margin: 0 auto;
	padding-inline-start: clamp(1.25rem, 2vw, 2.4rem);
	font-size: var(--fs-body);
	font-weight: 200;
	line-height: 1.65;
}

.box__list li + li {
	margin-top: 0.5em;
}

.box__closing {
	max-width: 87%;
	margin: clamp(1.5rem, 2.5vw, 2.8rem) auto 0;
	font-size: var(--fs-closing);
	font-weight: 200;
	line-height: 1.65;
	color: var(--mint);
}

.box__actions {
	max-width: 92%;
	margin: clamp(1.5rem, 2.9vw, 3.5rem) auto 0;
}

/* Without JS the toggle stays hidden and the whole list is shown. */
.box__actions:has(> .box__toggle[hidden]) {
	display: none;
}

.box__link,
.box__toggle {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: clamp(1.1rem, 1.35vw, 1.625rem);
	line-height: 1.65;
	color: var(--mint);
	cursor: pointer;
}

.box__toggle[aria-expanded="true"] {
	color: var(--lavender);
}

.box__link:hover,
.box__toggle:hover {
	color: var(--accent-bright);
}

/* Contact section */
.contact {
	padding-block: clamp(2rem, 3.7vw, 4.45rem);
}

/* Figma: the form starts level with the title's bottom; the button sits bottom-left, under the text. */
.contact__box {
	--contact-gap: clamp(2rem, 3vw, 3.6rem);
	padding: clamp(1.5rem, 2.8vw, 3.4rem) clamp(1.25rem, 2.9vw, 3.5rem) clamp(1.5rem, 2.6vw, 3.1rem) clamp(1.25rem, 3.9vw, 4.7rem);
}

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 551fr) minmax(0, 700fr);
	grid-template-rows: auto 1fr;
	gap: 0 var(--contact-gap);
	align-items: start;
}

.contact__grid > div:first-child {
	display: contents;
}

.contact__title {
	grid-area: 1 / 1;
	font-size: clamp(2.5rem, 4.045vw, 4.85rem);
	font-weight: 200;
	line-height: 0.92;
}

.contact__text {
	grid-area: 2 / 1;
}

.contact__form {
	grid-area: 2 / 2;
}

/* Figma: the button sits in the text column, its bottom level with the textarea's bottom.
   The left offset is the text column width (551/700 of the form column) plus the column gap. */
.contact__box .wpcf7 form {
	position: relative;
}

.contact__box .form-row--submit {
	position: absolute;
	top: calc(2 * (var(--field-height) + var(--form-row-gap)) + var(--textarea-height));
	left: calc(-551 / 700 * 100% - var(--contact-gap));
	transform: translateY(-100%);
}

.contact__text {
	max-width: 26.5rem;
	margin: clamp(1rem, 2.4vw, 2.9rem) 0 clamp(1.5rem, 3.4vw, 4.2rem);
	font-size: clamp(1.05rem, 1.25vw, 1.5rem);
	font-weight: 300;
	line-height: 1.21;
}

.contact__text p:last-child {
	margin: 0;
}

/* Contact Form 7 */
.wpcf7 form {
	--field-font-size: clamp(1rem, 1.074vw, 1.29rem);
	/* Figma field: 1.2 line height + 0.515em padding top and bottom + 1 px borders. */
	--field-height: calc(var(--field-font-size) * 2.23 + 2px);
	--textarea-height: clamp(5rem, 6.08vw, 7.3rem);
	--form-row-gap: clamp(0.75rem, 1.5vw, 1.8rem);
	display: grid;
	grid-template-columns: minmax(0, 311fr) minmax(0, 372fr);
	gap: var(--form-row-gap) clamp(0.75rem, 1.25vw, 1.5rem);
}

.wpcf7 form p {
	margin: 0;
}

.wpcf7 .form-row--full {
	grid-column: 1 / -1;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

.wpcf7 input:not([type="checkbox"]):not([type="submit"]),
.wpcf7 textarea {
	display: block;
	width: 100%;
	height: var(--field-height);
	padding: 0.515em 0.772em;
	border: 1px solid var(--input-border);
	border-radius: 1.05rem;
	background: #000;
	color: var(--text);
	font-family: var(--font-alt);
	font-weight: 300;
	font-size: var(--field-font-size);
	line-height: 1.2;
}

.wpcf7 textarea {
	height: var(--textarea-height);
	min-height: var(--textarea-height);
	resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: var(--text);
	opacity: 1;
}

.wpcf7 form > p:has(.wpcf7-acceptance),
.wpcf7 .wpcf7-acceptance {
	grid-column: 1 / -1;
	font-size: clamp(0.9rem, 0.95vw, 1.1rem);
	font-weight: 300;
	line-height: 1.4;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
	display: flex;
	gap: 0.6em;
	align-items: flex-start;
}

.wpcf7 .wpcf7-acceptance input {
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
	margin: 0.1em 0 0;
	accent-color: var(--accent);
}

.wpcf7 .wpcf7-acceptance a {
	color: var(--accent-bright);
	text-decoration: underline;
}

.wpcf7 .form-row--submit {
	grid-column: 1 / -1;
}

.wpcf7 .form-row--submit p {
	display: flex;
}

.wpcf7 .wpcf7-spinner {
	display: none;
}

.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.3em;
	font-size: 0.9rem;
	color: #ff8a8a;
}

.wpcf7 .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.75em 1em;
	border: 1px solid var(--accent) !important;
	border-radius: 1rem;
	font-size: 1rem;
}

/* Page: solutions / services ------------------------------------------- */
.intro {
	padding-block: clamp(2rem, 4.2vw, 5rem) clamp(2.5rem, 8.6vw, 10.4rem);
	overflow: hidden;
}

.intro__title {
	max-width: 20em;
}

.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: start;
	margin-top: clamp(1.5rem, 3vw, 3.75rem);
}

.intro__text {
	max-width: 50.3rem;
}

.intro__image {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	margin-inline-end: min(0px, calc(50% - 50vw + var(--gutter)));
}

.intro__image img {
	width: 100%;
	max-width: 60rem;
	height: auto;
}

.intro__image--framed img {
	border: 2px solid var(--accent);
	border-radius: var(--radius-image);
	object-fit: cover;
}

.feature {
	overflow: hidden;
}

.feature__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 2.5rem);
	align-items: start;
}

.feature--num-right .feature__head {
	grid-template-columns: minmax(0, 1fr) auto;
}

.feature--num-right .feature__number {
	order: 2;
}

.feature__head--with-image {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
}

.feature--image-left .feature__head--with-image .feature__image {
	order: -1;
}

.feature__head--with-image .feature__image img {
	max-width: clamp(18rem, 36vw, 44rem);
}

.feature__number {
	font-size: clamp(7rem, 17.8vw, 21.4rem);
	font-weight: 100;
	line-height: 0.8;
	color: var(--mint);
}

.feature--lavender .feature__number {
	color: var(--lavender);
}

.feature__title {
	font-size: var(--fs-h2);
	font-weight: 200;
	line-height: 1.2;
}

.feature__lead {
	max-width: 80rem;
	margin-top: clamp(1rem, 1.8vw, 2.2rem);
	font-size: var(--fs-body);
	font-weight: 200;
	line-height: 1.65;
	color: var(--mint);
}

.feature--lavender .feature__lead {
	color: var(--lavender);
}

.feature__body-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr);
	gap: clamp(1.5rem, 3vw, 4rem);
	align-items: center;
	margin-top: clamp(1.5rem, 2.5vw, 3rem);
}

.feature--image-left .feature__body-row {
	grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
}

.feature--image-left .feature__image {
	order: -1;
}

.feature__body {
	max-width: 59.5rem;
}

.feature__image {
	display: flex;
	justify-content: center;
}

.feature__image img {
	width: 100%;
	max-width: clamp(18rem, 30vw, 36rem);
	height: auto;
}

.feature__box {
	margin-top: clamp(2rem, 5vw, 6rem);
}

@media (min-width: 1101px) {
	/* Figma: text column 805 px, image starts 71 px after it, 957x592 and 60 px above the text, bleeding off the right edge. */
	.intro__grid {
		grid-template-columns: minmax(0, 56%) minmax(0, 1fr);
		column-gap: 4.9%;
	}

	.intro__image {
		justify-content: flex-start;
		margin-top: -3.125vw;
	}

	.intro__image img {
		flex-shrink: 0;
		width: 49.85vw;
		max-width: none;
		aspect-ratio: 957 / 592;
	}

	/* Figma: the number's foot lines up with the end of the lead, overhanging the text column. */
	.feature__number {
		align-self: end;
		margin-inline-start: -1.25rem;
		margin-bottom: 1.6vw;
	}

	.feature--num-right .feature__number {
		margin-inline: 0 -1.25rem;
	}

	/* Large artwork positioned on the 1920 px design grid (values from the section's image fields). */
	.feature--image-free .feature__body-row {
		display: block;
		position: relative;
		margin-top: clamp(2rem, 2.9vw, 3.5rem);
	}

	/* The body text stops 1vw before the artwork, so they never overlap on narrower desktops. */
	.feature--image-free .feature__body {
		position: relative;
		z-index: 1;
		max-width: min(59.5rem, calc(50% - 50vw + var(--image-left) * 100vw / 1920 - 1vw));
	}

	.feature--image-free.feature--image-left .feature__body {
		max-width: min(56rem, calc(50% + 50vw - (var(--image-left) + var(--image-width)) * 100vw / 1920 - 1vw));
		margin-inline-start: auto;
	}

	/* Blend the wrapper, not the img: the absolute wrapper would otherwise isolate the blend from the section background. */
	.feature--image-free .feature__image {
		display: block;
		position: absolute;
		mix-blend-mode: screen;
		top: calc(var(--image-top) * 100vw / 1920);
		left: calc(50% - 50vw + var(--image-left) * 100vw / 1920);
		width: calc(var(--image-width) * 100vw / 1920);
		pointer-events: none;
	}

	.feature--image-free .feature__image img {
		width: 100%;
		max-width: none;
		mix-blend-mode: normal;
	}

	.feature--image-free .feature__box {
		margin-top: clamp(3rem, 9.5vw, 11.5rem);
	}

	/* Title + lead with the artwork placed on the 1920 px grid in the same cell, so the row grows with whichever is taller. */
	.feature--image-placed {
		padding-block: 9.1vw 5.4vw;
		overflow: clip visible;
	}

	.feature--image-placed:not(.section--line) {
		padding-top: 3.4vw;
	}

	.feature--image-placed + .contact {
		padding-top: 0;
	}

	.feature--image-placed .feature__head--with-image {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.feature--image-placed .feature__head--with-image > * {
		grid-area: 1 / 1;
	}

	.feature--image-placed .feature__text {
		position: relative;
		z-index: 1;
		max-width: 42vw;
	}

	.feature--image-placed.feature--image-left .feature__text {
		max-width: 41vw;
		margin-inline-start: auto;
	}

	.feature--image-placed .feature__head--with-image .feature__image {
		display: block;
		justify-self: start;
		width: calc(var(--image-width) * 100vw / 1920);
		margin-top: calc(var(--image-top) * 100vw / 1920);
		margin-inline-start: calc(var(--image-left) * 100vw / 1920 - 50vw + 50%);
		pointer-events: none;
	}

	.feature--image-placed .feature__head--with-image .feature__image img {
		width: 100%;
		max-width: none;
	}

	.feature--image-placed .feature__title {
		font-size: clamp(2.5rem, 3.75vw, 4.5rem);
		line-height: 1.111;
		letter-spacing: -0.06em;
	}

	.feature--image-placed .feature__lead {
		margin-top: 3.44vw;
		font-size: clamp(1.1rem, 1.389vw, 1.667rem);
		font-weight: 300;
		line-height: 1.36;
	}

	.feature--image-placed .feature__box {
		margin-top: 3.75vw;
	}
}

/* Page: resources ------------------------------------------------------- */
/* Figma canvas is 1920 px: desktop sizes are kept in vw so the bleeding artwork stays proportional. */
.about {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2rem, 3.39vw, 4.07rem) clamp(3rem, 6.64vw, 8rem);
}

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 3vw, 4rem);
	align-items: start;
}

.about__title {
	padding-inline-start: clamp(0rem, 3.8vw, 4.5rem);
}

.about__subtitle {
	margin-top: clamp(0.75rem, 1vw, 1rem);
	padding-inline-start: clamp(0rem, 3.8vw, 4.5rem);
	font-size: clamp(1.5rem, 2.5vw, 3rem);
	font-weight: 200;
	line-height: 1.36;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.about__box {
	position: relative;
	z-index: 1;
	margin-top: clamp(1.5rem, 3.28vw, 3.94rem);
	padding: clamp(1.5rem, 1.93vw, 2.31rem) clamp(1.25rem, 3.96vw, 4.75rem) clamp(1.5rem, 2.45vw, 2.94rem) clamp(1.25rem, 3.8vw, 4.56rem);
	font-size: var(--fs-lead);
	font-weight: 300;
	line-height: 1.36;
}

.about__box p {
	margin-bottom: 0.9em;
}

.about__box p:last-child {
	margin: 0;
}

.about__image {
	display: flex;
	justify-content: flex-end;
}

.about__image img {
	width: 100%;
	max-width: 48rem;
	height: auto;
	opacity: 0.9;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.75rem, 1.4vw, 1.7rem) clamp(0.75rem, 1.82vw, 2.2rem);
	margin: clamp(2rem, 4vw, 5rem) 0 0;
	padding: 0;
	list-style: none;
}

/* Figma frame: 64.5 px tall at 32 px with the 2 px stroke inside. */
.chip {
	display: inline-block;
	padding: 0.434em 0.9375em 0.27em;
	border: 2px solid var(--accent-bright);
	border-radius: 1.05rem;
	background: #000;
	font-family: var(--font-alt);
	font-size: var(--fs-chip);
	font-weight: 300;
	line-height: 1.2;
	white-space: nowrap;
}

.chip--lavender {
	border-color: var(--lavender);
}

.docs {
	overflow: hidden;
}

.docs__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 4vw, 5rem);
	align-items: start;
}

.docs__text {
	max-width: 42rem;
	margin-top: clamp(1.5rem, 1.93vw, 2.31rem);
	color: var(--mint);
}

/* Figma "Mask group": 1051 x 516 frame, 2 px #51dba0 stroke, 55 px corners, cut by the right screen edge.
   The artwork sits 105 % wide inside it, shifted 128 px left and 102 px up (Figma crop). */
.docs__image {
	position: relative;
	aspect-ratio: 1051 / 516;
	overflow: hidden;
	border: 2px solid var(--accent);
	border-radius: clamp(1.5rem, 2.86vw, 3.44rem);
}

.docs__image img {
	position: absolute;
	top: -19.77%;
	left: -12.18%;
	width: 105.33%;
	max-width: none;
	height: auto;
}

.guides {
	overflow: hidden;
}

.guides__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1.5rem, 3vw, 4rem);
	align-items: center;
}

.guides__image img {
	display: block;
	width: 100%;
	max-width: 46rem;
	height: auto;
}

.guides__lead {
	max-width: 55rem;
	margin-top: clamp(1.5rem, 1.93vw, 2.31rem);
	font-size: clamp(1.5rem, 2.5vw, 3rem);
	font-weight: 300;
	line-height: 1.36;
	color: var(--mint);
}

.guides .chips {
	margin-top: clamp(1.5rem, 3.07vw, 3.7rem);
}

/* Figma: a teal haze centred on the left screen edge behind the compass. */
.glow--guides {
	top: 50%;
	left: 0;
	width: clamp(24rem, 58vw, 70rem);
	background: radial-gradient(circle, rgba(70, 140, 140, 0.68) 0%, rgba(70, 140, 140, 0.24) 40%, transparent 68%);
	transform: translate(-50%, -50%);
}

.events {
	/* Figma: the footer divider sits 86 px under the last label; the footer adds its own top margin. */
	padding-block: clamp(3rem, 5.52vw, 6.6rem) clamp(0.5rem, 0.5vw, 0.6rem);
}

.events__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 5.7vw, 6.8rem) clamp(1rem, 0.83vw, 1rem);
	max-width: 70.625rem;
	margin: clamp(2.5rem, 6.41vw, 7.7rem) auto 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.event__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(4rem, 5vw, 6rem);
	margin-bottom: clamp(1rem, 1.35vw, 1.62rem);
}

.event__icon img {
	max-height: 100%;
	width: auto;
}

.event__label {
	max-width: 23rem;
	margin: 0 auto;
	font-size: clamp(1.25rem, 1.67vw, 2rem);
	font-weight: 200;
	line-height: 1.125;
}

@media (min-width: 1101px) {
	/* About: box is 1110/1920 wide; the head image bleeds off the right edge behind it. */
	.about__grid {
		display: block;
	}

	.about__box {
		width: 57.81vw;
	}

	.about__image {
		position: absolute;
		top: 4.95vw;
		left: calc(62.06vw - (100vw - var(--wrap)) / 2);
		z-index: 0;
		width: 37.94vw;
		pointer-events: none;
	}

	.about__image img {
		max-width: none;
	}

	.about .chips {
		column-gap: 2.6vw;
		margin-top: 6.61vw;
	}

	.docs {
		padding-block: 8.49vw 8.44vw;
	}

	.docs__grid {
		grid-template-columns: 35vw minmax(0, 1fr);
		column-gap: 5.73vw;
		margin-right: calc((var(--wrap) - 100vw) / 2);
	}

	.docs__grid > :first-child {
		margin-top: 1.1vw;
	}

	.docs__image {
		width: 54.74vw;
	}

	/* Guides: compass sits on the left screen edge; the text column runs past the content width. */
	.guides {
		padding-block: 6.61vw 8.75vw;
	}

	.guides__grid {
		display: block;
		margin-inline: calc(38.13vw - (100vw - var(--wrap)) / 2) calc(7.81vw - (100vw - var(--wrap)) / 2);
	}

	.guides__image {
		position: absolute;
		top: -5.78vw;
		left: calc((var(--wrap) - 100vw) / 2);
		width: 37.86vw;
	}

	.guides__image img {
		max-width: none;
	}

	.guides__grid > :last-child {
		position: relative;
	}
}

/* Blog list ------------------------------------------------------------- */
.blog-list {
	padding-block: clamp(2rem, 8.2vw, 10rem) clamp(2rem, 4vw, 5rem);
}

.blog__title {
	margin-bottom: clamp(2rem, 4vw, 5rem);
}

.posts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 6rem) clamp(2rem, 4.6vw, 5.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Two cards per row as in the design, from the width where the text column still fits beside the image. */
@media (min-width: 1280px) {
	.posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.post-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(1rem, 1.4vw, 1.7rem);
	align-items: start;
}

.post-card__title {
	font-size: clamp(1.2rem, 1.25vw, 1.5rem);
	font-weight: 200;
	line-height: 1.17;
	color: var(--accent-bright);
}

.post-card__meta {
	margin: 0.35em 0 0;
	font-size: clamp(0.85rem, 0.73vw, 0.875rem);
	font-weight: 200;
	line-height: 1.4;
	color: var(--text);
}

.post-card__excerpt {
	margin: 0.2em 0 0;
	font-size: clamp(0.95rem, 0.94vw, 1.125rem);
	font-weight: 200;
	line-height: 1.56;
}

.post-card__excerpt p {
	margin: 0;
}

.post-card__meta .single__byline-sep {
	margin-inline: 0.3em;
}

.post-card__more {
	display: inline-block;
	margin-top: 1.2em;
	font-size: clamp(0.95rem, 0.94vw, 1.125rem);
	color: var(--accent-link);
}

.post-card__image {
	width: clamp(13rem, 16.4vw, 19.7rem);
	aspect-ratio: 315 / 325;
	overflow: hidden;
	border: 2px solid var(--accent);
	border-radius: var(--radius-image);
	background: var(--panel);
}

.post-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pagination {
	margin-top: clamp(3rem, 6vw, 8rem);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--line);
	border-radius: 0.5rem;
	background: var(--panel-2);
	font-size: 1rem;
	font-weight: 200;
	color: var(--text);
}

.pagination .page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--bg);
	font-weight: 400;
}

.pagination .page-numbers.dots,
.pagination .prev,
.pagination .next {
	border-color: transparent;
	background: none;
	font-size: 1.25rem;
	color: var(--accent-link);
}

.pagination .page-numbers.dots {
	color: #6b6b6b;
}

/* Single post ----------------------------------------------------------- */
.single-layout {
	padding-block: clamp(2rem, 6.67vw, 8rem) clamp(1rem, 2vw, 2.5rem);
}

.single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(18rem, 20.8vw, 25rem);
	gap: clamp(2rem, 2.9vw, 3.5rem);
	align-items: start;
}

.single__title {
	font-size: clamp(2.2rem, 4.6vw, 5.5rem);
	font-weight: 200;
	line-height: 1.09;
	letter-spacing: -0.06em;
}

.single__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(1.5rem, 2.4vw, 2.9rem);
	font-size: clamp(1rem, 0.94vw, 1.125rem);
	font-weight: 400;
	color: var(--text);
}

.single__byline p {
	margin: 0;
}

@media (max-width: 1100px) {
	.single__title-break {
		display: none;
	}
}

.single__byline-sep {
	margin-inline: 0.667em;
	font-weight: 300;
	color: var(--text-meta);
}

.single__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single__category {
	display: inline-block;
	padding: 0.5em 1.15em;
	border-radius: 999px;
	background: var(--accent);
	color: var(--bg);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
}

.single__category--lavender {
	background: var(--lavender);
}

.single__image {
	margin-top: clamp(1.5rem, 2.5vw, 3rem);
	overflow: hidden;
	border: 4px solid var(--accent);
	border-radius: clamp(1.5rem, 2.6vw, 3.1rem);
	aspect-ratio: 980 / 541;
}

.single__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single__lead {
	margin-top: clamp(1.5rem, 2.6vw, 3.1rem);
}

.single__lead--with-image {
	margin-top: clamp(1.5rem, 2vw, 2.4rem);
}

.single__lead .single__excerpt {
	margin-top: 0;
}

.single__image--square {
	--square-width: clamp(14rem, 18.6vw, 22.4rem);
	width: var(--square-width);
	margin-top: 0;
	aspect-ratio: 358 / 369;
	border-width: 2.3px;
	border-radius: clamp(2rem, 3.25vw, 3.9rem);
}

.single__image--small {
	--square-width: clamp(13rem, 16.4vw, 19.7rem);
	border-width: 2px;
	border-radius: var(--radius-image);
}

/* Lead and body flow around the square image; the text column keeps the design's ~594 px measure. */
@media (min-width: 1101px) {
	/* The design's 980 px headline box; "Half of Cybercrime in Africa." must wrap. */
	.single__title {
		max-width: 51vw;
	}

	.single__image--square {
		float: right;
		margin: 0 0 1.5rem max(1.75rem, calc(100% - 30.9vw - var(--square-width)));
	}

	.single__content::after {
		content: "";
		display: table;
		clear: both;
	}
}

.single__excerpt {
	margin-top: clamp(1.5rem, 2.6vw, 3.1rem);
	font-size: clamp(1.1rem, 1.15vw, 1.375rem);
	font-weight: 700;
	line-height: 1.64;
}

.single__excerpt p {
	margin-bottom: 0.55em;
}

.single__content {
	margin-top: clamp(1.5rem, 2.6vw, 3.1rem);
	font-size: clamp(1.1rem, 1.15vw, 1.375rem);
	font-weight: 400;
	line-height: 1.64;
	color: var(--text-soft);
}

.single__content p,
.single__content ul,
.single__content ol {
	margin: 0 0 1lh;
}

.single__content h2,
.single__content h3,
.single__content h4 {
	margin: 1lh 0 0;
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
	color: var(--text);
}

.single__content h2 + p,
.single__content h3 + p {
	margin-top: 0;
}

.single__content ul,
.single__content ol {
	padding-inline-start: 1.5em;
}

.single__content .is-section-break {
	margin-top: 2lh;
}

.single__content a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.single__content img {
	border-radius: 1rem;
}

.sidebar__title {
	margin-bottom: 1.25rem;
	font-size: clamp(1.5rem, 1.67vw, 2rem);
	font-weight: 200;
	line-height: normal;
	color: var(--accent);
}

.sidebar__list {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.related {
	display: block;
	padding: 1.25rem;
	border: 1px solid #2b2e3a;
	border-radius: 1.25rem;
	background: var(--panel-2);
	transition: border-color 0.2s ease;
}

.related p {
	margin-bottom: 0;
}

.related:hover {
	border-color: var(--accent);
}

.related__image {
	height: 8.75rem;
	overflow: hidden;
	border-radius: 0.875rem;
	background: var(--panel);
}

.related__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related__title {
	margin-top: 0.875rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.33;
}

.related__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-top: 0.875rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text-soft);
}

.related__date {
	line-height: normal;
	margin-top: 0.875rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
}

/* Legal / default page -------------------------------------------------- */
.page-content {
	padding-block: clamp(2rem, 3.39vw, 4.07rem) clamp(1.5rem, 2.1vw, 2.5rem);
}

.page-content__title {
	margin-bottom: clamp(1.5rem, 3.65vw, 4.38rem);
}

.page-content__body {
	max-width: 90rem;
	font-size: clamp(1rem, 0.94vw, 1.125rem);
	font-weight: 300;
	line-height: 1.36;
}

.page-content__body h2 {
	margin: 0 0 0.923em;
	font-size: clamp(1.25rem, 1.35vw, 1.625rem);
	font-weight: 700;
	line-height: 1.36;
}

.page-content__body h3 {
	margin: 1.3em 0 0.6em;
	font-size: 1.1em;
	font-weight: 700;
}

.page-content__body p,
.page-content__body ul,
.page-content__body ol {
	margin: 0 0 1.333em;
}

.page-content__body > :last-child {
	margin-bottom: 0;
}

.page-content__body ul,
.page-content__body ol {
	padding-inline-start: 1.5em;
}

.page-content__body a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.page-content__body a:hover {
	color: var(--accent-bright);
}

/* 404 */
.notfound {
	padding-block: clamp(4rem, 8vw, 10rem);
	text-align: center;
}

.notfound .btn {
	margin-top: 2rem;
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
	position: relative;
	margin-top: clamp(2rem, 4vw, 5rem);
	padding-top: clamp(2rem, 2vw, 2.5rem);
	background: var(--bg);
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--divider-line);
}

.site-footer__brand {
	display: flex;
	justify-content: center;
	line-height: 0;
}

.site-footer__brand img {
	width: clamp(8rem, 10.9vw, 13.1rem);
	height: auto;
}

.site-footer__columns {
	display: grid;
	grid-template-columns: 50.1% 40.3% auto;
	gap: 2rem 0;
	margin-top: clamp(2rem, 2.31vw, 2.8rem);
}

/* Figma wraps the long Professional Services links at about 394 px. */
.footer-col:nth-child(2) .menu a {
	max-width: 22.2em;
}

.footer-col__title {
	margin: 0 0 0.3em;
	font-size: clamp(1.25rem, 1.32vw, 1.5875rem);
	font-weight: 200;
	line-height: 1.5;
	color: var(--accent);
}

.footer-col .menu {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col .menu a {
	display: inline-block;
	padding-block: 0.3em;
	font-size: clamp(0.95rem, 0.93vw, 1.11rem);
	font-weight: 200;
	line-height: 1.25;
	transition: color 0.2s ease;
}

.footer-col .menu a:hover {
	color: var(--accent-bright);
}

.partners {
	margin-top: 0.25rem;
}

.partners__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partners__list img {
	display: block;
	width: auto;
	max-height: clamp(2.2rem, 2.44vw, 2.93rem);
}

.partners__list li:nth-child(3) img {
	max-height: clamp(1.8rem, 2.01vw, 2.41rem);
}

.company-details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	justify-content: center;
	max-width: 70rem;
	margin: clamp(2rem, 3vw, 3.5rem) auto 0;
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--text-soft);
	text-align: center;
}

.company-details dt {
	display: inline;
	font-weight: 600;
}

.company-details dt::after {
	content: ": ";
}

.company-details dd {
	display: inline;
	margin: 0;
}

.company-details a:hover {
	color: var(--accent-bright);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
}

.anpc-sal {
	display: block;
	width: fit-content;
	margin: 1.5rem auto 0;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	width: min(100%, 34.7rem);
	margin: 1.3rem auto 0;
	padding: 1.3rem 2rem 1rem;
	border-radius: clamp(1.5rem, 1.9vw, 2.25rem) clamp(1.5rem, 1.9vw, 2.25rem) 0 0;
	background: var(--panel-2);
	font-size: 1.02rem;
	font-weight: 400;
	color: var(--text-soft);
	text-align: center;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom a:hover {
	color: var(--accent-bright);
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.world__grid,
	.intro__grid,
	.about__grid,
	.docs__grid,
	.guides__grid,
	.contact__grid,
	.single__grid {
		grid-template-columns: 1fr;
	}

	.usecases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.world {
		margin-inline: 0;
		padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
	}

	.world__title {
		margin-bottom: clamp(2rem, 8vw, 6rem);
	}

	.world__map {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		margin-top: 1rem;
	}

	.contact__grid {
		grid-template-rows: none;
	}

	.contact__grid > div:first-child {
		display: block;
	}

	.contact__title,
	.contact__text,
	.contact__form {
		grid-area: auto;
	}

	.contact__box .form-row--submit {
		position: static;
		transform: none;
	}

	/* Crop the source canvas to the map artwork (x 0-1732, y 338-1275 of 2749x1534) so it spans the panel. */
	.world__map {
		overflow: hidden;
		aspect-ratio: 1732 / 937;
		margin-bottom: clamp(1rem, 3vw, 2rem);
	}

	.world__map img {
		width: 158.72%;
		max-width: none;
		margin-top: -19.52%;
	}

	.feature__head,
	.feature--num-right .feature__head,
	.feature__head--with-image {
		grid-template-columns: 1fr;
	}

	.feature--image-left .feature__head--with-image .feature__image {
		order: 0;
	}

	.feature--num-right .feature__number {
		order: 0;
	}

	.feature__number {
		font-size: clamp(5rem, 18vw, 10rem);
	}

	.feature__body-row,
	.feature--image-left .feature__body-row {
		grid-template-columns: 1fr;
	}

	.feature--image-left .feature__image {
		order: 0;
	}

	.intro__image,
	.about__image {
		justify-content: center;
	}

	.docs__image {
		margin-right: calc((100% - 100vw) / 2);
	}

	.site-footer__columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 1100px) {
	.single__image--square {
		margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	}
}

@media (max-width: 700px) {
	.single__image--square {
		width: 100%;
		max-width: 22.4rem;
	}

	.related__title {
		font-size: 1.25rem;
	}

	.box__title,
	.box__list,
	.box__closing,
	.box__actions {
		max-width: 100%;
	}
}

@media (max-width: 700px) {
	:root {
		--wrap: 100%;
		--gutter: 1rem;
	}

	.stats,
	.events__grid {
		grid-template-columns: 1fr 1fr;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.post-card__image {
		order: -1;
		width: 100%;
	}

	/* The desktop line break is tuned for 1920 px; on phones let the subtitle wrap naturally. */
	.hero__subtitle br {
		display: none;
	}

	/* Section artworks are square canvases with wide transparent margins: crop them so phones get no empty bands. */
	.feature--image-free .feature__image img {
		max-width: none;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	.site-footer__columns {
		grid-template-columns: 1fr;
	}

	.wpcf7 form {
		grid-template-columns: 1fr;
	}

	.usecases__grid {
		grid-template-columns: 1fr;
	}

	.chip {
		white-space: normal;
	}
}

@media (max-width: 480px) {
	.stats {
		grid-template-columns: 1fr;
	}

	.stat,
	.stat:nth-child(n + 3) {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* Cookie banner (Complianz) ------------------------------------------------ */
/* No Figma frame exists for the banner; it reuses the site's glass box, type and pill buttons.
   Accept and Deny share one style so rejecting is as easy as accepting (Legea 506/2004). */
#cmplz-cookiebanner-container .cmplz-cookiebanner,
.cmplz-manage-consent {
	--cmplz_banner_width: 34rem;
	--cmplz_banner_background_color: var(--panel);
	--cmplz_banner_border_color: transparent;
	--cmplz_banner_border_width: 0;
	--cmplz_banner_border_radius: var(--radius-card);
	--cmplz_banner_margin: clamp(0.75rem, 1.5vw, 1.5rem);
	--cmplz_title_font_size: 1.375rem;
	--cmplz_text_font_size: 0.9375rem;
	--cmplz_text_line_height: 1.6;
	--cmplz_text_color: var(--text-soft);
	--cmplz_hyperlink_color: var(--accent);
	--cmplz_link_font_size: 0.875rem;
	--cmplz_category_body_font_size: 0.875rem;
	--cmplz_category_header_title_font_size: 1rem;
	--cmplz_category_header_active_font_size: 0.875rem;
	--cmplz_category_header_always_active_color: var(--accent);
	--cmplz_button_accept_background_color: var(--accent);
	--cmplz_button_accept_border_color: var(--accent);
	--cmplz_button_accept_text_color: var(--bg);
	--cmplz_button_deny_background_color: var(--accent);
	--cmplz_button_deny_border_color: var(--accent);
	--cmplz_button_deny_text_color: var(--bg);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: var(--accent);
	--cmplz_button_settings_text_color: var(--text);
	--cmplz_button_border_radius: 999px;
	--cmplz_button_font_size: 1rem;
	--cmplz_slider_active_color: var(--accent);
	--cmplz_slider_inactive_color: var(--line);
	--cmplz_slider_bullet_color: var(--text);
	font-family: var(--font);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
	border: 2px solid transparent;
	background:
		linear-gradient(var(--panel), var(--panel)) padding-box,
		linear-gradient(135deg, #a9f7d4 0%, rgba(169, 247, 212, 0.25) 18%, rgba(70, 72, 80, 0.35) 50%, rgba(186, 188, 255, 0.35) 82%, #babcff 100%) border-box;
	box-shadow: -8px -8px 63px 0 rgba(169, 247, 212, 0.16), 8px 8px 63px 0 rgba(186, 188, 255, 0.14);
	color: var(--text-soft);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
	font-weight: 300;
	color: var(--mint);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-description {
	font-weight: 300;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close {
	color: var(--text);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
	height: auto;
	min-height: 2.75rem;
	padding: 0.5em 1.25em;
	font-family: var(--font);
	font-weight: 300;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:is(.cmplz-accept, .cmplz-deny, .cmplz-save-preferences):hover,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:is(.cmplz-accept, .cmplz-deny, .cmplz-save-preferences):focus-visible {
	background: var(--mint);
	border-color: var(--mint);
	transform: translateY(-1px);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:is(.cmplz-view-preferences, .cmplz-manage-options):hover,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:is(.cmplz-view-preferences, .cmplz-manage-options):focus-visible {
	border-color: var(--mint);
	color: var(--mint);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category {
	border-radius: 0.75rem;
	background: var(--panel-2);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-header {
	color: var(--text);
}

.cmplz-manage-consent {
	border: 1px solid var(--line);
	background: var(--panel-2);
	color: var(--text);
	font-family: var(--font);
}

/* Compact banner on phones: smaller text and all three buttons in one row. */
@media (max-width: 700px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		--cmplz_text_font_size: 0.8125rem;
		--cmplz_link_font_size: 0.75rem;
		--cmplz_button_font_size: 0.8125rem;
		--cmplz_text_line_height: 1.45;
		--cmplz_banner_margin: 0.5rem;
		gap: 0.5rem;
		padding: 0.875rem 1rem;
	}

	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
		width: 100%;
		min-height: 2.75rem;
		margin: 0;
		padding: 0.4em 0.5em;
		white-space: normal;
		line-height: 1.2;
	}

	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
		margin: 0;
		padding-right: 2rem;
	}

	/* The title is hidden on phones; float the close button so it does not take a row of its own. */
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
		position: absolute;
		top: 0.5rem;
		right: 0.5rem;
		z-index: 1;
	}
}

/* Below 601px WordPress lets the admin bar scroll away, so the sticky header goes to the very top. */
@media (max-width: 600px) {
	.site-header {
		top: 0;
	}

	.site-nav.is-open {
		max-height: calc(100dvh - 100%);
	}
}
