/*
 * Editorial design variant V3 — "Night Chambers", refined (home page Premium V3). Loaded only on pages that use the
 * variant 'editorial-v3' (marom-core/inc/editorial.php). Own class prefix (m3-), so it never touches V2 (mx-).
 * Every rule is scoped with :where(), so its specificity stays at one class: the widgets' own Style controls
 * (Elementor, {{WRAPPER}} .ms-…) always win over these defaults.
 * Brand: navy + gold, Heebo (variable — light display weights). RTL: logical properties throughout.
 *
 * Type system (one scale for the whole page; values at a 1440px screen → mobile):
 *   H1 hero ............ 60 → 37   light 300, lh 1.12
 *   statement .......... 52 → 33   light 300 — two deliberate moments: the counsel's triad and the closing line
 *   H2 section ......... 44 → 30   light 300, lh 1.15
 *   H3 ................. 30 → 24   light 300 (practice areas, the lead article)
 *   H4 ................. 21 → 19   regular 400 (principles, articles, questions, names)
 *   lead ............... 19 → 17   light 300 on night / regular 400 on paper, lh 1.75
 *   body ............... 16.5 → 16 lh 1.8
 *   small .............. 15        links, buttons, sub-labels
 *   caption ............ 13.5      tags, dates, meta
 *   figures ............ 40 → 30   extra-light 200 (hero ledger); the 5.0 rating 76 → 56 (the one large figure)
 */

:where(.m3) {
	--m3-night: #020617;
	--m3-chamber: #070e1f;
	--m3-raise: #0b1324;
	--m3-gold: #ba9851;
	--m3-gold-soft: #dcc79b;
	--m3-ink: #eceff4;
	--m3-mute: #a3adbd;
	--m3-dim: #8490a2;
	--m3-line: rgba(236, 239, 244, 0.1);
	--m3-line-gold: rgba(186, 152, 81, 0.34);
	--m3-paper: #faf7f0;
	--m3-paper-2: #f3eee3;
	--m3-paper-ink: #0b1222;
	--m3-paper-mute: #4a5363;
	--m3-paper-line: rgba(11, 18, 34, 0.12);
	--m3-bronze: #8b6b2e;
	--m3-ease: cubic-bezier(0.16, 1, 0.3, 1);

	--m3-t-h1: clamp(2.25rem, 0.375rem + 3.75vw, 4rem);
	--m3-t-statement: clamp(2.0625rem, 1.05rem + 2.4vw, 3.25rem);
	--m3-t-h2: clamp(1.875rem, 1.2rem + 1.75vw, 2.75rem);
	--m3-t-h3: clamp(1.5rem, 1.15rem + 0.95vw, 1.875rem);
	--m3-t-h4: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem);
	--m3-t-lead: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);
	--m3-t-body: clamp(1rem, 0.96rem + 0.12vw, 1.03125rem);
	--m3-t-small: 0.9375rem;
	--m3-t-caption: 0.84375rem;
	--m3-t-figure: clamp(1.875rem, 1.35rem + 1.15vw, 2.5rem);
	--m3-t-score: clamp(3.5rem, 2.4rem + 2.6vw, 4.75rem);

	--m3-wrap: 1296px;
	--m3-gutter: clamp(20px, 5vw, 72px);
	--m3-section: clamp(88px, 8.4vw, 128px);
	--m3-head-gap: clamp(2.5rem, 4vw, 4rem);
	--m3-header: 80px;
	position: relative;
	background: var(--m3-night);
	color: var(--m3-ink);
	font-family: inherit;
	font-size: var(--m3-t-body);
	isolation: isolate;
}

:where(.m3) *, :where(.m3) *::before, :where(.m3) *::after { box-sizing: border-box; }
:where(.m3) :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.m3) :is(ul, ol) { list-style: none; padding: 0; }
:where(.m3) a { color: inherit; text-decoration: none; }
:where(.m3) a:focus-visible, :where(.m3) button:focus-visible, :where(.m3) [tabindex]:focus-visible {
	outline: 2px solid var(--m3-gold);
	outline-offset: 4px;
	border-radius: 2px;
}
:where(.m3) img { display: block; max-width: 100%; }

/* ── type ── */
:where(.m3) .m3-display,
:where(.m3) .m3-h2 {
	font-weight: 300;
	color: inherit;
	text-wrap: balance;
}
:where(.m3) .m3-display { font-size: var(--m3-t-statement); line-height: 1.1; letter-spacing: -0.02em; }
:where(.m3) .m3-h2 { font-size: var(--m3-t-h2); line-height: 1.15; letter-spacing: -0.015em; }
:where(.m3) .ms-accent { color: var(--m3-gold); font-weight: inherit; }
.m3 .text-gold-glow { text-shadow: none; } /* the classic glow, off in this design */
:where(.m3) .m3-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-block-end: 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
	color: var(--m3-gold);
}
:where(.m3) .m3-kicker::before { content: ""; inline-size: 2rem; block-size: 1px; background: currentColor; opacity: 0.7; }
:where(.m3) .m3-lead {
	margin-block-start: 1.25rem;
	max-inline-size: 32em;
	font-size: var(--m3-t-lead);
	line-height: 1.75;
	font-weight: 300;
	color: var(--m3-mute);
	text-wrap: balance; /* short paragraphs: no orphan word on the last line */
}
:where(.m3-paper) .m3-lead { font-weight: 400; }
:where(.m3) .m3-lead strong { color: var(--m3-ink); font-weight: 500; }

/* ── layout ── */
:where(.m3) .m3-wrap { inline-size: 100%; max-inline-size: calc(var(--m3-wrap) + 2 * var(--m3-gutter)); margin-inline: auto; padding-inline: var(--m3-gutter); }
:where(.m3) .m3-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 3rem; }
:where(.m3) .m3-split__aside { grid-column: 1 / span 4; align-self: start; }
:where(.m3) .m3-split > :not(.m3-split__aside) { grid-column: 6 / -1; }
@media (min-width: 1024px) { :where(.m3) .m3-split__aside { position: sticky; inset-block-start: 120px; } }
@media (max-width: 1023px) { :where(.m3) .m3-split__aside, :where(.m3) .m3-split > :not(.m3-split__aside) { grid-column: 1 / -1; } }

