/* Design v4 (decision 327): the shared parts. Loaded after site.css and motion.css (inc/setup.php).
   Class names start hzs-v4-. Colors, sizes and motion come from the theme's tokens (style.css), so
   both editions work. Plain mode (html without .hzs-moves) stops all motion in style.css.
   The spec: docs/prototypes/immersive-v4/v4.css. Rules that beat v4: docs/reviews/design-20261125/PLAN-v4-port.md. */

:root {
	--hzs-v4-seam-core: color-mix(in srgb, var(--accent-grow) 30%, transparent);
	--hzs-v4-ease-glide: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Bands and the thin seams between them
   ========================================================================== */

.hzs-v4-wrap {
	position: relative;
	box-sizing: border-box;
	max-width: var(--frame);
	margin: 0 auto;
	padding: 0 var(--section-inline);
}

.hzs-v4-band {
	position: relative;
}

/* A band's padding and colors are set once, with the Divi section (Home, below). */

.hzs-v4-band + .hzs-v4-band::before {
	content: "";
	position: absolute;
	top: -20px;
	right: 0;
	left: 0;
	z-index: 2;
	height: 40px;
	pointer-events: none;
	background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-a) 22%, var(--surface-b)) 50%, transparent);
}

/* ==========================================================================
   Labels: the small horizontal eyebrow, and the rotated gutter label
   ========================================================================== */

.hzs-v4-eyebrow,
.hzs-v4-gutter {
	display: block;
	margin: 0 0 0.875rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent-primary);
}

/* The gutter label turns up the left edge of the column on a wide screen, full strength (v4 dimmed it). */
@media (min-width: 1380px) {
	.hzs-v4-gutter {
		position: absolute;
		top: 0.25rem;
		left: -2.5rem;
		display: inline-flex;
		align-items: center;
		gap: 0.65rem;
		margin: 0;
		letter-spacing: 0.32em;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}

	.hzs-v4-gutter::before {
		content: "";
		display: block;
		width: 1.5px;
		height: 14px;
		background: var(--accent-primary);
	}
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.hzs-v4-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	box-sizing: border-box;
	min-height: var(--tap-min);
	padding: 0.68rem 1.3rem;
	border: 1px solid transparent;
	border-radius: var(--r-button);
	background: var(--button-primary-bg);
	color: var(--button-primary-text);
	font-family: var(--font-body);
	font-size: var(--fs-button);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--d-color);
}

.hzs-v4-btn:hover {
	background: var(--button-primary-bg-hover);
	color: var(--button-primary-text);
}

.hzs-v4-btn--ghost,
.hzs-v4-btn--quiet {
	background: transparent;
	color: var(--text-strong);
	font-weight: 600;
}

.hzs-v4-btn--ghost {
	border-color: var(--border-outline);
}

.hzs-v4-btn--quiet {
	border-color: var(--border-control);
}

.hzs-v4-btn--ghost:hover,
.hzs-v4-btn--quiet:hover {
	border-color: var(--text-strong);
	background: var(--fill-soft);
	color: var(--text-strong);
}

/* A pressed button is a little darker, so a tap shows. */
.hzs-v4-btn:active {
	box-shadow: inset 0 0 0 999px rgb(0 0 0 / 0.16);
}

.hzs-v4-btn--ghost:active,
.hzs-v4-btn--quiet:active {
	box-shadow: inset 0 0 0 999px var(--fill-soft);
}

.hzs-v4-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: var(--tap-min);
	color: var(--accent-grow);
	font-size: var(--fs-small);
	font-weight: 700;
	text-decoration: none;
}

.hzs-v4-link:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.hzs-v4-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.25rem;
	margin-top: 1.5rem;
}

/* ==========================================================================
   The photo frame: soft edge without bracket corners, balanced in Dark mode
   ========================================================================== */

.hzs-v4-photo {
	position: relative;
	margin: 0.25rem 0;
}

.hzs-v4-photo img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
	border-radius: calc(var(--r-card) + 4px);
	box-shadow: 0 18px 40px -22px var(--shadow);
}

:root[data-edition="dark"] .hzs-v4-photo img {
	filter: brightness(0.95) contrast(1.03);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-edition]) .hzs-v4-photo img {
		filter: brightness(0.95) contrast(1.03);
	}
}

/* ==========================================================================
   The left-intro split with ledger rows
   ========================================================================== */

.hzs-v4-split {
	display: grid;
	gap: 2.25rem;
	align-items: start;
}

@media (min-width: 960px) {
	.hzs-v4-split {
		grid-template-columns: minmax(16rem, 0.74fr) minmax(0, 1.26fr);
		gap: 3.75rem;
	}

	.hzs-v4-split__left {
		position: sticky;
		top: 5.5rem;
	}
}

body.hzs .hzs-v4-split__left .hzs-v4-photo.hzs-v4-split__photo {
	margin: 1.75rem 0 0;
}

.hzs-v4-ledger {
	margin-top: 2rem;
	border-top: 1px solid var(--line);
}

.hzs-v4-ledger--flush {
	margin-top: 0;
}

.hzs-v4-row {
	position: relative;
	display: grid;
	gap: 0.75rem 3rem;
	align-items: baseline;
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 820px) {
	.hzs-v4-row {
		grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
	}
}

.hzs-v4-row__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.3125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text-strong);
}

@media (min-width: 1024px) {
	.hzs-v4-row__title {
		font-size: 1.625rem;
	}
}

/* The green bar and the nudge on hover: motion on only (Plain mode has no .hzs-moves). */
.hzs-v4-row::before {
	content: "";
	position: absolute;
	top: 1.25rem;
	bottom: 1.25rem;
	left: -1rem;
	width: 2px;
	background: var(--accent-grow);
	transform: scaleY(0);
	transition: transform 220ms var(--hzs-v4-ease-glide);
}

.hzs-v4-row__title {
	transition: transform 240ms var(--hzs-v4-ease-glide);
}

@media (hover: hover) {
	html.hzs-moves .hzs-v4-row:hover::before {
		transform: scaleY(1);
	}

	html.hzs-moves .hzs-v4-row:hover .hzs-v4-row__title {
		transform: translateX(5px);
	}
}

/* ==========================================================================
   Tabs (assets/js/v4.js). With no script every panel shows, stacked, each with its own title.
   ========================================================================== */

.hzs-v4-tablist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.hzs-v4-tab {
	box-sizing: border-box;
	min-width: var(--tap-min);
	min-height: var(--tap-min);
	padding: 0 1rem;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--d-color), border-color var(--d-color);
}

.hzs-v4-tab:hover,
.hzs-v4-tab[aria-selected="true"] {
	color: var(--text-strong);
}

.hzs-v4-tab[aria-selected="true"] {
	border-bottom-color: var(--accent-grow);
}

/* A phone: the three world tabs stay on one row, so the chosen line never floats between rows.
   They fit from 360px; on a smaller screen the row slides. (Google review 2, item 7a) */
