/* Jaxn theme styles.
   Colors, fonts and sizes come from theme.json (var(--wp--preset--...)).
   Section classes start with jx- so they're easy to find in the editor's
   "Additional CSS class" field. */

:root {
	--jx-gutter: clamp(20px, 8.34vw, 120px);
	--jx-section: var(--wp--preset--spacing--70);
	--jx-paper: var(--wp--preset--color--paper);
	--jx-card: var(--wp--preset--color--card);
	--jx-sand: var(--wp--preset--color--sand);
	--jx-ink: var(--wp--preset--color--ink);
	--jx-slate: var(--wp--preset--color--slate);
	--jx-stone: var(--wp--preset--color--stone);
	--jx-rule: var(--wp--preset--color--rule);
	--jx-line: var(--wp--preset--color--line);
	--jx-green: var(--wp--preset--color--green);
	--jx-rust: var(--wp--preset--color--rust);
	--jx-mint: var(--wp--preset--color--mint);
	--jx-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Header, main and footer touch each other. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Designed pages are a stack of full-width sections that touch each other.
   Anything else in the content sits in the centred reading column, with
   breathing room above and below. */
.jx-main--designed .wp-block-post-content > .alignfull,
.jx-main--designed .wp-block-post-content > .alignfull + * {
	margin-block-start: 0;
}
.jx-main--designed .wp-block-post-content > :first-child:not(.alignfull) {
	margin-block-start: clamp(40px, 6vw, 88px);
}
.jx-main--designed .wp-block-post-content > :last-child:not(.alignfull) {
	margin-block-end: var(--jx-section);
}

:where(h1, h2, h3, h4) em { font-style: italic; }
mark.has-inline-color { background: none; }

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

/* ---------- Buttons ---------- */

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	box-sizing: border-box;
	padding-block: 0;
	transition: background-color 0.15s ease;
}
.wp-block-button.is-style-small .wp-block-button__link {
	min-height: 46px;
	padding-inline: 22px;
	font-size: 16px;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--jx-ink);
	border: 1px solid var(--jx-rule);
}

/* "Text link" button style: an underlined link that sits beside a pill. */
.wp-block-button.is-style-text .wp-block-button__link,
.wp-block-button.is-style-text .wp-block-button__link:hover {
	background: transparent;
	color: var(--jx-ink);
	padding-inline: 0;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}
.wp-block-button.is-style-text .wp-block-button__link:hover { color: var(--jx-green); }

/* A plain underlined text link, used beside a pill button. */
.jx-textlink a,
a.jx-textlink {
	color: var(--jx-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}
.jx-textlink a:hover { color: var(--jx-green); }

/* ---------- Header ---------- */

.jx-header {
	background: var(--jx-paper);
}
.jx-header__bar {
	min-height: 96px;
	align-items: center;
}
.jx-logo { display: block; line-height: 0; }
.jx-logo img { height: 25px; width: auto; display: block; }
.jx-header__nav { gap: 36px; align-items: center; }
.jx-nav { font-size: 16px; }
.jx-nav .wp-block-navigation__container { gap: 36px; }
.jx-nav a.wp-block-navigation-item__content { color: var(--jx-ink); text-decoration: none; }
.jx-nav a.wp-block-navigation-item__content:hover { color: var(--jx-green); }
.jx-nav .current-menu-item > a,
.jx-nav .current-menu-ancestor > a { text-decoration: underline; text-underline-offset: 6px; }

/* Phone: menu opens full screen on paper. */
.jx-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--jx-paper);
	padding: 24px var(--jx-gutter);
}
.jx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 22px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 34px;
}

@media (max-width: 781px) {
	.jx-header__bar { min-height: 72px; }
	.jx-logo img { height: 22px; }
	.jx-header__nav { gap: 16px; }
	.jx-header__cta .wp-block-button__link { min-height: 40px; padding-inline: 16px; font-size: 15px; }
}
@media (max-width: 420px) {
	.jx-header .jx-header__cta { display: none; }
}

/* ---------- Footer ---------- */

.jx-footer {
	padding-block: 72px;
	color: #D8D2C6;
}
.jx-footer__bar { gap: 32px; align-items: flex-end; }
.jx-footer__brand { gap: 12px; align-items: flex-start; }
.jx-footer .jx-footer__small { margin: 0; font-size: 15px; color: #B7B0A3; }
.jx-footer__bar > .jx-footer__small { font-size: 14px; }
.jx-footer .jx-footer__small a { color: #B7B0A3; text-underline-offset: 4px; }
.jx-footer .jx-footer__small a:hover { color: #F4EFE6; }
.jx-footer__nav { font-size: 16px; }
.jx-footer__nav .wp-block-navigation__container { gap: 32px; }
.jx-footer__nav a.wp-block-navigation-item__content { color: #F4EFE6; text-decoration: none; }
.jx-footer__nav a.wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1000px) {
	.jx-footer__bar { flex-direction: column; align-items: flex-start; }
	.jx-footer__nav .wp-block-navigation__container { flex-wrap: wrap; gap: 14px 28px; }
}

/* ---------- Shared section pieces ---------- */

.jx-section {
	padding-block: var(--jx-section);
}
.jx-eyebrow,
p.jx-eyebrow {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jx-stone);
}
.jx-lead,
p.jx-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--jx-slate);
	max-width: 620px;
}
.jx-intro { display: flex; flex-direction: column; gap: 22px; }
.jx-intro > * { margin: 0 !important; }
.jx-intro > p:not(.jx-eyebrow) { font-size: 18px; }

/* ---------- Home: hero ---------- */

.jx-hero {
	padding-block: 72px 120px;
}
.jx-hero > .wp-block-columns {
	gap: 80px;
	align-items: flex-end;
	margin: 0;
}
.jx-hero__text { gap: 32px; display: flex; flex-direction: column; }
.jx-hero__text > * { margin: 0 !important; }
.jx-hero__text .wp-block-buttons { gap: 28px; align-items: center; padding-top: 4px; }
.jx-hero h1 { max-width: 12.5em; }

.jx-arch.wp-block-image { margin: 0; }
.jx-arch img {
	width: 100%;
	height: 540px;
	object-fit: cover;
	border-radius: 220px 220px 18px 18px;
	display: block;
	filter: grayscale(1) sepia(0.12);
}
.jx-arch figcaption {
	margin: 14px 0 0;
	text-align: left;
	font-size: 15px;
	line-height: 1.5;
	color: var(--jx-stone);
}
.jx-arch figcaption strong {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 18px;
	color: var(--jx-ink);
}

@media (max-width: 781px) {
	.jx-hero { padding-top: 32px; padding-bottom: 72px; }
	.jx-hero > .wp-block-columns { gap: 48px; }
	.jx-arch img { height: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; }
}

/* ---------- Home: values band (green) ---------- */

.jx-values {
	padding-block: 88px;
	color: var(--jx-paper);
}
.jx-values > .wp-block-columns { gap: 56px; margin: 0; }
.jx-values .wp-block-column {
	border-top: 1px solid rgba(244, 239, 230, 0.35);
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.jx-values .wp-block-column > * { margin: 0; }
.jx-values h3 {
	font-style: italic;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--jx-paper);
}
.jx-values p { color: var(--jx-mint); font-size: 17px; line-height: 1.6; }

/* ---------- Numbered list (services, 404 links) ---------- */

.jx-split > .wp-block-columns { gap: 96px; margin: 0; }
.jx-split > .wp-block-columns > .wp-block-column:first-child { flex-basis: 380px !important; flex-grow: 0; }

