/* Eazy Labz: tokens, sections, components, tools. BEM, mobile-first where practical. */
:root {
	--ez-navy: #060627;
	--ez-indigo: #151284;
	--ez-indigo-bright: #3d30f5;
	--ez-offwhite: #f9f9fc;
	--ez-alt: #f1f0fa;
	--ez-ink: #0b0a24;
	--ez-muted-dark: #b2aee0;
	--ez-muted-light: #55527f;
	--ez-line-dark: rgba(249, 249, 252, 0.16);
	--ez-line-light: rgba(6, 6, 39, 0.14);
	--ez-head: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
	--ez-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
	--ez-wrap: 1180px;
	--ez-radius: 3px;
	--ez-gutter: clamp(20px, 5vw, 56px);
	--ez-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html { scroll-behavior: smooth; }

/* ---------- Header and footer (keeps the off-white logo visible) ---------- */
.ezl-dark-chrome:not(.transparent-header):not(.ezl-light-header) .site-header-row-container-inner,
.ezl-dark-chrome .site-footer .site-footer-row-container-inner,
.ezl-dark-chrome .site-footer-wrap .site-footer-row-container-inner { background: var(--ez-navy); }
.ezl-dark-chrome .site-header .header-navigation .header-menu-container > ul > li.menu-item > a,
.ezl-dark-chrome .site-header .menu-toggle-open,
.ezl-dark-chrome .site-header .site-title a { color: var(--ez-offwhite); }
.ezl-dark-chrome .site-header .header-navigation .header-menu-container > ul > li.menu-item > a:hover { color: var(--ez-muted-dark); }
.ezl-dark-chrome .site-header .item-is-stuck .site-header-row-container-inner {
	background: rgba(6, 6, 39, 0.94) !important;
	backdrop-filter: blur(12px);
}
.ezl-dark-chrome .site-footer, .ezl-dark-chrome .site-footer p, .ezl-dark-chrome .site-footer li { color: var(--ez-muted-dark); }
.ezl-dark-chrome .site-footer a { color: var(--ez-muted-dark); }
.ezl-dark-chrome .site-footer a:hover { color: var(--ez-offwhite); }

/* ---------- Layout primitives ---------- */
/* Side padding lives on the section (always applied); the inner wrapper only limits width and centers. */
.ez-section, .entry-content .ez-section {
	box-sizing: border-box !important;
	margin-block: 0;
	padding-top: clamp(64px, 9vw, 120px);
	padding-bottom: clamp(64px, 9vw, 120px);
	/* !important: Kadence and core full-width rules otherwise zero these out and push text against the screen edge. */
	padding-left: var(--ez-gutter, 24px) !important;
	padding-right: var(--ez-gutter, 24px) !important;
}
.ez-section.alignfull { max-width: none; }
.ez-section .ez-wrap, .ez-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ez-wrap);
	margin-inline: auto !important;
	padding-inline: 0 !important;
}
.ez-wrap > * { margin-block: 0; }
.ez-wrap > * + * { margin-top: 1.1rem; }
.ez-section--dark { background: var(--ez-navy); color: var(--ez-offwhite); }
.ez-section--indigo { background: var(--ez-indigo); color: var(--ez-offwhite); }
.ez-section--light { background: var(--ez-offwhite); color: var(--ez-ink); }
.ez-section--alt { background: var(--ez-alt); color: var(--ez-ink); }

.ez-section h1, .ez-section h2, .ez-section h3, .ez-single h2, .ez-calc h3, .ez-seo h3 {
	font-family: var(--ez-head);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.04;
	margin-bottom: 0;
}
.ez-section--dark :is(h1, h2, h3, p), .ez-section--indigo :is(h1, h2, h3, p) { color: var(--ez-offwhite); }
.ez-section--light :is(h1, h2, h3, p), .ez-section--alt :is(h1, h2, h3, p) { color: var(--ez-ink); }
.ez-section__title, .ez-cta__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 22ch; }
.ez-section__lead { max-width: 56ch; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.ez-section--dark .ez-section__lead, .ez-section--indigo .ez-section__lead { color: var(--ez-muted-dark); }
.ez-section--light .ez-section__lead, .ez-section--alt .ez-section__lead { color: var(--ez-muted-light); }
.ez-section__lead { margin-bottom: clamp(32px, 5vw, 56px) !important; }
.ez-eyebrow { font-size: 0.9rem; font-weight: 500; color: var(--ez-muted-dark) !important; }

/* ---------- Hero ---------- */
.ez-hero, .ez-pagehero { position: relative; overflow: hidden; }
.entry-content .ez-hero, .ez-hero { padding-top: clamp(150px, 18vw, 220px); padding-bottom: clamp(80px, 10vw, 130px); }
.entry-content .ez-pagehero { padding-top: clamp(140px, 16vw, 190px); padding-bottom: clamp(60px, 8vw, 100px); }
.ez-hero::before, .ez-pagehero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(640px circle at var(--mx, 78%) var(--my, 18%), rgba(21, 18, 132, 0.6), transparent 62%);
	pointer-events: none;
}
.ez-hero .ez-wrap, .ez-pagehero .ez-wrap { position: relative; }
.ez-hero__title { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 14ch; }
.ez-pagehero__title { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; }
.ez-hero__title em { font-style: normal; color: var(--ez-muted-dark); }
.ez-hero__lead, .ez-pagehero__lead { max-width: 54ch; color: var(--ez-muted-dark) !important; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.ez-hero__actions { margin-top: 2rem !important; }

/* ---------- Buttons ---------- */
.ez-section .wp-block-button__link, .ez-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 0.85rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--ez-radius);
	font-family: var(--ez-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	z-index: 0;
	transition: color 0.35s var(--ez-ease), border-color 0.35s var(--ez-ease);
}
.ez-section .wp-block-button__link::before, .ez-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--ez-indigo-bright);
	transform: translateY(101%);
	transition: transform 0.45s var(--ez-ease);
	z-index: -1;
}
.ez-section .wp-block-button__link:hover::before, .ez-btn:hover::before { transform: none; }
.ez-btn--solid .wp-block-button__link { background: var(--ez-offwhite); color: var(--ez-navy); }
.ez-btn--solid .wp-block-button__link:hover { color: var(--ez-offwhite); }
.ez-section--light .ez-btn--solid .wp-block-button__link, .ez-section--alt .ez-btn--solid .wp-block-button__link { background: var(--ez-indigo); color: var(--ez-offwhite); }
.ez-btn--ghost .wp-block-button__link { background: transparent; color: var(--ez-offwhite); border-color: var(--ez-muted-dark); }
.ez-btn--ghost .wp-block-button__link:hover { border-color: var(--ez-indigo-bright); }
.ez-btn--primary { background: var(--ez-indigo); color: var(--ez-offwhite); cursor: pointer; }
.ez-btn--primary:hover { color: var(--ez-offwhite); }
.ez-btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Ticker ---------- */
.ez-ticker { background: var(--ez-indigo); color: var(--ez-offwhite); overflow: hidden; padding: 16px 0; }
.ez-ticker__track { display: flex; width: max-content; }
.ez-ticker__item {
	display: inline-flex;
	align-items: center;
	padding: 0 28px;
	font-family: var(--ez-head);
	font-size: 1.05rem;
	font-weight: 600;
	white-space: nowrap;
}
.ez-ticker__item::after { content: ''; width: 6px; height: 6px; margin-left: 56px; border-radius: 50%; background: var(--ez-muted-dark); }