@media (max-width: 559px) {
	body.hzs .hzs-v4-worlds .hzs-v4-tablist {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	body.hzs .hzs-v4-worlds .hzs-v4-tab {
		flex: 0 0 auto;
	}
}

/* Once the script has made the tabs, a panel's own title is read by screen readers only. */
[data-hzs-v4-tabs].is-tabbed [data-hzs-v4-title] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ==========================================================================
   The header (inc/header.php): v4's look and column
   ========================================================================== */

/* The bar takes its color from .hzs-header, so the page color shows at the top. */
body.hzs .et_pb_section.hzs-header-sec {
	background-color: transparent;
}

body.hzs .hzs-header.hzs-bar {
	padding-right: calc(var(--edge) + var(--section-inline));
	padding-left: calc(var(--edge) + var(--section-inline));
	border-bottom: 1px solid transparent;
	background: var(--surface-a);
	transition: background-color var(--d-move) var(--ease), border-color var(--d-move) var(--ease);
}

/* Scrolled: a solid bar with a hairline (no Backdrop Root bleed-through). */
body.hzs .hzs-header.hzs-bar.is-scrolled {
	border-bottom-color: var(--line);
	background: var(--surface-bar);
}

body.hzs .hzs-header.hzs-bar::after {
	display: none;
}

body.hzs .hzs-header .hzs-bar__spine {
	position: static;
	width: auto;
}

body.hzs .hzs-header .hzs-icon-tile {
	width: 2.3rem;
	height: 2.3rem;
}

@media (min-width: 641px) {
	body.hzs .hzs-header .hzs-wordmark {
		font-size: 0.875rem;
		letter-spacing: 0.16em;
	}
}

@media (max-width: 400px) {
	body.hzs .hzs-header.hzs-bar {
		gap: 0.45rem;
		padding-right: calc(var(--edge) + 0.75rem);
		padding-left: calc(var(--edge) + 0.75rem);
	}
}

@media (min-width: 1024px) {
	body.hzs .hzs-header.hzs-bar {
		justify-content: flex-start;
		gap: 0.75rem;
	}

	body.hzs .hzs-header__nav {
		margin-left: 1rem;
	}
}

/* The menu words: muted, strong on the current page and on hover. */
body.hzs .hzs-header__nav {
	position: relative;
}

body.hzs .hzs-header ul.hzs-nav__list {
	gap: 0.15rem;
}

body.hzs .hzs-header .hzs-nav__list a {
	min-width: 0;
	padding: 0 0.85rem;
	color: var(--text-muted);
	font-size: var(--fs-small);
}

body.hzs .hzs-header .hzs-nav__list a:hover,
body.hzs .hzs-header .hzs-nav__list a[aria-current="page"],
body.hzs .hzs-header .hzs-nav__list .current-menu-item > a {
	color: var(--text-strong);
}

/* Under the current page: a static line. When the script glides a line (motion on), the static one steps aside. */
body.hzs .hzs-header .hzs-nav a::after {
	top: auto;
	right: 0.85rem;
	bottom: 0.45rem;
	left: 0.85rem;
	height: 1.5px;
	background: var(--accent-grow);
	opacity: 0;
	transform: none;
	transition: none;
}

body.hzs .hzs-header .hzs-nav a[aria-current="page"]::after,
body.hzs .hzs-header .hzs-nav .current-menu-item > a::after {
	opacity: 1;
}

html.hzs-moves body.hzs .hzs-header .hzs-nav.is-gliding a[aria-current="page"]::after,
html.hzs-moves body.hzs .hzs-header .hzs-nav.is-gliding .current-menu-item > a::after {
	opacity: 0;
}

.hzs-v4-glider {
	position: absolute;
	bottom: 0.45rem;
	left: 0;
	width: 1px;
	height: 1.5px;
	background: var(--accent-grow);
	opacity: 0;
	pointer-events: none;
	transform-origin: left center;
	transition: transform 320ms var(--hzs-v4-ease-glide), opacity 180ms var(--ease);
}

.hzs-v4-glider.is-ready {
	opacity: 1;
}

html:not(.hzs-moves) .hzs-v4-glider {
	display: none;
}

/* The right side: Book a free call, theme icon toggle, account and cart. */
body.hzs .hzs-header__actions {
	margin-left: auto;
}

/* The Book button keeps one border width and one weight in both states, so it does not change width
   when it turns green. The green state has a clear 1px border. */
body.hzs .hzs-header .hzs-header__book {
	border: 1px solid transparent;
	font-weight: 700;
}

/* Single emerald CTA above the fold: header CTA stays outlined until the Hero CTA scrolls past the header. */
body.hzs .hzs-header.hzs-bar:not(.is-cta-live) .hzs-header__book:not([aria-current="page"]) {
	background: transparent;
	border: 1px solid var(--border-outline);
	color: var(--text-strong);
}

body.hzs .hzs-header.hzs-bar:not(.is-cta-live) .hzs-header__book:not([aria-current="page"]):hover,
body.hzs .hzs-header.hzs-bar:not(.is-cta-live) .hzs-header__book:not([aria-current="page"]):focus-visible {
	background: var(--fill-soft);
	border-color: var(--text-strong);
	color: var(--text-strong);
}

/* Icon edition switch beside account/cart; stays hidden until JS enables it. */
body.hzs .hzs-header .hzs-v4-util--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--tap-min);
	min-height: var(--tap-min);
	padding: 0;
	border: 0;
	border-radius: var(--r-button);
	background: transparent;
	color: var(--text-body);
}

body.hzs .hzs-header .hzs-v4-util--icon[hidden] {
	display: none;
}

body.hzs .hzs-header .hzs-v4-util--icon:hover {
	color: var(--text-strong);
	background: var(--fill-soft);
}

body.hzs .hzs-v4-util--icon .hzs-edition__sun {
	display: none;
}

body.hzs .hzs-v4-util--icon .hzs-edition__moon {
	display: inline-flex;
}

:root[data-edition="dark"] body.hzs .hzs-v4-util--icon .hzs-edition__moon {
	display: none;
}

:root[data-edition="dark"] body.hzs .hzs-v4-util--icon .hzs-edition__sun {
	display: inline-flex;
}

@media (max-width: 1023px) {
	body.hzs .hzs-header .hzs-v4-util--icon {
		display: none;
	}
}

@media (max-width: 1023px) {
	body.hzs .hzs-header__nav {
		display: none;
	}

	body.hzs .hzs-header__book {
		flex: none;
		margin-right: 0.25rem;
		padding: 0.625rem;
		white-space: nowrap;
	}
}

/* The phone menu, as v4: the page color, 3rem rows, the two switches under the list. */
body.hzs .hzs-drawer {
	/* The open menu fills the screen under the bar, as v4 (the same measure as the drawer's max-height in site.css). */
	min-height: calc(100vh - 3.875rem);
	min-height: calc(100dvh - 3.875rem);
	background: var(--surface-a);
}

body.hzs .hzs-drawer__list a {
	min-height: 3rem;
	font-size: 1.25rem;
}

.hzs-drawer__switches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	padding-top: 1rem;
}