.jx-list { border-top: 1px solid var(--jx-rule); gap: 0; }
.jx-list > .jx-list__item { margin: 0; }
.jx-list__item {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr 40px;
	column-gap: 24px;
	padding: 34px 0;
	border-bottom: 1px solid var(--jx-rule);
	align-items: start;
}
.jx-list__item::after {
	content: "";
	grid-column: 3;
	grid-row: 1 / span 2;
	width: 28px;
	height: 28px;
	margin-top: 10px;
	background: var(--jx-ink);
	-webkit-mask: var(--jx-arrow) center / contain no-repeat;
	mask: var(--jx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.jx-list__item > * { margin: 0 !important; grid-column: 2; }
.jx-list__item > .jx-list__num {
	grid-column: 1;
	grid-row: 1 / span 2;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 24px;
	line-height: 1.25;
	color: var(--jx-green);
	padding-top: 6px;
}
.jx-list__item h3 { font-size: var(--wp--preset--font-size--x-large); line-height: 1.2; }
.jx-list__item h3 a { color: var(--jx-ink); text-decoration: none; }
/* The heading's link covers the whole row, so the row is one big click target. */
.jx-list__item h3 a::after { content: ""; position: absolute; inset: 0; }
.jx-list__item p { margin-top: 10px !important; max-width: 660px; }
.jx-list__item:hover h3 a { color: var(--jx-green); }
.jx-list__item:hover::after { background: var(--jx-green); transform: translate(3px, -3px); }
.jx-list--compact .jx-list__item { grid-template-columns: 1fr 40px; padding: 28px 0; }
.jx-list--compact .jx-list__item > * { grid-column: 1; }
.jx-list--compact .jx-list__item::after { grid-column: 2; align-self: center; margin-top: 0; width: 22px; height: 22px; }
.jx-list--compact .jx-list__item h3 { font-size: 32px; line-height: 1.1; }
.jx-list--compact .jx-list__item p { margin-top: 6px !important; font-size: 16px; }

@media (max-width: 781px) {
	.jx-split > .wp-block-columns { gap: 40px; }
	.jx-list__item { grid-template-columns: 44px 1fr 28px; column-gap: 12px; padding: 26px 0; }
	.jx-list__item > .jx-list__num { font-size: 20px; padding-top: 2px; }
	.jx-list__item::after { width: 22px; height: 22px; margin-top: 4px; }
	.jx-list__item h3 { font-size: 26px; }
	.jx-list__item p { font-size: 16px; }
}

/* ---------- Home: work cards ---------- */

.jx-work { padding-block: var(--jx-section); }
.jx-work__head { gap: 24px; align-items: flex-end; margin-bottom: 64px; }
.jx-work__head > * { margin: 0; }
.jx-cards { gap: 24px; }
.jx-cards > .jx-card { margin: 0; }
.jx-card {
	position: relative;
	background: var(--jx-card);
	border-radius: 20px;
	padding: 44px;
	min-height: 330px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jx-card > * { margin: 0 !important; }
.jx-card__top { justify-content: space-between; align-items: baseline; }
.jx-card__stat {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 80px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--jx-green);
}
.jx-card__tag { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jx-stone); }
.jx-card__label { font-size: 16px; color: var(--jx-stone); }
.jx-card__spacer { flex-grow: 1; }
.jx-card h3 { font-size: 30px; line-height: 1.15; margin-top: auto !important; padding-top: 16px; }
.jx-card h3 a { color: var(--jx-ink); text-decoration: none; }
.jx-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.jx-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(28, 33, 30, 0.35); }
.jx-card:hover h3 a { color: var(--jx-green); }

@media (max-width: 781px) {
	.jx-work__head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
	.jx-cards.is-layout-grid { grid-template-columns: 1fr; }
	.jx-card { padding: 32px; min-height: 0; }
	.jx-card__stat { font-size: 64px; }
	.jx-card h3 { font-size: 26px; margin-top: 12px !important; }
}

/* ---------- Home: team ---------- */

.jx-team { padding-block: var(--jx-section) 0; }
.jx-team > .wp-block-columns:first-child { gap: 96px; margin: 0 0 56px; }
.jx-team > .wp-block-columns:first-child p { font-size: 18px; }
.jx-team .wp-block-columns > .wp-block-column > * { margin: 0; }
.jx-people { gap: 24px; margin: 0; }
.jx-person { display: flex; flex-direction: column; gap: 16px; }
.jx-person > * { margin: 0 !important; }
.jx-person img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 18px;
	filter: grayscale(1);
	display: block;
}
.jx-person .jx-person__name { font-family: var(--wp--preset--font-family--display); font-size: 26px; line-height: 1.2; color: var(--jx-ink); }
.jx-person .jx-person__role { font-size: 15px; color: var(--jx-stone); margin-top: -8px !important; }

@media (max-width: 781px) {
	.jx-team > .wp-block-columns:first-child { gap: 20px; margin-bottom: 36px; }
	.jx-person img { height: auto; aspect-ratio: 1; }
}

/* ---------- Contact card ---------- */

.jx-contact { padding-block: var(--jx-section); }
.jx-contact__card {
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 28px;
	padding: 72px;
}
.jx-contact__card > .wp-block-columns { gap: 80px; margin: 0; }
.jx-contact__card .wp-block-column:first-child { display: flex; flex-direction: column; gap: 26px; }
.jx-contact__card .wp-block-column:first-child > * { margin: 0; }
.jx-contact__details { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.jx-contact__details > * { margin: 0 !important; font-size: 17px; color: var(--jx-ink); }
.jx-contact__details .jx-muted { color: var(--jx-stone); }
.jx-contact__note { font-size: 16px; padding-top: 12px; border-top: 1px solid var(--jx-line); }

@media (max-width: 781px) {
	.jx-contact__card { padding: 32px 22px; border-radius: 22px; }
	.jx-contact__card > .wp-block-columns { gap: 40px; }
}

/* ---------- Forms (SureForms, Contact Form 7, Fluent Support) ---------- */

/* SureForms reads its look from these variables; this selector outranks the form's own. */
.jx-form .srfm-form-container {
	--srfm-color-scheme-primary: #1F4D3B;
	--srfm-color-scheme-text-on-primary: #FFFFFF;
	--srfm-color-scheme-text: #1C211E;
	--srfm-color-input-label: #1C211E;
	--srfm-color-input-text: #1C211E;
	--srfm-color-input-background: #FFFFFF;
	--srfm-color-input-background-hover: #FFFFFF;
	--srfm-color-input-border: #CFC6B6;
	--srfm-color-input-border-hover: #1F4D3B;
	--srfm-color-input-border-focus-glow: rgba(31, 77, 59, 0.15);
	--srfm-btn-color-hover: #143427;
	--srfm-bg-color: transparent;
	--srfm-row-gap-between-blocks: 2px; /* plus the 20px SureForms keeps free for error messages = 22px */
	--srfm-input-field-margin-bottom: 0px;
	--srfm-input-height: 54px;
	--srfm-input-field-padding: 14px 18px;
	--srfm-input-field-font-size: 17px;
	--srfm-input-field-margin-top: 8px;
	--srfm-label-font-size: 15px;
	--srfm-btn-font-size: 18px;
	--srfm-btn-padding: 17px 30px;
	font-family: var(--wp--preset--font-family--body);
	background: transparent;
	padding: 0;
}
.jx-form .srfm-form-container .srfm-block-label { font-weight: 500; }
.jx-form .srfm-form-container .srfm-input-common { border-radius: 12px; font-family: inherit; }
.jx-form .srfm-form-container textarea.srfm-input-common { min-height: 128px; resize: vertical; }
.jx-form .srfm-form-container .srfm-submit-container,
.jx-form .srfm-form-container .srfm-submit-wrap { width: 100%; }
.jx-form .srfm-form-container .srfm-submit-button {
	width: 100%;
	min-height: 58px;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 500;
}

.jx-form label,
.jx-form .srfm-block-label {
	font-family: var(--wp--preset--font-family--body);
	font-size: 15px;
	font-weight: 500;
	color: var(--jx-ink);
}
.jx-form input[type="text"],
.jx-form input[type="email"],
.jx-form input[type="tel"],
.jx-form input[type="url"],
.jx-form select,
.jx-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--jx-rule);
	border-radius: 12px;
	background: #fff;
	color: var(--jx-ink);
	font: 17px/1.4 var(--wp--preset--font-family--body);
	padding: 14px 18px;
	box-shadow: none;
}
.jx-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.jx-form select { min-height: 54px; }
.jx-form input:focus,
.jx-form select:focus,
.jx-form textarea:focus {
	outline: 2px solid var(--jx-green);
	outline-offset: 0;
	border-color: var(--jx-green);
}
.jx-form button[type="submit"],
.jx-form input[type="submit"] {
	width: 100%;
	min-height: 58px;
	border: 0;
	border-radius: 999px;
	background: var(--jx-green);
	color: #fff;
	font: 500 18px/1 var(--wp--preset--font-family--body);
	cursor: pointer;
}
.jx-form button[type="submit"]:hover,
.jx-form input[type="submit"]:hover { background: var(--wp--preset--color--green-dark); }

/* ---------- Regular pages (title + text) ---------- */