/* ---------- Services tracks, steps, stats, tool cards ---------- */
.ez-tracks, .ez-steps, .ez-stats, .ez-toolcards { gap: clamp(28px, 5vw, 72px); }
.ez-track__title { font-weight: 600; color: var(--ez-indigo) !important; font-family: var(--ez-head); font-size: 1.1rem; margin-bottom: 0.5rem !important; }
.ez-item { padding: 22px 0; border-top: 1px solid var(--ez-line-light); }
.ez-item:last-child { border-bottom: 1px solid var(--ez-line-light); }
.ez-item h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); transition: color 0.25s ease; }
.ez-item:hover h3 { color: var(--ez-indigo); }
.ez-item p { margin-top: 0.4rem; color: var(--ez-muted-light) !important; font-size: 0.97rem; max-width: 42ch; }
.ez-step__num { font-family: var(--ez-head); font-weight: 700; color: var(--ez-indigo-bright) !important; }
.ez-section--dark .ez-step__num { color: var(--ez-muted-dark) !important; }
.ez-steps h3 { font-size: 1.35rem; margin: 0.4rem 0 0.5rem; }
.ez-steps p:last-child { color: var(--ez-muted-light) !important; font-size: 0.95rem; }
.ez-section--dark .ez-steps p:last-child { color: var(--ez-muted-dark) !important; }
.ez-stat__num { font-family: var(--ez-head); font-weight: 700; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; }
.ez-stat__label { margin-top: 0.5rem; color: var(--ez-muted-dark) !important; max-width: 24ch; }
.ez-toolcard { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); transition: transform 0.5s var(--ez-ease), box-shadow 0.5s var(--ez-ease); }
.ez-toolcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(21, 18, 132, 0.45); }
.ez-toolcard > * + * { margin-top: 0.9rem; }
.ez-mission { font-family: var(--ez-head); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.25; max-width: 30ch; font-weight: 600; }
.ez-faq details { border-top: 1px solid var(--ez-line-light); padding: 18px 0; }
.ez-faq details:last-child { border-bottom: 1px solid var(--ez-line-light); }
.ez-faq summary { cursor: pointer; font-family: var(--ez-head); font-weight: 600; font-size: 1.15rem; }
.ez-faq details p { margin-top: 0.7rem; color: var(--ez-muted-light); max-width: 60ch; }
.ez-formcard { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); }
.ez-empty { color: var(--ez-muted-light); padding: 24px 0; }

/* ---------- Work grid and cards ---------- */
.ez-work__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.ez-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.ez-filter__btn { font: inherit; font-size: 0.9rem; padding: 8px 18px; background: transparent; color: var(--ez-ink); border: 1px solid var(--ez-line-light); border-radius: 999px; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.ez-filter__btn:hover { border-color: var(--ez-indigo); }
.ez-filter__btn.is-active { background: var(--ez-indigo); color: var(--ez-offwhite); border-color: var(--ez-indigo); }
.ez-card.is-hidden { display: none; }
.ez-card__link { display: block; text-decoration: none; color: inherit; }
.ez-card__media { position: relative; aspect-ratio: 45 / 32; overflow: hidden; border-radius: var(--ez-radius); background: var(--ez-indigo); }
.ez-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ez-ease); }
.ez-card:hover .ez-card__media img { transform: scale(1.06); }
.ez-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--ez-indigo) 0%, var(--ez-navy) 100%); }
.ez-card__placeholder span { font-family: var(--ez-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: rgba(249, 249, 252, 0.88); transition: transform 0.6s var(--ez-ease); }
.ez-card:hover .ez-card__placeholder span { transform: scale(1.1); }
.ez-card__body { padding-top: 16px; }
.ez-card__tags { margin: 0 0 6px !important; font-size: 0.85rem; color: var(--ez-muted-light) !important; }
.ez-card__title { margin: 0 !important; font-family: var(--ez-head); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.12; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ez-ease); display: inline; }
.ez-card:hover .ez-card__title { background-size: 100% 2px; }
.ez-card__metric { margin: 10px 0 0 !important; font-size: 0.95rem; color: var(--ez-muted-light) !important; }
.ez-card__metric strong { color: var(--ez-indigo); font-family: var(--ez-head); font-size: 1.15rem; }
.ez-section--dark .ez-card__tags, .ez-section--dark .ez-card__metric { color: var(--ez-muted-dark) !important; }
.ez-section--dark .ez-card__title { color: var(--ez-offwhite) !important; }
.ez-section--dark .ez-card__metric strong { color: var(--ez-offwhite); }
.ez-section--dark .ez-filter__btn { color: var(--ez-offwhite); border-color: var(--ez-line-dark); }

/* ---------- Single project / case study ---------- */
.ez-demo-note { padding: 10px 14px; background: #fff7e0; border: 1px solid #f0d78a; border-radius: var(--ez-radius); font-size: 0.9rem; color: #5a4600; }
.ez-single { margin-bottom: 2.5rem; }
.ez-single__bar { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 18px 0; margin: 0 0 2rem; list-style: none; border-block: 1px solid var(--ez-line-light); }
.ez-single__bar li { display: flex; flex-direction: column; gap: 2px; }
.ez-single__bar span { font-size: 0.82rem; color: var(--ez-muted-light); }
.ez-single__bar strong { font-family: var(--ez-head); font-size: 1.05rem; }
.ez-single__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding: clamp(24px, 4vw, 44px); margin-bottom: 2rem; background: var(--ez-navy); border-radius: var(--ez-radius); }
.ez-single__results .ez-stat__num { color: var(--ez-offwhite); font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; }
.ez-single__results .ez-stat__label { margin: 0.4rem 0 0; font-size: 0.92rem; }
.ez-single__story { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-bottom: 1rem; }
.ez-single__story h2, .ez-single__related h2, .ez-single__cta h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.ez-single__related { margin-top: 4rem; }
.ez-single__cta { margin-top: 4rem; padding: clamp(28px, 5vw, 56px); background: var(--ez-alt); border-radius: var(--ez-radius); }

/* ---------- Forms ---------- */
.ez-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; margin-bottom: 16px; }
.ez-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 500; color: var(--ez-ink); }
.ez-field input, .ez-field select, .ez-field textarea, .ez-url-input {
	font: inherit; font-weight: 400; width: 100%; padding: 12px 14px; color: var(--ez-ink); background: #fff;
	border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); transition: border-color 0.2s, box-shadow 0.2s;
}
.ez-field input:focus, .ez-field select:focus, .ez-field textarea:focus, .ez-url-input:focus { outline: none; border-color: var(--ez-indigo); box-shadow: 0 0 0 3px rgba(21, 18, 132, 0.15); }
.ez-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ez-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 0.9rem; color: var(--ez-muted-light); }
.ez-form__status { min-height: 1.4em; margin: 12px 0 0; font-size: 0.95rem; }
.ez-form__status.is-ok { color: #0a6b3b; }
.ez-form__status.is-err { color: #b3261e; }

/* ---------- Tools ---------- */
.ez-tool { background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); padding: clamp(20px, 3vw, 40px); }
.ez-tool__note { margin-top: 14px; font-size: 0.85rem; color: var(--ez-muted-light) !important; }
.ez-calc__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ez-calc__step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--ez-line-light); }
.ez-calc__step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ez-calc__step h3 { font-size: 1.2rem; margin-bottom: 14px; }
.ez-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ez-choice { text-align: left; font: inherit; padding: 14px 16px; background: var(--ez-offwhite); border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); color: var(--ez-ink); cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ez-ease); }
.ez-choice:hover { border-color: var(--ez-indigo); transform: translateY(-2px); }
.ez-choice[aria-pressed='true'] { background: var(--ez-indigo); border-color: var(--ez-indigo); color: var(--ez-offwhite); }
.ez-range { width: 100%; accent-color: var(--ez-indigo); }
.ez-range__out { font-family: var(--ez-head); font-weight: 700; font-size: 1.4rem; }
.ez-checks { display: grid; gap: 10px; }
.ez-checks label, .ez-radios label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ez-checks small { margin-left: auto; color: var(--ez-muted-light); }
.ez-radios { display: grid; gap: 10px; }
.ez-estimate { position: sticky; top: 100px; padding: clamp(20px, 3vw, 32px); background: var(--ez-navy); color: var(--ez-offwhite); border-radius: var(--ez-radius); }
.ez-estimate p { color: var(--ez-muted-dark); margin: 0; }
.ez-estimate__value { margin: 8px 0 4px !important; font-family: var(--ez-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; color: var(--ez-offwhite) !important; }
.ez-estimate__list { margin: 18px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--ez-line-dark); font-size: 0.9rem; color: var(--ez-muted-dark); }
.ez-estimate__list li + li { margin-top: 4px; }
.ez-quote { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--ez-line-light); }
.ez-quote h3 { font-size: 1.3rem; margin-bottom: 14px; }

