/*
 * Hojt 2026 stylesheet (theme hojt2, direction A4).
 *
 * Order of authority: theme.json (tokens, element and block styles) first, then this file
 * for what theme.json cannot say: the page glow, glass surfaces, the speech-bubble pieces,
 * grids, the marquee, focus rings, motion. Class prefix hojt-. Home-page rules are in
 * sections 1 to 9; sections 10 to 16 are the inner templates and the stored content (T3).
 */

/* ---------- 1. Tokens ---------- */

:root {
	/* The theme.json palette presets are the single source; the hex is the fallback. */
	--hojt-ink: var(--wp--preset--color--ink, #0b1622);
	--hojt-electric: var(--wp--preset--color--electric, #1e48f0);
	--hojt-lime: var(--wp--preset--color--lime, #d9ff45);
	--hojt-logo-blue: var(--wp--preset--color--logo-blue, #698fb2);
	--hojt-violet: var(--wp--preset--color--violet, #5b3fe0);
	--hojt-cyan: var(--wp--preset--color--cyan, #22b8d9);
	--hojt-muted: var(--wp--preset--color--muted, #3a4b5e);
	--hojt-quiet: var(--wp--preset--color--quiet, #66798f);
	--hojt-base: var(--wp--preset--color--base, #f6f8fc);
	--hojt-surface: var(--wp--preset--color--surface, #ffffff);
	--hojt-line: var(--wp--preset--color--line, #dce4f0);
	--hojt-live: #17a673; /* status dot only, never text */

	--hojt-font-display: var(--wp--preset--font-family--bricolage-grotesque, 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif);
	--hojt-font-text: var(--wp--preset--font-family--inter, Inter, 'Segoe UI', system-ui, sans-serif);
	--hojt-font-mono: var(--wp--preset--font-family--jetbrains-mono, 'JetBrains Mono', Consolas, monospace);

	--hojt-wide: 1216px;
	/* Side gutter: 16px at 320, about 20px at 390, 32px from 640. Read by theme.json root padding. */
	--hojt-gutter: clamp(16px, 5vw, 32px);
	--hojt-radius-card: 32px;
	--hojt-glass-shadow: 0 24px 60px -28px rgba(31, 52, 110, 0.35);
}

/* ---------- 2. Page ground: glow and dot grid ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px; /* the sticky header covers the top of an anchor target */
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	background-color: var(--hojt-base);
	/* theme.json cannot hold a fixed pseudo-element; the glow is gradients, not blurred nodes. */
}
body::before,
body::after {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
}
body::before {
	background:
		radial-gradient(circle at 80% -6%, rgba(105, 143, 178, 0.55) 0, rgba(105, 143, 178, 0) 46%),
		radial-gradient(circle at -6% 38%, rgba(169, 155, 255, 0.45) 0, rgba(169, 155, 255, 0) 40%),
		radial-gradient(circle at 98% 58%, rgba(127, 227, 245, 0.5) 0, rgba(127, 227, 245, 0) 36%),
		radial-gradient(circle at 8% 104%, rgba(127, 227, 245, 0.35) 0, rgba(127, 227, 245, 0) 42%);
}
body::after {
	bottom: auto;
	height: 80vh;
	background-image: radial-gradient(#b9c6da 1.2px, transparent 1.2px);
	background-size: 30px 30px;
	-webkit-mask-image: linear-gradient(#000, transparent);
	mask-image: linear-gradient(#000, transparent);
	opacity: 0.7;
}

/* Words never push the page sideways. */
.wp-site-blocks {
	overflow-wrap: break-word;
}

/* ---------- 3. Focus, glass, helpers ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--hojt-electric);
	outline-offset: 3px;
	border-radius: 6px;
}
/* On dark surfaces the ring is lime (electric on ink or electric fails 3:1). */
.hojt-footer a:focus-visible,
.hojt-footer button:focus-visible,
.hojt-service--ai a:focus-visible,
.hojt-speech a:focus-visible,
.hojt-cta a:focus-visible,
.hojt-ticker a:focus-visible,
.wp-block-navigation__responsive-container.is-menu-open a:focus-visible,
.wp-block-navigation__responsive-container.is-menu-open button:focus-visible {
	outline-color: var(--hojt-lime);
}

.hojt-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Glass: solid where backdrop-filter is missing, translucent plus blur where it exists.
   Only the header and .hojt-glass cards use backdrop-filter. */
.hojt-glass {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hojt-glass {
		background: rgba(255, 255, 255, 0.72);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
	}
}

.hojt-label {
	margin: 0;
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--hojt-electric);
}

/* Highlighter. Lime is a background only, never text colour on a light ground. */
.hojt-hl,
mark.hojt-hl {
	background: var(--hojt-lime);
	color: var(--hojt-ink);
	padding: 0 0.13em;
	margin-left: -0.13em;
	border-radius: 0.1em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.hojt-link-arrow {
	margin: 0;
	align-self: flex-start;
}
.hojt-link-arrow a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
	color: var(--hojt-electric);
}
.hojt-link-arrow a:hover { color: var(--hojt-ink); }

/* Buttons: the base look comes from theme.json (electric pill); these are the variants. */
.hojt-btn-ink .wp-block-button__link {
	background: var(--hojt-ink);
	color: #fff;
	padding: 18px 30px;
	box-shadow: 0 18px 40px -16px rgba(30, 72, 240, 0.7);
}
.hojt-btn-ink .wp-block-button__link:hover { background: var(--hojt-electric); }
.hojt-btn-glass .wp-block-button__link {
	color: var(--hojt-ink);
	padding: 17px 28px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hojt-btn-glass .wp-block-button__link {
		background: rgba(255, 255, 255, 0.72);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
	}
}
.hojt-btn-glass .wp-block-button__link:hover { background: #fff; color: var(--hojt-electric); }
.hojt-btn-lime .wp-block-button__link {
	background: var(--hojt-lime);
	color: var(--hojt-ink);
	font-weight: 800;
	font-size: clamp(17px, 1rem + 0.3vw, 20px);
	padding: 20px 36px;
}
.hojt-btn-lime .wp-block-button__link:hover { background: #fff; }
.wp-block-buttons.hojt-buttons { gap: 14px; }

/* ---------- 4. Header ---------- */

/* The part wrapper is the sticky element: a sticky node inside a header that is exactly as
   tall as itself would never stick. */
.wp-site-blocks > header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wp-site-blocks > header { top: var(--wp-admin--admin-bar--height, 32px); }

.hojt-header {
	padding-block: 14px 0;
	padding-inline: var(--hojt-gutter);
}
.hojt-header > * {
	max-width: var(--hojt-wide);
	margin-inline: auto;
}
.hojt-header__row {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 16px;
	border-radius: 999px;
	padding: 8px 10px 8px 22px;
}
/* The row also carries .hojt-glass in the part markup; the glass lives on ::before instead.
   backdrop-filter, filter, transform, perspective and contain on an ANCESTOR of the navigation make that
   ancestor the containing block of core's position: fixed menu overlay, which then renders as a small box
   clipped inside the pill instead of covering the viewport. Nothing on the way up to .wp-site-blocks may set them. */
.hojt-header__row.hojt-glass {
	background: none;
	border: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.hojt-header__row::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hojt-header__row::before {
		background: rgba(255, 255, 255, 0.72);
		-webkit-backdrop-filter: blur(18px);
		backdrop-filter: blur(18px);
	}
}
.hojt-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	color: var(--hojt-logo-blue);
	text-decoration: none;
	flex: 0 1 auto;
	min-width: 0;
}
.hojt-logo-link svg {
	flex: none;
	width: 48px;
	height: 48px;
}
.hojt-logo-link__text {
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.01em;
	color: var(--hojt-ink);
	white-space: nowrap;
}
.hojt-header .wp-block-navigation {
	flex: 0 0 auto;
}
.hojt-header .wp-block-navigation__container {
	gap: 4px;
	align-items: center;
}
.hojt-header .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	color: var(--hojt-ink);
	text-decoration: none;
}
.hojt-header .wp-block-navigation-item__content:hover { color: var(--hojt-electric); }
.hojt-header .hojt-nav-cta > .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open .hojt-nav-cta > .wp-block-navigation-item__content {
	background: var(--hojt-electric);
	color: #fff;
	padding: 10px 24px;
}
.hojt-header .hojt-nav-cta > .wp-block-navigation-item__content:hover {
	background: var(--hojt-ink);
	color: #fff;
}
.hojt-header .wp-block-navigation__responsive-container-open,
.hojt-header .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	/* no display here: core owns it (the open button is hidden from 600px up) */
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--hojt-ink);
}
.hojt-header .wp-block-navigation__responsive-container-open svg,
.hojt-header .wp-block-navigation__responsive-container-close svg {
	width: 26px;
	height: 26px;
}
/* The open menu is a full-screen sheet in ink; core draws it, we only set the type. */
.hojt-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px var(--hojt-gutter);
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 8px;
	align-items: flex-start;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: 34px;
	letter-spacing: -0.02em;
	color: #fff;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .hojt-nav-cta > .wp-block-navigation-item__content {
	font-size: 22px;
	color: #fff;
}
@media (max-width: 599px) {
	.hojt-header { padding-top: 10px; }
	.hojt-header__row { padding: 6px 8px 6px 14px; }
	.hojt-logo-link__text { font-size: 17px; }
	.hojt-logo-link svg { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
	.hojt-logo-link__text { font-size: 15px; }
}

/* The inline menu needs about 860px; core switches to the burger at 600px, so the band in
   between is forced to the burger as well (core's own classes, one breakpoint later). */
@media (min-width: 600px) and (max-width: 859px) {
	.hojt-header .hojt-header__row .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hojt-header .hojt-header__row .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
}

/* ---------- 5. Hero ---------- */

.hojt-section {
	padding-inline: var(--hojt-gutter);
	overflow-x: clip; /* rotated and bled pieces never widen the page */
}
.hojt-section > * {
	width: 100%; /* sections are flex columns: auto margins alone would shrink-wrap and centre */
	max-width: var(--hojt-wide);
	margin-inline: auto;
}

.hojt-hero {
	padding-block: clamp(32px, 5vw, 56px) clamp(72px, 9vw, 130px);
}
.hojt-hero__cols {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 0 auto;
}
.hojt-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(22px, 2.4vw, 30px);
	position: relative;
	z-index: 2;
}
.hojt-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hojt-ink);
}
.hojt-pill::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hojt-live);
	box-shadow: 0 0 0 5px rgba(23, 166, 115, 0.18);
}
.hojt-hero h1 {
	max-width: 100%;
}
@media (min-width: 782px) {
	/* The widest line ("Right product.") must end 24px before the photo column at every width
	   from 782 up; the 7.6vw slope was measured with scripts/_probe-hero.mjs. */
	.hojt-hero h1 { white-space: nowrap; font-size: clamp(54px, 7.6vw, 100px); }
}
.hojt-hero__lead {
	margin: 0;
	max-width: 30em;
	font-size: var(--wp--preset--font-size--lead, 21px);
	line-height: 1.5;
}

/* Speech-bubble photo */
.hojt-bubble {
	position: relative;
	margin-right: -20px;
	transform: rotate(3deg);
}
.hojt-bubble__art svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.hojt-bubble__shadow {
	position: absolute;
	inset: 0;
	transform: translate(5%, 5%);
}
.hojt-bubble__frame {
	position: relative;
	filter: drop-shadow(0 40px 60px rgba(91, 63, 224, 0.35));
}
.hojt-bubble__chip {
	position: absolute;
	left: -9%;
	top: 8%;
	z-index: 2;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 16px;
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	color: var(--hojt-ink);
	transform: rotate(-3deg);
}
.hojt-bubble__chip::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hojt-violet);
}
.hojt-bubble__badge {
	position: absolute;
	right: -1%;
	top: -4%;
	z-index: 2;
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--hojt-ink);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
	transform: rotate(-7deg);
}

/* ---------- 6. Ticker ---------- */

.hojt-ticker-wrap {
	overflow: hidden; /* the rotated band cannot create horizontal scroll */
	padding-block: 40px;
	margin-block: -40px;
	position: relative;
	z-index: 1;
}
.hojt-ticker {
	background: var(--hojt-ink);
	color: #fff;
	transform: rotate(-1.5deg);
	width: 104%;
	margin-left: -2%;
	padding-block: 20px;
	overflow: hidden;
}
.hojt-ticker__track {
	display: flex;
	width: max-content;
	animation: hojt-marquee 70s linear infinite;
}
.hojt-ticker__list {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 28px;
	min-width: 100vw;
	margin: 0;
	padding: 0 14px;
	list-style: none;
	font-family: var(--hojt-font-display);
	font-size: clamp(20px, 1rem + 1vw, 26px);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}
.hojt-ticker__list li {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
}
.hojt-ticker__list li::after {
	content: '\25C6';
	content: '\25C6' / '';
	color: var(--hojt-lime);
}
@keyframes hojt-marquee {
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.hojt-ticker__track { animation: none; }
}

/* ---------- 7. Services (bento) ---------- */

.hojt-block-pad {
	padding-block: clamp(72px, 9vw, 130px);
}
.hojt-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.hojt-section__head > .hojt-stack { flex: 1 1 32rem; }
.hojt-section__head > p { flex: 0 1 22em; margin: 0; color: var(--hojt-muted); }
.hojt-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.hojt-stack--lg { gap: 24px; }
.hojt-nobr { white-space: nowrap; }
.hojt-stack > * { margin: 0; }
.hojt-section__head h2,
.hojt-ai h2 {
	text-wrap: balance;
	max-width: 13em;
}
.hojt-ai h2.hojt-h2--md {
	font-size: clamp(32px, 1.3rem + 2.5vw, 56px);
}

.hojt-bento {
	counter-reset: hojt-service;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 22px;
}
.hojt-service {
	counter-increment: hojt-service;
	grid-column: span 6;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 36px 36px 40px;
	border-radius: var(--hojt-radius-card);
	position: relative;
	overflow: hidden;
}
.hojt-service--7 { grid-column: span 7; }
.hojt-service--5 { grid-column: span 5; }
/* The numeral is generated content: outlined, and read by nobody. */
.hojt-service::before {
	content: counter(hojt-service, decimal-leading-zero);
	content: counter(hojt-service, decimal-leading-zero) / '';
	font-family: var(--hojt-font-display);
	font-size: clamp(72px, 4rem + 3.4vw, 112px);
	line-height: 0.85;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 2px var(--hojt-ink);
}
.hojt-service__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	position: relative;
}
.hojt-service__body > * { margin: 0; }
.hojt-service__body p:not(.hojt-label) {
	font-size: 17px;
	color: var(--hojt-muted);
}
.hojt-service--ai {
	background:
		radial-gradient(circle at 92% 0%, rgba(34, 184, 217, 0.55) 0, rgba(34, 184, 217, 0) 46%),
		linear-gradient(120deg, #0b1622 0%, #16308f 55%, #1e48f0 100%);
	color: #fff;
	border: 0;
	box-shadow: 0 30px 70px -30px rgba(30, 72, 240, 0.8);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.hojt-service--ai::before {
	color: var(--hojt-lime);
	-webkit-text-stroke: 0;
	position: relative;
}
.hojt-service--ai .hojt-label { color: var(--hojt-lime); }
.hojt-service--ai h3,
.hojt-service--ai p:not(.hojt-label) { color: #fff; }

/* ---------- 8. AI section ---------- */

.hojt-ai {
	padding-bottom: clamp(64px, 8vw, 110px);
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 7vw, 90px);
}
.hojt-cols {
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(32px, 5vw, 72px);
	margin: 0 auto;
}
.hojt-cols > .wp-block-column { min-width: 0; }
@media (max-width: 781px) {
	.hojt-cols,
	.hojt-hero__cols { flex-wrap: wrap; }
}
.hojt-cols--center { align-items: center; }
.hojt-cols--top { align-items: flex-start; }

.hojt-diagram {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 30px;
	border-radius: var(--hojt-radius-card);
	transform: rotate(-1.5deg);
}
.hojt-diagram > * { margin: 0; }
.hojt-diagram__top {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.hojt-diagram__top p {
	margin: 0;
	font-family: var(--hojt-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--hojt-muted);
}
.hojt-diagram__models {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.hojt-model {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--hojt-line);
	min-width: 0;
}
.hojt-model > * { margin: 0; }
.hojt-model__role {
	font-family: var(--hojt-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--hojt-muted);
}
.hojt-model__name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hojt-font-display);
	font-weight: 700;
	font-size: 18px;
}
.hojt-model__name::before {
	content: '';
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--hojt-dot, var(--hojt-electric));
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--hojt-dot, var(--hojt-electric)) 14%, transparent);
}
.hojt-model--opus { --hojt-dot: var(--hojt-violet); }
.hojt-model--sonnet { --hojt-dot: var(--hojt-electric); }
.hojt-model--haiku { --hojt-dot: var(--hojt-cyan); }
.hojt-diagram__bridge {
	height: 26px;
	margin: 0 16%;
	border: 2px solid #c5d0e2;
	border-top: 0;
	border-radius: 0 0 16px 16px;
}
.hojt-diagram__router {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 18px 20px;
	border-radius: 16px;
	background: var(--hojt-ink);
	color: #fff;
}
.hojt-diagram__router > * { margin: 0; }
.hojt-diagram__router p:first-child {
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: 20px;
	color: #fff;
}
.hojt-diagram__router p:last-child {
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	color: var(--hojt-lime);
}
.hojt-diagram__stores {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.hojt-diagram__stores p {
	margin: 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--hojt-line);
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	line-height: 1.45;
}