.jx-main:not(.jx-main--designed) {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: var(--jx-section);
}
.jx-page-title { margin-bottom: 40px; }
.jx-content > * + * { margin-block-start: 1.1em; }
.jx-content h2 { font-size: 40px; margin-top: 1.6em; }
.jx-content h3 { font-size: 28px; margin-top: 1.4em; }

/* ---------- 404 ---------- */

.jx-404 { padding-block: 96px 128px; }
.jx-404 > .wp-block-columns { gap: 96px; align-items: center; margin: 0; }
.jx-404__text { display: flex; flex-direction: column; gap: 26px; }
.jx-404__text > * { margin: 0 !important; }
.jx-404__text .jx-404__big {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: clamp(120px, 15vw, 220px);
	line-height: 0.85;
	letter-spacing: -0.05em;
	font-variation-settings: "opsz" 144;
	color: var(--jx-ink);
}
.jx-404__text .jx-404__big span { color: var(--jx-rust); }
.jx-404 h1 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.jx-404__text p:not(.jx-eyebrow):not(.jx-404__big) { font-size: 19px; max-width: 520px; }
.jx-404 .jx-list + p { padding-top: 22px; margin: 0; font-size: 16px; }

@media (max-width: 781px) {
	.jx-404 { padding-top: 48px; padding-bottom: 72px; }
	.jx-404 > .wp-block-columns { gap: 40px; }
}

/* ---------- Page hero (Projects and other inner pages) ---------- */

.jx-pagehero { padding-block: 72px 96px; }
.jx-pagehero > .wp-block-columns { gap: 96px; margin: 0; }
.jx-pagehero h1 { font-size: clamp(48px, 6.1vw, 88px); }
.jx-pagehero .jx-lead { font-size: 20px; line-height: 1.6; max-width: none; margin: 0; }

/* ---------- Tag pills (a plain list with the "jx-tags" class) ---------- */

ul.jx-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
ul.jx-tags li {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid var(--jx-rule);
	border-radius: 18px;
	font-size: 14px;
	line-height: 1.3;
	color: var(--jx-slate);
}

/* A green link with an arrow ("Read the case study"). */
.jx-arrowlink a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 17px;
	color: var(--jx-green);
	text-decoration: none;
}
.jx-arrowlink a::after {
	content: "";
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--jx-arrow) center / contain no-repeat;
	mask: var(--jx-arrow) center / contain no-repeat;
	transition: transform 0.2s ease;
}

/* ---------- Projects: featured project ---------- */

.jx-feature-wrap { padding-block: 0 96px; }
.jx-feature {
	position: relative;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 28px;
	padding: 44px;
	transition: box-shadow 0.2s ease;
}
.jx-feature > .wp-block-columns { gap: 56px; margin: 0; }
.jx-feature__text { display: flex; flex-direction: column; gap: 20px; }
.jx-feature__text > * { margin: 0 !important; }
.jx-feature__text h2 { font-size: clamp(36px, 3.6vw, 52px); }
.jx-feature__text h2 a { color: var(--jx-ink); text-decoration: none; }
/* The title's link covers the whole card. */
.jx-feature__text h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.jx-feature__text > p:not(.jx-eyebrow):not(.jx-arrowlink) { font-size: 18px; }
.jx-feature__text .jx-arrowlink { padding-top: 6px; }
.jx-feature__img.wp-block-image { margin: 0; }
.jx-feature__img img { display: block; width: 100%; height: auto; border-radius: 18px; }
.jx-feature:hover { box-shadow: 0 18px 40px -24px rgba(28, 33, 30, 0.4); }
.jx-feature:hover h2 a { color: var(--jx-green); }
.jx-feature:hover .jx-arrowlink a::after { transform: translate(3px, -3px); }

/* ---------- Projects: project cards ---------- */

.jx-pcards-wrap { padding-block: 0 var(--jx-section); }
.jx-pcards { gap: 24px; }
.jx-pcards > .jx-pcard { margin: 0; }
.jx-pcard {
	position: relative;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 22px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jx-pcard > * { margin: 0 !important; }
.jx-pcard__img.wp-block-image { margin: 0; }
.jx-pcard__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.jx-pcard__body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.jx-pcard__body > * { margin: 0 !important; }
.jx-pcard__stat { gap: 12px; align-items: baseline; }
.jx-pcard__stat > * { margin: 0; }
.jx-pcard .jx-pcard__num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 48px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--jx-green);
	white-space: nowrap;
}
.jx-pcard .jx-pcard__label { font-size: 14px; line-height: 1.4; color: var(--jx-stone); }
.jx-pcard h3 { font-size: 28px; line-height: 1.15; margin-top: 6px !important; }
.jx-pcard h3 a { color: var(--jx-ink); text-decoration: none; }
.jx-pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jx-pcard .jx-pcard__text { font-size: 16px; flex-grow: 1; }
.jx-pcard .jx-tags { padding-top: 6px; }
.jx-pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(28, 33, 30, 0.35); }
.jx-pcard:hover h3 a { color: var(--jx-green); }

/* ---------- Green call-to-action band ---------- */

.jx-cta { padding-block: 104px; color: var(--jx-paper); }
.jx-cta__bar { gap: 64px; }
.jx-cta__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.jx-cta__text > * { margin: 0 !important; }
.jx-cta h2 { font-size: clamp(38px, 3.9vw, 56px); color: var(--jx-paper); }
.jx-cta p { font-size: 19px; color: var(--jx-mint); }
.wp-block-button.is-style-light .wp-block-button__link {
	background: var(--jx-paper);
	color: var(--jx-green);
	font-weight: 600;
	min-height: 60px;
	padding-inline: 32px;
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #FFFFFF; color: var(--jx-green); }

@media (max-width: 781px) {
	.jx-pagehero { padding-block: 32px 48px; }
	.jx-pagehero > .wp-block-columns { gap: 20px; }
	.jx-pagehero h1 { font-size: 48px; }
	.jx-pagehero .jx-lead { font-size: 18px; }
	.jx-feature-wrap { padding-bottom: 48px; }
	.jx-feature { padding: 24px; border-radius: 22px; }
	.jx-feature > .wp-block-columns { gap: 28px; }
	.jx-feature__text { gap: 16px; }
	.jx-feature__text > p:not(.jx-eyebrow):not(.jx-arrowlink) { font-size: 16px; }
	.jx-feature__img img { border-radius: 12px; }
	.jx-pcards.is-layout-grid { grid-template-columns: 1fr; gap: 20px; }
	.jx-pcard__body { padding: 24px 24px 28px; }
	.jx-pcard .jx-pcard__num { font-size: 42px; }
	.jx-pcard h3 { font-size: 24px; }
	.jx-cta { padding-block: 64px; }
	.jx-cta__bar { gap: 28px; }
	.jx-cta p { font-size: 17px; }
}

/* ---------- Contact page ---------- */

.jx-contactpage { padding-block: 64px 120px; }
.jx-contactpage > .wp-block-columns { gap: 88px; margin: 0; }
.jx-contactpage .jx-intro { gap: 26px; }
.jx-contactpage h1 { font-size: clamp(56px, 5.9vw, 84px); }
.jx-contactpage .jx-intro > p.jx-lead { font-size: 20px; line-height: 1.6; max-width: none; }
.jx-contactpage__details { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.jx-contactpage__details > * { margin: 0 !important; font-size: 18px; line-height: 1.4; }
.jx-maillink a { display: inline-flex; align-items: center; gap: 12px; }
.jx-maillink a::before {
	content: "";
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z M4 7l8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z M4 7l8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.jx-mapimg.wp-block-image { margin-top: 8px !important; }
.jx-mapimg img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--jx-line); box-sizing: border-box; }
.jx-contactpage .jx-intro > p.jx-contactpage__note { font-size: 16px; }

.jx-formcard {
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 28px;
	padding: 44px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.jx-formcard > * { margin: 0 !important; }
.jx-formcard .jx-formcard__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--jx-ink);
}

@media (max-width: 781px) {
	.jx-contactpage { padding-block: 32px 72px; }
	.jx-contactpage > .wp-block-columns { gap: 40px; }
	.jx-contactpage h1 { font-size: 56px; }
	.jx-contactpage .jx-intro > p.jx-lead { font-size: 18px; }
	.jx-contactpage__details > * { font-size: 17px; }
	.jx-formcard { padding: 28px 22px; border-radius: 22px; }
	.jx-formcard .jx-formcard__title { font-size: 26px; }
}

/* ---------- Support page ---------- */