.ez-seo__form { display: flex; gap: 12px; flex-wrap: wrap; }
.ez-url-input { flex: 1 1 280px; }
.ez-seo__result { margin-top: 32px; }
.ez-seo__top { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.ez-score { position: relative; width: 140px; height: 140px; }
.ez-score svg { transform: rotate(-90deg); }
.ez-score__bg { fill: none; stroke: var(--ez-alt); stroke-width: 10; }
.ez-score__fg { fill: none; stroke: var(--ez-indigo); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.4s var(--ez-ease), stroke 0.4s; }
.ez-score__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ez-head); font-weight: 700; font-size: 2.4rem; }
.ez-seo__meta p { margin: 0 0 6px; word-break: break-word; }
.ez-seo__stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px !important; font-size: 0.9rem; color: var(--ez-muted-light); }
.ez-checklist { list-style: none; margin: 0; padding: 0; }
.ez-checklist li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ez-line-light); }
.ez-badge { align-self: start; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; text-align: center; }
.ez-badge--pass { background: #dcf5e6; color: #0a6b3b; }
.ez-badge--warn { background: #fff0cc; color: #7a5200; }
.ez-badge--fail { background: #fde0de; color: #b3261e; }
.ez-checklist strong { display: block; font-family: var(--ez-head); }
.ez-checklist span { color: var(--ez-muted-light); font-size: 0.93rem; }

@media (max-width: 860px) {
	.ez-calc__grid { grid-template-columns: 1fr; }
	.ez-estimate { position: static; }
	.ez-seo__top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ez-checklist li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Padding for Kadence-rendered pages (blog, archives, search, 404) ---------- */
body.blog .content-container.site-container,
body.archive .content-container.site-container,
body.search .content-container.site-container,
body.error404 .content-container.site-container {
	box-sizing: border-box;
	max-width: var(--ez-wrap);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 80px) var(--ez-gutter);
}
body.blog .content-wrap, body.archive .content-wrap, body.search .content-wrap, body.error404 .content-wrap { padding-inline: 0; }
.ez-pagehero + .ez-section, .ez-hero + .ez-ticker { margin-top: 0; }

/* ---------- Project and case study detail pages ---------- */
.ez-btn--light { background: var(--ez-offwhite); color: var(--ez-navy); }
.ez-btn--light:hover { color: var(--ez-offwhite); }
.ez-btn--outline { background: transparent; color: var(--ez-offwhite); border-color: var(--ez-muted-dark); }
.ez-btn--outline:hover { color: var(--ez-offwhite); border-color: var(--ez-indigo-bright); }
.ez-section .ez-btn { text-decoration: none; }

.ez-shero { padding-top: clamp(140px, 16vw, 200px) !important; padding-bottom: clamp(110px, 12vw, 170px) !important; position: relative; overflow: hidden; }
.ez-shero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(640px circle at 82% 10%, rgba(21, 18, 132, 0.6), transparent 62%); pointer-events: none; }
.ez-shero .ez-wrap { position: relative; }
.ez-shero__title { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 18ch; margin: 0.6rem 0 0; }
.ez-shero__lead { max-width: 56ch; margin-top: 1.2rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ez-muted-dark) !important; }
.ez-facts { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.ez-facts li { display: flex; flex-direction: column; gap: 2px; }
.ez-facts span { font-size: 0.85rem; color: var(--ez-muted-dark); }
.ez-facts strong { font-family: var(--ez-head); font-size: 1.15rem; color: var(--ez-offwhite); }
.ez-shero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.ez-pshow { padding: 0 var(--ez-gutter); margin-top: calc(clamp(60px, 7vw, 100px) * -1); position: relative; z-index: 2; background: linear-gradient(to bottom, transparent 0, transparent 50%, var(--ez-offwhite) 50%); box-sizing: border-box; }
.ez-pshow__frame { max-width: var(--ez-wrap); margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ez-radius); background: var(--ez-indigo); box-shadow: 0 40px 80px -40px rgba(6, 6, 39, 0.7); }
.ez-pshow__img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.ez-pshow__ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, var(--ez-indigo) 0%, var(--ez-navy) 100%); overflow: hidden; }
.ez-pshow__ph::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(110deg, transparent 40%, rgba(249, 249, 252, 0.1) 50%, transparent 60%); animation: ez-sweep 6s ease-in-out infinite; }
.ez-pshow__ph span { position: relative; z-index: 1; font-family: var(--ez-head); font-weight: 800; font-size: clamp(2.2rem, 7vw, 5.4rem); line-height: 1; text-align: center; color: rgba(249, 249, 252, 0.9); }
@keyframes ez-sweep { from { transform: translateX(-30%); } to { transform: translateX(30%); } }

.ez-results__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--ez-offwhite) !important; margin-bottom: clamp(24px, 4vw, 48px) !important; }
.ez-results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.ez-results .ez-stat__num { font-size: clamp(3rem, 7vw, 5.4rem); margin: 0; }
.ez-results .ez-stat__label { margin: 0.6rem 0 0; font-size: 1.02rem; }

.ez-sbody__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.ez-sbody__aside { position: sticky; top: 110px; }
.ez-snap { padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); }
.ez-snap__title { font-size: 1.25rem; margin-bottom: 1rem; }
.ez-snap dl { margin: 0 0 1.4rem; }
.ez-snap dl > div { padding: 12px 0; border-top: 1px solid var(--ez-line-light); }
.ez-snap dt { font-size: 0.82rem; color: var(--ez-muted-light); }
.ez-snap dd { margin: 2px 0 0; font-family: var(--ez-head); font-weight: 600; font-size: 1.05rem; }
.ez-chip { display: inline-block; margin: 4px 6px 0 0; padding: 4px 12px; font-family: var(--ez-body); font-size: 0.85rem; font-weight: 500; color: var(--ez-indigo); background: var(--ez-alt); border-radius: 999px; }
.ez-story { display: grid; gap: clamp(28px, 4vw, 48px); margin-bottom: clamp(36px, 5vw, 64px); }
.ez-story__item h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.7rem; }
.ez-story__item p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; max-width: 46ch; color: var(--ez-ink) !important; }
.ez-prose { max-width: 70ch; }
.ez-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.ez-prose > * + * { margin-top: 1.2rem; }
.ez-prose p { font-size: 1.08rem; line-height: 1.7; color: var(--ez-ink) !important; }
.ez-prose img { max-width: 100%; height: auto; border-radius: var(--ez-radius); }
.ez-prose figure { margin: 2rem 0; }
.ez-prose figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--ez-muted-light); }

.ez-next { display: block; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) var(--ez-gutter); background: var(--ez-navy); color: var(--ez-offwhite); text-decoration: none; box-sizing: border-box; }
.ez-next::before { content: ''; position: absolute; inset: 0; background: var(--ez-indigo); transform: translateY(101%); transition: transform 0.6s var(--ez-ease); }
.ez-next:hover::before { transform: none; }
.ez-next__inner { position: relative; display: block; max-width: var(--ez-wrap); margin: 0 auto; }
.ez-next__label { display: block; font-size: 0.95rem; color: var(--ez-muted-dark); margin-bottom: 8px; }
.ez-next__title { display: block; font-family: var(--ez-head); font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; color: var(--ez-offwhite); transition: transform 0.6s var(--ez-ease); }
.ez-next:hover .ez-next__title { transform: translateX(14px); }

@media (max-width: 900px) {
	.ez-sbody__grid { grid-template-columns: 1fr; }
	.ez-sbody__aside { position: static; }
}
@media (prefers-reduced-motion: reduce) {
	.ez-pshow__ph::after { animation: none; }
	.ez-next::before, .ez-next__title { transition: none; }
	.ez-pshow__img { transform: none; }
}