.hojt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 700;
}
.hojt-chips li {
	margin: 0;
	padding: 10px 20px;
	border-radius: 999px;
}

.hojt-speech {
	position: relative;
	margin-bottom: 140px;
	transform: rotate(-2deg);
}
.hojt-ai .hojt-speech {
	/* WordPress resets block margins at the same specificity as a single class, so this needs two.
	   The tail is about 140px tall at 1440 and 90px at 390; the margin leaves room below it and the
	   bubble sits above the neighbouring cards. */
	z-index: 3;
	margin-bottom: clamp(150px, 13vw, 200px);
}
.hojt-speech__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(32px, 4vw, 56px);
	border-radius: clamp(32px, 4vw, 44px);
	background: var(--hojt-ink);
	color: #fff;
	box-shadow: 0 40px 80px -40px rgba(91, 63, 224, 0.8);
}
.hojt-speech__body > * { margin: 0; }
.hojt-speech__body .hojt-label { color: var(--hojt-lime); }
.hojt-speech__quote {
	font-family: var(--hojt-font-display);
	font-size: clamp(26px, 1.1rem + 1.7vw, 40px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #fff;
}
.hojt-tail {
	position: absolute;
	top: 100%;
	left: 20%;
	margin-top: -3px;
	width: clamp(100px, 11vw, 160px);
	line-height: 0;
}
.hojt-tail svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	fill: currentColor;
}
.hojt-tail--ink { color: var(--hojt-ink); }
.hojt-tail--electric { color: var(--hojt-electric); width: clamp(120px, 14vw, 210px); left: 18%; }