:root {
	--jx-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
	--jx-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z M4 7l8 6 8-6'/%3E%3C/svg%3E");
	--jx-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.jx-supporthero { padding-block: 64px 88px; }
.jx-supporthero > .wp-block-columns { gap: 80px; margin: 0; }
.jx-supporthero .jx-intro { gap: 26px; }
/* Two lines, as designed: a fixed break after "Something broken?", and a size that
   always fits the column (the first line is about 7.4 times the font size wide). */
.jx-supporthero h1 { font-size: clamp(40px, calc(6.4vw - 8px), 84px); }
@media (min-width: 782px) { .jx-supporthero h1 { white-space: nowrap; } }
.jx-supporthero .jx-intro > p.jx-lead { font-size: 20px; line-height: 1.6; max-width: 600px; }
.jx-supporthero .wp-block-buttons { gap: 24px; align-items: center; padding-top: 4px; }

/* Rust "Critical incident?" card */
.jx-alert {
	background: var(--jx-rust);
	color: #FFFFFF;
	border-radius: 24px;
	padding: 36px;
	margin-top: 44px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.jx-alert > * { margin: 0 !important; }
.jx-alert p { color: #FFFFFF; }
.jx-alert .jx-alert__eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #F6DCCF; }
.jx-alert .jx-alert__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.jx-alert .jx-alert__phone { font-size: 20px; font-weight: 500; }
.jx-alert .jx-alert__mail { font-size: 17px; font-weight: 500; margin-top: -8px !important; }
/* the subject line sits under the address, lined up with its text (icon 22px + gap 12px) */
.jx-alert .jx-alert__subject { font-size: 17px; font-weight: 500; padding-left: 34px; margin-top: -16px !important; color: #F6DCCF; }
.jx-alert a { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; }
.jx-alert a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jx-alert a::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; background: currentColor; }
.jx-alert__phone a::before { -webkit-mask: var(--jx-icon-phone) center / contain no-repeat; mask: var(--jx-icon-phone) center / contain no-repeat; }
.jx-alert__mail a::before { -webkit-mask: var(--jx-icon-mail) center / contain no-repeat; mask: var(--jx-icon-mail) center / contain no-repeat; }

/* Response-times table (a regular Table block with the "jx-sla" class) */
.jx-slasection { padding-block: 0 120px; }
.jx-sla__head { gap: 24px; margin-bottom: 32px; }
.jx-sla__head > * { margin: 0; }
.jx-sla__head .jx-intro { gap: 16px; }
.jx-sla__head h2 { font-size: clamp(38px, 3.4vw, 48px); }
.jx-sla__head .jx-sla__note { font-size: 17px; max-width: 440px; }
.jx-sla.wp-block-table {
	margin: 0;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 22px;
	overflow: hidden;
}
.jx-sla table { width: 100%; border-collapse: collapse; border: 0; }
.jx-sla th, .jx-sla td { border: 0; text-align: left; vertical-align: middle; }
.jx-sla thead { border: 0; }
.jx-sla th {
	padding: 16px 12px 16px 28px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jx-stone);
}
.jx-sla td { padding: 22px 12px 22px 28px; border-top: 1px solid var(--jx-rule); font-size: 16px; color: var(--jx-slate); }
.jx-sla th:nth-child(1), .jx-sla td:nth-child(1),
.jx-sla th:nth-child(2), .jx-sla td:nth-child(2) { width: 220px; }
.jx-sla td:nth-child(1) {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 22px;
	color: var(--jx-ink);
}
.jx-sla td:nth-child(1)::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 12px;
	vertical-align: 0.1em;
	background: var(--jx-stone);
}
.jx-sla tbody tr:nth-child(1) td:nth-child(1)::before { background: var(--jx-rust); }
.jx-sla tbody tr:nth-child(2) td:nth-child(1)::before { background: #C98A6A; }
.jx-sla tbody tr:nth-child(3) td:nth-child(1)::before { background: var(--jx-green); }
.jx-sla td:nth-child(2) { font-size: 18px; font-weight: 500; color: var(--jx-ink); }

/* Open a ticket (sand band) */
.jx-ticket { padding-block: 120px; }
.jx-ticket > .wp-block-columns { gap: 88px; margin: 0; }
.jx-ticket h2 { font-size: clamp(38px, 3.4vw, 48px); }
ul.jx-checklist { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 14px; }
/* The check sits in the left padding, so links and bold text flow normally inside the line. */
ul.jx-checklist li { position: relative; padding-left: 34px; margin: 0; font-size: 17px; line-height: 1.5; color: var(--jx-ink); }
ul.jx-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	background: var(--jx-green);
	-webkit-mask: var(--jx-icon-check) center / contain no-repeat;
	mask: var(--jx-icon-check) center / contain no-repeat;
}
.jx-ticket .jx-formcard { border-radius: 24px; padding: 40px; }

/* Fluent Support portal: sign in, sign up, and the ticket screens */
.jx-portal { font-family: var(--wp--preset--font-family--body); color: var(--jx-ink); }
.jx-portal h1, .jx-portal h2, .jx-portal h3 { font-family: var(--wp--preset--font-family--display); font-weight: 500; letter-spacing: -0.02em; }
.jx-portal h2, .jx-portal h3 { font-size: 26px; margin: 0 0 16px; }
.jx-portal p { font-size: 16px; }
.jx-portal form p { margin: 0 0 16px; }
.jx-portal label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--jx-ink); }
.jx-portal input[type="password"] {
	width: 100%;
	min-height: 54px;
	box-sizing: border-box;
	border: 1px solid var(--jx-rule);
	border-radius: 12px;
	background: #fff;
	font: 17px/1.4 var(--wp--preset--font-family--body);
	padding: 14px 18px;
}
.jx-portal input[type="checkbox"] { accent-color: var(--jx-green); width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.jx-portal button,
.jx-portal .button,
.jx-portal input[type="submit"] {
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: 999px;
	background: var(--jx-green);
	color: #fff;
	font: 500 17px/1 var(--wp--preset--font-family--body);
	cursor: pointer;
}
.jx-portal button:hover, .jx-portal .button:hover, .jx-portal input[type="submit"]:hover { background: var(--wp--preset--color--green-dark); }
.jx-portal a { color: var(--jx-green); }

@media (max-width: 781px) {
	.jx-supporthero { padding-block: 32px 56px; }
	.jx-supporthero > .wp-block-columns { gap: 12px; }
	.jx-supporthero .jx-intro > p.jx-lead { font-size: 18px; }
	.jx-supporthero .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 8px; }
	.jx-supporthero .wp-block-button:not(.is-style-text) .wp-block-button__link { width: 100%; justify-content: center; }
	.jx-supporthero .wp-block-button.is-style-text { align-self: center; }
	.jx-alert { margin-top: 20px; padding: 26px 22px; border-radius: 20px; }
	.jx-alert .jx-alert__title { font-size: 24px; }
	.jx-alert .jx-alert__mail, .jx-alert .jx-alert__subject { font-size: 15px; }
	.jx-slasection { padding-bottom: 72px; }
	.jx-sla thead { display: none; }
	.jx-sla tr { display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; border-top: 1px solid var(--jx-rule); }
	.jx-sla tbody tr:first-child { border-top: 0; }
	.jx-sla td { display: block; width: auto !important; padding: 0; border: 0; }
	.jx-sla td:nth-child(3) { grid-column: 1 / -1; padding-top: 6px; font-size: 15px; }
	.jx-sla td:nth-child(1) { font-size: 20px; }
	.jx-sla td:nth-child(2) { font-size: 16px; align-self: center; }
	.jx-ticket { padding-block: 72px; }
	.jx-ticket > .wp-block-columns { gap: 36px; }
	.jx-ticket .jx-formcard { padding: 26px 20px; }
}

/* ---------- About page ---------- */

.jx-mission { padding-block: 96px 128px; }
.jx-mission__inner { display: flex; flex-direction: column; gap: 36px; }
.jx-mission__inner > * { margin: 0 !important; }
.jx-mission h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: 1.02; max-width: 1150px; }
.jx-mission__inner > .wp-block-columns { gap: 64px; padding-top: 16px; }
.jx-mission__inner .wp-block-column p { margin: 0; font-size: 20px; line-height: 1.65; }