/* ── links & actions ── */
:where(.m3) .m3-arrow { inline-size: 1.1em; block-size: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--m3-ease); flex: none; }
:where(.m3) .m3-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: var(--m3-t-small);
	font-weight: 500;
	line-height: 1.4;
	color: var(--m3-gold);
	padding-block: 0.35rem;
	background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
	transition: background-size 0.6s var(--m3-ease), color 0.3s;
}
:where(.m3) .m3-link:hover { background-size: 100% 1px; color: var(--m3-gold-soft); }
:where(.m3-paper) .m3-link:hover { color: var(--m3-paper-ink); }
:where(.m3) .m3-link:hover .m3-arrow { transform: translateX(-4px); }

:where(.m3) .m3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
:where(.m3) .m3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-block-size: 3.375rem;
	padding: 0 1.6rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: var(--m3-t-small);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.005em;
	white-space: nowrap;
	transition: color 0.4s var(--m3-ease), border-color 0.4s var(--m3-ease), background-color 0.4s var(--m3-ease);
}
:where(.m3) .m3-btn svg { inline-size: 1.05em; block-size: 1.05em; flex: none; }
:where(.m3) .m3-btn--primary { padding-inline: 2rem; background: var(--m3-gold); color: var(--m3-night); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
:where(.m3) .m3-btn--primary:hover { background: var(--m3-gold-soft); }
:where(.m3) .m3-btn--line { border-color: rgba(236, 239, 244, 0.22); color: var(--m3-ink); background: transparent; }
:where(.m3) .m3-btn--line:hover { border-color: var(--m3-gold); color: var(--m3-gold-soft); }
:where(.m3-paper) .m3-btn--line { border-color: var(--m3-paper-line); color: var(--m3-paper-ink); }

/* ── a gold hairline ── */
:where(.m3) .m3-rule { display: block; inline-size: 3.5rem; block-size: 1px; background: var(--m3-gold); margin-block: 1.75rem; transform-origin: right; }

/* ═════════════ HERO ═════════════
 * Desktop: the portrait fills the left half, full height; the text block sits in the right half, vertically centred
 * between the header and the ledger, so the message and the actions are in the first screen at 1280–1920 × 768–1080.
 * Tablet / mobile: a composition of their own — a cinematic band of the portrait, the text rising over its fade. */
:where(.m3-hero) {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	min-block-size: max(100svh, 640px);
	overflow: hidden;
	background:
		radial-gradient(60% 55% at 88% 12%, rgba(186, 152, 81, 0.07), transparent 60%),
		radial-gradient(60% 80% at 10% 100%, rgba(30, 41, 59, 0.5), transparent 70%),
		var(--m3-night);
}
:where(.m3-hero) .m3-hero__grid-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
:where(.m3-hero) .m3-hero__grid-lines i { position: absolute; inset-block: 0; inline-size: 1px; background: linear-gradient(to bottom, transparent, rgba(236, 239, 244, 0.045) 18%, rgba(236, 239, 244, 0.045) 82%, transparent); transform-origin: top; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(1) { inset-inline-start: 18%; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(2) { inset-inline-start: 36%; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(3) { inset-inline-start: 54%; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(4) { inset-inline-start: 72%; }

:where(.m3-hero) .m3-hero__portrait {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	inline-size: 48%;
	z-index: 1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 28%), linear-gradient(to top, transparent 0, #000 22%);
	mask-image: linear-gradient(to left, transparent 0, #000 28%), linear-gradient(to top, transparent 0, #000 22%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}
:where(.m3-hero) .m3-hero__portrait > .m3-hero__img { inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 10%; filter: saturate(0.88) contrast(1.04); }
:where(.m3-hero) .m3-hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), transparent 28%, rgba(2, 6, 23, 0.3)); pointer-events: none; }
:where(.m3-hero) .m3-hero__credential {
	position: absolute;
	inset-block-end: clamp(150px, 22vh, 210px); /* a caption on the wall beside the portrait — clear of the face */
	inset-inline-end: var(--m3-gutter);
	z-index: 2;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--m3-line-gold);
	border-radius: 999px;
	background: rgba(2, 6, 23, 0.6);
	backdrop-filter: blur(10px);
	font-size: var(--m3-t-caption);
	font-weight: 500;
	line-height: 1.3;
	color: var(--m3-gold-soft);
}

:where(.m3-hero) .m3-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	inline-size: 100%;
	max-inline-size: calc(var(--m3-wrap) + 2 * var(--m3-gutter));
	margin-inline: auto;
	padding-inline: var(--m3-gutter);
	padding-block: calc(var(--m3-header) + clamp(16px, 3vh, 40px)) clamp(24px, 4vh, 48px);
}
:where(.m3-hero) .m3-hero__text { inline-size: var(--m3-hero-text, 54%); }
:where(.m3-hero) .m3-hero__status { display: inline-flex; align-items: center; gap: 0.65rem; margin-block-end: 1.5rem; font-size: var(--m3-t-caption); font-weight: 400; line-height: 1.4; letter-spacing: 0.01em; color: var(--m3-mute); }
:where(.m3) .m3-dot { position: relative; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--m3-gold); }
:where(.m3) .m3-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--m3-gold); opacity: 0; animation: m3-ping 2.8s var(--m3-ease) 2.2s 3; }
@keyframes m3-ping { 0% { transform: scale(0.4); opacity: 0.7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

:where(.m3-hero) .m3-hero__title {
	font-size: var(--m3-t-h1);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -0.018em;
}
:where(.m3-hero) .m3-hero__title .ms-accent { display: inline; }
:where(.m3-hero) .m3-hero__lead { margin: 0; max-inline-size: 34em; font-size: var(--m3-t-lead); line-height: 1.75; font-weight: 300; color: var(--m3-mute); text-wrap: pretty; }
:where(.m3-hero) .m3-hero__lead strong { color: var(--m3-ink); font-weight: 500; }
:where(.m3-hero) .m3-actions { margin-block-start: 2.25rem; }

:where(.m3-hero) .m3-hero__foot {
	position: relative;
	z-index: 2;
	inline-size: 100%;
	max-inline-size: calc(var(--m3-wrap) + 2 * var(--m3-gutter));
	margin-inline: auto;
	padding-inline: var(--m3-gutter);
	padding-block-end: clamp(24px, 4vh, 44px);
}
/* the ledger spans exactly the text column above it */
:where(.m3-hero) .m3-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); inline-size: var(--m3-hero-text, 54%); }
:where(.m3-hero) .m3-ledger__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 0.4rem;
	padding-block-start: 1.25rem;
	padding-inline: 0 1.25rem;
	border-block-start: 1px solid var(--m3-line);
}
:where(.m3-hero) .m3-ledger__item + .m3-ledger__item { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--m3-line); }
:where(.m3-hero) .m3-ledger__value { font-size: var(--m3-t-figure); font-weight: 200; line-height: 1; letter-spacing: -0.02em; color: var(--m3-ink); }
:where(.m3-hero) .m3-ledger__label { font-size: var(--m3-t-caption); line-height: 1.45; color: var(--m3-dim); }