body.hzs .hzs-drawer .hzs-v4-sw {
	color: var(--text-strong);
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ==========================================================================
   The footer (docs/tools/theme-builder.php): v4's, with four link columns
   ========================================================================== */

.et_pb_section.hzs-footer {
	padding: 3.5rem calc(var(--edge) + var(--section-inline)) 2.75rem;
	border-top: 1px solid var(--line);
}

/* No three colored dashes above the tagline; the line is mono, in lilac, with dots between the phrases. */
.hzs-footer-tagline::before {
	display: none;
}

.et_pb_section.hzs-footer > .et_pb_row.hzs-footer-top {
	margin-bottom: 2.25rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.hzs-footer-grid {
	grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
	gap: 2.25rem;
}

@media (max-width: 1023px) {
	.hzs-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 1rem;
	}

	.hzs-footer-grid > :first-child {
		grid-column: 1 / -1;
	}
}

.hzs-socials ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.hzs .hzs-socials a {
	border-color: var(--border-control);
	color: var(--text-strong);
}

.hzs-socials a svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.hzs .hzs-socials a[href]::before {
	content: none;
}

body.hzs .hzs-socials a:hover {
	border-color: var(--accent-grow);
	color: var(--accent-grow);
}

.et_pb_section.hzs-footer > .et_pb_row.hzs-footer-base {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.hzs-footer-meta {
	font-family: var(--font-body);
	font-size: var(--fs-small);
	letter-spacing: 0;
	color: var(--text-muted);
}

.hzs-footer-meta .et_pb_text_inner {
	gap: 0.35rem 0.65rem;
}

.hzs-footer-meta p {
	margin: 0;
	padding: 0;
}

body.hzs .hzs-footer-meta a {
	color: var(--accent-grow);
	font-weight: 700;
	text-decoration: none;
}

body.hzs .hzs-footer-meta a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* ==========================================================================
   The closing band's second link, beside the green button
   ========================================================================== */

body.hzs .hzs-lean .et_pb_column.hzs-closing__act--two {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
}

/* ==========================================================================
   Home (docs/tools/pages/home.php), and the worlds band Transform shares (hzs_v4_worlds()).
   Each band is one Divi section with one block; the section is the band, the row is v4's column.
   Sizes are fixed rem with steps at 1024 and 640 (no vw, no vh): v4's clamp values at 1440.
   ========================================================================== */

/* The Divi parts around a band stand aside: the section is the band, the row is the column. */
body.hzs .et_pb_section.hzs-v4-band {
	padding: 4.75rem 0;
	background-color: var(--surface-a);
	color: var(--text-body);
}

body.hzs .et_pb_section.hzs-v4-band--alt {
	background-color: var(--surface-b);
}

body.hzs .et_pb_section.hzs-v4-band--tight {
	padding: 3.5rem 0;
}

body.hzs .et_pb_section.hzs-v4-band--hero {
	padding: 3rem 0 3.25rem;
	overflow-x: clip;
}

@media (max-width: 1023px) {
	body.hzs .et_pb_section.hzs-v4-band {
		padding: 3.25rem 0;
	}

	body.hzs .et_pb_section.hzs-v4-band--tight {
		padding: 2.5rem 0;
	}

	body.hzs .et_pb_section.hzs-v4-band--hero {
		padding: 1.75rem 0 2.5rem;
	}
}

body.hzs .hzs-v4-band > .et_pb_row.hzs-v4-wrap {
	width: auto;
	max-width: var(--frame);
	margin: 0 auto;
	padding: 0 var(--section-inline);
}

body.hzs .hzs-v4-band > .et_pb_row > .et_pb_column {
	width: 100%;
	margin: 0;
	padding: 0;
}

body.hzs .hzs-v4-band .hzs-v4-blk.et_pb_module {
	position: relative;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.hzs .hzs-v4-band .hzs-v4-blk .et_pb_code_inner {
	position: static;
	width: auto;
	margin: 0;
}


/* ---- Words: headings, the lead, the statement ---- */

body.hzs .hzs-v4-h1,
body.hzs .hzs-v4-h2,
body.hzs .hzs-v4-h3 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--text-strong);
	text-wrap: balance;
}

body.hzs .hzs-v4-h1 {
	max-width: 19ch;
	font-size: 2.125rem;
	line-height: 1.02;
	letter-spacing: -0.036em;
}

body.hzs .hzs-v4-h2 {
	max-width: 22ch;
	font-size: 1.875rem;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

body.hzs .hzs-v4-h3 {
	font-size: 1.375rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

@media (min-width: 640px) {
	body.hzs .hzs-v4-h1 {
		font-size: 2.75rem;
	}

	body.hzs .hzs-v4-h2 {
		font-size: 2.125rem;
	}
}

@media (min-width: 1024px) {
	body.hzs .hzs-v4-h1 {
		font-size: 3rem;
	}

	body.hzs .hzs-v4-h2 {
		font-size: 2.5rem;
	}
}

@media (min-width: 1200px) {
	body.hzs .hzs-v4-h1 {
		font-size: 3.375rem;
	}
}

body.hzs .hzs-v4-lead {
	max-width: 34ch;
	margin: 1.25rem 0 0;
	font-size: var(--fs-lead-hero);
	line-height: 1.6;
	color: var(--text-body);
}

body.hzs .hzs-v4-band--worlds .hzs-v4-lead {
	max-width: 44rem;
	margin-top: 1rem;
}

body.hzs .hzs-v4-statement {
	max-width: 34ch;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.24;
	letter-spacing: -0.028em;
	color: var(--text-strong);
}

/* The second sentence is the muted text color (4.5:1 or more on this surface in both editions), never opacity. */
body.hzs .hzs-v4-statement__muted {
	color: var(--text-muted);
}

@media (min-width: 640px) {
	body.hzs .hzs-v4-statement {
		font-size: 1.75rem;
	}
}

@media (min-width: 1024px) {
	body.hzs .hzs-v4-statement {
		font-size: 2.15rem;
	}
}

/* ---- The hero ---- */

body.hzs .hzs-v4-band--hero > .et_pb_row,
body.hzs .hzs-v4-band--hero > .et_pb_row > .et_pb_column,
body.hzs .hzs-v4-band--hero .hzs-v4-blk.et_pb_module {
	position: static;
}

/* Ambient hero canvas on every page: tailored pastel + soft surface tints in Light, rich aurora in Dark. */
body.hzs .et_pb_section.hzs-v4-band--hero {
	background-image:
		radial-gradient(64% 64% at 76% 14%, rgba(109, 40, 217, 0.14), transparent 72%),
		radial-gradient(54% 60% at 18% 24%, rgba(212, 175, 55, 0.15), transparent 72%),
		linear-gradient(180deg, #EEEBF6 0%, #F4F3EE 84%);
}

:root[data-edition="dark"] body.hzs .et_pb_section.hzs-v4-band--hero {
	background-image:
		radial-gradient(64% 58% at 72% 16%, rgba(167, 139, 250, 0.115), transparent 72%),
		radial-gradient(48% 52% at 22% 84%, rgba(245, 197, 66, 0.065), transparent 74%);
}

body.hzs .et_pb_section.hzs-v4-band--hero-home {
	padding-bottom: 4rem;
	background-image:
		radial-gradient(68% 58% at 54% 8%, rgba(124, 58, 237, 0.11), transparent 72%),
		radial-gradient(56% 54% at 86% 62%, rgba(212, 175, 55, 0.11), transparent 74%),
		linear-gradient(180deg, #EFECE6 0%, #F4F3EE 76%);
}

:root[data-edition="dark"] body.hzs .et_pb_section.hzs-v4-band--hero-home {
	background-image:
		radial-gradient(72% 54% at 50% 8%, rgba(124, 58, 237, 0.11), transparent 72%),
		radial-gradient(56% 52% at 86% 68%, rgba(245, 197, 66, 0.055), transparent 76%);
}

body.hzs .et_pb_section.hzs-v4-band--hero-build {
	background-image:
		radial-gradient(66% 68% at 76% 18%, rgba(109, 40, 217, 0.17), transparent 70%),
		radial-gradient(54% 64% at 18% 74%, rgba(212, 175, 55, 0.19), transparent 72%),
		linear-gradient(180deg, #EEEBF7 0%, #F3EFE8 54%, #F4F3EE 100%);
}

:root[data-edition="dark"] body.hzs .et_pb_section.hzs-v4-band--hero-build {
	background-image:
		radial-gradient(64% 58% at 68% 18%, rgba(124, 58, 237, 0.19), transparent 72%),
		radial-gradient(48% 54% at 20% 82%, rgba(245, 197, 66, 0.115), transparent 74%);
}

body.hzs .et_pb_section.hzs-v4-band--hero-grow {
	background-image:
		radial-gradient(66% 68% at 74% 18%, rgba(22, 163, 74, 0.20), transparent 70%),
		radial-gradient(54% 62% at 18% 76%, rgba(212, 175, 55, 0.18), transparent 72%),
		linear-gradient(180deg, #E8F2EA 0%, #EFF3EC 56%, #F4F3EE 100%);
}

:root[data-edition="dark"] body.hzs .et_pb_section.hzs-v4-band--hero-grow {
	background-image:
		radial-gradient(64% 58% at 72% 20%, rgba(34, 197, 94, 0.165), transparent 72%),
		radial-gradient(46% 52% at 18% 82%, rgba(167, 139, 250, 0.08), transparent 74%);
}

body.hzs .et_pb_section.hzs-v4-band--hero-transform {
	background-image:
		radial-gradient(66% 68% at 74% 18%, rgba(217, 155, 38, 0.22), transparent 70%),
		radial-gradient(54% 62% at 18% 76%, rgba(217, 70, 200, 0.13), transparent 72%),
		linear-gradient(180deg, #F5EFE4 0%, #F4EDF0 56%, #F4F3EE 100%);
}

:root[data-edition="dark"] body.hzs .et_pb_section.hzs-v4-band--hero-transform {
	background-image:
		radial-gradient(64% 58% at 72% 20%, rgba(245, 197, 66, 0.15), transparent 72%),
		radial-gradient(48% 52% at 18% 84%, rgba(242, 100, 234, 0.085), transparent 74%);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-edition]) body.hzs .et_pb_section.hzs-v4-band--hero {
		background-image:
			radial-gradient(64% 58% at 72% 16%, rgba(167, 139, 250, 0.115), transparent 72%),
			radial-gradient(48% 52% at 22% 84%, rgba(245, 197, 66, 0.065), transparent 74%);
	}

	:root:not([data-edition]) body.hzs .et_pb_section.hzs-v4-band--hero-home {
		background-image:
			radial-gradient(72% 54% at 50% 8%, rgba(124, 58, 237, 0.11), transparent 72%),
			radial-gradient(56% 52% at 86% 68%, rgba(245, 197, 66, 0.055), transparent 76%);
	}

	:root:not([data-edition]) body.hzs .et_pb_section.hzs-v4-band--hero-build {
		background-image:
			radial-gradient(64% 58% at 68% 18%, rgba(124, 58, 237, 0.19), transparent 72%),
			radial-gradient(48% 54% at 20% 82%, rgba(245, 197, 66, 0.115), transparent 74%);
	}

	:root:not([data-edition]) body.hzs .et_pb_section.hzs-v4-band--hero-grow {
		background-image:
			radial-gradient(64% 58% at 72% 20%, rgba(34, 197, 94, 0.165), transparent 72%),
			radial-gradient(46% 52% at 18% 82%, rgba(167, 139, 250, 0.08), transparent 74%);
	}

	:root:not([data-edition]) body.hzs .et_pb_section.hzs-v4-band--hero-transform {
		background-image:
			radial-gradient(64% 58% at 72% 20%, rgba(245, 197, 66, 0.15), transparent 72%),
			radial-gradient(48% 52% at 18% 84%, rgba(242, 100, 234, 0.085), transparent 74%);
	}
}

/* Radial-masked micro-dot depth layer inside hero bands: tinted drafting texture in Light, crisp pinpoint depth in Dark. */
body.hzs .hzs-v4-hero-dots {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(76, 29, 149, 0.22) 1.25px, transparent 1.25px);
	background-size: 26px 26px;
	mask-image: radial-gradient(ellipse 84% 78% at 50% 34%, #000 18%, transparent 78%);
	opacity: 0.52;
}

body.hzs .hzs-v4-band--hero-grow .hzs-v4-hero-dots {
	background-image: radial-gradient(rgba(21, 104, 50, 0.22) 1.25px, transparent 1.25px);
}

body.hzs .hzs-v4-band--hero-transform .hzs-v4-hero-dots {
	background-image: radial-gradient(rgba(122, 92, 0, 0.22) 1.25px, transparent 1.25px);
}

:root[data-edition="dark"] body.hzs .hzs-v4-band--hero .hzs-v4-hero-dots {
	background-image: radial-gradient(color-mix(in srgb, var(--text-strong) 18%, transparent) 1px, transparent 1px);
	opacity: 0.56;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-edition]) body.hzs .hzs-v4-band--hero .hzs-v4-hero-dots {
		background-image: radial-gradient(color-mix(in srgb, var(--text-strong) 18%, transparent) 1px, transparent 1px);
		opacity: 0.56;
	}
}

body.hzs .hzs-v4-hero {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 960px) {
	body.hzs .hzs-v4-hero {
		grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
		gap: 3.25rem;
	}
}

/* Home open typographic hero and Build pure solo hero: clean typographic lead without boxed hero frame. */
body.hzs .hzs-v4-hero--open,
body.hzs .hzs-v4-hero--solo {
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
}

body.hzs .hzs-v4-hero--open {
	gap: 2rem;
}

body.hzs .hzs-v4-hero--open .hzs-v4-hero__copy {
	max-width: 58rem;
}

body.hzs .hzs-v4-hero--open .hzs-v4-h1 {
	max-width: 19ch;
}

body.hzs .hzs-v4-hero--open .hzs-v4-lead {
	max-width: 44rem;
}

body.hzs .hzs-v4-hero--open .hzs-v4-meta {
	margin: 0;
	gap: 0.5rem 2.25rem;
	padding-top: 1.15rem;
}

body.hzs .hzs-v4-hero--solo .hzs-v4-hero__copy {
	max-width: 52rem;
	padding: 0.5rem 0 0.75rem;
}

body.hzs .hzs-v4-hero--solo .hzs-v4-h1 {
	max-width: 17ch;
}

/* Blended expanding 3-world blade showcase row beneath Home's open typographic hero. */
body.hzs .hzs-v4-spread {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

body.hzs .hzs-v4-blade {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-width: 0;
	min-height: 11.5rem;
	padding: 0;
	overflow: hidden;
	text-align: left;
	font: inherit;
	color: #F8F8F6;
	background-color: #0D0D20;
	border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
	border-radius: calc(var(--r-card) + 4px);
	box-shadow: 0 20px 44px -24px var(--shadow);
	cursor: pointer;
}

body.hzs .hzs-v4-blade.is-active {
	min-height: 15.5rem;
	border-color: color-mix(in srgb, var(--world-accent, var(--accent-primary)) 62%, transparent);
}

body.hzs .hzs-v4-blade img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.88;
}

body.hzs .hzs-v4-blade.is-active img {
	opacity: 1;
}

body.hzs .hzs-v4-blade__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 24, 0.06) 0%, rgba(10, 10, 24, 0.36) 44%, rgba(10, 10, 24, 0.90) 100%);
	pointer-events: none;
}

body.hzs .hzs-v4-blade__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	width: 100%;
	padding: 1rem 1.1rem 1.05rem;
}