.hojt-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.hojt-fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 26px;
	border-radius: 24px;
	min-width: 0;
}
.hojt-fact > * { margin: 0; }
.hojt-fact__num {
	font-family: var(--hojt-font-display);
	font-size: clamp(36px, 1.5rem + 2.4vw, 60px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.03em;
	white-space: nowrap;
}
.hojt-fact__label {
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hojt-muted);
}

/* ---------- 9. About, CTA, footer ---------- */

.hojt-about {
	padding-block: 20px clamp(72px, 8vw, 120px);
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 4vw, 56px);
}
.hojt-statement {
	font-family: var(--hojt-font-display);
	font-size: var(--wp--preset--font-size--statement, 76px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.hojt-statement > p { margin: 0; }
.hojt-statement__quiet { color: var(--hojt-quiet); }
.hojt-about .hojt-stack > p { color: var(--hojt-muted); }
.hojt-clients {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}
.hojt-client {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 14px 30px;
	border-radius: 999px;
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: 20px;
}
.hojt-client > *,
.hojt-client .wp-block-image { margin: 0; }
.hojt-client img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	/* greyscale and darker: the source logos are thin and pale, brightness(.5) brings them to about 7:1 */
	filter: grayscale(1) brightness(0.5) contrast(1.25);
	opacity: 1;
	transition: filter 0.15s;
}
.hojt-client a:hover img,
.hojt-client a:focus-visible img { filter: none; opacity: 1; }
.hojt-client a { display: inline-flex; min-height: 44px; align-items: center; }
.hojt-client .wp-block-image.hojt-logo { filter: none; }

.hojt-cta {
	padding-block: 20px clamp(120px, 15vw, 250px);
	position: relative;
}
.hojt-cta__wrap { position: relative; }
.hojt-cta__card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 36px;
	padding: clamp(40px, 6vw, 84px) clamp(24px, 6vw, 72px);
	border-radius: clamp(32px, 4vw, 56px);
	background:
		radial-gradient(circle at 92% -20%, rgba(34, 184, 217, 0.5) 0, rgba(34, 184, 217, 0) 44%),
		linear-gradient(100deg, #1e48f0 0%, #1e48f0 35%, #5b3fe0 100%);
	color: #fff;
	box-shadow: 0 40px 90px -40px rgba(91, 63, 224, 0.9);
}
.hojt-cta__card > * { position: relative; margin: 0; }
.hojt-cta__card h2 {
	font-size: var(--wp--preset--font-size--cta, 84px);
	line-height: 1;
	max-width: 12em;
	text-wrap: balance;
	color: #fff;
}

.hojt-footer {
	background: var(--hojt-ink);
	color: var(--hojt-line);
	padding: 56px var(--hojt-gutter);
	font-size: 16px;
}
.hojt-footer > * {
	max-width: var(--hojt-wide);
	margin-inline: auto;
}
.hojt-footer__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
}
.hojt-footer__id {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hojt-footer__id > * { margin: 0; }
.hojt-footer__name {
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: 20px;
	color: #fff;
}
.hojt-footer a:not(.wp-block-social-link-anchor) { color: #fff; }
.hojt-footer a:not(.wp-block-social-link-anchor):hover { color: var(--hojt-lime); }
.hojt-footer .wp-social-link a { color: inherit; }
.hojt-footer .wp-block-social-links { margin-top: 14px; }
.hojt-footer .wp-block-navigation {
	font-weight: 600;
}
.hojt-footer .wp-block-navigation__container { gap: 4px 20px; flex-wrap: wrap; }
.hojt-footer .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}
.hojt-footer__legal {
	margin: 32px auto 0;
	font-size: 14px;
	color: var(--hojt-line);
	opacity: 0.8;
}
.hojt-footer .wp-block-social-links .wp-social-link a {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.hojt-service--7,
	.hojt-service--5 { grid-column: span 6; }
}
@media (max-width: 781px) {
	.hojt-hero__cols { gap: 48px; }
	.hojt-hero__cols > .wp-block-column { flex-basis: 100% !important; }
	.hojt-cols > .wp-block-column { flex-basis: 100% !important; }
	.hojt-bubble {
		max-width: 420px;
		margin-inline: auto;
		margin-right: auto;
	}
	.hojt-bubble__chip { left: -2%; }
	.hojt-bento { grid-template-columns: minmax(0, 1fr); }
	.hojt-service,
	.hojt-service--7,
	.hojt-service--5 {
		grid-column: auto;
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 28px 24px 32px;
	}
	.hojt-service::before { font-size: 72px; }
	.hojt-ai .hojt-speech { margin-bottom: 140px; }
	.hojt-statement { letter-spacing: -0.025em; display: flex; flex-direction: column; gap: 0.2em; }
}
@media (max-width: 520px) {
	.hojt-diagram { padding: 20px; }
	.hojt-diagram__models { grid-template-columns: minmax(0, 1fr); }
	.hojt-diagram__stores { grid-template-columns: minmax(0, 1fr); }
	.hojt-facts { grid-template-columns: minmax(0, 1fr); }
	.hojt-bubble__badge { right: 0; font-size: 14px; }
	.hojt-hero .wp-block-buttons { width: 100%; }
}

/* ---------- 10. Inner templates (T3): page head, breadcrumb, share, cards, pagination ---------- */

:root {
	/* The logo's tail path as a mask, so any bubble can grow the same tail in its own colour. */
	--hojt-tail-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='20 68 31 27.5'%3E%3Cpath d='M30.2,68L21.185,92.154C20.826,93.036 21.139,94.048 21.932,94.574C22.269,94.799 22.655,94.908 23.037,94.908C23.553,94.908 24.065,94.709 24.452,94.322L50.6,68Z'/%3E%3C/svg%3E");
	--hojt-input-border: #7a8aa0; /* 3.5:1 on white, the minimum for a form control edge */
}

/* Page head: the breadcrumb is the mono label line, the title is the display h1. */
.hojt-pagehead {
	padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3.5vw, 44px);
}
.hojt-section.hojt-pagehead > * + * { margin-top: 14px; }
h1.hojt-pagehead__title {
	font-size: clamp(40px, 1.6rem + 3.4vw, 72px);
	line-height: 1.02;
	text-wrap: balance;
	max-width: 14em;
	overflow-wrap: anywhere;
	/* left edge on the wide column's edge, like the breadcrumb above it */
	margin-left: max(0px, calc((100% - 1216px) / 2));
	margin-right: auto;
}
.hojt-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 8px;
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--hojt-muted);
}
.hojt-breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--hojt-electric);
	text-decoration: none;
}
.hojt-breadcrumb a:hover { color: var(--hojt-ink); text-decoration: underline; }
.hojt-breadcrumb__sep { color: var(--hojt-muted); }
.hojt-breadcrumb__current { color: var(--hojt-ink); }
.hojt-label--muted { color: var(--hojt-muted); }
.wp-block-post-terms.hojt-label a,
.wp-block-post-date.hojt-label a { color: inherit; text-decoration: none; }
.wp-block-post-terms.hojt-label a:hover { color: var(--hojt-ink); text-decoration: underline; }