:where(.m3-hero) .m3-hero__scroll { position: absolute; z-index: 2; inset-block-end: 20px; inset-inline-end: 24%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--m3-dim); }
:where(.m3-hero) .m3-hero__scroll i { position: relative; inline-size: 1px; block-size: 30px; background: var(--m3-line); overflow: hidden; }
:where(.m3-hero) .m3-hero__scroll i::after { content: ""; position: absolute; inset-inline: 0; block-size: 40%; background: var(--m3-gold); animation: m3-scroll 2.6s var(--m3-ease) infinite; }
@keyframes m3-scroll { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* small laptops / tablets in landscape: a wider text column, a narrower portrait */
@media (min-width: 1024px) and (max-width: 1279px) {
	:where(.m3-hero) { --m3-hero-text: 60%; }
	:where(.m3-hero) .m3-hero__portrait { inline-size: 44%; }
	:where(.m3-hero) .m3-hero__credential { inset-block: calc(var(--m3-header) + 20px) auto; } /* the floating buttons share the lower corner here */
}

/* short desktop screens (≤ 760px high): a little less air, so the actions stay in view */
@media (min-width: 1024px) and (max-height: 760px) {
	:where(.m3-hero) .m3-hero__title { font-size: min(var(--m3-t-h1), 7.4vh); }
	:where(.m3-hero) .m3-hero__status { margin-block-end: 1.1rem; }
	:where(.m3-hero) .m3-rule { margin-block: 1.35rem; }
	:where(.m3-hero) .m3-actions { margin-block-start: 1.75rem; }
	:where(.m3-hero) .m3-hero__scroll { display: none; }
}

/* tablet + mobile: the portrait as a cinematic band, the text rising over its fade */
@media (max-width: 1023px) {
	:where(.m3-hero) { display: block; min-block-size: 0; }
	:where(.m3-hero) .m3-hero__portrait {
		position: relative;
		inline-size: 100%;
		block-size: min(60svh, 640px);
		-webkit-mask-image: linear-gradient(to top, transparent 0, #000 46%);
		mask-image: linear-gradient(to top, transparent 0, #000 46%);
	}
	:where(.m3-hero) .m3-hero__portrait > .m3-hero__img { object-position: 50% 6%; }
	/* the photo starts under the (transparent) header, so the logo never sits on the face; it fades in from the top */
	:where(.m3-hero) .m3-hero__portrait { padding-block-start: calc(var(--m3-header) - 12px); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--m3-header) + 36px), #000 52%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--m3-header) + 36px), #000 52%, transparent 100%); }
	:where(.m3-hero) .m3-hero__portrait > .m3-hero__img { object-position: 50% 0; }
	:where(.m3-hero) .m3-hero__credential { inset-block: calc(var(--m3-header) + 14px) auto; inset-inline: auto var(--m3-gutter); }
	:where(.m3-hero) .m3-hero__inner { margin-block-start: calc(-1 * clamp(104px, 24vw, 200px)); padding-block: 0 2.25rem; }
	:where(.m3-hero) { --m3-hero-text: 100%; }
	:where(.m3-hero) .m3-hero__text { max-inline-size: 40rem; }
	:where(.m3-hero) .m3-hero__title { font-size: 2.75rem; }
	:where(.m3-hero) .m3-hero__foot { padding-block-end: 4rem; }
	:where(.m3-hero) .m3-hero__grid-lines i:nth-child(odd) { display: none; }
	:where(.m3-hero) .m3-hero__scroll { display: none; }
}
@media (max-width: 767px) {
	:where(.m3-hero) .m3-hero__portrait { block-size: calc(min(44svh, 104vw, 420px) + var(--m3-header)); }
	@media (max-height: 700px) { :where(.m3-hero) .m3-hero__portrait { block-size: calc(38svh + var(--m3-header)); } }
	:where(.m3-hero) .m3-hero__status { margin-block-end: 1rem; }
	:where(.m3-hero) .m3-hero__title { font-size: min(2.375rem, 9.6vw); line-height: 1.14; letter-spacing: -0.012em; }
	:where(.m3-hero) .m3-rule { margin-block: 1.25rem; inline-size: 2.75rem; }
	:where(.m3-hero) .m3-hero__lead { font-size: 1rem; line-height: 1.7; }
	:where(.m3-hero) .m3-actions { margin-block-start: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
	:where(.m3-hero) .m3-actions > :first-child { grid-column: 1 / -1; }
	:where(.m3-hero) .m3-btn { inline-size: 100%; padding-inline: 1rem; }
	:where(.m3-hero) .m3-hero__foot { padding-block-end: 3.5rem; }
	:where(.m3-hero) .m3-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:where(.m3-hero) .m3-ledger__item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	:where(.m3-hero) .m3-ledger__item:nth-child(even) { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--m3-line); }
	:where(.m3-hero) .m3-ledger__item:nth-child(n + 3) { margin-block-start: 1.25rem; }
}

/* ═════════════ TICKER ═════════════ */
:where(.m3-ticker) { overflow: hidden; border-block: 1px solid var(--m3-line); background: var(--m3-chamber); padding-block: 0.95rem; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
:where(.m3-ticker) .m3-ticker__track { display: flex; inline-size: max-content; align-items: center; animation: m3-marquee 80s linear infinite; }
:where(.m3-ticker) .m3-ticker__item { direction: rtl; padding-inline: 1.5rem; font-size: var(--m3-t-small); font-weight: 300; line-height: 1.4; letter-spacing: 0.01em; color: var(--m3-mute); white-space: nowrap; }
:where(.m3-ticker) .m3-ticker__sep { font-size: 0.4rem; color: var(--m3-gold); opacity: 0.75; }
@keyframes m3-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═════════════ CREDENTIALS ═════════════ */
:where(.m3-credentials) { background: var(--m3-chamber); border-block-end: 1px solid var(--m3-line); }
:where(.m3-credentials) .m3-credentials__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-inline-size: calc(var(--m3-wrap) + 2 * var(--m3-gutter)); margin-inline: auto; padding-inline: var(--m3-gutter); }
:where(.m3-credentials) .m3-credentials__item { display: flex; align-items: flex-start; gap: 0.9rem; padding: 2rem 1.5rem 2rem 0; }
:where(.m3-credentials) .m3-credentials__item + .m3-credentials__item { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--m3-line); }
:where(.m3-credentials) .m3-credentials__icon { flex: none; color: var(--m3-gold); }
:where(.m3) .m3-icon { display: block; inline-size: 26px; block-size: 26px; }
:where(.m3) .m3-icon--glyph { font-size: 20px; line-height: 26px; text-align: center; filter: grayscale(1); opacity: 0.7; }
:where(.m3-credentials) .m3-credentials__text { display: flex; flex-direction: column; gap: 0.25rem; }
:where(.m3-credentials) .m3-credentials__label { font-size: var(--m3-t-body); font-weight: 500; line-height: 1.4; color: var(--m3-ink); }
:where(.m3-credentials) .m3-credentials__sub { font-size: var(--m3-t-caption); line-height: 1.55; color: var(--m3-dim); }
@media (max-width: 1023px) {
	:where(.m3-credentials) .m3-credentials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:where(.m3-credentials) .m3-credentials__item { padding: 1.5rem 1rem 1.5rem 0; }
	:where(.m3-credentials) .m3-credentials__item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	:where(.m3-credentials) .m3-credentials__item:nth-child(even) { padding-inline-start: 1rem; border-inline-start: 1px solid var(--m3-line); }
	:where(.m3-credentials) .m3-credentials__item:nth-child(n + 3) { border-block-start: 1px solid var(--m3-line); }
}
@media (max-width: 479px) { :where(.m3-credentials) .m3-credentials__item { flex-direction: column; gap: 0.7rem; } }

/* ═════════════ PRACTICE AREAS — INDEX ═════════════ */
:where(.m3-index) { padding-block: var(--m3-section); }
:where(.m3-index) .m3-index__list { border-block-end: 1px solid var(--m3-line); }
:where(.m3-index) .m3-index__row { position: relative; border-block-start: 1px solid var(--m3-line); }
:where(.m3-index) .m3-index__row::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 1px; background: var(--m3-gold); transform: scaleX(0); transform-origin: right; transition: transform 0.9s var(--m3-ease); }
:where(.m3-index) .m3-index__row:hover::before, :where(.m3-index) .m3-index__row:focus-within::before { transform: scaleX(1); }
:where(.m3-index) .m3-index__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	grid-template-areas: "icon head more" "icon body body";
	column-gap: clamp(16px, 2vw, 32px);
	row-gap: 1rem;
	padding-block: clamp(1.75rem, 2.6vw, 2.5rem);
	transition: background-color 0.6s var(--m3-ease);
}
:where(.m3-index) .m3-index__link:hover { background: linear-gradient(to left, rgba(186, 152, 81, 0.04), transparent 70%); }
:where(.m3-index) .m3-index__icon { grid-area: icon; color: var(--m3-gold); padding-block-start: 0.3rem; }
:where(.m3-index) .m3-index__icon .m3-icon { inline-size: 32px; block-size: 32px; }
:where(.m3-index) .m3-index__head { grid-area: head; display: flex; flex-direction: column; gap: 0.45rem; }
:where(.m3-index) .m3-index__title { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.15; letter-spacing: -0.015em; color: var(--m3-ink); transition: color 0.45s; }
:where(.m3-index) .m3-index__link:hover .m3-index__title { color: var(--m3-gold-soft); }
:where(.m3-index) .m3-index__subtitle { font-size: var(--m3-t-small); line-height: 1.4; color: var(--m3-gold); }
:where(.m3-index) .m3-index__body { grid-area: body; display: flex; flex-direction: column; gap: 0.85rem; max-inline-size: 40em; }
:where(.m3-index) .m3-index__text { font-size: var(--m3-t-body); line-height: 1.8; font-weight: 300; color: var(--m3-mute); text-wrap: balance; }
:where(.m3-index) .m3-index__tags { display: flex; flex-wrap: wrap; gap: 0.35rem 0; font-size: var(--m3-t-caption); line-height: 1.5; color: var(--m3-dim); }
:where(.m3-index) .m3-index__tag + .m3-index__tag::before { content: "/"; padding-inline: 0.55rem; color: var(--m3-line-gold); }
:where(.m3-index) .m3-index__more { grid-area: more; align-self: start; display: inline-flex; align-items: center; gap: 0.5rem; padding-block-start: 0.55rem; font-size: var(--m3-t-small); font-weight: 500; line-height: 1.4; color: var(--m3-gold); white-space: nowrap; }
:where(.m3-index) .m3-index__link:hover .m3-arrow { transform: translateX(-5px); }
@media (max-width: 767px) {
	:where(.m3-index) .m3-index__link { grid-template-columns: 1fr; grid-template-areas: "icon" "head" "body" "more"; row-gap: 0.85rem; }
	:where(.m3-index) .m3-index__more { padding-block-start: 0.25rem; }
}