body.hzs .hzs-v4-blade__tag {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--world-accent, #F5C542);
	/* A dark plate under the tag, so it reads over any photo. The negative margin lines the text up with the title. */
	display: block;
	width: fit-content;
	margin-left: -0.4rem;
	padding: 0.15rem 0.4rem;
	border-radius: 3px;
	background: rgb(10 10 24 / 0.5);
}

body.hzs .hzs-v4-blade__name {
	font-family: var(--font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.25;
	color: #F8F8F6;
}

body.hzs .hzs-v4-blade.is-active .hzs-v4-blade__name {
	font-size: 1.3125rem;
}

body.hzs .hzs-v4-blade__sub {
	display: none;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: rgba(248, 248, 246, 0.86);
}

body.hzs .hzs-v4-blade.is-active .hzs-v4-blade__sub,
html:not(.hzs-js) body.hzs .hzs-v4-blade__sub {
	display: block;
}

/* Scripts off: the menu button does nothing, so it is hidden. */
html:not(.hzs-js) .hzs-menu-toggle {
	display: none;
}

body.hzs .hzs-v4-blade[data-world="ent"] {
	--world-accent: #C7B5FF;
}

body.hzs .hzs-v4-blade[data-world="hos"] {
	--world-accent: #F5C542;
}

body.hzs .hzs-v4-blade[data-world="tra"] {
	--world-accent: #4ADE80;
}

body.hzs .hzs-v4-blade:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 2px;
}

@media (min-width: 900px) {
	body.hzs .hzs-v4-spread {
		flex-direction: row;
		align-items: stretch;
		height: 21.5rem;
	}

	body.hzs .hzs-v4-blade {
		flex: 1 1 0;
		min-height: 0;
	}

	body.hzs .hzs-v4-blade.is-active {
		flex: 2.35 1 0;
		min-height: 0;
	}

	body.hzs .hzs-v4-blade__body {
		padding: 1.1rem 1.2rem;
	}

	body.hzs .hzs-v4-blade.is-active .hzs-v4-blade__body {
		padding: 1.35rem 1.5rem;
	}
}

.hzs-moves body.hzs .hzs-v4-blade {
	transition:
		flex 520ms var(--hzs-v4-ease-glide),
		border-color 240ms var(--ease);
}

.hzs-moves body.hzs .hzs-v4-blade img {
	transition: opacity 380ms var(--ease), transform 620ms var(--hzs-v4-ease-glide);
}