/* Share row: small glass round buttons (both block styles, "round" and "plain"). */
.hojt-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hojt-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--hojt-ink);
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 24px -14px rgba(31, 52, 110, 0.5);
	transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hojt-share__link {
		background: rgba(255, 255, 255, 0.72);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}
}
.hojt-share__link svg { width: 20px; height: 20px; fill: currentColor; }
.hojt-share__link:hover { background: var(--hojt-electric); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
	.hojt-share__link:hover { transform: translateY(-2px); }
}

/* Back-to-top (block hojt/back-to-top). */
.hojt-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--hojt-ink);
	color: #fff;
}
.hojt-back-to-top:hover { background: var(--hojt-electric); color: #fff; }
/* Appears after the first screen where scroll-driven animations exist; always shown elsewhere. */
@supports (animation-timeline: scroll()) {
	.hojt-back-to-top {
		animation: hojt-back-to-top-in linear both;
		animation-timeline: scroll(root);
		animation-range: 300px 500px;
	}
	@keyframes hojt-back-to-top-in {
		from { opacity: 0; visibility: hidden; }
		to { opacity: 1; visibility: visible; }
	}
}
.hojt-back-to-top svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- 11. Listings: tools row, card grid, pagination, search ---------- */

.hojt-listing-wrap { padding-block: 8px clamp(72px, 9vw, 120px); }
.hojt-listing-intro:empty { display: none; }
.hojt-listing-wrap .hojt-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin-bottom: clamp(24px, 3.5vw, 40px);
}
.hojt-listing-wrap .hojt-tools > .hojt-search { flex: 0 1 360px; margin: 0; }

.hojt-chipnav .wp-block-navigation__container { gap: 8px; flex-wrap: wrap; }
.hojt-chipnav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--hojt-line);
	background: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	font-weight: 600;
	color: var(--hojt-ink);
	text-decoration: none;
}
.hojt-chipnav .wp-block-navigation-item__content:hover { border-color: var(--hojt-electric); color: var(--hojt-electric); }
.hojt-chipnav .wp-block-navigation-item__content[aria-current='page'],
.hojt-chipnav .current-menu-item > .wp-block-navigation-item__content {
	background: var(--hojt-ink);
	border-color: var(--hojt-ink);
	color: #fff;
}

ul.wp-block-post-template.hojt-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(18px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.hojt-cards > li { display: flex; margin: 0; min-width: 0; }
.hojt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: var(--hojt-radius-card);
}
@media (prefers-reduced-motion: no-preference) {
	.hojt-card { transition: transform 0.2s, box-shadow 0.2s; }
	.hojt-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(31, 52, 110, 0.5); }
}
.hojt-card:has(.hojt-card__title a:focus-visible) { outline: 3px solid var(--hojt-electric); outline-offset: 3px; }
.hojt-card__image { margin: 0; }
.hojt-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.hojt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 24px 26px 22px;
}
.hojt-card__body > * { margin: 0; }
.hojt-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hojt-card__meta > * { margin: 0; }
h3.hojt-card__title {
	font-size: clamp(22px, 1.1rem + 0.7vw, 27px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}
.hojt-card__title a { color: var(--hojt-ink); text-decoration: none; }
.hojt-card__title a:hover { color: var(--hojt-electric); }
/* One link covers the whole card; the Read link below it goes to the same place. */
.hojt-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.hojt-card__excerpt { color: var(--hojt-muted); font-size: 16px; line-height: 1.55; }
.hojt-card__excerpt p { margin: 0; }
a.hojt-card__read {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	margin-top: auto;
	font-weight: 700;
	color: var(--hojt-electric);
	text-decoration: none;
}
a.hojt-card__read::after { content: '\2192'; margin-left: 8px; transition: margin-left 0.15s; }
a.hojt-card__read:hover { color: var(--hojt-ink); }
a.hojt-card__read:hover::after { margin-left: 12px; }

.hojt-empty {
	margin: 0;
	padding: 28px 30px;
	border-radius: 24px;
	border: 1px dashed var(--hojt-input-border);
	color: var(--hojt-muted);
	font-size: 18px;
}
.hojt-empty a { color: var(--hojt-electric); text-decoration: underline; text-underline-offset: 3px; }

/* Pagination as pills. */
.hojt-pagination { margin-top: clamp(32px, 4vw, 56px); gap: 8px; flex-wrap: wrap; }
.hojt-pagination .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; }
.hojt-pagination .page-numbers,
.hojt-pagination .wp-block-query-pagination-previous,
.hojt-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--hojt-line);
	background: rgba(255, 255, 255, 0.85);
	font-weight: 700;
	color: var(--hojt-ink);
	text-decoration: none;
}
.hojt-pagination a.page-numbers:hover,
.hojt-pagination .wp-block-query-pagination-previous:hover,
.hojt-pagination .wp-block-query-pagination-next:hover { border-color: var(--hojt-electric); color: var(--hojt-electric); }
.hojt-pagination .page-numbers.current { background: var(--hojt-ink); border-color: var(--hojt-ink); color: #fff; }
.hojt-pagination .wp-block-query-pagination-previous-arrow { margin-right: 0.4em; }
.hojt-pagination .wp-block-query-pagination-next-arrow { margin-left: 0.4em; }
.hojt-pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* Core search block as a pill. The wrapper carries the focus ring so the field edge stays clean. */
.hojt-search { width: 100%; max-width: 560px; }
.hojt-search.wp-block-search .wp-block-search__inside-wrapper {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid var(--hojt-input-border);
	border-radius: 999px;
	background: #fff;
}
.hojt-search.wp-block-search .wp-block-search__inside-wrapper:focus-within {
	outline: 3px solid var(--hojt-electric);
	outline-offset: 3px;
}
.hojt-search.wp-block-search input.wp-block-search__input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--hojt-ink);
	outline-color: transparent;
}
.hojt-search.wp-block-search .wp-block-search__button {
	flex: none;
	margin: 0;
	min-height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--hojt-electric);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.hojt-search.wp-block-search .wp-block-search__button:hover { background: var(--hojt-ink); }