/* =====================================================================
   1.2.0: spacing reset, calculator polish, Insights, article, footer, 404
   ===================================================================== */
:where(.ez-section) :is(p, h1, h2, h3, h4) { margin-block: 0; }
.ez-item h3 { margin: 0; }
.ez-item p { margin-top: 0.5rem; }
.ez-item { padding: 20px 0; }
.ez-section--dark .ez-item { border-color: var(--ez-line-dark); }
.ez-section--dark .ez-item p { color: var(--ez-muted-dark) !important; }
.ez-section--dark .ez-item:hover h3 { color: var(--ez-muted-dark); }
.ez-section--dark .ez-track__title { color: var(--ez-muted-dark) !important; }
::selection { background: var(--ez-indigo-bright); color: #fff; }
:focus-visible { outline: 2px solid var(--ez-indigo-bright); outline-offset: 3px; }
.ez-section--dark :focus-visible, .ez-prefooter :focus-visible { outline-color: var(--ez-muted-dark); }
body:not(.transparent-header) .ez-pagehero { padding-top: clamp(64px, 8vw, 110px); }

/* Calculator */
.ez-choice span { display: block; margin-top: 4px; font-size: 0.85rem; font-weight: 400; line-height: 1.35; opacity: 0.75; }
.ez-range {
	-webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px !important; margin: 16px 0 6px; padding: 0 !important;
	border: 0 !important; border-radius: 999px; outline: none; cursor: pointer;
	background: linear-gradient(to right, var(--ez-indigo) var(--p, 30%), var(--ez-alt) var(--p, 30%)) !important;
}
.ez-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ez-indigo); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(6, 6, 39, 0.4); transition: transform 0.2s; }
.ez-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.ez-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ez-indigo); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(6, 6, 39, 0.4); }
.ez-range::-moz-range-track { background: transparent; }
.ez-checks label { padding: 12px 14px; background: var(--ez-offwhite); border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); transition: border-color 0.2s, background 0.2s; }
.ez-checks label:hover { border-color: var(--ez-indigo); }
.ez-checks label:has(input:checked) { background: var(--ez-alt); border-color: var(--ez-indigo); }
.ez-estimate__list { padding-left: 0 !important; list-style: none !important; }
.ez-estimate__list li { padding-left: 0 !important; }

/* Insights listing */
.ez-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(28px, 4vw, 48px) !important; padding: 0; list-style: none; }
.ez-pill { display: inline-block; padding: 8px 18px; border: 1px solid var(--ez-line-light); border-radius: 999px; font-size: 0.92rem; color: var(--ez-ink); text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.ez-pill:hover { border-color: var(--ez-indigo); }
.ez-pill.is-active { background: var(--ez-indigo); border-color: var(--ez-indigo); color: var(--ez-offwhite); }
.ez-feature { margin-bottom: clamp(40px, 6vw, 72px); }
.ez-feature .ez-card__link { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ez-feature .ez-card__media { aspect-ratio: 16 / 11; }
.ez-feature__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem) !important; }
.ez-card__excerpt { margin: 10px 0 0 !important; color: var(--ez-muted-light) !important; font-size: 0.97rem; line-height: 1.55; }
.ez-card__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0 !important; font-size: 0.85rem; color: var(--ez-muted-light) !important; }
.ez-post-card .ez-card__title { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.ez-pagination { margin-top: clamp(32px, 5vw, 56px); }
.ez-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ez-pagination .page-numbers { padding: 8px 16px; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); color: var(--ez-ink); text-decoration: none; }
.ez-pagination .page-numbers.current { background: var(--ez-indigo); border-color: var(--ez-indigo); color: var(--ez-offwhite); }
.ez-pagination .page-numbers:hover:not(.current) { border-color: var(--ez-indigo); }

/* Article */
.ez-shero--post .ez-eyebrow a { color: var(--ez-muted-dark); text-decoration: none; border-bottom: 1px solid var(--ez-line-dark); }
.ez-shero--plain { padding-bottom: clamp(56px, 7vw, 96px) !important; }
.ez-wrap--read { max-width: 760px; }
.ez-prose--article { max-width: none; }
.ez-prose--article p, .ez-prose--article li { font-size: 1.15rem; line-height: 1.75; }
.ez-prose--article > p:first-of-type { font-size: 1.32rem; line-height: 1.6; }
.ez-prose--article h2 { margin-top: 2.6rem; }
.ez-prose--article h3 { font-family: var(--ez-head); font-size: 1.4rem; margin-top: 2rem; }
.ez-prose--article a { color: var(--ez-indigo); text-decoration: underline; text-underline-offset: 3px; }
.ez-prose--article blockquote { margin: 2.2rem 0; padding: 0.3rem 0 0.3rem 1.4rem; border-left: 3px solid var(--ez-indigo); font-family: var(--ez-head); font-size: 1.45rem; line-height: 1.35; }
.ez-prose ul, .ez-prose ol { padding-left: 1.4rem; }
.ez-tags { margin-top: 2rem; font-size: 0.9rem; }
.ez-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; background: var(--ez-alt); border-radius: 999px; color: var(--ez-indigo); text-decoration: none; }
.ez-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 2.4rem; padding: 18px 0; border-block: 1px solid var(--ez-line-light); font-size: 0.95rem; }
.ez-share span { color: var(--ez-muted-light); margin-right: 6px; }
.ez-share a, .ez-share button { font: inherit; padding: 0; background: none; border: 0; color: var(--ez-indigo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ez-author { margin-top: 2.4rem; padding: clamp(22px, 3vw, 32px); background: var(--ez-alt); border-radius: var(--ez-radius); }
.ez-author strong { font-family: var(--ez-head); font-size: 1.25rem; }
.ez-author p { margin: 0.5rem 0 1.2rem; max-width: 52ch; color: var(--ez-muted-light); }
.ez-comments { margin-top: 3rem; }

/* Footer band */
.ez-prefooter { background: var(--ez-navy); color: var(--ez-muted-dark); border-top: 1px solid var(--ez-line-dark); padding: clamp(48px, 7vw, 88px) var(--ez-gutter) clamp(32px, 5vw, 56px); box-sizing: border-box; }
.ez-prefooter__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 64px); max-width: var(--ez-wrap); margin: 0 auto; }
.ez-prefooter__brand img { display: block; width: 180px; height: auto; margin-bottom: 16px; }
.ez-prefooter p { margin: 0 0 14px; color: var(--ez-muted-dark); max-width: 34ch; }
.ez-prefooter__title { margin: 0 0 14px; font-family: var(--ez-head); font-size: 1.05rem; font-weight: 600; color: var(--ez-offwhite); }
.ez-prefooter ul { margin: 0; padding: 0; list-style: none; }
.ez-prefooter li + li { margin-top: 8px; }
.ez-prefooter a { color: var(--ez-muted-dark); text-decoration: none; transition: color 0.2s; }
.ez-prefooter a:hover { color: var(--ez-offwhite); }
.ez-prefooter .ez-btn { color: var(--ez-navy); }
.ez-prefooter .ez-btn:hover { color: var(--ez-offwhite); }
.ez-prefooter__mail { margin-top: 14px !important; }

/* 404 */
.ez-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 2.4rem; }
.ez-links-grid a { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); text-decoration: none; color: var(--ez-ink); transition: transform 0.4s var(--ez-ease), border-color 0.2s; }
.ez-links-grid a:hover { transform: translateY(-4px); border-color: var(--ez-indigo); }
.ez-links-grid strong { font-family: var(--ez-head); font-size: 1.2rem; }
.ez-links-grid span { color: var(--ez-muted-light); font-size: 0.92rem; }
.ez-search { max-width: 520px; }