@media (hover: hover) {
	.hzs-moves body.hzs .hzs-v4-blade:hover img {
		transform: scale(1.025);
		opacity: 0.98;
	}
}

body.hzs .hzs-v4-hero__copy .hzs-v4-eyebrow {
	margin-bottom: 1rem;
}

body.hzs .hzs-v4-hero__copy .hzs-v4-h1 {
	margin-bottom: 0;
}

body.hzs .hzs-v4-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.5rem;
	margin: 1.65rem 0 0;
	padding: 0.95rem 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: var(--fs-small);
	color: var(--text-muted);
}

body.hzs .hzs-v4-meta li {
	margin: 0;
	padding: 0;
}

body.hzs .hzs-v4-hero__stage {
	min-width: 0;
}

/* A soft tint behind the hero, from the theme's own colors, one for each world. Motion on: the
   tints fade into each other. Plain mode and less motion: no fade, and no change of its own. */
body.hzs .hzs-v4-atmo {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

body.hzs .hzs-v4-atmo span {
	position: absolute;
	inset: 0;
	opacity: 0;
}

/* Drawn size, wide soft glow spanning the open hero so both Light and Dark reflect the chosen world. */
body.hzs .hzs-v4-atmo {
	--hzs-v4-atmo-at: 56rem 28rem at 54% 46%;
}

body.hzs .hzs-v4-atmo__ent {
	background:
		radial-gradient(66rem 34rem at 64% 26%, rgba(124, 58, 237, 0.18), transparent 72%),
		radial-gradient(46rem 28rem at 22% 48%, rgba(242, 100, 234, 0.12), transparent 72%);
}

body.hzs .hzs-v4-atmo__hos {
	background:
		radial-gradient(66rem 34rem at 64% 26%, rgba(212, 175, 55, 0.23), transparent 72%),
		radial-gradient(46rem 28rem at 22% 48%, rgba(245, 197, 66, 0.16), transparent 72%);
}

body.hzs .hzs-v4-atmo__tra {
	background:
		radial-gradient(66rem 34rem at 64% 26%, rgba(22, 163, 74, 0.20), transparent 72%),
		radial-gradient(46rem 28rem at 22% 48%, rgba(212, 175, 55, 0.14), transparent 72%);
}

:root[data-edition="dark"] body.hzs .hzs-v4-atmo__ent {
	background: radial-gradient(var(--hzs-v4-atmo-at), rgba(199, 181, 255, 0.16), transparent 74%);
}

:root[data-edition="dark"] body.hzs .hzs-v4-atmo__hos {
	background: radial-gradient(var(--hzs-v4-atmo-at), rgba(245, 197, 66, 0.145), transparent 74%);
}

:root[data-edition="dark"] body.hzs .hzs-v4-atmo__tra {
	background: radial-gradient(var(--hzs-v4-atmo-at), rgba(74, 222, 128, 0.135), transparent 74%);
}

/* Only the scope holds the chosen world (site.js); each gallery tab carries its own data-world too,
   so a bare [data-world] matched all three and mixed them to grey. */
body.hzs .hzs-v4-band--hero:has([data-hzs-world-scope][data-world="ent"]) .hzs-v4-atmo__ent,
body.hzs .hzs-v4-band--hero:has([data-hzs-world-scope][data-world="hos"]) .hzs-v4-atmo__hos,
body.hzs .hzs-v4-band--hero:has([data-hzs-world-scope][data-world="tra"]) .hzs-v4-atmo__tra {
	opacity: 1;
}

.hzs-live body.hzs .hzs-v4-atmo span {
	transition: opacity 820ms var(--hzs-v4-ease-glide);
}

/* Photos in v4's frame sit flush to the column. */
body.hzs .hzs-v4-photo--flush {
	margin: 0;
}

/* ---- The doors ---- */

/* Keeps a short phrase such as "20-minute call" on one line (decision 349). */
body.hzs .hzs-nobr {
	white-space: nowrap;
}

/* Two-tone hero headline: the second half in the body text tone (Zen, decision 352; his exception to one colour per headline). */
body.hzs .hzs-v4-h1__quiet {
	color: var(--text-body);
}

body.hzs .hzs-v4-doors {
	margin-top: 2.5rem;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-doors__more {
	margin: 1.25rem 0 0;
}

body.hzs .hzs-v4-door {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 2rem;
	margin: 0 -1rem;
	padding: 1.85rem 1rem;
	/* The rule is drawn inside the row's own padding, so it stops at the page gutter. */
	background: linear-gradient(var(--line), var(--line)) no-repeat 1rem 100% / calc(100% - 2rem) 1px;
	color: var(--text-strong);
	text-decoration: none;
	overflow: hidden;
}

/* The light that follows the pointer (v4.js sets --mx and --my; motion on only). */
body.hzs .hzs-v4-door::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent-primary) 9%, transparent), transparent 70%);
	opacity: 0;
	pointer-events: none;
}

body.hzs .hzs-v4-door::after {
	content: "";
	position: absolute;
	right: 1rem;
	bottom: 0;
	left: 1rem;
	height: 2px;
	background: var(--accent-grow);
	opacity: 0;
	pointer-events: none;
}

.hzs-live body.hzs .hzs-v4-door::before {
	transition: opacity 260ms var(--ease);
}

.hzs-live body.hzs .hzs-v4-door::after {
	transform: scaleX(0);
	transform-origin: var(--mx-pct, 50%) center;
	opacity: 1;
	transition: transform 340ms var(--hzs-v4-ease-glide);
}

@media (hover: hover) {
	body.hzs .hzs-v4-door:hover::before {
		opacity: 1;
	}

	body.hzs .hzs-v4-door:hover::after {
		opacity: 1;
	}

	.hzs-live body.hzs .hzs-v4-door:hover::after {
		transform: scaleX(1);
	}
}

body.hzs .hzs-v4-door:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: -2px;
}

body.hzs .hzs-v4-door:focus-visible::after {
	opacity: 1;
	transform: scaleX(1);
}

body.hzs .hzs-v4-door__main,
body.hzs .hzs-v4-door__right {
	position: relative;
	z-index: 1;
}

/* BUILD / GROW / TRANSFORM sits above the big title. */
body.hzs .hzs-v4-door__main {
	display: flex;
	flex-direction: column;
}

body.hzs .hzs-v4-door__name {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.028em;
}

body.hzs .hzs-v4-door__tier {
	display: block;
	margin: 0 0 0.45rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-grow);
}

body.hzs .hzs-v4-door__sub {
	display: block;
	max-width: 34rem;
	margin-top: 0.45rem;
	font-size: var(--fs-body);
	line-height: 1.55;
	color: var(--text-muted);
	text-wrap: pretty;
}

@media (min-width: 640px) {
	body.hzs .hzs-v4-door__name {
		font-size: 1.75rem;
	}
}

@media (min-width: 1024px) {
	body.hzs .hzs-v4-door__name {
		font-size: 2.125rem;
	}
}

body.hzs .hzs-v4-door__right {
	display: flex;
	align-items: center;
	gap: 2rem;
}

/* The photo peeks on a wide screen when the row has the pointer or the keyboard. Whole, still, no tilt. */
body.hzs .hzs-v4-door__peek {
	display: none;
}

@media (min-width: 1024px) {
	body.hzs .hzs-v4-door__peek {
		display: block;
		width: 13.5rem;
		overflow: hidden;
		border: 1px solid var(--line);
		border-radius: var(--r-card);
		opacity: 0;
		pointer-events: none;
	}

	body.hzs .hzs-v4-door__peek img {
		display: block;
		width: 100%;
		height: auto;
	}

	.hzs-live body.hzs .hzs-v4-door__peek {
		transform: translate3d(12px, 6px, 0);
		transition: opacity 320ms var(--hzs-v4-ease-glide), transform 340ms var(--hzs-v4-ease-glide);
	}

	body.hzs .hzs-v4-door:focus-visible .hzs-v4-door__peek {
		opacity: 1;
		transform: none;
	}
}