.jx-founder { padding-block: 128px; }
.jx-founder > .wp-block-columns { gap: 96px; margin: 0; }
.jx-founder > .wp-block-columns > .wp-block-column:first-child { flex-basis: 500px !important; flex-grow: 0; }
.jx-arch--tall img { height: 620px; border-radius: 250px 250px 18px 18px; }
.jx-founder__text { gap: 26px; padding-top: 24px; }
.jx-founder h2 { font-size: clamp(44px, 4.4vw, 64px); line-height: 1; }
.jx-founder .jx-founder__text > p:not(.jx-eyebrow) { font-size: 19px; line-height: 1.7; }
.jx-pullquote.wp-block-quote {
	margin: 8px 0 !important;
	padding: 0;
	border: 0;
}
.jx-pullquote.wp-block-quote p {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 32px;
	line-height: 1.3;
	color: var(--jx-green);
}
.jx-creds.wp-block-columns { gap: 16px; margin: 0 !important; padding-top: 16px; border-top: 1px solid var(--jx-rule); }
.jx-creds .wp-block-column { padding-top: 18px; }
.jx-creds p { margin: 0; }
.jx-creds .jx-cred__name { font-family: var(--wp--preset--font-family--display); font-size: 22px; line-height: 1.2; color: var(--jx-ink); }
.jx-creds .jx-cred__role { font-size: 14px; color: var(--jx-stone); padding-top: 4px; }

.jx-partners { padding-block: 128px; }
.jx-partners__head.wp-block-columns { gap: 96px; margin: 0 0 56px; }
.jx-partners__head h2 { margin: 0; }
.jx-partners__head p { margin: 0; font-size: 18px; }
.jx-partners__grid { gap: 24px; }
.jx-partners__grid > .jx-partner { margin: 0; }
.jx-partner {
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 24px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.jx-partner > * { margin: 0 !important; }
.jx-partner__head { gap: 20px; }
.jx-partner__head > * { margin: 0; }
.jx-partner__photo.wp-block-image { margin: 0; flex-shrink: 0; }
.jx-partner__photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; filter: grayscale(1); display: block; }
.jx-partner__who p { margin: 0; }
.jx-partner .jx-partner__name { font-family: var(--wp--preset--font-family--display); font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; color: var(--jx-ink); }
.jx-partner .jx-partner__role { font-size: 15px; color: var(--jx-stone); padding-top: 2px; }
.jx-partner > p:not(.jx-partner__link) { font-size: 17px; line-height: 1.65; }
.jx-partner .jx-partner__link { font-size: 16px; font-weight: 500; }

@media (max-width: 781px) {
	.jx-mission { padding-block: 40px 64px; }
	.jx-mission__inner { gap: 24px; }
	.jx-mission__inner > .wp-block-columns { gap: 16px; padding-top: 0; }
	.jx-mission__inner .wp-block-column p { font-size: 18px; }
	.jx-founder { padding-block: 64px; }
	.jx-founder > .wp-block-columns { gap: 32px; }
	.jx-founder > .wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; }
	.jx-arch--tall img { height: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; }
	.jx-founder__text { gap: 20px; padding-top: 0; }
	.jx-founder .jx-founder__text > p:not(.jx-eyebrow) { font-size: 17px; }
	.jx-pullquote.wp-block-quote p { font-size: 26px; }
	.jx-creds.wp-block-columns { flex-wrap: wrap !important; }
	.jx-creds.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
	.jx-partners { padding-block: 64px; }
	.jx-partners__head.wp-block-columns { gap: 16px; margin-bottom: 32px; }
	.jx-partners__grid.is-layout-grid { grid-template-columns: 1fr; gap: 20px; }
	.jx-partner { padding: 26px 22px; border-radius: 20px; }
	.jx-partner__photo img { width: 72px; height: 72px; }
	.jx-partner .jx-partner__name { font-size: 24px; }
	.jx-partner .jx-partner__role { font-size: 14px; }
	.jx-partner > p:not(.jx-partner__link) { font-size: 16px; }
}

/* ---------- Service pages (VoIP and the "Service page" pattern) ---------- */

.jx-svchero { padding-block: 64px 112px; }
.jx-svchero > .wp-block-columns { gap: 88px; margin: 0; }
.jx-svchero .jx-intro { gap: 28px; }
.jx-svchero h1 { font-size: clamp(50px, 5.9vw, 84px); }
.jx-svchero .jx-intro > p.jx-lead { font-size: 20px; line-height: 1.6; max-width: 620px; }
.jx-intro > p.jx-crumbs, p.jx-crumbs { font-size: 14px; color: var(--jx-stone); }
.jx-crumbs a { color: var(--jx-stone); }
.jx-crumbs__sep { padding: 0 6px; }
.jx-svchero__cta { gap: 28px; align-items: center; }
.jx-svchero__cta > * { margin: 0; }
.jx-svchero .jx-svchero__cta p.jx-svchero__note { font-size: 15px; color: var(--jx-stone); }
.jx-svchero__cta .wp-block-button__link { white-space: nowrap; }
.jx-svchero__cta > p { flex: 1 1 0; min-width: 0; }

.jx-handled {
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 24px;
	padding: 40px;
	margin-top: 44px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.jx-svchero .wp-block-column > .jx-handled { margin-top: 44px; }
.jx-handled > * { margin: 0 !important; }
.jx-handled .jx-handled__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--jx-ink);
}
.jx-handled ul.jx-checklist { padding-top: 0; gap: 22px; }
.jx-handled ul.jx-checklist li { padding-left: 36px; }

.jx-features { padding-block: 0 128px; }
.jx-features__head {
	gap: 24px;
	margin-bottom: 48px;
	padding-top: 88px;
	border-top: 1px solid var(--jx-rule);
}
.jx-features__head > * { margin: 0; }
.jx-features__head h2 { font-size: clamp(38px, 3.9vw, 56px); max-width: 620px; }
.jx-features__head p { font-size: 18px; max-width: 440px; }
.jx-features__grid.is-layout-grid {
	gap: 0;
	border-top: 1px solid var(--jx-rule);
	border-left: 1px solid var(--jx-rule);
}
.jx-features__grid > .jx-feat { margin: 0; }
.jx-feat {
	padding: 36px 32px;
	border-right: 1px solid var(--jx-rule);
	border-bottom: 1px solid var(--jx-rule);
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 220px;
	box-sizing: border-box;
}
.jx-feat > * { margin: 0 !important; }
.jx-feat .jx-feat__num {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 18px;
	line-height: 1.3;
	color: var(--jx-green);
}
.jx-feat h3 { font-size: 26px; line-height: 1.2; }
.jx-feat p:not(.jx-feat__num) { font-size: 16px; }

.jx-svcband { padding-block: 112px; color: var(--jx-paper); }
.jx-svcband > .wp-block-columns { gap: 96px; margin: 0; }
.jx-svcband h2 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.04; color: var(--jx-paper); }
.jx-svcband__text { display: flex; flex-direction: column; gap: 24px; }
.jx-svcband__text > * { margin: 0 !important; }
.jx-svcband__text p { font-size: 19px; line-height: 1.65; color: var(--jx-mint); }
.jx-svcband .wp-block-button.is-style-light .wp-block-button__link { min-height: 56px; padding-inline: 28px; font-size: 17px; }

.jx-others { padding-block: 112px; }
.jx-others__inner > * { margin: 0; }
.jx-others__inner > p.jx-eyebrow { margin-bottom: 32px; }
.jx-others__grid { gap: 20px; }
.jx-others__grid > .jx-svclink { margin: 0; }
.jx-svclink {
	position: relative;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 18px;
	padding: 28px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jx-svclink { display: flex; align-items: center; }
.jx-svclink p { margin: 0; width: 100%; }
.jx-svclink a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	line-height: 1.2;
	color: var(--jx-ink);
	text-decoration: none;
}
.jx-svclink a::after {
	content: "";
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--jx-arrow) center / contain no-repeat;
	mask: var(--jx-arrow) center / contain no-repeat;
}
.jx-svclink a::before { content: ""; position: absolute; inset: 0; }
.jx-svclink:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(28, 33, 30, 0.35); }
.jx-svclink:hover a { color: var(--jx-green); }