/* ═════════════ PAPER WORLD ═════════════ */
:where(.m3-paper) { background: var(--m3-paper); color: var(--m3-paper-ink); --m3-mute: var(--m3-paper-mute); --m3-line: var(--m3-paper-line); --m3-gold: var(--m3-bronze); }

/* ── principles (why us) ── */
:where(.m3-principles) { padding-block: var(--m3-section); }
:where(.m3-principles) .m3-principles__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); align-items: end; margin-block-end: var(--m3-head-gap); }
:where(.m3-principles) .m3-principles__head .m3-h2 { grid-column: 1 / span 7; }
:where(.m3-principles) .m3-principles__head .m3-lead { grid-column: 8 / -1; justify-self: end; margin: 0; max-inline-size: 24em; text-wrap: balance; }
:where(.m3-principles) .m3-principles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-start: 1px solid var(--m3-line); }
:where(.m3-principles) .m3-principles__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 1.1rem; row-gap: 0.6rem; padding: clamp(2rem, 3.2vw, 2.75rem) 0; padding-inline-end: clamp(1.5rem, 4vw, 4rem); border-block-end: 1px solid var(--m3-line); }
:where(.m3-principles) .m3-principles__item:nth-child(even) { padding-inline-start: clamp(1.5rem, 4vw, 4rem); border-inline-start: 1px solid var(--m3-line); }
:where(.m3-principles) .m3-principles__icon { grid-row: 1 / span 2; color: var(--m3-bronze); padding-block-start: 0.1rem; }
:where(.m3-principles) .m3-principles__icon .m3-icon { inline-size: 28px; block-size: 28px; }
:where(.m3-principles) .m3-principles__title { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.3; letter-spacing: -0.005em; color: var(--m3-paper-ink); }
:where(.m3-principles) .m3-principles__text { font-size: var(--m3-t-body); line-height: 1.8; color: var(--m3-paper-mute); max-inline-size: 30em; }
@media (max-width: 1023px) {
	:where(.m3-principles) .m3-principles__head { display: block; }
	:where(.m3-principles) .m3-principles__head .m3-lead { margin-block-start: 1.25rem; }
}
@media (max-width: 767px) {
	:where(.m3-principles) .m3-principles__grid { grid-template-columns: 1fr; }
	:where(.m3-principles) .m3-principles__item, :where(.m3-principles) .m3-principles__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
}