@media (min-width: 1024px) and (hover: hover) {
	body.hzs .hzs-v4-door:hover .hzs-v4-door__peek {
		opacity: 1;
		transform: none;
	}
}

body.hzs .hzs-v4-door__arr {
	font-family: var(--font-mono);
	font-size: 1.45rem;
	color: var(--accent-grow);
}

/* Where the row is one column of text, the arrow sits on the title's line, not mid-row. */
@media (max-width: 1023px) {
	body.hzs .hzs-v4-door {
		align-items: start;
	}

	body.hzs .hzs-v4-door__arr {
		position: relative;
		top: 0.9rem;
	}
}

.hzs-live body.hzs .hzs-v4-door__arr,
.hzs-live body.hzs .hzs-v4-door__name {
	transition: transform 280ms var(--hzs-v4-ease-glide);
}

@media (hover: hover) {
	.hzs-live body.hzs .hzs-v4-door:hover .hzs-v4-door__arr {
		transform: translateX(8px);
	}

	.hzs-live body.hzs .hzs-v4-door:hover .hzs-v4-door__name {
		transform: translateX(6px);
	}
}

/* ---- Built for the real world: the tabs and the panels (shared with Transform) ---- */

body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) {
	margin-top: 2rem;
}

body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) .hzs-v4-tablist {
	gap: 0.4rem 2.15rem;
	margin-bottom: 2.25rem;
}

body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) .hzs-v4-tab {
	min-height: 3.1rem;
	padding: 0.4rem 0 0.5rem;
	font-family: var(--font-heading);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
}

@media (min-width: 1024px) {
	body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) .hzs-v4-tab {
		font-size: 1.5rem;
	}
}

body.hzs .hzs-v4-world {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

/* With no script every panel prints, stacked, so each carries its world's name. */
body.hzs .hzs-v4-world + .hzs-v4-world {
	margin-top: 3.5rem;
}

body.hzs .hzs-v4-world__name {
	grid-column: 1 / -1;
	margin: 0 0 -1rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-primary);
}

body.hzs [data-hzs-v4-tabs].is-tabbed .hzs-v4-world + .hzs-v4-world {
	margin-top: 0;
}

@media (min-width: 960px) {
	body.hzs .hzs-v4-world {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	}
}

body.hzs .hzs-v4-world[hidden] {
	display: none;
}

body.hzs .hzs-v4-world__photo {
	margin: 0;
}

body.hzs .hzs-v4-world .hzs-v4-h3::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 2px;
	margin-right: 0.65rem;
	vertical-align: middle;
	background: var(--accent-grow);
}

/* A heading that wraps hangs under its first word, not under the dash. */
body.hzs .hzs-v4-world .hzs-v4-h3 {
	padding-left: calc(14px + 0.65rem);
	text-indent: calc(-14px - 0.65rem);
}

body.hzs .hzs-v4-outcomes {
	margin: 1.5rem 0 1.5rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-outcomes li {
	margin: 0;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--text-body);
}

body.hzs .hzs-v4-outcomes strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: var(--font-heading);
	font-size: 1.09375rem;
	font-weight: 700;
	color: var(--text-strong);
}

/* The panel comes in with a short fade (motion on only). It is set only while the panel is shown (not .is-out),
   so the fade starts again each time a tab brings the panel back. */
.hzs-live body.hzs [data-hzs-v4-tabs].is-tabbed :is(.hzs-v4-world, .hzs-v4-scale):not(.is-out) {
	animation: hzs-v4-world-in 420ms var(--ease) both;
}

@keyframes hzs-v4-world-in {
	from {
		opacity: 0;
		transform: translate3d(0, 6px, 0);
	}
}

/* ---- The four steps and the gold rail ---- */

body.hzs .hzs-v4-process {
	position: relative;
	margin-top: 2.5rem;
}

body.hzs .hzs-v4-rail {
	position: relative;
	height: 2px;
	overflow: hidden;
	background: var(--line);
}

body.hzs .hzs-v4-rail__fill {
	position: absolute;
	inset: 0;
	background: var(--accent-gold);
	transform: scaleX(1);
	transform-origin: left center;
}

/* Motion on: the rail waits empty, then draws once when it is in view. Otherwise it is full. */
.hzs-live body.hzs .hzs-v4-process.is-armed .hzs-v4-rail__fill {
	transform: scaleX(0);
}

.hzs-live body.hzs .hzs-v4-process.is-drawn .hzs-v4-rail__fill {
	transform: scaleX(1);
	transition: transform 1400ms var(--hzs-v4-ease-glide);
}

body.hzs .hzs-v4-steps {
	display: grid;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.hzs .hzs-v4-steps li {
	margin: 0;
	padding: 1.15rem 0 0;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-steps__num {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--accent-gold);
}

body.hzs .hzs-v4-steps__title {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-strong);
}

body.hzs .hzs-v4-steps p {
	margin: 0;
	font-size: var(--fs-small);
	color: var(--text-muted);
}

@media (min-width: 860px) {
	body.hzs .hzs-v4-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.hzs .hzs-v4-steps li {
		padding-top: 1.35rem;
		border-top: 0;
	}
}

@media (max-width: 859px) {
	body.hzs .hzs-v4-rail {
		display: none;
	}
}

/* Links and buttons in a band: the page's link color would win over the class, so say the colors here. */
body.hzs a.hzs-v4-btn,
body.hzs a.hzs-v4-btn:hover {
	color: var(--button-primary-text);
	text-decoration: none;
}

body.hzs a.hzs-v4-btn--ghost,
body.hzs a.hzs-v4-btn--ghost:hover {
	color: var(--text-strong);
}

body.hzs a.hzs-v4-link,
body.hzs a.hzs-v4-link:hover {
	color: var(--accent-grow);
}

body.hzs a.hzs-v4-door,
body.hzs a.hzs-v4-door:hover {
	color: var(--text-strong);
}

@media (max-width: 480px) {
	body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) .hzs-v4-tablist {
		gap: 0.4rem 1.25rem;
	}

	body.hzs :is(.hzs-v4-worlds, .hzs-v4-scales) .hzs-v4-tab {
		font-size: 1.0625rem;
	}
}

@media (max-width: 480px) {
	body.hzs .hzs-v4-worlds .hzs-v4-tablist {
		gap: 0.4rem 1rem;
	}

	body.hzs .hzs-v4-worlds .hzs-v4-tab {
		font-size: 0.9375rem;
	}
}

/* Build's four size tabs on a phone: a 2 x 2 grid, each tab with its own underline, so the green line
   always marks the chosen tab (the sliding line cannot, when the tabs wrap to two rows). */
@media (max-width: 639px) {
	body.hzs .hzs-v4-scales .hzs-v4-tablist {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 1rem;
		border-bottom: 0;
	}

	body.hzs .hzs-v4-scales .hzs-v4-tab {
		text-align: left;
		border-bottom: 1px solid var(--line);
	}

	body.hzs .hzs-v4-scales .hzs-v4-tablist .hzs-v4-tab[aria-selected="true"] {
		border-bottom: 2px solid var(--accent-grow);
	}

	body.hzs .hzs-v4-scales .hzs-v4-tabglider {
		display: none;
	}
}

/* The first sentence of the band is its heading; it reads as one line of text with the second. */
body.hzs .hzs-v4-statement__h {
	display: inline;
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

/* ---- Build (docs/tools/pages/build.php): the top, the fold, the fine print, the size picker ---- */

@media (min-width: 960px) {
	body.hzs .hzs-v4-hero--inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	}
}

body.hzs .hzs-v4-lead--wide {
	max-width: 44rem;
	margin-top: 1rem;
}

body.hzs .hzs-v4-fine {
	margin: 1rem 0 0;
	font-size: var(--fs-small);
	color: var(--text-muted);
}

body.hzs .hzs-v4-fold {
	max-width: 40rem;
	margin-top: 1rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

body.hzs .hzs-v4-fold summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--tap-min);
	font-size: var(--fs-small);
	font-weight: 700;
	color: var(--text-strong);
	cursor: pointer;
	list-style: none;
}