@media (max-width: 1100px) {
	.jx-others__grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jx-features__grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.jx-svchero { padding-block: 28px 56px; }
	.jx-svchero > .wp-block-columns { gap: 12px; }
	.jx-svchero .jx-intro { gap: 20px; }
	.jx-svchero .jx-intro > p.jx-lead { font-size: 18px; }
	.jx-svchero__cta.is-layout-flex { flex-wrap: wrap; gap: 12px; }
	.jx-svchero__cta > p { flex-basis: 100%; }
	.jx-svchero__cta .wp-block-buttons, .jx-svchero__cta .wp-block-button, .jx-svchero__cta .wp-block-button__link { width: 100%; justify-content: center; }
	.jx-svchero .wp-block-column > .jx-handled { margin-top: 24px; }
	.jx-handled { padding: 26px 22px; border-radius: 20px; }
	.jx-handled .jx-handled__title { font-size: 24px; }
	.jx-features { padding-bottom: 72px; }
	.jx-features__head { padding-top: 56px; margin-bottom: 28px; }
	.jx-features__grid.is-layout-grid { grid-template-columns: 1fr; }
	.jx-feat { min-height: 0; padding: 26px 22px; }
	.jx-feat h3 { font-size: 23px; }
	.jx-svcband { padding-block: 64px; }
	.jx-svcband > .wp-block-columns { gap: 20px; }
	.jx-svcband__text p { font-size: 17px; }
	.jx-others { padding-block: 64px; }
	.jx-others__grid.is-layout-grid { grid-template-columns: 1fr; gap: 12px; }
	.jx-svclink { padding: 22px; }
	.jx-svclink a { font-size: 20px; }
}

/* ---------- Case study (Solar Fleet Dashboard) ---------- */

.jx-casehero { padding-block: 56px 64px; }
.jx-casehero__inner { display: flex; flex-direction: column; gap: 26px; }
.jx-casehero__inner > * { margin: 0 !important; }
.jx-casehero__inner > .wp-block-columns { gap: 88px; }
.jx-casehero h1 { font-size: clamp(50px, 6.1vw, 88px); }
.jx-casehero p.jx-lead { font-size: 20px; line-height: 1.6; max-width: none; margin: 0; }
.jx-facts.wp-block-columns { gap: 24px; padding-top: 22px; border-top: 1px solid var(--jx-rule); }
.jx-facts p { margin: 0; }
.jx-facts .jx-fact__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jx-stone); }
.jx-facts .jx-fact__value { font-size: 17px; padding-top: 6px; color: var(--jx-ink); }

.jx-caseshot { padding-block: 0 120px; }
.jx-caseshot__frame {
	background: var(--jx-sand);
	border: 1px solid var(--jx-line);
	border-radius: 24px;
	padding: 48px;
}
.jx-caseshot__img.wp-block-image { margin: 0; }
.jx-caseshot__img img { display: block; width: 100%; height: auto; }

.jx-casesplit { padding-block: 0 128px; }
.jx-casesplit > .wp-block-columns,
.jx-casesolution__head.wp-block-columns { gap: 96px; margin: 0; }
.jx-casesplit > .wp-block-columns > .wp-block-column:first-child,
.jx-casesolution__head > .wp-block-column:first-child { flex-basis: 380px !important; flex-grow: 0; }
.jx-casesplit .jx-intro, .jx-casesolution .jx-intro { gap: 18px; }
.jx-casesplit h2, .jx-casesolution h2, .jx-casecaps h2 { font-size: clamp(38px, 3.4vw, 48px); }
.jx-casesplit__body { display: flex; flex-direction: column; gap: 22px; }
.jx-casesplit__body > * { margin: 0 !important; }
.jx-casesplit__body > p { font-size: 19px; line-height: 1.65; }
.jx-casesplit__body ul.jx-checklist { padding-top: 0; gap: 22px; }
.jx-casesplit__body ul.jx-checklist li { font-size: 18px; padding-left: 36px; }

.jx-casesolution { padding-block: 120px; }
.jx-casesolution__head.wp-block-columns { margin-bottom: 44px; }
.jx-casesolution__head p { margin: 0; font-size: 19px; line-height: 1.65; }
.jx-diagram.wp-block-image { margin: 0; }
.jx-diagram img { display: block; width: 100%; height: auto; border: 1px solid var(--jx-line); border-radius: 22px; box-sizing: border-box; }

.jx-casecaps { padding-block: 120px 128px; }
.jx-casecaps__head.jx-features__head { padding-top: 0; border-top: 0; margin-bottom: 44px; }
.jx-casecaps__head .jx-intro { gap: 18px; }
.jx-casecaps__head ul.jx-tags { max-width: 520px; justify-content: flex-end; }
.jx-casecaps__grid.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jx-casecaps__grid .jx-feat { padding: 30px 28px; gap: 10px; min-height: 180px; }
.jx-casecaps__grid .jx-feat h3 { font-size: 24px; }
.jx-casecaps__grid .jx-feat p:not(.jx-feat__num) { line-height: 1.55; }
.jx-feat--note { background: var(--jx-sand); justify-content: center; }
.jx-feat.jx-feat--note p.jx-feat__quote {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 26px;
	line-height: 1.2;
	color: var(--jx-green);
}
.jx-casecaps__grid .jx-feat--note p:not(.jx-feat__quote) { font-size: 15px; line-height: 1.5; }

.jx-nextwrap { padding-block: 0 120px; }
.jx-next {
	position: relative;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 22px;
	padding: 32px 40px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jx-next > .wp-block-columns { gap: 48px; margin: 0; }
.jx-next__text { display: flex; flex-direction: column; gap: 10px; }
.jx-next__text > * { margin: 0 !important; }
.jx-next h3 { font-size: 36px; line-height: 1.15; }
.jx-next h3 a { color: var(--jx-ink); text-decoration: none; }
.jx-next h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jx-next__text > p:not(.jx-eyebrow) { font-size: 16px; }
.jx-next__img.wp-block-image { margin: 0; }
.jx-next__img img { display: block; width: 100%; height: auto; border-radius: 14px; }
.jx-next:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(28, 33, 30, 0.35); }
.jx-next:hover h3 a { color: var(--jx-green); }

@media (max-width: 1100px) {
	.jx-casecaps__grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.jx-casehero { padding-block: 28px 40px; }
	.jx-casehero__inner { gap: 20px; }
	.jx-casehero__inner > .wp-block-columns { gap: 16px; }
	.jx-casehero p.jx-lead { font-size: 18px; }
	.jx-facts.wp-block-columns { flex-wrap: wrap !important; row-gap: 16px; }
	.jx-facts.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
	.jx-caseshot { padding-bottom: 64px; }
	.jx-caseshot__frame { padding: 14px; border-radius: 16px; }
	.jx-casesplit { padding-bottom: 72px; }
	.jx-casesplit > .wp-block-columns, .jx-casesolution__head.wp-block-columns { gap: 20px; }
	.jx-casesplit > .wp-block-columns > .wp-block-column:first-child,
	.jx-casesolution__head > .wp-block-column:first-child { flex-basis: 100% !important; }
	.jx-casesplit__body > p, .jx-casesolution__head p { font-size: 17px; }
	.jx-casesplit__body ul.jx-checklist li { font-size: 16px; }
	.jx-casesolution { padding-block: 64px; }
	.jx-casesolution__head.wp-block-columns { margin-bottom: 28px; }
	.jx-diagram img { border-radius: 14px; }
	.jx-casecaps { padding-block: 64px 72px; }
	.jx-casecaps__head ul.jx-tags { justify-content: flex-start; }
	.jx-casecaps__grid.is-layout-grid { grid-template-columns: 1fr; }
	.jx-casecaps__grid .jx-feat { min-height: 0; padding: 24px 22px; }
	.jx-nextwrap { padding-bottom: 64px; }
	.jx-next { padding: 24px; }
	.jx-next > .wp-block-columns { gap: 20px; }
	.jx-next h3 { font-size: 28px; }
}

/* ---------- Privacy policy ---------- */