/* ═════════════ COUNSEL (attorney) ═════════════ */
:where(.m3-counsel) { padding-block: var(--m3-section); background: radial-gradient(60% 70% at 10% 40%, rgba(30, 41, 59, 0.5), transparent 70%), var(--m3-night); }
:where(.m3-counsel) .m3-counsel__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 3rem; align-items: center; }
:where(.m3-counsel) .m3-counsel__body { grid-column: 1 / span 6; grid-row: 1; }
:where(.m3-counsel) .m3-counsel__portrait { grid-column: 8 / -1; grid-row: 1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--m3-raise); }
:where(.m3-counsel) .m3-counsel__portrait img { object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.1) brightness(0.94); transition: transform 1.6s var(--m3-ease), filter 1.2s var(--m3-ease); }
:where(.m3-counsel) .m3-counsel__portrait:hover img { filter: grayscale(0.2) contrast(1.05); transform: scale(1.02); }
:where(.m3-counsel) .m3-counsel__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 40%); pointer-events: none; }
:where(.m3-counsel) .m3-counsel__line { display: block; }
:where(.m3-counsel) .m3-counsel__line:nth-child(2) { padding-inline-start: 0.7em; }
:where(.m3-counsel) .m3-counsel__line:nth-child(3) { padding-inline-start: 1.4em; }
:where(.m3-counsel) .m3-counsel__id { display: flex; flex-direction: column; gap: 0.3rem; margin-block: 2.5rem 1rem; padding-block-start: 1.75rem; border-block-start: 1px solid var(--m3-line); }
:where(.m3-counsel) .m3-counsel__name { order: 2; font-size: var(--m3-t-h4); font-weight: 500; line-height: 1.3; color: var(--m3-ink); }
:where(.m3-counsel) .m3-counsel__role { order: 1; font-size: var(--m3-t-caption); font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; color: var(--m3-gold); }
:where(.m3-counsel) .m3-counsel__creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
:where(.m3-counsel) .m3-counsel__cred { padding-block: 0.8rem; border-block-end: 1px solid var(--m3-line); font-size: var(--m3-t-small); line-height: 1.5; font-weight: 300; color: var(--m3-mute); }
:where(.m3-counsel) .m3-counsel__specs { display: flex; flex-wrap: wrap; margin-block-start: 1.25rem; font-size: var(--m3-t-caption); line-height: 1.5; color: var(--m3-dim); }
:where(.m3-counsel) .m3-counsel__spec + .m3-counsel__spec::before { content: "/"; padding-inline: 0.55rem; color: var(--m3-line-gold); }
:where(.m3-counsel) .m3-counsel__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-block-start: 2.25rem; }
@media (max-width: 1023px) {
	:where(.m3-counsel) .m3-counsel__body, :where(.m3-counsel) .m3-counsel__portrait { grid-column: 1 / -1; }
	:where(.m3-counsel) .m3-counsel__portrait { grid-row: 1; aspect-ratio: 4 / 4.4; max-inline-size: 520px; }
	:where(.m3-counsel) .m3-counsel__body { grid-row: 2; }
}
@media (max-width: 599px) { :where(.m3-counsel) .m3-counsel__creds { grid-template-columns: 1fr; } }