body.hzs .hzs-v4-fold summary::-webkit-details-marker {
	display: none;
}

/* One drawn plus that turns to a cross, like the questions' (Google review 3: turn, do not swap). */
body.hzs .hzs-v4-fold summary::after {
	content: "";
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	background: var(--accent-grow);
	-webkit-mask: var(--hzs-plus) center / contain no-repeat;
	mask: var(--hzs-plus) center / contain no-repeat;
	transition: rotate var(--d-move) var(--ease);
}

body.hzs .hzs-v4-fold[open] summary::after {
	rotate: 45deg;
}

body.hzs .hzs-v4-fold p {
	margin: 0;
	padding-bottom: 1rem;
	font-size: var(--fs-small);
	color: var(--text-muted);
}

/* The size picker: with no script each size prints in turn under its own heading. */
body.hzs .hzs-v4-scale {
	display: grid;
	gap: 2rem;
	align-items: start;
}

body.hzs .hzs-v4-scale + .hzs-v4-scale {
	margin-top: 3.5rem;
}

body.hzs [data-hzs-v4-tabs].is-tabbed .hzs-v4-scale + .hzs-v4-scale {
	margin-top: 0;
}

/* Not for hidden="until-found" (v4.js, Build's sizes): display none would stop Ctrl+F finding it. */
body.hzs .hzs-v4-scale[hidden]:not([hidden="until-found"]) {
	display: none;
}

/* A size found or picked fades in again: its animation starts over when it shows. */
.hzs-live body.hzs [data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel][hidden] {
	animation: none;
}

@media (min-width: 900px) {
	body.hzs .hzs-v4-scale {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 3.25rem;
	}
}

body.hzs .hzs-v4-scale__name {
	grid-column: 1 / -1;
	margin: 0 0 -0.75rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-primary);
}

body.hzs .hzs-v4-scale__desc {
	max-width: 36rem;
	margin: 0.75rem 0 0;
	font-size: var(--fs-lead-hero);
	color: var(--text-body);
}

body.hzs .hzs-v4-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 1rem;
	margin: 1.5rem 0 0;
	padding: 1.15rem 0 0;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-facts dt {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
}

body.hzs .hzs-v4-facts dd {
	margin: 0.25rem 0 0;
	font-weight: 700;
	color: var(--text-strong);
}

body.hzs .hzs-v4-bullets {
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-bullets li {
	position: relative;
	margin: 0;
	padding: 0.8rem 0 0.8rem 1.3rem;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-small);
	color: var(--text-strong);
}

body.hzs .hzs-v4-bullets li::before {
	content: "";
	position: absolute;
	top: 1.24rem;
	left: 0;
	width: 6px;
	height: 6px;
	background: var(--accent-grow);
}

/* ---- The closing band on every page: v4's .closing (the words start on the column, the second link beside the button) ---- */

body.hzs .et_pb_section.hzs-closing.hzs-closing {
	padding: 3.75rem 0;
	background-image: radial-gradient(56% 70% at 50% 0, rgba(21, 104, 50, 0.07), transparent 72%);
}

:root[data-edition="light"] body.hzs .et_pb_section.hzs-closing.hzs-closing {
	background-image: radial-gradient(56% 70% at 50% 0, rgba(245, 197, 66, 0.08), transparent 72%);
}

@media (prefers-color-scheme: light) {
	:root:not([data-edition]) body.hzs .et_pb_section.hzs-closing.hzs-closing {
		background-image: radial-gradient(56% 70% at 50% 0, rgba(245, 197, 66, 0.08), transparent 72%);
	}
}

body.hzs .hzs-lean > .et_pb_row.hzs-closing__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	width: auto;
	max-width: var(--frame);
	margin: 0 auto;
	padding: 0 var(--section-inline);
}

body.hzs .hzs-lean > .et_pb_row.hzs-closing__row > .et_pb_column {
	width: auto;
	margin: 0;
	padding: 0;
}

@media (max-width: 1023px) {
	body.hzs .et_pb_section.hzs-closing.hzs-closing {
		padding: 3rem 0;
	}
}

body.hzs .hzs-v4-row__body p {
	max-width: 40rem;
	margin: 0 0 0.75rem;
}

body.hzs .hzs-v4-row__body p:last-child {
	margin-bottom: 0;
}

/* ---- Grow, Transform, About and Book (stages 4 and 5) ---- */

body.hzs .hzs-v4-sub {
	max-width: 34rem;
	margin: 0.65rem 0 0;
	font-size: var(--fs-small);
	line-height: 1.55;
	color: var(--text-muted);
}

/* Grow: two open columns under the heading, a short green rule on each hairline. */
body.hzs .hzs-v4-cols {
	display: grid;
	gap: 2.25rem;
	margin-top: 2.25rem;
}

@media (min-width: 820px) {
	body.hzs .hzs-v4-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3.25rem;
	}
}

body.hzs .hzs-v4-col {
	position: relative;
	padding-top: 1.5rem;
	border-top: 2px solid var(--line);
}

body.hzs .hzs-v4-col::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 3.25rem;
	height: 2px;
	background: var(--accent-grow);
}

body.hzs .hzs-v4-col p {
	max-width: 34rem;
	margin: 0.75rem 0 0;
}

/* About: the story beside the facts, and the hairline readout (Book uses the readout too). */
body.hzs .hzs-v4-story {
	max-width: 34rem;
}

body.hzs .hzs-v4-story .hzs-v4-lead {
	max-width: none;
}

body.hzs .hzs-v4-story p:not(.hzs-v4-lead) {
	margin: 1rem 0 0;
}

body.hzs .hzs-v4-readout {
	margin: 1.25rem 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-v4-readout > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--tap-min);
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-small);
}

body.hzs .hzs-v4-readout dt {
	flex: none;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
}

body.hzs .hzs-v4-readout dd {
	margin: 0;
	font-weight: 700;
	color: var(--text-strong);
	text-align: right;
}

/* A phone: each fact is a label and its value side by side, values to the left, so a long value wraps tidily. */
@media (max-width: 639px) {
	body.hzs .hzs-v4-readout > div {
		display: grid;
		grid-template-columns: 6.5rem minmax(0, 1fr);
		align-items: baseline;
		gap: 0 1rem;
	}

	body.hzs .hzs-v4-readout dd {
		text-align: left;
	}
}

/* A very small screen: the label sits above its value, so a long email stays inside the column. */
@media (max-width: 359px) {
	body.hzs .hzs-v4-readout > div {
		grid-template-columns: 1fr;
	}
}

body.hzs a.hzs-v4-mail,
body.hzs a.hzs-v4-mail:hover {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap-min);
	color: var(--accent-grow);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Book: the title, the form, the readout. A phone stacks them in that order; from 1024px the readout
   stands under the title and the form at the right. */
body.hzs .hzs-v4-book {
	display: grid;
	gap: 2rem;
	align-items: start;
}

/* The facts below start with their own hairline, so the steps do not draw a second one. */
body.hzs .hzs-v4-book__steps {
	margin-bottom: 1.75rem;
	padding-bottom: 0;
	border-bottom: 0;
}

body.hzs .hzs-v4-book__sub {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-strong);
}

body.hzs .hzs-v4-book__list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding-bottom: 0;
	padding-left: 1.25rem;
	list-style-position: outside;
	font-size: var(--fs-small);
	line-height: 1.55;
	color: var(--text-body);
}

body.hzs .hzs-v4-book__facts .hzs-v4-readout {
	margin-top: 0;
}

/* Prices & Ways to pay in v4: calm spacing, "Most chosen" anchor, and Best-for cues. */
body.hzs .hzs-v4-band .hzs-cut {
	margin-top: 2rem;
}

body.hzs .hzs-v4-band .hzs-chart thead th {
	vertical-align: bottom;
}

body.hzs .hzs-v4-band .hzs-chart thead th.is-top,
body.hzs .hzs-v4-band .hzs-chart tbody td.is-top {
	background: color-mix(in srgb, var(--accent-gold) 7%, transparent);
}