.hojt-search.wp-block-search .wp-block-search__label { margin-bottom: 8px; }

/* ---------- 12. Article ---------- */

/* The section already carries the gutter; a constrained block inside it must not add a second one
   (core only zeroes nested root padding when the parent is not alignfull). */
.hojt-section .has-global-padding { padding-inline: 0; }

.hojt-articlehead { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.hojt-articlehead > * { max-width: 720px; }
.hojt-articlehead__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px !important; }
.hojt-articlehead__meta > * { margin: 0; }
h1.hojt-articlehead__title {
	font-size: clamp(36px, 1.5rem + 2.6vw, 64px);
	line-height: 1.04;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.hojt-article__image { padding-bottom: clamp(28px, 4vw, 48px); }
.hojt-article__image:not(:has(img)) { display: none; }
.hojt-article__img { margin-block: 0; }
.hojt-article__img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 640px;
	object-fit: cover;
	border-radius: var(--hojt-radius-card);
}
.hojt-article { padding-bottom: clamp(32px, 4vw, 56px); }
.hojt-article__content { font-size: 19px; line-height: 1.7; }
.hojt-article > .hojt-article__foot {
	max-width: 720px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--hojt-line);
}
.hojt-article__foot > * { margin-block: 0; }
.hojt-article > .hojt-article__foot > * + * { margin-top: 18px; }
.wp-block-post-terms.hojt-tag-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.hojt-tag-chip a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--hojt-line);
	background: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 600;
	color: var(--hojt-muted);
	text-decoration: none;
}
.hojt-tag-chip a:hover { border-color: var(--hojt-electric); color: var(--hojt-electric); }

.hojt-postnav { padding-block: clamp(16px, 2vw, 24px) 0; }
.hojt-postnav__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}
.hojt-postnav__row > .wp-block-post-navigation-link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 24px 28px;
	border-radius: 28px;
	min-width: 0;
}
.hojt-postnav__row > .post-navigation-link-next { grid-column: 2; text-align: right; align-items: flex-end; }
.hojt-postnav__row .post-navigation-link__label {
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hojt-electric);
}
.hojt-postnav__row .wp-block-post-navigation-link a {
	font-family: var(--hojt-font-display);
	font-weight: 800;
	font-size: clamp(18px, 1rem + 0.5vw, 22px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--hojt-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.hojt-postnav__row .wp-block-post-navigation-link a:hover { color: var(--hojt-electric); }
.hojt-postnav__row .wp-block-post-navigation-link a::after { content: ''; position: absolute; inset: 0; }
.hojt-postnav__row > .wp-block-post-navigation-link:has(a:focus-visible) { outline: 3px solid var(--hojt-electric); outline-offset: 3px; }
@media (max-width: 640px) {
	.hojt-postnav__row { grid-template-columns: minmax(0, 1fr); }
	.hojt-postnav__row > .post-navigation-link-next { grid-column: auto; }
}

.hojt-more { padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.hojt-more h2 { font-size: clamp(30px, 1.2rem + 2vw, 48px); }
.hojt-more .hojt-stack { margin-bottom: clamp(24px, 3vw, 36px); }

/* ---------- 13. 404 and text bubbles ---------- */

.hojt-notfound { padding-block: clamp(36px, 5vw, 64px) clamp(110px, 13vw, 190px); }
.hojt-notfound > .hojt-bubble-text { max-width: 960px; }
.hojt-bubble-text { position: relative; --hojt-bubble: var(--hojt-electric); }
.hojt-bubble-text::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 14%;
	margin-top: -2px;
	width: clamp(84px, 11vw, 150px);
	aspect-ratio: 31 / 27.5;
	background: var(--hojt-bubble);
	-webkit-mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
	mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
}
.hojt-bubble-text__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 64px);
	border-radius: clamp(32px, 4vw, 56px);
	background:
		radial-gradient(circle at 92% -20%, rgba(34, 184, 217, 0.5) 0, rgba(34, 184, 217, 0) 44%),
		linear-gradient(100deg, #1e48f0 0%, #1e48f0 35%, #5b3fe0 100%);
	color: #fff;
	box-shadow: 0 40px 90px -40px rgba(91, 63, 224, 0.9);
}
.hojt-bubble-text__body > * { margin: 0; }
.hojt-bubble-text__body .hojt-label { color: var(--hojt-lime); }
h1.hojt-notfound__title {
	font-size: clamp(40px, 1.4rem + 4vw, 76px);
	line-height: 1;
	max-width: 11em;
	text-wrap: balance;
	color: #fff;
}
.hojt-notfound__text { max-width: 32em; font-size: var(--wp--preset--font-size--lead, 21px); color: #fff; }
.hojt-bubble-text__body .hojt-search { max-width: 480px; }
.hojt-bubble-text__body .hojt-search.wp-block-search .wp-block-search__inside-wrapper { border-color: #fff; }
.hojt-bubble-text__body .hojt-search.wp-block-search .wp-block-search__inside-wrapper:focus-within { outline-color: var(--hojt-lime); }
.hojt-bubble-text__body .hojt-search.wp-block-search .wp-block-search__button { background: var(--hojt-ink); }
.hojt-bubble-text__body .hojt-search.wp-block-search .wp-block-search__button:hover { background: var(--hojt-electric); }
.hojt-bubble-text__body a:focus-visible { outline-color: var(--hojt-lime); }

/* ---------- 14. Content: what the stored posts and pages really contain ---------- */
/* Inventory (reference/staged-content.json, 966 items): paragraph, quote (648), image (492, 308 of them
   alignleft), spacer, heading, group, columns, list, button(s), embed, categories, jetpack form, cover;
   classes is-style-hojt-pull, is-style-rounded, hojt-icon-text(-col), hojt-logo(-grid), hojt-hero,
   has-base / base-2 / base-3 backgrounds; plus the AI page's hojt-pillars. */

.wp-block-post-content,
.hojt-prose { overflow-wrap: break-word; }
.wp-block-post-content::after { content: ''; display: table; clear: both; }
.wp-block-post-content > .alignfull { clear: both; }

.wp-block-post-content p,
.wp-block-post-content ul,
.wp-block-post-content ol,
.wp-block-post-content dl,
.wp-block-post-content blockquote,
.wp-block-post-content figure,
.wp-block-post-content pre,
.wp-block-post-content .wp-block-buttons,
.wp-block-post-content .wp-block-embed,
.wp-block-post-content .wp-block-gallery,
.wp-block-post-content .wp-block-table { margin-block: 0 1.2em; }
.wp-block-post-content :is(p, ul, ol, blockquote, figure, pre, .wp-block-buttons, .wp-block-columns, .wp-block-group):last-child,
.wp-block-post-content .wp-block-column > :last-child { margin-bottom: 0; }

.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 { margin-block: 1.7em 0.55em; text-wrap: balance; }
.wp-block-post-content h2 { font-size: clamp(30px, 1.25rem + 1.7vw, 44px); line-height: 1.08; }
.wp-block-post-content h3 { font-size: clamp(24px, 1.1rem + 0.9vw, 30px); line-height: 1.12; }
.wp-block-post-content h4 { font-size: clamp(20px, 1rem + 0.5vw, 24px); }
.wp-block-post-content h5 { font-size: 20px; }
.wp-block-post-content h6 { color: var(--hojt-electric); }
.wp-block-post-content :is(h2, h3, h4, h5, h6):first-child,
.wp-block-post-content .wp-block-group > :is(h2, h3, h4, h5, h6):first-child,
.wp-block-post-content .wp-block-column > :is(h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.wp-block-post-content .wp-block-spacer { margin: 0; }

.wp-block-post-content ul,
.wp-block-post-content ol { padding-left: 1.4em; }
.wp-block-post-content li { margin-block: 0.4em; padding-left: 0.2em; }
.wp-block-post-content li::marker { color: var(--hojt-electric); font-weight: 700; }

/* Links in running text are underlined, so colour is never the only cue. */
.wp-block-post-content :is(p, li, td, th, figcaption, blockquote, dd) a {
	color: var(--hojt-electric);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.wp-block-post-content :is(p, li, td, th, figcaption, blockquote, dd) a:hover { color: var(--hojt-ink); }

/* Images, captions, alignment (308 left-aligned images in the old posts). */
.wp-block-post-content img,
.wp-block-post-content video { max-width: 100%; height: auto; }
.wp-block-post-content .wp-block-image img,
.wp-block-post-content .wp-block-gallery img { border-radius: 20px; }
.wp-block-post-content .wp-block-image.is-style-rounded img { border-radius: 9999px; }
.wp-block-post-content .wp-block-image.is-style-hojt-logo img { border-radius: 0; }
.wp-block-post-content .wp-block-image figcaption,
.wp-block-post-content figcaption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--hojt-muted);
	text-align: center;
}
.wp-block-post-content .alignleft,
.wp-block-post-content .alignright { max-width: min(46%, 340px); }
.wp-block-post-content .alignleft { float: left; margin: 0.3em 1.6em 1em 0; }
.wp-block-post-content .alignright { float: right; margin: 0.3em 0 1em 1.6em; }
.wp-block-post-content .aligncenter { margin-inline: auto; text-align: center; }
/* Core floats these to the container edge, outside the 720 text column; keep them on the column. */
.wp-block-post-content.is-layout-constrained > .alignleft { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 720px)) / 2)); }
.wp-block-post-content.is-layout-constrained > .alignright { margin-right: max(0px, calc((100% - var(--wp--style--global--content-size, 720px)) / 2)); }