.jx-legalhero { padding-block: 72px 56px; }
.jx-legalhero__inner { display: flex; flex-direction: column; gap: 22px; }
.jx-legalhero__inner > * { margin: 0 !important; }
.jx-legalhero h1 { font-size: clamp(50px, 5.6vw, 80px); line-height: 1; }
.jx-legalhero__meta { gap: 24px; }
.jx-legalhero__inner > p.jx-legalhero__date { font-size: 16px; color: var(--jx-stone); }
.jx-legalhero__meta p { margin: 0; font-size: 16px; color: var(--jx-stone); }
.jx-legalhero__meta p.jx-badge {
	padding: 5px 12px;
	border-radius: 14px;
	background: #F3DDD2;
	color: var(--jx-rust);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.jx-legalhero__inner > p.jx-lead { font-size: 20px; line-height: 1.6; max-width: 760px; }

.jx-legal { padding-block: 0 128px; }
.jx-legal > .wp-block-columns { gap: 96px; margin: 0; }
.jx-legal > .wp-block-columns > .wp-block-column:first-child { flex-basis: 260px !important; flex-grow: 0; }
.jx-toc {
	position: sticky;
	top: 24px;
	border-left: 2px solid var(--jx-rule);
	padding-left: 20px;
}
.jx-toc > * { margin: 0; }
.jx-toc .jx-toc__title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jx-stone); padding-bottom: 10px; }
ul.jx-toc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
ul.jx-toc__list li { margin: 0; }
ul.jx-toc__list a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.3; color: var(--jx-slate); text-decoration: none; }
ul.jx-toc__list a:hover { color: var(--jx-green); text-decoration: underline; text-underline-offset: 4px; }
.jx-policy { display: flex; flex-direction: column; gap: 40px; max-width: 760px; }
.jx-policy > * { margin: 0 !important; }
.jx-policy__sec { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; border-bottom: 1px solid var(--jx-rule); scroll-margin-top: 24px; }
.jx-policy__sec > * { margin: 0 !important; }
.jx-policy__sec h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.jx-policy__sec p { font-size: 18px; line-height: 1.7; }
.jx-policy__sec strong { color: var(--jx-ink); }

@media (max-width: 781px) {
	.jx-legalhero { padding-block: 32px 32px; }
	.jx-legalhero__inner { gap: 16px; }
	.jx-legalhero__inner > p.jx-lead { font-size: 18px; }
	.jx-legal { padding-bottom: 72px; }
	.jx-legal > .wp-block-columns { gap: 32px; }
	.jx-legal > .wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; }
	.jx-toc { position: static; }
	.jx-policy { gap: 28px; }
	.jx-policy__sec { padding-bottom: 28px; }
	.jx-policy__sec h2 { font-size: 26px; }
	.jx-policy__sec p { font-size: 17px; }
}

/* ---------- Case studies: illustration hero, extra table sections, results ---------- */

/* Illustrations carry their own Sand background, so the frame hugs them. */
.jx-caseshot__frame--illo { padding: 0; overflow: hidden; }
.jx-caseshot__frame--illo img { height: 560px; object-fit: contain; }
.jx-casecaps__grid--3.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.jx-casetable { padding-block: 120px 0; }
.jx-casesolution + .jx-casetable { padding-top: 120px; }
.jx-casetable + .jx-casecaps { padding-top: 120px; }
.jx-casetable__head.wp-block-columns { gap: 96px; margin: 0 0 40px; }
.jx-casetable__head > .wp-block-column:first-child { flex-basis: 380px !important; flex-grow: 0; }
.jx-casetable__head .jx-intro { gap: 18px; }
.jx-casetable__head h2 { font-size: clamp(34px, 3.4vw, 48px); }
.jx-casetable__head p { margin: 0; font-size: 18px; line-height: 1.65; }

.jx-results { padding-block: 120px; }
.jx-results__inner > * { margin: 0 !important; }
.jx-results__head.wp-block-columns { gap: 96px; margin-bottom: 40px !important; }
.jx-results__head > .wp-block-column:first-child { flex-basis: 380px !important; flex-grow: 0; }
.jx-results__head .jx-intro { gap: 18px; }
.jx-results__head h2 { font-size: clamp(34px, 3.4vw, 48px); }
.jx-stats.wp-block-columns { gap: 24px; }
.jx-stats .wp-block-column { border-top: 1px solid var(--jx-rule); padding-top: 24px; }
.jx-stats p { margin: 0; }
.jx-stats .jx-stat__num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: clamp(44px, 4.4vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--jx-green);
	white-space: nowrap;
}
.jx-stats .jx-stat__label { font-size: 16px; line-height: 1.5; color: var(--jx-slate); padding-top: 10px; }
.jx-results__inner > p.jx-results__note {
	margin-top: 44px !important;
	max-width: 820px;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 24px;
	line-height: 1.4;
	color: var(--jx-green);
}

/* ---------- Data tables (a regular Table block with the "jx-table" class) ---------- */

.jx-table.wp-block-table {
	margin: 0;
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 22px;
	overflow: hidden;
}
.jx-table table { width: 100%; border-collapse: collapse; border: 0; }
.jx-table th, .jx-table td { border: 0; text-align: left; vertical-align: top; }
.jx-table thead { border: 0; }
.jx-table th {
	padding: 16px 16px 16px 24px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jx-stone);
}
.jx-table td { padding: 18px 16px 18px 24px; border-top: 1px solid var(--jx-rule); font-size: 16px; line-height: 1.45; color: var(--jx-slate); }
.jx-table td:first-child {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 19px;
	line-height: 1.3;
	color: var(--jx-ink);
}
.jx-table--compare td:not(:first-child) { font-size: 17px; color: var(--jx-ink); }
.jx-table--compare th:not(:first-child) { color: var(--jx-green); font-weight: 600; }

/* Cloud: the two plan tables side by side */
.jx-plans.wp-block-columns { gap: 32px; margin: 0; }
.jx-plans p.jx-plan__title {
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 500;
	font-size: 26px;
	letter-spacing: -0.02em;
	color: var(--jx-ink);
}
.jx-plans .jx-table td:first-child { font-size: 17px; }

.jx-features + .jx-casetable { padding-top: 0; }

/* ---------- Services overview ---------- */

.jx-svclist { padding-block: 0 var(--jx-section); }
.jx-list__item--static::after { display: none; }
.jx-ctalight { padding-block: var(--jx-section); }
.jx-ctalight__card {
	background: var(--jx-card);
	border: 1px solid var(--jx-line);
	border-radius: 28px;
	padding: 56px 64px;
	gap: 40px;
}
.jx-ctalight__card .jx-cta__text h2 { font-size: clamp(34px, 3.4vw, 48px); }
.jx-ctalight__card .jx-cta__text p { font-size: 18px; max-width: 640px; }

@media (max-width: 781px) {
	.jx-caseshot__frame--illo img { height: auto; }
	.jx-casecaps__grid--3.is-layout-grid { grid-template-columns: 1fr; }
	.jx-casetable, .jx-casesolution + .jx-casetable { padding-top: 64px; }
	.jx-casetable + .jx-casecaps { padding-top: 64px; }
	.jx-casetable__head.wp-block-columns, .jx-results__head.wp-block-columns { gap: 16px; margin-bottom: 24px !important; }
	.jx-casetable__head > .wp-block-column:first-child, .jx-results__head > .wp-block-column:first-child { flex-basis: 100% !important; }
	.jx-casetable__head p { font-size: 16px; }
	.jx-casetable__wrap, .jx-plans .wp-block-column { overflow-x: auto; }
	.jx-table table { min-width: 560px; }
	.jx-results { padding-block: 64px; }
	.jx-stats.wp-block-columns { flex-wrap: wrap !important; row-gap: 20px; }
	.jx-stats.wp-block-columns > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
	.jx-results__inner > p.jx-results__note { margin-top: 28px !important; font-size: 20px; }
	.jx-plans.wp-block-columns { gap: 32px; }
	.jx-cloudplans + .jx-svcband, .jx-casetable + .jx-svcband { margin-top: 64px; }
	.jx-ctalight { padding-block: 64px; }
	.jx-ctalight__card { padding: 28px 22px; border-radius: 22px; gap: 24px; }
	.jx-ctalight__card .wp-block-buttons, .jx-ctalight__card .wp-block-button, .jx-ctalight__card .wp-block-button__link { width: 100%; justify-content: center; }
}

/* ---------- Phone layout (matches the "Homepage · phone" board) ---------- */