@media (max-width: 900px) {
	.ez-feature .ez-card__link { grid-template-columns: 1fr; }
	.ez-prefooter__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.ez-prefooter__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   1.4.0: overlay header on Insights, Frames page, video player, photo wall
   ===================================================================== */
/* Frames hero */
.ez-frames { padding-bottom: clamp(90px, 11vw, 150px) !important; }
.ez-frames__title { font-size: clamp(4.2rem, 15vw, 12rem); line-height: 0.88; letter-spacing: -0.03em; max-width: none; }
.ez-frames .ez-wrap { position: relative; }
.ez-vf { position: absolute; inset: -34px -18px -30px; pointer-events: none; }
.ez-vf__c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(249, 249, 252, 0.6); }
.ez-vf__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.ez-vf__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.ez-vf__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.ez-vf__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.ez-vf__rec { position: absolute; top: 10px; right: 52px; display: flex; align-items: center; gap: 8px; font: 600 0.85rem var(--ez-body); letter-spacing: 0.08em; color: var(--ez-offwhite); }
.ez-vf__rec b { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; animation: ez-rec 1.4s steps(1) infinite; }
.ez-vf__tc { position: absolute; bottom: 10px; left: 52px; font: 500 0.85rem var(--ez-body); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--ez-muted-dark); }
@keyframes ez-rec { 50% { opacity: 0; } }
.ez-anchor { display: block; height: 0; position: relative; top: -90px; visibility: hidden; }
.ez-quad { gap: clamp(20px, 3vw, 40px); }
.ez-quad .ez-item p { max-width: 30ch; }

/* Video player */
.ez-reel { max-width: 1080px; }
.ez-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ez-radius); background: var(--ez-indigo); box-shadow: 0 40px 90px -45px rgba(61, 48, 245, 0.8); }
.ez-player iframe, .ez-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ez-player__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: var(--ez-offwhite); cursor: pointer; }
.ez-player__poster, .ez-player--empty .ez-player__poster { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, var(--ez-indigo) 0%, var(--ez-navy) 100%); overflow: hidden; }
.ez-player__poster::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(110deg, transparent 40%, rgba(249, 249, 252, 0.1) 50%, transparent 60%); animation: ez-sweep 6s ease-in-out infinite; }
.ez-player__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ez-player__title { position: relative; z-index: 1; font-family: var(--ez-head); font-weight: 800; font-size: clamp(2.4rem, 8vw, 6rem); line-height: 1; color: rgba(249, 249, 252, 0.9); }
.ez-player__play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--ez-offwhite); color: var(--ez-navy); transition: transform 0.4s var(--ez-ease), background 0.3s, color 0.3s; }
.ez-player__play::before { content: ''; position: absolute; inset: -10px; border: 2px solid rgba(249, 249, 252, 0.5); border-radius: 50%; animation: ez-pulse 2.2s ease-out infinite; }
.ez-player__btn:hover .ez-player__play { transform: scale(1.1); background: var(--ez-indigo-bright); color: #fff; }
.ez-player__label { position: absolute; z-index: 2; left: 24px; bottom: 20px; font-weight: 600; font-size: 0.95rem; }
.ez-player__note { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; font-size: 0.92rem; color: var(--ez-muted-dark); }
@keyframes ez-pulse { from { transform: scale(0.9); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
.ez-pshow__frame .ez-player { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }

/* Photo wall and lightbox */
.ez-photowall { columns: 3 280px; column-gap: 16px; }
.ez-photo { position: relative; margin: 0 0 16px; overflow: hidden; border-radius: var(--ez-radius); break-inside: avoid; background: var(--ez-indigo); cursor: zoom-in; }
.ez-photo img { display: block; width: 100%; height: auto; transition: transform 1s var(--ez-ease), filter 0.6s; }
.ez-photo:hover img { transform: scale(1.06); filter: brightness(1.08); }
.ez-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(to top, rgba(6, 6, 39, 0.85), transparent); color: var(--ez-offwhite); font-family: var(--ez-head); font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ez-ease); }
.ez-photo:hover figcaption, .ez-photo:focus-within figcaption { opacity: 1; transform: none; }
.ez-lightbox { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 56px 24px; background: rgba(6, 6, 39, 0.94); }
.ez-lightbox[hidden] { display: none; }
.ez-lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: var(--ez-radius); animation: ez-zoom 0.4s var(--ez-ease); }
.ez-lightbox button { position: absolute; padding: 10px 16px; font: 600 0.92rem var(--ez-body); color: var(--ez-offwhite); background: rgba(249, 249, 252, 0.12); border: 1px solid var(--ez-line-dark); border-radius: var(--ez-radius); cursor: pointer; }
.ez-lightbox button:hover { background: var(--ez-indigo-bright); }
.ez-lightbox__close { top: 16px; right: 16px; }
.ez-lightbox__prev { left: 16px; top: 50%; }
.ez-lightbox__next { right: 16px; top: 50%; }
@keyframes ez-zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* Card badge for video and photography projects */
.ez-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 12px; font-size: 0.8rem; font-weight: 600; color: var(--ez-offwhite); background: rgba(6, 6, 39, 0.78); border-radius: 999px; backdrop-filter: blur(6px); }
.ez-card__badge--video::before { content: ''; display: inline-block; margin-right: 7px; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent var(--ez-offwhite); }

@media (prefers-reduced-motion: reduce) {
	.ez-vf__rec b, .ez-player__play::before, .ez-player__poster::after { animation: none; }
	.ez-photo img, .ez-photo figcaption { transition: none; }
}

/* =====================================================================
   1.5.0: sharp theme logos, light Insights header, hero spacing, loader
   ===================================================================== */
/* Logos: painted from the theme's high-resolution files so they stay sharp on every screen. */
.ezl-theme-logo .site-header a.brand.has-logo-image { display: inline-block; background: url('../img/logo-white.png') no-repeat left center / contain; }
.ezl-theme-logo .site-header a.brand.has-logo-image img { visibility: hidden; }
.ezl-theme-logo.ezl-light-header .site-header a.brand.has-logo-image { background-image: url('../img/logo-blue.png'); }
.ezl-theme-logo .site-header a.brand:has(img.custom-logo) { display: inline-block; background: url('../img/logo-white.png') no-repeat left center / contain; }
.ezl-theme-logo .site-header a.brand:has(img.custom-logo) img { visibility: hidden; }
.ezl-theme-logo.ezl-light-header .site-header a.brand:has(img.custom-logo) { background-image: url('../img/logo-blue.png'); }

/* Light header on the Insights listing: transparent over the off-white page, blue logo, dark menu. */
body.ezl-light-header .site-header,
body.ezl-light-header .site-header [class*="site-header-row-container"],
body.ezl-light-header .site-header [class*="site-header-upper"],
body.ezl-light-header .site-header [class*="site-main-header"] { background: transparent !important; box-shadow: none !important; border-color: transparent !important; }
body.ezl-light-header .site-header .header-navigation .header-menu-container > ul > li.menu-item > a,
body.ezl-light-header .site-header .menu-toggle-open { color: var(--ez-navy); }
body.ezl-light-header .site-header .header-navigation .header-menu-container > ul > li.menu-item > a:hover { color: var(--ez-indigo-bright); }
body.ezl-light-header .site-header .item-is-stuck .site-header-row-container-inner { background: rgba(249, 249, 252, 0.94) !important; backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--ez-line-light) !important; }
.ez-area { margin: 0 !important; padding: 0 !important; }

/* Hero spacing: tagline, title and lead sit close together (overrides Kadence's large em-based heading margins). */
.ez-hero .ez-wrap, .ez-pagehero .ez-wrap, .ez-shero .ez-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.ez-hero .ez-wrap > *, .ez-pagehero .ez-wrap > *, .ez-shero .ez-wrap > * { margin: 0 !important; }
.ez-hero .ez-wrap > :is(.ez-hero__lead, .ez-pagehero__lead, .ez-shero__lead),
.ez-pagehero .ez-wrap > :is(.ez-hero__lead, .ez-pagehero__lead, .ez-shero__lead),
.ez-shero .ez-wrap > :is(.ez-hero__lead, .ez-pagehero__lead, .ez-shero__lead) { margin-top: 0.5rem !important; }
.ez-hero .ez-wrap > :is(.wp-block-buttons, .ez-shero__actions, .ez-facts),
.ez-pagehero .ez-wrap > :is(.wp-block-buttons, .ez-shero__actions, .ez-facts),
.ez-shero .ez-wrap > :is(.wp-block-buttons, .ez-shero__actions, .ez-facts) { margin-top: 1.4rem !important; }
.ez-section .ez-wrap > :is(h1, h2) { margin-top: 0; }