@media (max-width: 600px) {
	.wp-block-post-content .alignleft,
	.wp-block-post-content .alignright,
	.wp-block-post-content.is-layout-constrained > .alignleft,
	.wp-block-post-content.is-layout-constrained > .alignright { float: none; max-width: 100%; margin: 0 0 1.2em; }
}
.wp-block-post-content .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; list-style: none; }
.wp-block-post-content .wp-block-gallery .wp-block-image { margin: 0; flex: 1 1 200px; }

/* Blockquote: a quiet rule; the pull quote is the text bubble. */
.wp-block-post-content .wp-block-quote {
	margin: 1.8em 0;
	padding: 1.1em 1.4em 1.1em 1.5em;
	border-left: 4px solid var(--hojt-electric);
	border-radius: 0 20px 20px 0;
	background: rgba(255, 255, 255, 0.7);
	font-size: 1.1em;
	line-height: 1.5;
	color: var(--hojt-ink);
}
.wp-block-post-content .wp-block-quote > :last-child { margin-bottom: 0; }
.wp-block-post-content .wp-block-quote cite,
.wp-block-post-content .wp-block-quote footer {
	display: block;
	margin-top: 0.8em;
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hojt-muted);
}
.wp-block-post-content .wp-block-quote.is-style-hojt-pull {
	--hojt-bubble: var(--hojt-ink);
	position: relative;
	margin-block: 2em 3.4em;
	padding: clamp(28px, 4vw, 48px);
	border: 0;
	border-radius: clamp(28px, 3.5vw, 44px);
	background: var(--hojt-ink);
	color: #fff;
	font-family: var(--hojt-font-display);
	font-size: clamp(24px, 1.1rem + 1.4vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	box-shadow: 0 40px 80px -40px rgba(91, 63, 224, 0.8);
}
.wp-block-post-content .wp-block-quote.is-style-hojt-pull::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 12%;
	margin-top: -2px;
	width: clamp(64px, 9vw, 104px);
	aspect-ratio: 31 / 27.5;
	background: var(--hojt-bubble);
	-webkit-mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
	mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
}
.wp-block-post-content .wp-block-quote.is-style-hojt-pull a { color: var(--hojt-lime); }

/* Tables scroll inside their own box; the page never does. */
.wp-block-post-content .wp-block-table { overflow-x: auto; }
.wp-block-post-content > table { display: block; overflow-x: auto; }
.wp-block-post-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.wp-block-post-content th,
.wp-block-post-content td { padding: 12px 16px; border-bottom: 1px solid var(--hojt-line); text-align: left; vertical-align: top; }
.wp-block-post-content th {
	font-family: var(--hojt-font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.7);
}

/* Code: JetBrains Mono on an ink surface. */
.wp-block-post-content pre,
.wp-block-post-content .wp-block-code {
	overflow-x: auto;
	padding: 20px 24px;
	border-radius: 20px;
	background: var(--hojt-ink);
	color: #eaf0f8;
	font-family: var(--hojt-font-mono);
	font-size: 15px;
	line-height: 1.6;
	tab-size: 2;
}
.wp-block-post-content pre code,
.wp-block-post-content .wp-block-code code { padding: 0; background: none; color: inherit; font-size: inherit; }
.wp-block-post-content :not(pre) > code {
	padding: 0.12em 0.4em;
	border-radius: 8px;
	background: rgba(11, 22, 34, 0.07);
	font-family: var(--hojt-font-mono);
	font-size: 0.9em;
	overflow-wrap: anywhere;
}

/* Embeds and iframes stay inside the column. */
.wp-block-post-content iframe { display: block; max-width: 100%; border: 0; }
.wp-block-post-content .wp-block-embed__wrapper { overflow: hidden; border-radius: 20px; }
.wp-block-post-content .wp-block-embed:not(.wp-has-aspect-ratio) iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Separators; the transparent style is a spacer. */
.wp-block-post-content hr.wp-block-separator:not(.is-style-hojt-transparent) {
	width: 100%;
	max-width: none;
	height: 0;
	margin-block: 2.4em;
	border: 0;
	border-top: 1px solid var(--hojt-line);
	background: none;
	opacity: 1;
}
.wp-block-post-content hr.wp-block-separator.is-style-hojt-transparent { height: 1px; margin-block: 1em; }