/* ═════════════ VOICES (testimonials) ═════════════ */
:where(.m3-voices) { padding-block: var(--m3-section); background: var(--m3-raise); overflow: hidden; }
:where(.m3-voices) .m3-voices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; margin-block-end: var(--m3-head-gap); }
:where(.m3-voices) .m3-voices__rating { display: grid; grid-template-columns: auto auto; grid-template-areas: "score stars" "score source"; column-gap: 1rem; align-items: center; }
:where(.m3-voices) .m3-voices__score { grid-area: score; font-size: var(--m3-t-score); font-weight: 200; line-height: 0.85; letter-spacing: -0.035em; color: var(--m3-gold-soft); }
:where(.m3-voices) .m3-voices__stars { grid-area: stars; align-self: end; font-size: 0.875rem; letter-spacing: 0.2em; color: var(--m3-gold); }
:where(.m3-voices) .m3-voices__source { grid-area: source; align-self: start; font-size: var(--m3-t-caption); color: var(--m3-dim); }
:where(.m3-voices) .m3-voices__rail { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
:where(.m3-voices) .m3-voices__track { display: flex; align-items: stretch; gap: 1.25rem; inline-size: max-content; padding-inline: 1.25rem; animation: m3-marquee 160s linear infinite; }
:where(.m3-voices) .m3-voices__rail:hover .m3-voices__track, :where(.m3-voices) .m3-voices__rail:focus-within .m3-voices__track { animation-play-state: paused; }
:where(.m3-voices) .m3-quote {
	direction: rtl;
	display: flex;
	flex-direction: column;
	inline-size: clamp(288px, 26vw, 380px);
	padding: clamp(1.6rem, 2.2vw, 2.1rem);
	border: 1px solid var(--m3-line);
	border-radius: 2px;
	background: linear-gradient(180deg, rgba(236, 239, 244, 0.025), transparent);
	transition: border-color 0.6s var(--m3-ease);
}
:where(.m3-voices) .m3-quote:hover { border-color: var(--m3-line-gold); }
:where(.m3-voices) .m3-quote__mark { font-size: 3.5rem; line-height: 0.6; font-weight: 200; color: var(--m3-gold); opacity: 0.5; block-size: 1.75rem; }
:where(.m3-voices) .m3-quote__text { flex: 1; font-size: var(--m3-t-body); line-height: 1.8; font-weight: 300; color: var(--m3-ink); }
:where(.m3-voices) .m3-quote__by { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name stars" "area stars"; gap: 0.15rem 1rem; margin-block-start: 1.5rem; padding-block-start: 1.1rem; border-block-start: 1px solid var(--m3-line); }
:where(.m3-voices) .m3-quote__name { grid-area: name; font-size: var(--m3-t-small); font-weight: 500; line-height: 1.4; color: var(--m3-ink); }
:where(.m3-voices) .m3-quote__area { grid-area: area; font-size: var(--m3-t-caption); line-height: 1.4; color: var(--m3-gold); }
:where(.m3-voices) .m3-quote__stars { grid-area: stars; align-self: center; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--m3-gold); }

/* ═════════════ KNOWLEDGE (blog) ═════════════ */
:where(.m3-knowledge) { padding-block: var(--m3-section); }
:where(.m3-knowledge) .m3-knowledge__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-block-end: var(--m3-head-gap); }
:where(.m3-knowledge) .m3-knowledge__head .m3-lead { max-inline-size: 36em; }
:where(.m3-knowledge) .m3-knowledge__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 3rem; }
:where(.m3-knowledge) .m3-entry--lead { grid-column: 1 / span 7; }
:where(.m3-knowledge) .m3-knowledge__list { grid-column: 8 / -1; display: flex; flex-direction: column; }
:where(.m3-knowledge) .m3-entry__link { display: flex; flex-direction: column; gap: 0.75rem; }
:where(.m3-knowledge) .m3-entry__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--m3-paper-2); }
:where(.m3-knowledge) .m3-entry--lead .m3-entry__media { aspect-ratio: 16 / 9; }
/* (two classes: Elementor's ".elementor img { height: auto }" must not leave a band under the cover image) */
:where(.m3-knowledge) .m3-entry__media > .m3-entry__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; transition: transform 1.4s var(--m3-ease); filter: saturate(0.9); }
:where(.m3-knowledge) .m3-entry__link:hover .m3-entry__img { transform: scale(1.035); }
:where(.m3-knowledge) .m3-entry__meta { display: flex; align-items: center; gap: 0.85rem; margin-block-start: 0.4rem; font-size: var(--m3-t-caption); line-height: 1.4; }
:where(.m3-knowledge) .m3-entry__cat { font-weight: 500; color: var(--m3-bronze); }
:where(.m3-knowledge) .m3-entry__date { color: var(--m3-paper-mute); }
:where(.m3-knowledge) .m3-entry__title { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.35; color: var(--m3-paper-ink); text-wrap: balance; background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size 0.7s var(--m3-ease); }
:where(.m3-knowledge) .m3-entry--lead .m3-entry__title { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.2; letter-spacing: -0.012em; }
:where(.m3-knowledge) .m3-entry__link:hover .m3-entry__title { background-size: 100% 1px; }
:where(.m3-knowledge) .m3-entry__excerpt { font-size: var(--m3-t-body); line-height: 1.75; color: var(--m3-paper-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:where(.m3-knowledge) .m3-entry__more { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: 0.25rem; font-size: var(--m3-t-small); font-weight: 500; color: var(--m3-bronze); }
:where(.m3-knowledge) .m3-entry__link:hover .m3-arrow { transform: translateX(-5px); }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry { padding-block: 0 1.75rem; }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry + .m3-entry { padding-block-start: 1.75rem; border-block-start: 1px solid var(--m3-line); }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__link { display: grid; grid-template-columns: 36% 1fr; grid-template-areas: "media meta" "media title" "media excerpt" "media more"; column-gap: 1.5rem; row-gap: 0.5rem; align-content: start; }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__media { grid-area: media; aspect-ratio: 4 / 3; align-self: start; }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__meta { grid-area: meta; margin: 0; }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__title { grid-area: title; }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__excerpt { grid-area: excerpt; -webkit-line-clamp: 2; font-size: var(--m3-t-small); }
:where(.m3-knowledge) .m3-knowledge__list .m3-entry__more { grid-area: more; }
@media (max-width: 1023px) {
	:where(.m3-knowledge) .m3-entry--lead, :where(.m3-knowledge) .m3-knowledge__list { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	/* the following articles as a compact list: a small cover beside the title, the excerpt below */
	:where(.m3-knowledge) .m3-knowledge__list .m3-entry__link { grid-template-columns: 34% 1fr; grid-template-areas: "media meta" "media title" "excerpt excerpt" "more more"; column-gap: 1rem; }
	:where(.m3-knowledge) .m3-knowledge__list .m3-entry__media { aspect-ratio: 1; }
	:where(.m3-knowledge) .m3-knowledge__list .m3-entry__excerpt { margin-block-start: 0.35rem; }
}

/* ═════════════ QUESTIONS (faq) ═════════════ */
:where(.m3-questions) { padding-block: 0 var(--m3-section); background: var(--m3-paper); }
:where(.m3-questions) > .m3-wrap { padding-block-start: var(--m3-section); border-block-start: 1px solid var(--m3-line); }
:where(.m3-questions) .m3-questions__more { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; margin-block-start: 2.25rem; font-size: var(--m3-t-small); line-height: 1.5; color: var(--m3-paper-mute); }
:where(.m3-questions) .m3-questions__list { border-block-end: 1px solid var(--m3-line); }
:where(.m3-questions) .m3-qa { border-block-start: 1px solid var(--m3-line); }
:where(.m3-questions) .m3-qa__h { font: inherit; }
:where(.m3-questions) .m3-qa__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	inline-size: 100%;
	padding-block: clamp(1.3rem, 2vw, 1.7rem);
	border: 0;
	background: none;
	font: inherit;
	font-size: var(--m3-t-h4);
	font-weight: 400;
	line-height: 1.4;
	color: var(--m3-paper-ink);
	text-align: start;
	cursor: pointer;
	transition: color 0.35s;
}
:where(.m3-questions) .m3-qa__icon { position: relative; flex: none; inline-size: 16px; block-size: 16px; }
:where(.m3-questions) .m3-qa__icon::before, :where(.m3-questions) .m3-qa__icon::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline: 0; block-size: 1px; background: var(--m3-bronze); transition: transform 0.5s var(--m3-ease); }
:where(.m3-questions) .m3-qa__icon::after { transform: rotate(90deg); }
:where(.m3-questions) .m3-qa.is-open .m3-qa__icon::after { transform: rotate(0); }
:where(.m3-questions) .m3-qa__q:hover { color: var(--m3-bronze); }
:where(.m3-questions) .m3-qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--m3-ease); }
:where(.m3-questions) .m3-qa.is-open .m3-qa__a { grid-template-rows: 1fr; }
:where(.m3-questions) .m3-qa__inner { overflow: hidden; }
:where(.m3-questions) .m3-qa__inner p { padding-block-end: 1.75rem; max-inline-size: 40em; font-size: var(--m3-t-body); line-height: 1.85; color: var(--m3-paper-mute); }
html:not(.mx-js) :where(.m3-questions) .m3-qa__a { grid-template-rows: 1fr; } /* no JavaScript: every answer readable */