/* Intro loader: the bulb switches on, the wordmark draws in, the screen splits open. */
.ez-loader { display: none; }
.ez-loading .ez-loader { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; animation: ez-failsafe 0.01s linear 5.5s forwards; }
.ez-loader::before, .ez-loader::after { content: ''; position: absolute; left: 0; right: 0; height: 50.2%; background: var(--ez-navy); transition: transform 0.9s var(--ez-ease); }
.ez-loader::before { top: 0; }
.ez-loader::after { bottom: 0; }
.ez-loader__stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; transition: opacity 0.35s, transform 0.6s var(--ez-ease); }
.ez-loader__glow { position: absolute; top: 50%; left: 50%; width: 560px; height: 560px; margin: -300px 0 0 -280px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 48, 245, 0.55) 0%, rgba(21, 18, 132, 0.25) 40%, transparent 68%); opacity: 0; transform: scale(0.4); animation: ez-glow 1.2s var(--ez-ease) 0.55s forwards; }
.ez-loader__logo { position: relative; display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }
.ez-loader__icon { height: clamp(64px, 11vw, 104px); width: auto; opacity: 0.22; animation: ez-bulb 1.4s linear 0.35s forwards; }
.ez-loader__word { height: clamp(40px, 7vw, 66px); width: auto; clip-path: inset(0 100% 0 0); transform: translateX(-14px); animation: ez-word 0.9s var(--ez-ease) 1.05s forwards; }
.ez-loader__bar { position: relative; width: clamp(140px, 22vw, 220px); height: 2px; background: rgba(249, 249, 252, 0.16); overflow: hidden; }
.ez-loader__bar i { position: absolute; inset: 0; background: var(--ez-offwhite); transform: scaleX(0); transform-origin: left; animation: ez-bar 1.7s var(--ez-ease) 0.2s forwards; }
.ez-loader.is-out::before { transform: translateY(-101%); }
.ez-loader.is-out::after { transform: translateY(101%); }
.ez-loader.is-out .ez-loader__stage { opacity: 0; transform: scale(1.08); }
@keyframes ez-bulb { 0%, 28% { opacity: 0.22; filter: none; } 32% { opacity: 1; filter: drop-shadow(0 0 22px rgba(160, 150, 255, 0.95)); } 38% { opacity: 0.35; filter: none; } 46%, 100% { opacity: 1; filter: drop-shadow(0 0 26px rgba(160, 150, 255, 0.85)); } }
@keyframes ez-glow { to { opacity: 1; transform: scale(1); } }
@keyframes ez-word { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes ez-bar { to { transform: scaleX(1); } }
@keyframes ez-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Faster loader on later pages of a visit */
.ez-loading--quick .ez-loader::before, .ez-loading--quick .ez-loader::after { transition-duration: 0.6s; }
.ez-loading--quick .ez-loader__glow { animation-duration: 0.7s; animation-delay: 0.2s; }
.ez-loading--quick .ez-loader__icon { animation-duration: 0.8s; animation-delay: 0.05s; }
.ez-loading--quick .ez-loader__word { animation-duration: 0.5s; animation-delay: 0.5s; }
.ez-loading--quick .ez-loader__bar i { animation-duration: 0.95s; animation-delay: 0.05s; }

/* =====================================================================
   1.6.0: mobile menu trigger, back-to-top, chat widget
   ===================================================================== */
/* Mobile menu trigger: off-white, brand colour on hover (light Insights header keeps it navy) */
body:not(.ezl-light-header) .site-header .mobile-toggle-open-container .menu-toggle-open,
body:not(.ezl-light-header) .site-header .menu-toggle-open,
body:not(.ezl-light-header) .site-header .menu-toggle-open .menu-toggle-icon { color: #fcfcf9 !important; }
body:not(.ezl-light-header) .site-header .menu-toggle-open svg { fill: currentColor; }
.site-header .menu-toggle-open { border-radius: var(--ez-radius); transition: background 0.25s, color 0.25s; }
body:not(.ezl-light-header) .site-header .menu-toggle-open:hover,
body:not(.ezl-light-header) .site-header .menu-toggle-open:focus-visible { background: var(--ez-indigo-bright) !important; color: #fcfcf9 !important; }
body.ezl-light-header .site-header .menu-toggle-open:hover { background: var(--ez-indigo) !important; color: #fcfcf9 !important; }

/* Back to top (shown on desktop and mobile; replaces Kadence's own button) */
.ezl-scrolltop #kt-scroll-up, .ezl-scrolltop #kt-scroll-up-reader { display: none !important; }
.ez-top { position: fixed; right: 22px; bottom: 22px; z-index: 9990; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; color: #fcfcf9; background: var(--ez-navy); border: 0; border-radius: 50%; box-shadow: 0 10px 28px -10px rgba(6, 6, 39, 0.7); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s, transform 0.4s var(--ez-ease), visibility 0.3s, background 0.25s; }
.ezl-has-chat .ez-top { bottom: 90px; }
.ez-top.is-on { opacity: 1; visibility: visible; transform: none; }
.ez-top:hover { background: var(--ez-indigo-bright); transform: translateY(-3px); }
.ez-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ez-top__track { fill: none; stroke: rgba(249, 249, 252, 0.18); stroke-width: 2.5; }
.ez-top__bar { fill: none; stroke: #fcfcf9; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
.ez-top__chev { position: relative; width: 22px; height: 22px; }

/* Chat widget */
.ez-chat { position: fixed; right: 22px; bottom: 22px; z-index: 9995; font-family: var(--ez-body); }
.ez-chat__launcher { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; color: #fcfcf9; background: var(--ez-indigo); border: 0; border-radius: 999px; font: 600 0.95rem var(--ez-body); box-shadow: 0 14px 34px -12px rgba(21, 18, 132, 0.85); cursor: pointer; transition: background 0.25s, transform 0.4s var(--ez-ease); }
.ez-chat__launcher:hover { background: var(--ez-indigo-bright); transform: translateY(-2px); }
.ez-chat__dot { position: absolute; top: -4px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: #e5484d; border: 2px solid #fff; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ez-chat__dot[hidden] { display: none; }
.ez-chat.is-open .ez-chat__launcher { display: none; }
.ez-chat__panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 40px)); overflow: hidden; color: var(--ez-ink); background: #fff; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(6, 6, 39, 0.6); animation: ez-zoom 0.35s var(--ez-ease); }
.ez-chat__panel[hidden] { display: none; }
.ez-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fcfcf9; background: var(--ez-navy); }
.ez-chat__head img { width: 22px; height: 36px; }
.ez-chat__head div { flex: 1; display: grid; }
.ez-chat__head strong { font-family: var(--ez-head); font-size: 1.05rem; }
.ez-chat__head span { font-size: 0.8rem; color: var(--ez-muted-dark); }
.ez-chat__close { width: 34px; height: 34px; padding: 0; color: #fcfcf9; background: rgba(249, 249, 252, 0.1); border: 0; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ez-chat__close:hover { background: var(--ez-indigo-bright); }
.ez-chat__body { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: auto; padding: 18px 16px; background: var(--ez-offwhite); }
.ez-chat__hello { margin: 0 0 6px; font-family: var(--ez-head); font-weight: 700; font-size: 1.35rem; }
.ez-chat__sub { margin: 0 0 16px; color: var(--ez-muted-light); }
.ez-chat__choices { display: grid; gap: 10px; }
.ez-chat__choice { display: grid; gap: 2px; padding: 14px 16px; text-align: left; text-decoration: none; color: var(--ez-ink); background: #fff; border: 1px solid var(--ez-line-light); border-radius: 8px; font: inherit; cursor: pointer; transition: border-color 0.2s, transform 0.3s var(--ez-ease); }
.ez-chat__choice:hover { border-color: var(--ez-indigo); transform: translateY(-2px); }
.ez-chat__choice strong { font-family: var(--ez-head); font-size: 1.1rem; }
.ez-chat__choice span { font-size: 0.88rem; color: var(--ez-muted-light); }
.ez-chat__choice--wa strong { color: #0a7a3d; }
.ez-chat__form { display: grid; gap: 10px; }
.ez-chat__form label { display: grid; gap: 4px; font-size: 0.85rem; font-weight: 500; }
.ez-chat__form input[type=text], .ez-chat__form input[type=email], .ez-chat__form textarea, .ez-chat__compose textarea { width: 100%; padding: 10px 12px; font: 400 0.95rem var(--ez-body); color: var(--ez-ink); background: #fff; border: 1px solid var(--ez-line-light); border-radius: 6px; box-sizing: border-box; }
.ez-chat__form input:focus, .ez-chat__form textarea:focus, .ez-chat__compose textarea:focus { outline: none; border-color: var(--ez-indigo); box-shadow: 0 0 0 3px rgba(21, 18, 132, 0.15); }
.ez-chat__hp { position: absolute; left: -9999px; }
.ez-chat__form .ez-chat__consent { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; color: var(--ez-muted-light); }
.ez-chat__send { padding: 11px 18px; color: #fcfcf9; background: var(--ez-indigo); border: 0; border-radius: 6px; font: 600 0.95rem var(--ez-body); cursor: pointer; transition: background 0.2s; }
.ez-chat__send:hover { background: var(--ez-indigo-bright); }
.ez-chat__send[disabled] { opacity: 0.6; cursor: wait; }
.ez-chat__err { min-height: 1.2em; margin: 0; color: #b3261e; font-size: 0.88rem; }
.ez-chat__alt { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 0.88rem; }
.ez-chat__alt button { padding: 0; background: none; border: 0; color: var(--ez-muted-light); text-decoration: underline; cursor: pointer; font: inherit; }
.ez-chat__alt a { color: #0a7a3d; font-weight: 600; }
.ez-chat__alt--thread { justify-content: center; padding-top: 10px; }
.ez-chat__msgs { flex: 1; min-height: 0; overflow: auto; display: grid; gap: 10px; align-content: start; padding-bottom: 8px; }
.ez-chat__msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--ez-line-light); }
.ez-chat__msg p { margin: 0; font-size: 0.95rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.ez-chat__msg time { display: block; margin-top: 3px; font-size: 0.7rem; color: var(--ez-muted-light); }
.ez-chat__msg.is-me { justify-self: end; color: #fcfcf9; background: var(--ez-indigo); border-color: var(--ez-indigo); border-bottom-right-radius: 4px; }
.ez-chat__msg.is-me time { color: var(--ez-muted-dark); }
.ez-chat__msg.is-agent { border-bottom-left-radius: 4px; }
.ez-chat__compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.ez-chat__compose textarea { resize: none; max-height: 110px; }
@media (max-width: 600px) {
	.ez-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
	.ezl-has-chat .ez-top { bottom: 80px; }
	.ez-chat { right: 14px; bottom: 14px; }
	.ez-chat__lbl { display: none; }
	.ez-chat__launcher { width: 52px; padding: 0; justify-content: center; }
	.ez-chat__panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(86vh, 640px); border-radius: 14px 14px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .ez-top, .ez-chat__launcher, .ez-chat__panel { transition: none; animation: none; } }

/* =====================================================================
   1.7.0: chat button contrast (Kadence button styles were overriding it), hide empty work sections
   ===================================================================== */
.ez-section:has(.ez-work--hide) { display: none; }
.ez-chat .ez-chat__choice { color: var(--ez-ink) !important; background: #fff !important; border: 1px solid var(--ez-line-light) !important; box-shadow: none !important; }
.ez-chat .ez-chat__choice strong { color: var(--ez-ink); }
.ez-chat .ez-chat__choice span { color: var(--ez-muted-light); }
.ez-chat .ez-chat__choice:hover, .ez-chat .ez-chat__choice:focus-visible { background: #fff !important; border-color: var(--ez-indigo) !important; }
.ez-chat .ez-chat__choice--wa strong { color: #0a7a3d; }
.ez-chat .ez-chat__send { color: #fcfcf9 !important; background: var(--ez-indigo) !important; box-shadow: none !important; }
.ez-chat .ez-chat__send:hover { background: var(--ez-indigo-bright) !important; }
.ez-chat .ez-chat__close { color: #fcfcf9 !important; background: rgba(249, 249, 252, 0.12) !important; box-shadow: none !important; }
.ez-chat .ez-chat__close:hover { background: var(--ez-indigo-bright) !important; }
.ez-chat .ez-chat__alt button { color: var(--ez-muted-light) !important; background: none !important; box-shadow: none !important; }
.ez-chat .ez-chat__launcher { color: #fcfcf9 !important; background: var(--ez-indigo) !important; box-shadow: 0 14px 34px -12px rgba(21, 18, 132, 0.85) !important; }
.ez-chat .ez-chat__launcher:hover { background: var(--ez-indigo-bright) !important; }
.ez-list { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.ez-list li { margin: 0.5rem 0; }

/* ---------- Brand stage: logo tiles for portfolio cards and project heroes ---------- */
.ez-work__grid { counter-reset: ezc; }
.ez-card { counter-increment: ezc; }
.ez-card__media, .ez-pshow__frame { position: relative; }
.ez-stage {
	--gx: 82%; --gy: 6%;
	position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate;
	color: var(--ez-offwhite);
	background:
		radial-gradient(90% 80% at var(--gx) var(--gy), rgba(61, 48, 245, 0.7), transparent 58%),
		radial-gradient(80% 70% at 6% 100%, rgba(21, 18, 132, 0.95), transparent 62%),
		linear-gradient(160deg, #0f0f5c 0%, var(--ez-navy) 72%);
}
.ez-card:nth-child(3n + 2) .ez-stage { --gx: 12%; --gy: 0%; }
.ez-card:nth-child(3n) .ez-stage { --gx: 96%; --gy: 90%; }
.ez-stage__grid {
	position: absolute; inset: 0; z-index: -1; opacity: 0.9;
	background-image: linear-gradient(rgba(249, 249, 252, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(249, 249, 252, 0.06) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%);
	mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%);
}
.ez-stage__glow {
	position: absolute; width: 46%; aspect-ratio: 1; left: 27%; top: 22%; z-index: -1; border-radius: 50%;
	background: rgba(61, 48, 245, 0.5); filter: blur(46px); opacity: 0.65; transition: transform 0.9s var(--ez-ease), opacity 0.6s;
}
.ez-card:hover .ez-stage__glow { transform: scale(1.35); opacity: 0.95; }
.ez-stage::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(249, 249, 252, 0.14); border-radius: 2px; pointer-events: none; }
.ez-stage .ez-stage__logo {
	width: auto; height: auto; max-width: 58%; max-height: 46%; object-fit: contain;
	filter: drop-shadow(0 14px 28px rgba(6, 6, 39, 0.55));
	transition: transform 0.8s var(--ez-ease);
}
.ez-card:hover .ez-stage .ez-stage__logo { transform: scale(1.06) translateY(-3px); }
.ez-stage__word {
	max-width: 80%; text-align: center; font-family: var(--ez-head); font-weight: 800; letter-spacing: -0.02em; line-height: 0.98;
	font-size: clamp(1.9rem, 4.6vw, 3rem); text-wrap: balance; transition: transform 0.8s var(--ez-ease);
}
.ez-stage__word--long { font-size: clamp(1.35rem, 3vw, 1.95rem); max-width: 84%; }
.ez-stage--lg .ez-stage__word--long { font-size: clamp(2rem, 6vw, 4rem); }
.ez-stage__word em { font-style: normal; color: var(--ez-muted-dark); }
.ez-card:hover .ez-stage__word { transform: scale(1.05); }
.ez-stage__chip, .ez-stage__idx, .ez-stage__host { position: absolute; font-size: 0.78rem; line-height: 1; letter-spacing: 0.02em; }
.ez-stage__chip { top: 20px; left: 22px; padding: 6px 12px; border-radius: 999px; font-weight: 600; background: rgba(249, 249, 252, 0.1); border: 1px solid rgba(249, 249, 252, 0.2); backdrop-filter: blur(6px); }
.ez-stage__idx { top: 24px; right: 24px; font-family: var(--ez-head); font-weight: 600; color: var(--ez-muted-dark); }
.ez-stage__idx::before { content: '0' counter(ezc); }
.ez-stage__host { left: 24px; bottom: 22px; color: var(--ez-muted-dark); font-feature-settings: 'tnum'; }
.ez-stage__go {
	position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	color: var(--ez-navy); background: var(--ez-offwhite); opacity: 0; transform: translate(-8px, 8px) scale(0.85);
	transition: opacity 0.4s, transform 0.5s var(--ez-ease);
}
.ez-card:hover .ez-stage__go, .ez-card__link:focus-visible .ez-stage__go { opacity: 1; transform: none; }
.ez-card:hover .ez-card__media .ez-stage__logo { transform: scale(1.06) translateY(-3px); }
.ez-stage--lg .ez-stage__logo { max-width: 46%; max-height: 54%; }
.ez-stage--lg .ez-stage__word { font-size: clamp(2.6rem, 8vw, 6rem); }
.ez-stage--lg .ez-stage__chip, .ez-stage--lg .ez-stage__host { font-size: 0.9rem; }
.ez-stage--lg .ez-stage__idx { display: none; }
.ez-stage--lg .ez-stage__go { display: none; }
@media (max-width: 520px) { .ez-stage__chip { top: 14px; left: 14px; } .ez-stage__host { left: 16px; bottom: 14px; } .ez-stage__idx { top: 18px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .ez-stage *, .ez-stage { transition: none !important; } }

/* ---------- Case study charts (plain HTML and CSS, no scripts) ---------- */
.ez-chart { margin: 1.6rem 0 !important; padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--ez-line-light); border-radius: var(--ez-radius); }
.ez-chart__title { margin: 0 0 18px; font-family: var(--ez-head); font-weight: 700; font-size: 1.02rem; color: var(--ez-ink); }
.ez-chart__note { margin: 14px 0 0 !important; font-size: 0.85rem; color: var(--ez-muted-light) !important; }
.ez-bars { display: grid; gap: 14px; }
.ez-bar { display: grid; grid-template-columns: minmax(96px, 150px) 1fr auto; gap: 14px; align-items: center; }
.ez-bar__label { font-size: 0.93rem; color: var(--ez-ink); line-height: 1.2; }
.ez-bar__label small { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--ez-muted-light); }
.ez-bar__track { display: block; height: 14px; background: var(--ez-alt); border-radius: 999px; overflow: hidden; }
.ez-bar__track i { display: block; height: 100%; border-radius: 999px; background: #8f89d6; transform-origin: left center; }
.ez-bar.is-hot .ez-bar__track i { background: linear-gradient(90deg, var(--ez-indigo), var(--ez-indigo-bright)); }
.ez-bar__val { min-width: 3.2ch; text-align: right; font-family: var(--ez-head); font-size: 1.05rem; color: var(--ez-ink); font-feature-settings: 'tnum'; }
.ez-cols { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(4px, 1.2vw, 12px); align-items: end; }
.ez-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.ez-col__plot { display: flex; align-items: flex-end; width: 100%; height: 160px; }
.ez-col__val { font-size: 0.7rem; color: var(--ez-muted-light); font-feature-settings: 'tnum'; white-space: nowrap; }
.ez-col__stack { display: flex; flex-direction: column; width: 100%; min-height: 5px; border-radius: 3px 3px 0 0; overflow: hidden; transform-origin: bottom; }
.ez-col__m { font-size: 0.72rem; color: var(--ez-muted-light); }
.ez-col i.is-boost, .ez-chart__legend i.is-boost { background: linear-gradient(180deg, var(--ez-indigo-bright), var(--ez-indigo)); }
.ez-col i.is-org, .ez-chart__legend i.is-org { background: #b9b5e8; }
.ez-col i { display: block; width: 100%; }
.ez-chart__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0 !important; font-size: 0.85rem; color: var(--ez-muted-light); }
.ez-chart__legend span { display: inline-flex; align-items: center; gap: 8px; }
.ez-chart__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.ez-meter { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--ez-alt); }
.ez-meter i { display: block; height: 100%; transform-origin: left center; }
.ez-meter .is-a, .ez-meter__key .is-a { background: var(--ez-indigo-bright); }
.ez-meter .is-b, .ez-meter__key .is-b { background: var(--ez-indigo); }
.ez-meter .is-c, .ez-meter__key .is-c { background: #8f89d6; }
.ez-meter .is-d, .ez-meter__key .is-d { background: #d5d2f2; }
.ez-meter__key { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 20px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 0.9rem; color: var(--ez-ink); }
.ez-meter__key li { display: flex; align-items: center; gap: 8px; }
.ez-meter__key li i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.ez-meter__key b { margin-left: auto; font-family: var(--ez-head); }
.ez-toplist { list-style: none; counter-reset: top; margin: 1.2rem 0 !important; padding: 0 !important; border-top: 1px solid var(--ez-line-light); }
.ez-toplist li { counter-increment: top; display: grid; grid-template-columns: 2.2rem 1fr auto auto; gap: 6px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ez-line-light); }
.ez-toplist li::before { content: counter(top); font-family: var(--ez-head); font-weight: 700; color: var(--ez-indigo-bright); }
.ez-toplist strong { font-family: var(--ez-head); color: var(--ez-indigo); font-feature-settings: 'tnum'; }
.ez-toplist em { font-style: normal; font-size: 0.88rem; color: var(--ez-muted-light); }
@media (max-width: 560px) {
	.ez-bar { grid-template-columns: 1fr auto; }
	.ez-bar__track { grid-column: 1 / -1; order: 3; }
	.ez-toplist li { grid-template-columns: 1.8rem 1fr; }
	.ez-toplist strong, .ez-toplist em { grid-column: 2; }
	.ez-col__val { display: none; }
}
@keyframes ez-grow-x { from { transform: scaleX(0); } }
@keyframes ez-grow-y { from { transform: scaleY(0); } }
.ez-js .ez-chart.is-in .ez-bar__track i, .ez-js .ez-chart.is-in .ez-meter i { animation: ez-grow-x 1s var(--ez-ease) both; }
.ez-js .ez-chart.is-in .ez-col__stack { animation: ez-grow-y 1s var(--ez-ease) both; }
@media (prefers-reduced-motion: reduce) { .ez-chart * { animation: none !important; } }

/* ---------- Brand block (case studies that started with branding) ---------- */
.ez-brand { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; margin: 1.6rem 0; border: 1px solid rgba(21, 18, 132, .14); border-radius: 18px; overflow: hidden; background: #fff; }
.ez-brand__logo { display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; }
.ez-brand__logo img { width: 100%; max-width: 320px; height: auto; display: block; }
.ez-brand__side { padding: clamp(1.2rem, 3vw, 2rem); background: #060627; color: #f9f9fc; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.ez-brand__side p { margin: 0; color: #b2aee0; font-size: .95rem; }
.ez-brand__sw { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ez-brand__sw li { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: .75rem; margin: 0; font-size: .9rem; }
.ez-brand__sw i { width: 2.2rem; height: 2.2rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); display: block; }
.ez-brand__sw span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; color: #b2aee0; }
@media (max-width: 680px) { .ez-brand { grid-template-columns: 1fr; } }
.ez-prose .ez-brand__side p { color: #b2aee0 !important; margin: 0; font-size: .95rem; line-height: 1.5; }
.ez-prose .ez-brand__sw li { color: #f9f9fc; padding: 0; }
.ez-prose .ez-brand__sw li::marker { content: none; }
.ez-prose .ez-brand__sw { padding: 0; margin: 0; }