/* Buttons in content: theme.json gives the electric pill; these are the variants and the spacing. */
.wp-block-post-content .wp-block-buttons { gap: 14px; margin-block: 1.6em; }
.wp-block-post-content .wp-block-button__link { min-height: 48px; }
.wp-block-button.is-style-hojt-secondary .wp-block-button__link {
	background: rgba(255, 255, 255, 0.9);
	color: var(--hojt-ink);
	border: 1px solid var(--hojt-input-border);
}
.wp-block-button.is-style-hojt-secondary .wp-block-button__link:hover { background: var(--hojt-ink); border-color: var(--hojt-ink); color: #fff; }

/* Registered block styles (functions.php hojt_register_block_styles). */
.wp-block-separator.is-style-hojt-transparent { border: 0; background: transparent; }
.wp-block-group.is-style-hojt-band {
	background: rgba(255, 255, 255, 0.7);
	border-block: 1px solid var(--hojt-line);
}
.wp-block-image.is-style-hojt-logo img { filter: grayscale(1); opacity: 0.85; }
.wp-block-image.is-style-hojt-logo:hover img,
.wp-block-image.is-style-hojt-logo:focus-within img { filter: none; opacity: 1; }

/* Full-width groups of the old pages. The legacy "base" slugs now all mean the page colour, so the
   !important background classes would paint a flat slab over the glow; base stays see-through and
   base-2 / base-3 become the white band. */
.wp-block-post-content .wp-block-group.alignfull.has-base-background-color { background: transparent !important; }
.wp-block-post-content .wp-block-group.alignfull:is(.has-base-2-background-color, .has-base-3-background-color, .has-base-4-background-color) {
	background: rgba(255, 255, 255, 0.7) !important;
	border-block: 1px solid var(--hojt-line);
}
/* Inside those groups the text column stays 720 wide, everything block-shaped uses the wide column. */
.wp-block-post-content .wp-block-group.alignfull > :is(.wp-block-columns, .wp-block-group, .wp-block-buttons, .wp-block-image, .wp-block-table, .wp-block-gallery, .wp-block-cover, .wp-block-query, .hojt-share) {
	max-width: var(--wp--style--global--wide-size, 1216px);
	margin-inline: auto;
}
.wp-block-post-content .wp-block-columns { gap: clamp(24px, 4vw, 48px); }

/* Old "cta" pattern (About page): a paragraph and a button side by side, now a glass bar. */
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) {
	max-width: var(--wp--style--global--wide-size, 1216px);
	margin-inline: auto;
	padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 44px);
	gap: 20px 32px;
	border-radius: var(--hojt-radius-card);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex > p {
	flex: 1 1 24em;
	margin: 0;
	font-family: var(--hojt-font-display);
	font-size: clamp(20px, 1rem + 0.9vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex > .wp-block-buttons { flex: none; margin: 0; }

/* Old post cards stored inside page content (the AI page's query): same grid, same glass card,
   and the old inline typography (italic date, uppercase spaced title, a serif face) is overruled. */
.wp-block-post-content ul.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(18px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.wp-block-post-content ul.wp-block-post-template > li { display: flex; margin: 0; min-width: 0; }
.hojt-card:not(.hojt-glass) {
	margin: 0 !important;
	padding-bottom: 26px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
.hojt-card:not(.hojt-glass) > :not(.wp-block-post-featured-image) { margin-inline: 26px; }
.hojt-card:not(.hojt-glass) > .wp-block-post-featured-image { margin: 0 0 22px; }
.hojt-card:not(.hojt-glass) > .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.hojt-card:not(.hojt-glass) > .wp-block-post-date {
	margin-top: 0 !important;
	margin-bottom: 8px !important;
	font-family: var(--hojt-font-mono) !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: var(--hojt-muted) !important;
}
.wp-block-post-content .hojt-card .wp-block-post-title { margin-top: 0; }
.hojt-card:not(.hojt-glass) > .wp-block-post-title {
	margin-bottom: 10px !important;
	text-wrap: balance;
	font-size: clamp(22px, 1.1rem + 0.7vw, 27px) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	line-height: 1.12 !important;
	text-transform: none !important;
}
.hojt-card:not(.hojt-glass) > .wp-block-post-title a { color: var(--hojt-ink); text-decoration: none; }
.hojt-card:not(.hojt-glass) > .wp-block-post-title a::after { content: ''; position: absolute; inset: 0; }
.hojt-card:not(.hojt-glass) > .wp-block-post-excerpt { color: var(--hojt-muted); font-size: 16px; line-height: 1.55; }
.hojt-card:not(.hojt-glass) > .wp-block-post-excerpt p { margin: 0; }

/* Old "pillars" pattern: three or four short columns become glass cards. */
.hojt-pillars .wp-block-columns { align-items: stretch; }
.wp-block-post-content .hojt-pillars > * { max-width: var(--wp--style--global--wide-size, 1216px); }
.hojt-pillars .wp-block-column {
	padding: 28px 28px 30px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
.hojt-pillars .wp-block-column h5 { font-size: clamp(20px, 1rem + 0.5vw, 24px); line-height: 1.1; letter-spacing: -0.015em; }
.hojt-pillars .wp-block-column p { color: var(--hojt-muted); font-size: 16px; }

/* Old "contact-details" (Contact page): icon, mono label, value, as three cards. */
.hojt-icon-text-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 26px 28px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
.hojt-icon-text-col > * { margin: 0; }
.hojt-icon-text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 10px !important;
	border-radius: 50%;
	background: var(--hojt-lime);
	color: var(--hojt-ink);
}
.hojt-icon-text svg { width: 22px; height: 22px; }
.wp-block-post-content .hojt-icon-text-col h6 { margin: 0; color: var(--hojt-electric); }

/* Old "logo-grid": pills of grey logos, colour on hover (same as the home client row). */
.hojt-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hojt-logo-grid .hojt-logo { margin: 0; }
.hojt-logo-grid .hojt-logo a,
.hojt-logo-grid .hojt-logo > img {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 10px 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--hojt-line);
}
.hojt-logo-grid .hojt-logo img { display: block; height: 32px; width: auto; max-width: 140px; object-fit: contain; border-radius: 0; filter: grayscale(1) brightness(0.55); opacity: 1; }
.hojt-logo-grid .hojt-logo:hover img,
.hojt-logo-grid .hojt-logo:focus-within img { filter: none; }

/* Old "hero" cover (Stockholm slide): a rounded photo card with the headline on a dim layer. */
.wp-block-cover.hojt-hero {
	padding-block: clamp(40px, 6vw, 72px);
	border-radius: var(--hojt-radius-card);
	overflow: hidden;
}
.wp-block-cover.hojt-hero.alignfull { border-radius: 0; }
.wp-block-cover.hojt-hero .wp-block-cover__background { opacity: 0.62; }
.wp-block-cover.hojt-hero :is(h1, h2) {
	font-size: clamp(34px, 1.3rem + 2.6vw, 64px) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	color: #fff;
}

/* ---------- 15. Jetpack contact form ---------- */

/* Real markup: form.contact-form (the card) > div.wp-block-jetpack-contact-form (the flex column of
   fields, no surface of its own). Both used to be a card, which gave a card inside a card. */
form.contact-form.contact-form {
	display: flex;
	flex-direction: column;
	align-items: stretch; /* Jetpack's own layout class says flex-start; the fields fill the card */
	gap: 18px;
	margin-block: 1.6em 2.4em;
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--hojt-radius-card);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: var(--hojt-glass-shadow);
}
.wp-block-jetpack-contact-form > *,
form.contact-form > * { margin: 0; }
div.wp-block-jetpack-contact-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
.wp-block-jetpack-contact-form :is(.grunion-field-wrap, .jetpack-field, .wp-block-jetpack-field-text, .wp-block-jetpack-field-email, .wp-block-jetpack-field-url, .wp-block-jetpack-field-textarea) {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.wp-block-jetpack-contact-form label,
.wp-block-jetpack-contact-form .grunion-field-label {
	display: block;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hojt-ink);
}
.wp-block-jetpack-contact-form :is(.grunion-label-required, .required, [class*='required']) {
	margin-left: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--hojt-muted);
}
.wp-block-jetpack-contact-form :is(input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='hidden']), textarea, select),
.wp-block-jetpack-contact-form .grunion-field {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--hojt-input-border);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--hojt-ink);
}
.wp-block-jetpack-contact-form textarea { height: 180px; min-height: 150px; resize: vertical; }
.wp-block-jetpack-contact-form :is(input, textarea, select):focus-visible {
	border-color: var(--hojt-electric);
	outline: 3px solid var(--hojt-electric);
	outline-offset: 2px;
}
.wp-block-jetpack-contact-form :is(input[type='checkbox'], input[type='radio']) { width: 20px; height: 20px; accent-color: var(--hojt-electric); }
.wp-block-jetpack-contact-form .wp-block-button { align-self: flex-start; margin: 6px 0 0; }
.wp-block-jetpack-contact-form :is(.wp-block-button__link, button[type='submit'], input[type='submit'], .pushbutton-wide) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: var(--hojt-electric);
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
}
.wp-block-jetpack-contact-form :is(.wp-block-button__link, button[type='submit'], input[type='submit'], .pushbutton-wide):hover { background: var(--hojt-ink); color: #fff; }
.wp-block-jetpack-contact-form :is(.contact-form__error, .form-error, .form-errors, .error):not(:empty) {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #fdecea;
	color: #b42318;
	font-size: 15px;
}
.contact-form-submission,
.wp-block-jetpack-contact-form + .contact-form-submission {
	padding: 24px 28px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--hojt-line);
}

/* ---------- 16. Core pieces that appear anywhere ---------- */