/* ═════════════ CLOSING (cta) ═════════════ */
:where(.m3-closing) { padding-block: clamp(104px, 11vw, 168px); /* the last word on the page gets a little more room */ overflow: hidden; background: radial-gradient(55% 90% at 92% 100%, rgba(186, 152, 81, 0.08), transparent 65%), var(--m3-night); }
:where(.m3-closing) .m3-closing__lines { position: absolute; inset: 0; pointer-events: none; }
:where(.m3-closing) .m3-closing__lines i { position: absolute; inset-block: 0; inline-size: 1px; background: linear-gradient(to bottom, transparent, rgba(236, 239, 244, 0.04) 30%, rgba(236, 239, 244, 0.04) 70%, transparent); }
:where(.m3-closing) .m3-closing__lines i:nth-child(1) { inset-inline-start: 18%; }
:where(.m3-closing) .m3-closing__lines i:nth-child(2) { inset-inline-start: 36%; }
:where(.m3-closing) .m3-closing__lines i:nth-child(3) { inset-inline-start: 54%; }
:where(.m3-closing) .m3-closing__lines i:nth-child(4) { inset-inline-start: 72%; }
:where(.m3-closing) .m3-closing__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 2rem; align-items: end; }
:where(.m3-closing) .m3-closing__title { grid-column: 1 / span 6; }
:where(.m3-closing) .m3-closing__body { grid-column: 7 / -1; }
:where(.m3-closing) .m3-closing__body .m3-lead { margin: 0 0 1.75rem; max-inline-size: 30em; }
@media (max-width: 1023px) { :where(.m3-closing) .m3-closing__title, :where(.m3-closing) .m3-closing__body { grid-column: 1 / -1; } }
@media (max-width: 599px) {
	:where(.m3-closing) .m3-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
	:where(.m3-closing) .m3-actions > :first-child { grid-column: 1 / -1; }
	:where(.m3-closing) .m3-btn { inline-size: 100%; padding-inline: 1rem; }
}