@media (max-width: 781px) {
	html body {
		--wp--style--root--padding-left: 20px;
		--wp--style--root--padding-right: 20px;
	}

	/* Header: logo + round menu button; the pill lives in the page. */
	.jx-header__bar { min-height: 68px; }
	.jx-header .jx-header__cta { display: none; }
	.jx-nav .wp-block-navigation__responsive-container-open {
		width: 44px;
		height: 44px;
		border: 1px solid var(--jx-rule);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Hero */
	.jx-hero { padding-top: 28px; padding-bottom: 56px; }
	.jx-hero > .wp-block-columns { gap: 12px; }
	.jx-hero__text { gap: 22px; }
	.jx-eyebrow, p.jx-eyebrow { font-size: 12px; }
	.jx-hero h1 { font-size: 48px; line-height: 1; }
	.jx-lead, p.jx-lead { font-size: 18px; }
	.jx-hero__text .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 0; }
	.jx-hero__text .wp-block-button:not(.is-style-text) .wp-block-button__link { width: 100%; justify-content: center; min-height: 56px; font-size: 17px; }
	.jx-hero__text .wp-block-button.is-style-text { align-self: center; }
	.jx-hero__text .wp-block-button.is-style-text .wp-block-button__link { min-height: 0; padding-block: 10px; font-size: 17px; }
	.jx-arch img { height: 400px; aspect-ratio: auto; border-radius: 175px 175px 16px 16px; }
	.jx-arch figcaption { margin-top: 12px; font-size: 14px; }
	.jx-arch figcaption strong { font-size: 17px; }

	/* Values band */
	.jx-values { padding-block: 56px; }
	.jx-values > .wp-block-columns { gap: 36px; }
	.jx-values .wp-block-column { gap: 10px; padding-top: 20px; }
	.jx-values h3 { font-size: 30px; }
	.jx-values p { font-size: 16px; }

	/* Services: number sits beside the title, text below */
	.jx-section, .jx-work, .jx-contact { padding-block: 72px; }
	.jx-split > .wp-block-columns { gap: 28px; }
	.jx-intro { gap: 22px; }
	.jx-list__item { grid-template-columns: auto 1fr 22px; column-gap: 14px; row-gap: 10px; padding: 26px 0; align-items: baseline; }
	.jx-list__item > .jx-list__num { grid-row: 1; font-size: 18px; padding-top: 0; }
	.jx-list__item::after { grid-row: 1; align-self: center; width: 22px; height: 22px; margin-top: 0; }
	.jx-list__item h3 { grid-column: 2; font-size: 26px; }
	.jx-list__item > p:not(.jx-list__num) { grid-column: 1 / -1; margin-top: 0 !important; font-size: 16px; line-height: 1.55; }
	.jx-list--compact .jx-list__item { grid-template-columns: 1fr 22px; }
	.jx-list--compact .jx-list__item h3 { grid-column: 1; }

	/* Work cards */
	.jx-work__head { margin-bottom: 28px; gap: 12px; }
	.jx-cards { gap: 20px; }
	.jx-card { padding: 28px 24px; border-radius: 18px; gap: 10px; }
	.jx-card__stat { font-size: 56px; }
	.jx-card__tag { font-size: 11px; }
	.jx-card__label { font-size: 15px; }
	.jx-card h3 { font-size: 24px; margin-top: 0 !important; padding-top: 10px; }
	.jx-card > p:last-child { font-size: 16px; line-height: 1.55; }

	/* Team: small round portraits in a list */
	.jx-team { padding-top: 72px; }
	.jx-team > .wp-block-columns:first-child { gap: 22px; margin-bottom: 28px; }
	.jx-team > .wp-block-columns:first-child p { font-size: 17px; }
	.jx-people { gap: 14px; }
	.jx-person { display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; row-gap: 0; align-items: center; align-content: center; }
	.jx-person .jx-person__photo { grid-row: 1 / span 2; }
	.jx-person img { width: 76px; height: 76px; aspect-ratio: 1; border-radius: 50%; }
	.jx-person .jx-person__name { font-size: 21px; align-self: end; }
	.jx-person .jx-person__role { font-size: 14px; margin-top: 0 !important; align-self: start; }

	/* Contact card */
	.jx-contact { padding-top: 0; }
	.jx-team + .jx-contact { padding-top: 72px; }
	.jx-contact__card .wp-block-column:first-child { gap: 20px; }
	.jx-contact__card h2 { font-size: 38px; }
	.jx-contact__card p { font-size: 16px; }

	/* Work: "All projects" moves under the cards */
	.jx-work { display: flex; flex-direction: column; }
	.jx-work > * { width: 100%; }
	.jx-work .jx-work__head { display: contents; }
	.jx-work .jx-work__head > .jx-intro { order: 0; margin-bottom: 28px; }
	.jx-work .jx-cards { order: 1; }
	.jx-work .jx-work__head > .jx-textlink { order: 2; align-self: center; width: auto; margin: 20px 0 0; padding: 12px 0; }

	/* Contact: heading, text, form, then the details */
	.jx-contact__card > .wp-block-columns { display: flex; flex-direction: column; gap: 20px; }
	.jx-contact__card > .wp-block-columns > .wp-block-column { display: contents; }
	.jx-contact__card .jx-form > * { order: 2; margin-top: 4px; }
	.jx-contact__card .jx-contact__details { order: 3; gap: 8px; padding-top: 20px; border-top: 1px solid var(--jx-line); }
	.jx-contact__card .jx-contact__note { order: 4; padding-top: 0; border-top: 0; margin-top: -12px !important; }

	/* Footer */
	.jx-footer { padding-block: 48px; }
	.jx-footer__bar { gap: 24px; }
	.jx-footer__nav { width: 100%; }
	.jx-footer__nav .wp-block-navigation__container { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
	.jx-footer__nav a.wp-block-navigation-item__content { display: block; padding: 10px 0; }
	.jx-logo img { height: 22px; }
}

/* Brand illustrations placed in regular page content. */
.wp-block-image.jx-illo img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* Support page: fine-tuning against the board */
.jx-supporthero .wp-block-column > .jx-alert { margin-top: 44px; }
.jx-sla td { line-height: 1.3; }
/* Fluent Support ships its own blue buttons with ID selectors; the brand wins here. */
.jx-portal #wp-submit,
.jx-portal .button-primary,
.jx-portal button[type="submit"],
.jx-portal input[type="submit"] {
	background: var(--jx-green) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	box-shadow: none !important;
	text-shadow: none !important;
	min-height: 56px;
	font: 500 17px/1 var(--wp--preset--font-family--body) !important;
}
.jx-portal #wp-submit:hover,
.jx-portal .button-primary:hover,
.jx-portal button[type="submit"]:hover,
.jx-portal input[type="submit"]:hover { background: var(--wp--preset--color--green-dark) !important; }
@media (max-width: 781px) {
	.jx-supporthero .wp-block-column > .jx-alert { margin-top: 20px; }
}

/* Case study / Cloud fine-tuning */
.jx-results + .jx-nextwrap { padding-top: var(--jx-section); }
.jx-cloudplans { padding-bottom: 120px; }
.jx-plans.wp-block-columns { flex-direction: column; gap: 40px; }
.jx-plans.wp-block-columns > .wp-block-column { flex-basis: auto !important; width: 100%; }
.jx-table th { white-space: nowrap; }
@media (max-width: 781px) {
	.jx-cloudplans { padding-bottom: 64px; }
}

/* ---------- Client portal pages ---------- */
.jx-portalpage { padding-block: 64px var(--jx-section); }
.jx-portalpage > .wp-block-columns { gap: 80px; margin: 0; }
.jx-portalpage .jx-intro { gap: 24px; }
.jx-portalpage h1 { font-size: clamp(44px, 4.6vw, 66px); }
.jx-portalpage .jx-intro > p.jx-lead { font-size: 19px; line-height: 1.6; }
.jx-portalpage .jx-intro > p.jx-portalpage__note { font-size: 16px; padding-top: 16px; border-top: 1px solid var(--jx-rule); }

/* ---------- SLA policy: the four-column table inside the reading column ---------- */
.jx-policy--wide { max-width: 860px; }
.jx-sla--four th:nth-child(1), .jx-sla--four td:nth-child(1) { width: 170px; }
.jx-sla--four th:nth-child(2), .jx-sla--four td:nth-child(2),
.jx-sla--four th:nth-child(3), .jx-sla--four td:nth-child(3) { width: 150px; }
.jx-sla--four td:nth-child(3) { font-size: 16px; color: var(--jx-ink); }
.jx-policy__sec ul.jx-checklist { padding-top: 0; }
.jx-policy__sec ul.jx-checklist li { font-size: 18px; }
.jx-steps .jx-feat .jx-feat__num { font-style: normal; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--wp--preset--font-family--body); }

@media (max-width: 781px) {
	.jx-portalpage { padding-block: 28px 64px; }
	.jx-portalpage > .wp-block-columns { gap: 28px; }
	.jx-sla--four td:nth-child(3) { grid-column: 1 / -1; font-size: 15px; padding-top: 4px; color: var(--jx-slate); }
	.jx-sla--four td:nth-child(3)::before { content: "Resolved within "; }
}