.wp-block-search:not(.hojt-search) .wp-block-search__inside-wrapper { gap: 8px; }
.wp-block-search:not(.hojt-search) input.wp-block-search__input {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--hojt-input-border);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 16px;
}
.wp-block-search:not(.hojt-search) .wp-block-search__button { min-height: 44px; border-radius: 999px; }
.wp-block-categories,
.wp-block-latest-posts { padding-left: 1.2em; }
.wp-block-categories a,
.wp-block-latest-posts a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 781px) {
	.hojt-icon-text-col { padding: 22px 22px 24px; }
	.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. Fix round 2: what the real WordPress markup showed ---------- */

/* Core ships `.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content { color: inherit }`
   (three classes), and global styles set the navigation colour to ink, so a plain link rule of ours loses. The
   colour is therefore set on the nav itself and the hover with the same doubled class. */
.hojt-footer .wp-block-navigation { color: #fff; }
.hojt-footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content { color: #fff; text-decoration: none; }
.hojt-footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--hojt-lime); text-decoration: underline; text-underline-offset: 4px; }
.hojt-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--hojt-electric); }
.hojt-header .wp-block-navigation .hojt-nav-cta > .wp-block-navigation-item__content.wp-block-navigation-item__content { color: #fff; }
.hojt-header .wp-block-navigation .hojt-nav-cta > .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: #fff; }
.hojt-chipnav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { border-color: var(--hojt-electric); color: var(--hojt-electric); }
/* The category chips are custom links: core marks no current item on them, so no chip is "active". */

/* Search field in a page head sits on the wide column left edge, like the title. */
.hojt-section.hojt-pagehead > .hojt-search { margin-left: max(0px, calc((100% - 1216px) / 2)); margin-right: auto; }

/* Centred images (core makes them display: table, which lets a wide file exceed the column). */
.wp-block-post-content .wp-block-image.aligncenter { display: block; }
.wp-block-post-content .wp-block-image img { max-width: 100%; }

/* Page templates: the text column starts on the same left edge as the title (the wide container edge)
   instead of being centred. alignwide and alignfull blocks still break out. Articles stay centred. */
.hojt-page-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),
.hojt-page-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size, 1216px)) / 2)) !important;
	margin-right: auto !important;
}

/* About: the stored "Want the right product..." bar becomes the electric bubble with the logo tail and a lime button. */
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) {
	--hojt-bubble: var(--hojt-electric);
	position: relative;
	margin-bottom: clamp(70px, 8vw, 110px);
	background:
		radial-gradient(circle at 92% -20%, rgba(34, 184, 217, 0.5) 0, rgba(34, 184, 217, 0) 44%),
		linear-gradient(100deg, #1e48f0 0%, #1e48f0 35%, #5b3fe0 100%);
	border: 0;
	border-radius: clamp(32px, 4vw, 56px);
	box-shadow: 0 40px 90px -40px rgba(91, 63, 224, 0.9);
	color: #fff;
}
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons)::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 12%;
	margin-top: -2px;
	width: clamp(64px, 8vw, 110px);
	aspect-ratio: 31 / 27.5;
	background: var(--hojt-bubble);
	-webkit-mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
	mask: var(--hojt-tail-mask) center / 100% 100% no-repeat;
}
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) > p { color: #fff; }
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) .wp-block-button__link {
	background: var(--hojt-lime);
	color: var(--hojt-ink);
	font-weight: 800;
}
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) .wp-block-button__link:hover { background: #fff; color: var(--hojt-ink); }
.wp-block-post-content .wp-block-group.alignfull > .wp-block-group.is-layout-flex:has(> p):has(> .wp-block-buttons) .wp-block-button__link:focus-visible { outline-color: var(--hojt-lime); }

/* ---------- 18. Cookie banner (plugin GDPR Cookie Compliance): theme CSS only ---------- */
/* The plugin styles itself with id selectors and inline colour rules, so these use the same ids
   (and !important where it sets a value inline). It stays hidden by its own .moove-gdpr-info-bar-hidden class. */

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme:not(.moove-gdpr-info-bar-hidden) {
	position: fixed !important;
	left: 50% !important;
	right: auto !important;
	bottom: 16px !important;
	width: calc(100% - 32px) !important;
	max-width: 760px;
	transform: translateX(-50%);
	border-radius: 24px;
	background: var(--hojt-ink) !important;
	box-shadow: 0 30px 80px -20px rgba(11, 22, 34, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
	font-family: var(--hojt-font-text);
	z-index: 100;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container { padding: 0 !important; max-width: none !important; width: auto !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-content {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 20px 24px !important;
	max-width: none !important;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-cookie-notice { flex: 1 1 auto; padding: 0 !important; margin: 0 !important; width: auto !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-cookie-notice p {
	margin: 0 0 6px !important;
	font-family: var(--hojt-font-text) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	letter-spacing: 0 !important;
	color: #fff !important;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-cookie-notice p:last-child { margin-bottom: 0; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-button-holder { flex: none; padding: 0 !important; margin: 0 !important; width: auto !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button.moove-gdpr-infobar-allow-all {
	min-height: 48px;
	padding: 0 30px !important;
	border: 0 !important;
	border-radius: 999px;
	background: var(--hojt-lime) !important;
	color: var(--hojt-ink) !important;
	font-family: var(--hojt-font-text) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	opacity: 1;
	cursor: pointer;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button.moove-gdpr-infobar-allow-all:hover { background: #fff !important; color: var(--hojt-ink) !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button.change-settings-button {
	display: inline;
	min-height: 0;
	padding: 0;
	border: 0 !important;
	background: none !important;
	color: #fff !important;
	font: inherit !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	opacity: 1;
	cursor: pointer;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button.change-settings-button:hover { color: var(--hojt-lime) !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button:focus-visible,
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme a:focus-visible {
	outline: 3px solid var(--hojt-lime) !important;
	outline-offset: 3px;
}
@media (max-width: 599px) {
	#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-content { flex-direction: column; align-items: stretch; padding: 18px 18px 20px; }
	#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme button.moove-gdpr-infobar-allow-all { width: 100%; }
}

/* Settings modal: the plugin layout, in the theme face, radius and button colours. */
#moove_gdpr_cookie_modal,
#moove_gdpr_cookie_modal button,
#moove_gdpr_cookie_modal h2,
#moove_gdpr_cookie_modal p { font-family: var(--hojt-font-text); }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content { border-radius: 24px; overflow: hidden; }
#moove_gdpr_cookie_modal .moove-gdpr-tab-main .tab-title,
#moove_gdpr_cookie_modal .moove-gdpr-modal-title { font-family: var(--hojt-font-display); letter-spacing: -0.01em; }
#moove_gdpr_cookie_modal button.mgbutton {
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--hojt-electric) !important;
	color: #fff !important;
	font-weight: 700;
	opacity: 1;
}
#moove_gdpr_cookie_modal button.mgbutton:hover { background: var(--hojt-ink) !important; }
#moove_gdpr_cookie_modal button:focus-visible { outline: 3px solid var(--hojt-electric); outline-offset: 3px; }

/* ---------- 19. Mobile menu overlay ---------- */
/* Core draws the open menu as position: fixed; inset: 0 (display: flex, overflow: auto). With the glass off
   the ancestors (section 4) it is a full-viewport ink sheet; this sets its look. The sticky header wrapper is
   lifted above the cookie banner and the page while the menu is open (core puts has-modal-open on <html>). */
html.has-modal-open .wp-site-blocks > header { z-index: 100001; }
.hojt-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--hojt-ink);
	color: #fff;
	padding: 0 var(--hojt-gutter) 40px;
	overflow-y: auto;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	width: 100%;
	max-width: none;
	margin: 0;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute;
	top: 20px;
	right: 0;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	display: flex;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	z-index: 2;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { fill: currentColor; }
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 96px 0 0;
	width: 100%;
}
.hojt-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.hojt-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 4px 0;
	border-radius: 0;
	background: none;
	font-family: var(--hojt-font-display);
	font-size: clamp(32px, 9vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #fff;
}
.hojt-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--hojt-lime); }
.hojt-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .hojt-nav-cta > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	margin-top: 14px;
	padding: 12px 30px;
	border-radius: 999px;
	background: var(--hojt-lime);
	color: var(--hojt-ink);
	font-size: 24px;
}
.hojt-header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .hojt-nav-cta > .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { background: #fff; color: var(--hojt-ink); }
.hojt-header .wp-block-navigation__responsive-container.is-menu-open :is(a, button):focus-visible { outline: 3px solid var(--hojt-lime); outline-offset: 3px; }