/* ═════════════ MOTION ═════════════
 * One orchestrated entrance (the hero), then only headings, images and index lines reveal once. Hidden states
 * exist only with JavaScript (html.mx-js) and never in the Elementor editor; prefers-reduced-motion shows
 * everything at once and stops the loops. */
html.mx-js :where(.m3-hero) [data-m3-step] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--m3-ease), transform 1.1s var(--m3-ease); }
html.mx-js :where(.m3-hero) .m3-hero__title[data-m3-step] { transform: translateY(0.3em); clip-path: inset(0 0 100% 0); transition: opacity 0.7s var(--m3-ease), transform 1.2s var(--m3-ease), clip-path 1.2s var(--m3-ease); }
html.mx-js :where(.m3-hero) .m3-rule[data-m3-step] { opacity: 1; transform: scaleX(0); }
html.mx-js :where(.m3-hero) .m3-hero__grid-lines i { transform: scaleY(0); transition: transform 2s var(--m3-ease); }
html.mx-js :where(.m3-hero) [data-m3-curtain] { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--m3-ease); }
html.mx-js :where(.m3-hero) [data-m3-curtain] img { transform: scale(1.1); transition: transform 2.4s var(--m3-ease); }
html.mx-js :where(.m3-hero).is-in [data-m3-step] { opacity: 1; transform: none; clip-path: inset(-0.3em -0.2em -0.4em -0.2em); }
html.mx-js :where(.m3-hero).is-in .m3-hero__grid-lines i { transform: none; }
html.mx-js :where(.m3-hero).is-in [data-m3-curtain] { clip-path: inset(0 0 0 0); }
html.mx-js :where(.m3-hero).is-in [data-m3-curtain] img { transform: none; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(2) { transition-delay: 0.08s; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(3) { transition-delay: 0.16s; }
:where(.m3-hero) .m3-hero__grid-lines i:nth-child(4) { transition-delay: 0.24s; }
:where(.m3-hero) [data-m3-step="1"] { transition-delay: 0.35s; }
:where(.m3-hero) [data-m3-step="2"] { transition-delay: 0.45s; }
:where(.m3-hero) [data-m3-step="3"] { transition-delay: 0.85s; transition-duration: 1.1s; }
:where(.m3-hero) [data-m3-step="4"] { transition-delay: 0.9s; }
:where(.m3-hero) [data-m3-step="5"] { transition-delay: 1.02s; }
:where(.m3-hero) [data-m3-step="6"] { transition-delay: 1.2s; }
:where(.m3-hero) [data-m3-step="7"] { transition-delay: 1.8s; }

html.mx-js :where(.m3) [data-m3-rise] { opacity: 0; transform: translateY(0.4em); transition: opacity 1s var(--m3-ease), transform 1.2s var(--m3-ease); }
html.mx-js :where(.m3) [data-m3-curtain]:not(.m3-hero__portrait) { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--m3-ease); }
html.mx-js :where(.m3) [data-m3-curtain]:not(.m3-hero__portrait) img { transform: scale(1.08); transition: transform 2.2s var(--m3-ease); }
html.mx-js :where(.m3) [data-m3-line]::after { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 1px; background: var(--m3-line); transform: scaleX(0); transform-origin: right; transition: transform 1.3s var(--m3-ease); }
html.mx-js :where(.m3) [data-m3-line] { border-block-start-color: transparent; }
html.mx-js :where(.m3) .is-in[data-m3-rise] { opacity: 1; transform: none; }
html.mx-js :where(.m3) .is-in[data-m3-curtain] { clip-path: inset(0 0 0 0); }
html.mx-js :where(.m3) .is-in[data-m3-curtain] img { transform: none; }
html.mx-js :where(.m3) .is-in[data-m3-line]::after { transform: scaleX(1); }

/* the editor shows everything as it is (no hidden states while editing) */
.elementor-editor-active :where(.m3) :is([data-m3-step], [data-m3-rise], [data-m3-curtain], [data-m3-curtain] img, .m3-hero__grid-lines i) { opacity: 1 !important; transform: none !important; clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
	:where(.m3) *, :where(.m3) *::before, :where(.m3) *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	html.mx-js :where(.m3) :is([data-m3-step], [data-m3-rise], [data-m3-curtain], [data-m3-curtain] img, .m3-hero__grid-lines i) { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	html.mx-js :where(.m3) [data-m3-line]::after { transform: none; }
	:where(.m3-voices) .m3-voices__rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
	:where(.m3-voices) .m3-quote { scroll-snap-align: start; }
	:where(.m3-voices) .m3-quote[aria-hidden="true"] { display: none; }
	/* the ticker stands still: its items wrap into a quiet centred line (nothing to scroll, nothing hidden) */
	:where(.m3-ticker) { -webkit-mask-image: none; mask-image: none; }
	:where(.m3-ticker) .m3-ticker__track { inline-size: auto; flex-wrap: wrap; justify-content: center; gap: 0.45rem 2.25rem; padding-inline: var(--m3-gutter); }
	:where(.m3-ticker) .m3-ticker__item { padding-inline: 0; }
	:where(.m3-ticker) :is([data-dup], .m3-ticker__sep) { display: none; } /* a wrapped line: spacing instead of separators that would dangle at line ends */
}

/* a star in a figure ("5.0 ⭐") drawn as a small gold line star */
:where(.m3) .m3-star { display: inline-block; inline-size: 0.46em; block-size: 0.46em; margin-inline-start: 0.16em; vertical-align: 0.14em; color: var(--m3-gold); }
:where(.m3) .screen-reader-text { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