body.hzs .hzs-chart__tag,
body.hzs .hzs-pack__tag {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-strong);
}

body.hzs .hzs-chart__best,
body.hzs .hzs-pack__best {
	display: block;
	margin-top: 0.25rem;
	font-size: var(--fs-small);
	font-weight: 400;
	line-height: 1.45;
	color: var(--text-muted);
}

body.hzs .hzs-pack__best {
	margin-bottom: 0.75rem;
}

body.hzs .hzs-pack__act {
	margin-top: 0.85rem;
}

/* "Most chosen" gets the same soft gold fill as its column in the chart, running a little past the text
   (the same inset on both sides), so its tag lines up with the other cards. */
body.hzs .hzs-v4-band .hzs-pack.is-top,
body.hzs .hzs-lean .hzs-pack.is-top {
	margin-inline: -1rem;
	padding-inline: 1rem;
	border-color: var(--accent-gold);
	background: color-mix(in srgb, var(--accent-gold) 7%, transparent);
}

body.hzs .hzs-v4-payline {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

/* A fold right above the pay line: one hairline between them, not two. */
body.hzs .hzs-v4-fold + .hzs-v4-payline {
	padding-top: 0;
	border-top: 0;
}

body.hzs .hzs-v4-payline p + p {
	margin-top: 0.35rem;
}

@media (min-width: 1024px) {
	body.hzs .hzs-v4-book {
		grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
		grid-template-areas: "head form" "facts form";
		grid-template-rows: auto 1fr;
		gap: 2rem 3.75rem;
	}

	body.hzs .hzs-v4-book__head {
		grid-area: head;
	}

	body.hzs .hzs-v4-book__form {
		grid-area: form;
	}

	body.hzs .hzs-v4-book__facts {
		grid-area: facts;
	}
}

/* ==========================================================================
   Google review 2, pass 2 (2026-11-25): world colors, softer photo corners, steady tabs
   ========================================================================== */

/* Each world has its own accent for small lines and soft light only (never headline text):
   Entertainment lilac, Hospitality gold, Transportation green. A panel takes its own world's
   color (so it holds with no script); the tab box and the Home hero take the chosen one. */
body.hzs {
	--world-accent: var(--accent-grow);
	--photo-top-catch: rgba(20, 20, 38, 0.22);
}

:root[data-edition="dark"] body.hzs {
	--photo-top-catch: rgba(248, 248, 245, 0.28);
}

body.hzs :is(.hzs-v4-world[data-key="ent"], .hzs-v4-worlds[data-on="ent"], [data-hzs-world-scope][data-world="ent"]) {
	--world-accent: var(--accent-primary);
	--world-wash: rgba(109, 40, 217, 0.055);
}

body.hzs :is(.hzs-v4-world[data-key="hos"], .hzs-v4-worlds[data-on="hos"], [data-hzs-world-scope][data-world="hos"]) {
	--world-accent: var(--accent-gold);
	--world-wash: rgba(212, 175, 55, 0.075);
}

body.hzs :is(.hzs-v4-world[data-key="tra"], .hzs-v4-worlds[data-on="tra"], [data-hzs-world-scope][data-world="tra"]) {
	--world-accent: var(--accent-grow);
	--world-wash: rgba(21, 104, 50, 0.055);
}

:root[data-edition="dark"] body.hzs :is(.hzs-v4-worlds[data-on="ent"], [data-hzs-world-scope][data-world="ent"]) {
	--world-wash: rgba(199, 181, 255, 0.105);
}

:root[data-edition="dark"] body.hzs :is(.hzs-v4-worlds[data-on="hos"], [data-hzs-world-scope][data-world="hos"]) {
	--world-wash: rgba(245, 197, 66, 0.1);
}

:root[data-edition="dark"] body.hzs :is(.hzs-v4-worlds[data-on="tra"], [data-hzs-world-scope][data-world="tra"]) {
	--world-wash: rgba(74, 222, 128, 0.095);
}

body.hzs .hzs-v4-world .hzs-v4-h3::before {
	background: var(--world-accent);
}

/* Soft top border catch for framed photos without corner brackets. */
.hzs-v4-photo img {
	border-top-color: var(--photo-top-catch);
}

/* Native scroll-driven settle (per modern-web-guidance: view() timeline after animation shorthand,
   never leaving content dim on partial scroll). */
@media (prefers-reduced-motion: no-preference) {
	@supports ((animation-timeline: view()) and (animation-range: entry)) {
		@keyframes hzs-v4-band-settle {
			from {
				opacity: 0.90;
				transform: translateY(10px);
			}

			to {
				opacity: 1;
				transform: translateY(0);
			}
		}

		.hzs-moves body.hzs .hzs-v4-band:not(.hzs-v4-band--hero) .hzs-v4-wrap {
			animation: hzs-v4-band-settle linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 20%;
		}
	}
}

/* Tabs (v4.js): every panel sits in one grid cell, so the box keeps its height when the tab
   changes; the others are out of sight and out of reach. With no script every panel prints. */
[data-hzs-v4-tabs].is-tabbed {
	display: grid;
	isolation: isolate;
}

[data-hzs-v4-tabs].is-tabbed > .hzs-v4-tablist {
	grid-area: 1 / 1;
}

[data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel] {
	grid-area: 2 / 1;
}

[data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel].is-out {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

/* A panel kept hidden for find-in-page still sits in the grid cell: let taps pass through to the open panel. */
[data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel][hidden="until-found"] {
	pointer-events: none;
}

html.hzs-moves [data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel] {
	transition: opacity 320ms var(--ease), visibility 0s linear 0s;
}

html.hzs-moves [data-hzs-v4-tabs].is-tabbed > [data-hzs-v4-panel].is-out {
	transition: opacity 200ms var(--ease), visibility 0s linear 200ms;
}

/* The worlds' soft light sits behind the chosen panel. */
body.hzs .hzs-v4-worlds.is-tabbed::before {
	content: "";
	z-index: -1;
	grid-area: 2 / 1;
	margin: -3rem 0;
	background: radial-gradient(closest-side, var(--world-wash, transparent), transparent);
	pointer-events: none;
}

/* Wide screens have room for the light to spread past the column (no sideways scroll below). */
@media (min-width: 1280px) {
	body.hzs .hzs-v4-worlds.is-tabbed::before {
		margin: -3rem -2rem;
	}
}

/* The chosen tab's line glides to it (transform only; it jumps in Plain mode). */
.hzs-v4-tablist.has-glider {
	position: relative;
}

.hzs-v4-tablist.has-glider .hzs-v4-tab[aria-selected="true"] {
	border-bottom-color: transparent;
}

.hzs-v4-tabglider {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 1px;
	height: 2px;
	background: var(--world-accent, var(--accent-grow));
	transform-origin: left center;
	pointer-events: none;
}

html.hzs-moves .hzs-v4-tabglider {
	transition: transform 420ms var(--ease);
}

/* Small finish: the hero lead balances its last line; the footer switches in mono capitals
   like the header's. (The side labels moved out to -2.5rem above.) */
body.hzs .hzs-v4-lead {
	text-wrap: pretty;
}

body.hzs .hzs-footer-switches :is(button, a) {
	text-transform: uppercase;
}

@media (forced-colors: active) {
	.hzs-v4-btn {
		border: 1px solid LinkText;
	}

	button.hzs-v4-btn {
		border-color: ButtonText;
	}

	.hzs-v4-glider,
	.hzs-v4-tabglider {
		display: none;
	}

	.hzs-v4-tablist.has-glider .hzs-v4-tab[aria-selected="true"] {
		border-bottom-color: Highlight;
	}

	body.hzs .hzs-header .hzs-nav a[aria-current="page"]::after,
	body.hzs .hzs-header .hzs-nav .current-menu-item > a::after {
		opacity: 1;
		background: Highlight;
		forced-color-adjust: none;
	}

	.hzs-v4-bullets li::before,
	.hzs-v4-rail__fill {
		background: CanvasText;
		forced-color-adjust: none;
	}
}
